From 67a4613d31802f9566b3d987b2989c08be3ee903 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 17 May 2024 11:06:28 +0800 Subject: [PATCH 01/44] :art: Prompt for recovery method and retention days settings when deleting documents https://github.com/siyuan-note/siyuan/issues/11400 --- app/appearance/langs/en_US.json | 2 +- app/appearance/langs/es_ES.json | 2 +- app/appearance/langs/fr_FR.json | 2 +- app/appearance/langs/ja_JP.json | 2 +- app/appearance/langs/zh_CHT.json | 2 +- app/appearance/langs/zh_CN.json | 2 +- kernel/search/mark.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index f1629930add..b1362c1d666 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1,5 +1,5 @@ { - "andSubFile": "Are you sure you want to delete ${x} and its ${y} subdocs?", + "andSubFile": "Are you sure you want to delete ${x} and its ${y} subdocs?", "confirmDeleteTip": "Are you sure to delete ${x}?", "rollbackTip": "After deletion, it can be restored in [Data History], retained ${x} days according to [Settings - Editor - History Retention Days]", "newView": "Add View", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 471665dd7ce..5d044589f2e 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1,5 +1,5 @@ { - "andSubFile": "¿Está seguro de que desea eliminar ${x} y sus subdocumentos ${y}?", + "andSubFile": "¿Está seguro de que desea eliminar ${x} y sus subdocumentos ${y}?", "confirmDeleteTip": "¿Está seguro de eliminar ${x}?", "rollbackTip": "Después de la eliminación, se puede restaurar en [Historial de datos] y se conserva ${x} días según [Configuración - Editor - Días de retención del historial]", "newView": "Agregar vista", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index b3a7df7f7da..57d104e0a8a 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1,5 +1,5 @@ { - "andSubFile": "Êtes-vous sûr de vouloir supprimer ${x} et ses sous-documents ${y} ?", + "andSubFile": "Êtes-vous sûr de vouloir supprimer ${x} et ses sous-documents ${y} ?", "confirmDeleteTip": "Êtes-vous sûr de supprimer ${x} ?", "rollbackTip": "Après la suppression, il peut être restauré dans [Historique des données], conservé ${x} jours selon [Paramètres - Éditeur - Jours de rétention de l'historique]", "newView": "Ajouter une vue", diff --git a/app/appearance/langs/ja_JP.json b/app/appearance/langs/ja_JP.json index 4ddb94c31d5..56b0d1f7deb 100644 --- a/app/appearance/langs/ja_JP.json +++ b/app/appearance/langs/ja_JP.json @@ -1,5 +1,5 @@ { - "andSubFile": "${x} とそのサブドキュメント ${y} を削除してもよろしいですか?", + "andSubFile": "${x} とそのサブドキュメント ${y} を削除してもよろしいですか?", "confirmDeleteTip": "${x} を削除してもよろしいですか?", "rollbackTip": "削除後は [データ履歴] で復元でき、${x} は保持されます。 [設定 - エディター - 履歴の保存日数] による日数", "newView": "ビューを追加", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index 61f0184cd2b..baf565af416 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1,5 +1,5 @@ { - "andSubFile": "決定刪除 ${x} 及其 ${y} 個子文件嗎?", + "andSubFile": "決定刪除 ${x} 及其 ${y} 個子文件嗎?", "confirmDeleteTip": "確定刪除${x} 嗎?", "rollbackTip": "刪除後可在 [資料歷史] 中恢復,按 [設定 - 編輯器 - 歷史保留天數] 保留 ${x} 天", "newView": "新增視圖", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 294e500de6e..3e3c5460a6d 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1,5 +1,5 @@ { - "andSubFile": "确定删除 ${x} 及其 ${y} 个子文档吗?", + "andSubFile": "确定删除 ${x} 及其 ${y} 个子文档吗?", "confirmDeleteTip": "确定删除 ${x} 吗?", "rollbackTip": "删除后可在 [数据历史] 中恢复,按 [设置 - 编辑器 - 历史保留天数] 保留 ${x} 天", "newView": "添加视图", diff --git a/kernel/search/mark.go b/kernel/search/mark.go index d8fecb22571..f40196a2a88 100644 --- a/kernel/search/mark.go +++ b/kernel/search/mark.go @@ -114,7 +114,7 @@ func EncloseHighlighting(text string, keywords []string, openMark, closeMark str ret = text if reg, err := regexp.Compile(re); nil == err { - ret = reg.ReplaceAllStringFunc(text, func(s string) string { return openMark + s + closeMark }) + ret = reg.ReplaceAllStringFunc(text, func(s string) string { return openMark + util.EscapeHTML(s) + closeMark }) } // 搜索结果预览包含转义符问题 Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790 From 4624b62e4d4b3d4e44a7775ca45a1063647e1c5d Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 17 May 2024 11:20:24 +0800 Subject: [PATCH 02/44] :art: Search preview supports HTML tags in inline code content https://github.com/siyuan-note/siyuan/issues/11418 --- kernel/model/search.go | 14 +++++++++++++- kernel/search/mark.go | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/kernel/model/search.go b/kernel/model/search.go index aaf19de66f7..ff260314aad 100644 --- a/kernel/model/search.go +++ b/kernel/model/search.go @@ -35,6 +35,7 @@ import ( "github.com/88250/gulu" "github.com/88250/lute" "github.com/88250/lute/ast" + "github.com/88250/lute/html" "github.com/88250/lute/lex" "github.com/88250/lute/parse" "github.com/88250/vitess-sqlparser/sqlparser" @@ -1538,8 +1539,8 @@ func stringQuery(query string) string { // markReplaceSpan 用于处理搜索高亮。 func markReplaceSpan(n *ast.Node, unlinks *[]*ast.Node, keywords []string, markSpanDataType string, luteEngine *lute.Lute) bool { - text := n.Content() if ast.NodeText == n.Type { + text := n.Content() escapedText := util.EscapeHTML(text) escapedKeywords := make([]string, len(keywords)) for i, keyword := range keywords { @@ -1569,6 +1570,17 @@ func markReplaceSpan(n *ast.Node, unlinks *[]*ast.Node, keywords []string, markS return false } + var text string + if n.IsTextMarkType("code") { + // code 在前面的 n. + for i, k := range keywords { + keywords[i] = html.EscapeString(k) + } + text = n.TextMarkTextContent + } else { + text = n.Content() + } + startTag := search.GetMarkSpanStart(markSpanDataType) text = search.EncloseHighlighting(text, keywords, startTag, search.GetMarkSpanEnd(), Conf.Search.CaseSensitive, false) if strings.Contains(text, search.MarkDataType) { diff --git a/kernel/search/mark.go b/kernel/search/mark.go index f40196a2a88..d8fecb22571 100644 --- a/kernel/search/mark.go +++ b/kernel/search/mark.go @@ -114,7 +114,7 @@ func EncloseHighlighting(text string, keywords []string, openMark, closeMark str ret = text if reg, err := regexp.Compile(re); nil == err { - ret = reg.ReplaceAllStringFunc(text, func(s string) string { return openMark + util.EscapeHTML(s) + closeMark }) + ret = reg.ReplaceAllStringFunc(text, func(s string) string { return openMark + s + closeMark }) } // 搜索结果预览包含转义符问题 Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790 From 7d87df99323500a656887a175b20abf9e6d2658e Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 17 May 2024 16:19:56 +0800 Subject: [PATCH 03/44] :art: Add kernel api getAttributeViewKeysByAvID --- kernel/api/av.go | 5 ++--- kernel/api/router.go | 2 +- kernel/model/attribute_view.go | 18 +++++------------- 3 files changed, 8 insertions(+), 17 deletions(-) diff --git a/kernel/api/av.go b/kernel/api/av.go index ca9d3858e8a..88953e6b31c 100644 --- a/kernel/api/av.go +++ b/kernel/api/av.go @@ -27,7 +27,7 @@ import ( "github.com/siyuan-note/siyuan/kernel/util" ) -func getAttributeViewSelectOptions(c *gin.Context) { +func getAttributeViewKeysByAvID(c *gin.Context) { ret := gulu.Ret.NewResult() defer c.JSON(http.StatusOK, ret) @@ -36,8 +36,7 @@ func getAttributeViewSelectOptions(c *gin.Context) { return } avID := arg["avID"].(string) - keyID := arg["keyID"].(string) - ret.Data = model.GetAttributeViewSelectOptions(avID, keyID) + ret.Data = model.GetAttributeViewKeysByAvID(avID) } func getMirrorDatabaseBlocks(c *gin.Context) { diff --git a/kernel/api/router.go b/kernel/api/router.go index 6de7dd86310..45f2148e16a 100644 --- a/kernel/api/router.go +++ b/kernel/api/router.go @@ -423,7 +423,7 @@ func ServeAPI(ginServer *gin.Engine) { ginServer.Handle("POST", "/api/av/getAttributeViewPrimaryKeyValues", model.CheckAuth, model.CheckReadonly, getAttributeViewPrimaryKeyValues) ginServer.Handle("POST", "/api/av/setDatabaseBlockView", model.CheckAuth, model.CheckReadonly, setDatabaseBlockView) ginServer.Handle("POST", "/api/av/getMirrorDatabaseBlocks", model.CheckAuth, model.CheckReadonly, getMirrorDatabaseBlocks) - ginServer.Handle("POST", "/api/av/getAttributeViewSelectOptions", model.CheckAuth, model.CheckReadonly, getAttributeViewSelectOptions) + ginServer.Handle("POST", "/api/av/getAttributeViewKeysByAvID", model.CheckAuth, model.CheckReadonly, getAttributeViewKeysByAvID) ginServer.Handle("POST", "/api/ai/chatGPT", model.CheckAuth, chatGPT) ginServer.Handle("POST", "/api/ai/chatGPTWithAction", model.CheckAuth, chatGPTWithAction) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index edfcee6f060..c5eb0e05d6f 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -41,8 +41,8 @@ import ( "github.com/xrash/smetrics" ) -func GetAttributeViewSelectOptions(avID string, keyID string) (ret []*av.SelectOption) { - ret = []*av.SelectOption{} +func GetAttributeViewKeysByAvID(avID string) (ret []*av.Key) { + ret = []*av.Key{} attrView, err := av.ParseAttributeView(avID) if nil != err { @@ -50,17 +50,9 @@ func GetAttributeViewSelectOptions(avID string, keyID string) (ret []*av.SelectO return } - key, _ := attrView.GetKey(keyID) - if nil == key { - return - } - - if av.KeyTypeSelect != key.Type && av.KeyTypeMSelect != key.Type { - return - } - - if 0 < len(key.Options) { - ret = key.Options + for _, keyValues := range attrView.KeyValues { + key := keyValues.Key + ret = append(ret, key) } return ret } From 761e48dada3667dc341f46af84c7cae0e833c55a Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Fri, 17 May 2024 17:24:30 +0800 Subject: [PATCH 04/44] :art: Improve i18n (#11439) --- app/appearance/langs/es_ES.json | 2 +- app/appearance/langs/fr_FR.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 5d044589f2e..ee2938cdfee 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -237,7 +237,7 @@ "hideAll": "Ocultar todo", "showAll": "Mostrar todo", "showCol": "Mostrar columna", - "número": "Número", + "number": "Número", "fecha": "Fecha", "seleccionar": "Seleccionar", "multiSelect": "Selección múltiple", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 57d104e0a8a..4cd8a857753 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -237,7 +237,7 @@ "hideAll": "Masquer tout", "showAll": "Afficher tout", "showCol": "Afficher la colonne", - "numéro": "Numéro", + "number": "Numéro", "date": "Date", "select": "Sélectionner", "multiSelect": "Multi-sélection", From 15375cfd98a7d96013c2cc8c8c78f561763c4528 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 17 May 2024 17:32:57 +0800 Subject: [PATCH 05/44] :art: Add an internal kernel API `/api/block/prependDailyNoteBlock` https://github.com/siyuan-note/siyuan/issues/11442 --- kernel/api/block_op.go | 53 ++++++++++++++++++++++++++++++++++++++++++ kernel/api/router.go | 1 + 2 files changed, 54 insertions(+) diff --git a/kernel/api/block_op.go b/kernel/api/block_op.go index 65d9a96a2ac..24bb48fdb49 100644 --- a/kernel/api/block_op.go +++ b/kernel/api/block_op.go @@ -133,6 +133,59 @@ func appendDailyNoteBlock(c *gin.Context) { broadcastTransactions(transactions) } +func prependDailyNoteBlock(c *gin.Context) { + ret := gulu.Ret.NewResult() + defer c.JSON(http.StatusOK, ret) + + arg, ok := util.JsonArg(c, ret) + if !ok { + return + } + + data := arg["data"].(string) + dataType := arg["dataType"].(string) + boxID := arg["notebook"].(string) + if util.InvalidIDPattern(boxID, ret) { + return + } + if "markdown" == dataType { + luteEngine := util.NewLute() + var err error + data, err = dataBlockDOM(data, luteEngine) + if nil != err { + ret.Code = -1 + ret.Msg = "data block DOM failed: " + err.Error() + return + } + } + + p, _, err := model.CreateDailyNote(boxID) + if nil != err { + ret.Code = -1 + ret.Msg = "create daily note failed: " + err.Error() + return + } + + parentID := strings.TrimSuffix(path.Base(p), ".sy") + transactions := []*model.Transaction{ + { + DoOperations: []*model.Operation{ + { + Action: "prependInsert", + Data: data, + ParentID: parentID, + }, + }, + }, + } + + model.PerformTransactions(&transactions) + model.WaitForWritingFiles() + + ret.Data = transactions + broadcastTransactions(transactions) +} + func unfoldBlock(c *gin.Context) { ret := gulu.Ret.NewResult() defer c.JSON(http.StatusOK, ret) diff --git a/kernel/api/router.go b/kernel/api/router.go index 45f2148e16a..d4e622fa59e 100644 --- a/kernel/api/router.go +++ b/kernel/api/router.go @@ -185,6 +185,7 @@ func ServeAPI(ginServer *gin.Engine) { ginServer.Handle("POST", "/api/block/prependBlock", model.CheckAuth, model.CheckReadonly, prependBlock) ginServer.Handle("POST", "/api/block/appendBlock", model.CheckAuth, model.CheckReadonly, appendBlock) ginServer.Handle("POST", "/api/block/appendDailyNoteBlock", model.CheckAuth, model.CheckReadonly, appendDailyNoteBlock) + ginServer.Handle("POST", "/api/block/prependDailyNoteBlock", model.CheckAuth, model.CheckReadonly, prependDailyNoteBlock) ginServer.Handle("POST", "/api/block/updateBlock", model.CheckAuth, model.CheckReadonly, updateBlock) ginServer.Handle("POST", "/api/block/deleteBlock", model.CheckAuth, model.CheckReadonly, deleteBlock) ginServer.Handle("POST", "/api/block/moveBlock", model.CheckAuth, model.CheckReadonly, moveBlock) From 08da8f15a45c53cba7ced6854e772096d04d7051 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 17 May 2024 17:49:59 +0800 Subject: [PATCH 06/44] :art: https://github.com/siyuan-note/siyuan/issues/11409 --- app/src/protyle/render/av/cell.ts | 7 +- app/src/protyle/render/av/select.ts | 40 ++++- app/src/protyle/util/insertHTML.ts | 256 +++++++++++++++------------- 3 files changed, 177 insertions(+), 126 deletions(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 714db18ca9c..d9cec86d4f1 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -514,7 +514,8 @@ const updateCellValueByInput = (protyle: IProtyle, type: TAVCol, blockElement: H }); }; -export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, value?: any, cElements?: HTMLElement[]) => { +export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, value?: any, cElements?: HTMLElement[], + columns?: IAVColumn[]) => { const doOperations: IOperation[] = []; const undoOperations: IOperation[] = []; @@ -535,7 +536,7 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va }); } } - + const isCustomAttr = !hasClosestByClassName(cellElements[0], "custom-attr"); cellElements.forEach((item: HTMLElement, elementIndex) => { const rowElement = hasClosestByClassName(item, "av__row"); if (!rowElement) { @@ -617,7 +618,7 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va rowID, data: oldValue }); - if (!hasClosestByClassName(cellElements[0], "custom-attr")) { + if (!isCustomAttr) { updateAttrViewCellAnimation(item, cellValue); } else { item.innerHTML = genAVValueHTML(cellValue); diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts index 7fe5386c486..0e966b49208 100644 --- a/app/src/protyle/render/av/select.ts +++ b/app/src/protyle/render/av/select.ts @@ -63,7 +63,7 @@ export const removeCellOption = (protyle: IProtyle, cellElements: HTMLElement[], const doOperations: IOperation[] = []; const undoOperations: IOperation[] = []; let mSelectValue: IAVCellSelectValue[]; - const avID = blockElement.getAttribute("data-av-id"); + const avID = blockElement.getAttribute("data-av-id"); cellElements.forEach((item, elementIndex) => { if (!blockElement.contains(item)) { const rowElement = hasClosestByClassName(item, "av__row"); @@ -565,3 +565,41 @@ export const getSelectHTML = (data: IAVTable, cellElements: HTMLElement[], init
${filterSelectHTML("", colData.options, selected)}
`; }; + +export const mergeAddOption = (column: IAVColumn, cellValue: IAVCellValue, avID:string) => { + const doOperations: IOperation[] = []; + const undoOperations: IOperation[] = []; + cellValue.mSelect.forEach((item: IAVCellSelectValue) => { + const needAdd = column.options.find((option: { + name: string, + color: string, + }) => { + if (option.name === item.content) { + item.color = option.color; + return true; + } + }); + if (!needAdd) { + column.options.push({ + name: item.content, + color:(column.options?.length || 0) % 13 + 1 + }); + doOperations.push({ + action: "updateAttrViewColOptions", + id: column.id, + avID, + data: column.options + }) + undoOperations.push({ + action: "removeAttrViewColOption", + id: column.id, + avID, + data: item.content, + }); + } + }); + return { + doOperations, + undoOperations + }; +} diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts index 79579128450..325cfba50d5 100644 --- a/app/src/protyle/util/insertHTML.ts +++ b/app/src/protyle/util/insertHTML.ts @@ -10,6 +10,8 @@ import {updateAttrViewCellAnimation, updateAVName} from "../render/av/action"; import {genCellValue, genCellValueByElement, getTypeByCellElement, updateCellsValue} from "../render/av/cell"; import {input} from "../wysiwyg/input"; import {objEquals} from "../../util/functions"; +import {fetchPost} from "../../util/fetch"; +import {mergeAddOption} from "../render/av/select"; const processAV = (range: Range, html: string, protyle: IProtyle, blockElement: HTMLElement) => { const tempElement = document.createElement("template"); @@ -32,147 +34,157 @@ const processAV = (range: Range, html: string, protyle: IProtyle, blockElement: }); }); } - if (values && Array.isArray(values) && values.length > 0) { - const cellElements: Element[] = Array.from(blockElement.querySelectorAll(".av__cell--active, .av__cell--select")) || []; - if (cellElements.length === 0) { - blockElement.querySelectorAll(".av__row--select:not(.av__row--header)").forEach(rowElement => { - rowElement.querySelectorAll(".av__cell").forEach(cellElement => { - cellElements.push(cellElement); + const avID = blockElement.dataset.avId; + fetchPost("/api/av/getAttributeViewKeysByAvID", {avID}, (response) => { + const columns: IAVColumn[] = response.data; + if (values && Array.isArray(values) && values.length > 0) { + const cellElements: Element[] = Array.from(blockElement.querySelectorAll(".av__cell--active, .av__cell--select")) || []; + if (cellElements.length === 0) { + blockElement.querySelectorAll(".av__row--select:not(.av__row--header)").forEach(rowElement => { + rowElement.querySelectorAll(".av__cell").forEach(cellElement => { + cellElements.push(cellElement); + }); }); - }); - } - if (cellElements.length === 0) { - cellElements.push(blockElement.querySelector(".av__row:not(.av__row--header) .av__cell")); - } - const doOperations: IOperation[] = []; - const undoOperations: IOperation[] = []; - - const avID = blockElement.dataset.avId; - const id = blockElement.dataset.nodeId; - let currentRowElement: Element; - const firstColIndex = cellElements[0].getAttribute("data-col-id"); - values.find(rowItem => { - if (!currentRowElement) { - currentRowElement = cellElements[0].parentElement; - } else { - currentRowElement = currentRowElement.nextElementSibling; } - if (!currentRowElement.classList.contains("av__row")) { - return true; + if (cellElements.length === 0) { + cellElements.push(blockElement.querySelector(".av__row:not(.av__row--header) .av__cell")); } - let cellElement: HTMLElement; - rowItem.find(cellValue => { - if (!cellElement) { - cellElement = currentRowElement.querySelector(`.av__cell[data-col-id="${firstColIndex}"]`) as HTMLElement; + const doOperations: IOperation[] = []; + const undoOperations: IOperation[] = []; + + const avID = blockElement.dataset.avId; + const id = blockElement.dataset.nodeId; + let currentRowElement: Element; + const firstColIndex = cellElements[0].getAttribute("data-col-id"); + values.find(rowItem => { + if (!currentRowElement) { + currentRowElement = cellElements[0].parentElement; } else { - cellElement = cellElement.nextElementSibling as HTMLElement; + currentRowElement = currentRowElement.nextElementSibling; } - if (!cellElement.classList.contains("av__cell")) { + if (!currentRowElement.classList.contains("av__row")) { return true; } - const type = getTypeByCellElement(cellElement) || cellElement.dataset.type as TAVCol; - if (["created", "updated", "template", "rollup"].includes(type) || - (type === "block" && !cellElement.dataset.detached)) { - return; - } - const rowID = currentRowElement.getAttribute("data-id"); - const cellId = cellElement.getAttribute("data-id"); - const colId = cellElement.getAttribute("data-col-id"); + let cellElement: HTMLElement; + rowItem.find(cellValue => { + if (!cellElement) { + cellElement = currentRowElement.querySelector(`.av__cell[data-col-id="${firstColIndex}"]`) as HTMLElement; + } else { + cellElement = cellElement.nextElementSibling as HTMLElement; + } + if (!cellElement.classList.contains("av__cell")) { + return true; + } + const type = getTypeByCellElement(cellElement) || cellElement.dataset.type as TAVCol; + if (["created", "updated", "template", "rollup"].includes(type) || + (type === "block" && !cellElement.dataset.detached)) { + return; + } + const rowID = currentRowElement.getAttribute("data-id"); + const cellId = cellElement.getAttribute("data-id"); + const colId = cellElement.getAttribute("data-col-id"); - const oldValue = genCellValueByElement(type, cellElement); - if (cellValue.type !== type) { - if (type === "date") { - // 类型不能转换时就不进行替换 + const oldValue = genCellValueByElement(type, cellElement); + if (cellValue.type !== type && + !(["select", "mSelect"].includes(type) && ["select", "mSelect"].includes(cellValue.type))) { + if (type === "date") { + // 类型不能转换时就不进行替换 + return; + } + const content = cellValue[cellValue.type as "text"]?.content; + if (!content) { + return; + } + cellValue = genCellValue(type, cellValue[cellValue.type as "text"].content.toString()); + } + if (cellValue.type === "block") { + cellValue.isDetached = true; + delete cellValue.block.id; + } else if (type === "select" || type === "mSelect") { + const operations = mergeAddOption(columns.find(e => e.id === cellElement.dataset.colId), cellValue, avID); + doOperations.push(...operations.doOperations); + undoOperations.push(...operations.undoOperations); + } + cellValue.id = cellId; + if ((cellValue.type === "date" && typeof cellValue.date === "string") || + (cellValue.type === "relation" && typeof cellValue.relation === "string")) { return; } - const content = cellValue[cellValue.type as "text"].content; - if (!content) { + if (objEquals(cellValue, oldValue)) { return; } - cellValue = genCellValue(type, cellValue[cellValue.type as "text"].content.toString()); - } - if (cellValue.type === "block") { - cellValue.isDetached = true; - delete cellValue.block.id; - } - cellValue.id = cellId; - if ((cellValue.type === "date" && typeof cellValue.date === "string") || - (cellValue.type === "relation" && typeof cellValue.relation === "string")) { - return; - } - if (objEquals(cellValue, oldValue)) { - return; - } + doOperations.push({ + action: "updateAttrViewCell", + id: cellId, + avID, + keyID: colId, + rowID, + data: cellValue + }); + undoOperations.push({ + action: "updateAttrViewCell", + id: cellId, + avID, + keyID: colId, + rowID, + data: oldValue + }); + updateAttrViewCellAnimation(cellElement, cellValue); + }); + }); + if (doOperations.length > 0) { doOperations.push({ - action: "updateAttrViewCell", - id: cellId, - avID, - keyID: colId, - rowID, - data: cellValue + action: "doUpdateUpdated", + id, + data: dayjs().format("YYYYMMDDHHmmss"), }); undoOperations.push({ - action: "updateAttrViewCell", - id: cellId, - avID, - keyID: colId, - rowID, - data: oldValue + action: "doUpdateUpdated", + id, + data: blockElement.getAttribute("updated"), }); - updateAttrViewCellAnimation(cellElement, cellValue); - }); - }); - if (doOperations.length > 0) { - doOperations.push({ - action: "doUpdateUpdated", - id, - data: dayjs().format("YYYYMMDDHHmmss"), - }); - undoOperations.push({ - action: "doUpdateUpdated", - id, - data: blockElement.getAttribute("updated"), - }); - transaction(protyle, doOperations, undoOperations); - } - return; - } - const contenteditableElement = getContenteditableElement(tempElement.content.firstElementChild); - if (contenteditableElement && contenteditableElement.childNodes.length === 1 && contenteditableElement.firstElementChild?.getAttribute("data-type") === "block-ref") { - const selectCellElement = blockElement.querySelector(".av__cell--select") as HTMLElement; - if (selectCellElement) { - const avID = blockElement.dataset.avId; - const sourceId = contenteditableElement.firstElementChild.getAttribute("data-id"); - const previousID = selectCellElement.dataset.blockId; - transaction(protyle, [{ - action: "replaceAttrViewBlock", - avID, - previousID, - nextID: sourceId, - isDetached: false, - }], [{ - action: "replaceAttrViewBlock", - avID, - previousID: sourceId, - nextID: previousID, - isDetached: selectCellElement.dataset.detached === "true", - }]); + transaction(protyle, doOperations, undoOperations); + } return; } - } - const text = protyle.lute.BlockDOM2EscapeMarkerContent(html); - const cellsElement: HTMLElement[] = Array.from(blockElement.querySelectorAll(".av__cell--select")); - const rowsElement = blockElement.querySelector(".av__row--select"); - if (rowsElement) { - updateCellsValue(protyle, blockElement as HTMLElement, text); - } else if (cellsElement.length > 0) { - updateCellsValue(protyle, blockElement as HTMLElement, text, cellsElement); - } else if (hasClosestByClassName(range.startContainer, "av__title")) { - range.insertNode(document.createTextNode(text)); - range.collapse(false); - updateAVName(protyle, blockElement); - } + const contenteditableElement = getContenteditableElement(tempElement.content.firstElementChild); + if (contenteditableElement && contenteditableElement.childNodes.length === 1 && contenteditableElement.firstElementChild?.getAttribute("data-type") === "block-ref") { + const selectCellElement = blockElement.querySelector(".av__cell--select") as HTMLElement; + if (selectCellElement) { + const sourceId = contenteditableElement.firstElementChild.getAttribute("data-id"); + const previousID = selectCellElement.dataset.blockId; + transaction(protyle, [{ + action: "replaceAttrViewBlock", + avID, + previousID, + nextID: sourceId, + isDetached: false, + }], [{ + action: "replaceAttrViewBlock", + avID, + previousID: sourceId, + nextID: previousID, + isDetached: selectCellElement.dataset.detached === "true", + }]); + return; + } + } + + const text = protyle.lute.BlockDOM2EscapeMarkerContent(html); + const cellsElement: HTMLElement[] = Array.from(blockElement.querySelectorAll(".av__cell--select")); + const rowsElement = blockElement.querySelector(".av__row--select"); + + if (rowsElement) { + updateCellsValue(protyle, blockElement as HTMLElement, text, undefined, columns); + } else if (cellsElement.length > 0) { + updateCellsValue(protyle, blockElement as HTMLElement, text, cellsElement, columns); + } else if (hasClosestByClassName(range.startContainer, "av__title")) { + range.insertNode(document.createTextNode(text)); + range.collapse(false); + updateAVName(protyle, blockElement); + } + }); }; export const insertHTML = (html: string, protyle: IProtyle, isBlock = false, From 1c45347de52bd93544f4fa2b0ae1259232da4d48 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 17 May 2024 18:02:15 +0800 Subject: [PATCH 07/44] :art: https://github.com/siyuan-note/siyuan/issues/11409 --- app/src/protyle/render/av/cell.ts | 6 ++++++ app/src/protyle/render/av/select.ts | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index d9cec86d4f1..dbae546455d 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -13,6 +13,7 @@ import {genAVValueHTML} from "./blockAttr"; import {Constants} from "../../../constants"; import {hintRef} from "../../hint/extend"; import {pathPosix} from "../../../util/pathName"; +import {mergeAddOption} from "./select"; const renderCellURL = (urlContent: string) => { let host = urlContent; @@ -587,6 +588,11 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va (cellValue.type === "relation" && typeof cellValue.relation === "string")) { return; } + if (type === "select" || type === "mSelect") { + const operations = mergeAddOption(columns.find(e => e.id === colId), cellValue, avID); + doOperations.push(...operations.doOperations); + undoOperations.push(...operations.undoOperations); + } if (objEquals(cellValue, oldValue)) { return; } diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts index 0e966b49208..269e915c453 100644 --- a/app/src/protyle/render/av/select.ts +++ b/app/src/protyle/render/av/select.ts @@ -566,7 +566,7 @@ export const getSelectHTML = (data: IAVTable, cellElements: HTMLElement[], init `; }; -export const mergeAddOption = (column: IAVColumn, cellValue: IAVCellValue, avID:string) => { +export const mergeAddOption = (column: IAVColumn, cellValue: IAVCellValue, avID: string) => { const doOperations: IOperation[] = []; const undoOperations: IOperation[] = []; cellValue.mSelect.forEach((item: IAVCellSelectValue) => { @@ -580,15 +580,17 @@ export const mergeAddOption = (column: IAVColumn, cellValue: IAVCellValue, avID: } }); if (!needAdd) { + const newColor = ((column.options?.length || 0) % 13 + 1).toString() column.options.push({ name: item.content, - color:(column.options?.length || 0) % 13 + 1 + color: newColor }); + item.color = newColor; doOperations.push({ action: "updateAttrViewColOptions", id: column.id, avID, - data: column.options + data: column.options }) undoOperations.push({ action: "removeAttrViewColOption", From 0ad0d416c4ab8cc5f45a428e1d40a90166d5229b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 17 May 2024 19:12:36 +0800 Subject: [PATCH 08/44] :art: https://github.com/siyuan-note/siyuan/issues/11391 --- app/src/protyle/wysiwyg/commonHotkey.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/commonHotkey.ts b/app/src/protyle/wysiwyg/commonHotkey.ts index 639bd7954c8..8329ef64f23 100644 --- a/app/src/protyle/wysiwyg/commonHotkey.ts +++ b/app/src/protyle/wysiwyg/commonHotkey.ts @@ -200,7 +200,15 @@ export const duplicateBlock = (nodeElements: Element[], protyle: IProtyle) => { childItem.setAttribute("data-node-id", Lute.NewNodeID()); }); item.classList.remove("protyle-wysiwyg--select"); - nodeElements[0].after(tempElement); + if (tempElement.dataset.type ==="NodeHTMLBlock") { + const phElement = tempElement.querySelector("protyle-html"); + const content = phElement.getAttribute("data-content"); + phElement.setAttribute("data-content", ""); + nodeElements[0].after(tempElement); + phElement.setAttribute("data-content", Lute.UnEscapeHTMLStr(content)); + } else { + nodeElements[0].after(tempElement); + } doOperations.push({ action: "insert", data: tempElement.outerHTML, From b670cdb29af73ab7786cc4958bbac1fe71d5ab90 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 17 May 2024 21:42:42 +0800 Subject: [PATCH 09/44] :bug: Negative numbers are treated as positive numbers when calculating template field values https://github.com/siyuan-note/siyuan/issues/11446 --- kernel/util/misc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/util/misc.go b/kernel/util/misc.go index c319083bfa5..97c75812607 100644 --- a/kernel/util/misc.go +++ b/kernel/util/misc.go @@ -124,7 +124,7 @@ func Convert2Float(s string) (float64, bool) { s = strings.ReplaceAll(s, ",", "") buf := bytes.Buffer{} for _, r := range s { - if unicode.IsDigit(r) || '.' == r { + if unicode.IsDigit(r) || '.' == r || '-' == r { buf.WriteRune(r) } } From ad58e1c0c9c6cc58b3e36255f4b1322d19877f4f Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 17 May 2024 21:50:35 +0800 Subject: [PATCH 10/44] :bug: Regular replacement text fails https://github.com/siyuan-note/siyuan/issues/11444 --- kernel/model/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/search.go b/kernel/model/search.go index ff260314aad..7fc3010449a 100644 --- a/kernel/model/search.go +++ b/kernel/model/search.go @@ -803,7 +803,7 @@ func replaceTextNode(text *ast.Node, method int, keyword string, replacement str } } else if 3 == method { if nil != r && r.MatchString(string(text.Tokens)) { - newContent := bytes.ReplaceAll(text.Tokens, []byte(keyword), []byte(replacement)) + newContent := []byte(r.ReplaceAllString(string(text.Tokens), replacement)) tree := parse.Inline("", newContent, luteEngine.ParseOptions) if nil == tree.Root.FirstChild { return false From 8a47d448848e6b3f332fea149ffe3a9c6bd6d9b1 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 17 May 2024 21:58:38 +0800 Subject: [PATCH 11/44] :art: Add logging https://github.com/siyuan-note/siyuan/issues/11447 --- kernel/model/import.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/model/import.go b/kernel/model/import.go index 150912a9be1..409f1fb1c15 100644 --- a/kernel/model/import.go +++ b/kernel/model/import.go @@ -115,12 +115,13 @@ func ImportSY(zipPath, boxID, toPath string) (err error) { return } if 1 != len(unzipRootPaths) { - logging.LogErrorf("invalid .sy.zip") + logging.LogErrorf("invalid .sy.zip [%v]", unzipRootPaths) return errors.New(Conf.Language(199)) } unzipRootPath := unzipRootPaths[0] name := filepath.Base(unzipRootPath) if strings.HasPrefix(name, "data-20") && len("data-20230321175442") == len(name) { + logging.LogErrorf("invalid .sy.zip [unzipRootPath=%s, baseName=%s]", unzipRootPath, name) return errors.New(Conf.Language(199)) } From f6a4ccfc7dfed0120f932c1d86c932d5f06be98f Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 17 May 2024 23:35:36 +0800 Subject: [PATCH 12/44] :art: https://github.com/siyuan-note/siyuan/issues/11443 --- app/src/protyle/render/av/action.ts | 16 +++++++++------- app/src/protyle/render/av/cell.ts | 10 +++++----- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 5c72b4b6764..f1055ab1e16 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -272,13 +272,6 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi type: "submenu", submenu: copySubMenu(blockId) }); - menu.addItem({ - label: window.siyuan.languages.unbindBlock, - icon: "iconLinkOff", - click() { - updateCellsValue(protyle, blockElement, keyCellElement.querySelector(".av__celltext").textContent, [keyCellElement]); - } - }); } if (!protyle.disabled) { menu.addItem({ @@ -366,6 +359,15 @@ ${window.siyuan.languages.insertRowAfter.replace("${x}", ' { const rowElement = hasClosestByClassName(item, "av__row"); if (!rowElement) { @@ -588,7 +588,7 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va (cellValue.type === "relation" && typeof cellValue.relation === "string")) { return; } - if (type === "select" || type === "mSelect") { + if (columns && (type === "select" || type === "mSelect")) { const operations = mergeAddOption(columns.find(e => e.id === colId), cellValue, avID); doOperations.push(...operations.doOperations); undoOperations.push(...operations.undoOperations); @@ -624,10 +624,10 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va rowID, data: oldValue }); - if (!isCustomAttr) { - updateAttrViewCellAnimation(item, cellValue); - } else { + if (isCustomAttr) { item.innerHTML = genAVValueHTML(cellValue); + } else { + updateAttrViewCellAnimation(item, cellValue); } }); if (doOperations.length > 0) { From 491a1696c19431cbcee2ad4df57e26e515cf10d0 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 18 May 2024 00:05:23 +0800 Subject: [PATCH 13/44] :art: Support KaTex macro parameters https://github.com/siyuan-note/siyuan/issues/11448 --- kernel/model/export.go | 10 ++++++++++ kernel/model/export_katex.go | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/kernel/model/export.go b/kernel/model/export.go index 8f261eb2c9c..351da7fd4ba 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -1962,6 +1962,16 @@ func processKaTexMacros(n *ast.Node) { depth := 1 expanded := resolveKaTexMacro(usedMacro, ¯os, &keys, &depth) expanded = unescapeKaTexSupportedFunctions(expanded) + + idx := strings.Index(mathContent, usedMacro) + if idx < 0 { + continue + } + + // 处理宏参数 + fillKaTexMacrosParams(usedMacro, &mathContent, &expanded) + + // 将宏展开替换到 mathContent 中 mathContent = strings.ReplaceAll(mathContent, usedMacro, expanded) } mathContent = unescapeKaTexSupportedFunctions(mathContent) diff --git a/kernel/model/export_katex.go b/kernel/model/export_katex.go index 4859a0ea944..3b84f9eb619 100644 --- a/kernel/model/export_katex.go +++ b/kernel/model/export_katex.go @@ -18,7 +18,10 @@ package model import ( "sort" + "strconv" "strings" + + "github.com/88250/gulu" ) func extractUsedMacros(mathContent string, macrosKeys *[]string) (ret []string) { @@ -952,3 +955,35 @@ func unescapeKaTexSupportedFunctions(macroVal string) string { } return macroVal } + +func fillKaTexMacrosParams(macro string, mathContent, expanded *string) { + // Support KaTex macro parameters https://github.com/siyuan-note/siyuan/issues/11448 + + idx := strings.Index(*mathContent, macro) + if idx < 0 { + return + } + + // 提取 mathContent 中 {} 包裹的实参,这里可能会提取到其他多余的参数,但是后面仅替换宏中的 #1, #2, ...,所以不影响 + tmp := (*mathContent)[idx:] + args := map[int]string{} + for i, arg := range gulu.Str.SubstringsBetween(tmp, "{", "}") { + args[i+1] = arg + } + + // 将宏展开中的 #1, #2, ... 替换为实参 + // Macros accept up to nine arguments: #1, #2, etc. https://katex.org/docs/supported#macros + paramsCount := 0 + for i := 0; i < len(args); i++ { + if strings.Contains(*expanded, "#"+strconv.Itoa(i+1)) { + paramsCount++ + *expanded = strings.ReplaceAll(*expanded, "#"+strconv.Itoa(i+1), args[i+1]) + } + } + + // 根据参数个数将 mathContent 中的实参替换为空 + for i := 1; i <= paramsCount; i++ { + tmp = strings.ReplaceAll(tmp, "{"+args[i]+"}", "") + *mathContent = (*mathContent)[:idx] + tmp + } +} From 64c4bed8ab934bcc59792006f07ee0be3b79607b Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 18 May 2024 00:20:34 +0800 Subject: [PATCH 14/44] :bug: Documents exported in the doc tree can no longer be imported Fix https://github.com/siyuan-note/siyuan/issues/11447 --- kernel/model/import.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kernel/model/import.go b/kernel/model/import.go index 409f1fb1c15..d97d189c710 100644 --- a/kernel/model/import.go +++ b/kernel/model/import.go @@ -110,15 +110,16 @@ func ImportSY(zipPath, boxID, toPath string) (err error) { return nil }) - unzipRootPaths, err := filepath.Glob(unzipPath + "/*") + entries, err := os.ReadDir(unzipPath) if nil != err { + logging.LogErrorf("read unzip dir [%s] failed: %s", unzipPath, err) return } - if 1 != len(unzipRootPaths) { - logging.LogErrorf("invalid .sy.zip [%v]", unzipRootPaths) + if 1 != len(entries) { + logging.LogErrorf("invalid .sy.zip [%v]", entries) return errors.New(Conf.Language(199)) } - unzipRootPath := unzipRootPaths[0] + unzipRootPath := filepath.Join(unzipPath, entries[0].Name()) name := filepath.Base(unzipRootPath) if strings.HasPrefix(name, "data-20") && len("data-20230321175442") == len(name) { logging.LogErrorf("invalid .sy.zip [unzipRootPath=%s, baseName=%s]", unzipRootPath, name) From 07c874d8ec999a5f1b7a218ace68fdb921c50809 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 18 May 2024 10:33:29 +0800 Subject: [PATCH 15/44] :art: Improve HTML h element clipping https://github.com/siyuan-note/siyuan/issues/11445 --- app/stage/protyle/js/lute/lute.min.js | 2 +- kernel/go.mod | 2 +- kernel/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/stage/protyle/js/lute/lute.min.js b/app/stage/protyle/js/lute/lute.min.js index 6238f1db7cb..a64bed405ee 100644 --- a/app/stage/protyle/js/lute/lute.min.js +++ b/app/stage/protyle/js/lute/lute.min.js @@ -58,7 +58,7 @@ $packages["encoding/base64"]=(function(){var $pkg={},$init,A,B,C,D,F,H,N,O,P,Q,R $packages["unicode/utf16"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["encoding/json"]=(function(){var $pkg={},$init,C,H,I,D,J,G,E,K,L,M,F,A,N,O,B,P,AD,AE,CA,CB,CC,CE,CG,CJ,CL,CM,DB,DI,DJ,DL,DO,DQ,DS,DU,DY,DZ,EA,EK,EV,EX,EY,EZ,FA,FB,FG,FH,FI,FJ,FK,FL,FM,FO,FU,FV,FW,FX,FZ,GA,GB,GC,GD,R,S,AF,CF,CH,CN,CQ,CR,DC,DD,ED,EQ,ER,a,b,c,Q,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BQ,BT,BU,BV,BW,BX,BZ,CI,CK,CO,CP,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DE,DF,DG,DH,DK,DM,DN,DP,DR,DT,DV,DW,DX,EB,EC,EE;C=$packages["bytes"];H=$packages["encoding"];I=$packages["encoding/base64"];D=$packages["errors"];J=$packages["fmt"];G=$packages["github.com/gopherjs/gopherjs/nosync"];E=$packages["io"];K=$packages["math"];L=$packages["reflect"];M=$packages["sort"];F=$packages["strconv"];A=$packages["strings"];N=$packages["unicode"];O=$packages["unicode/utf16"];B=$packages["unicode/utf8"];P=$pkg.tagOptions=$newType(8,$kindString,"json.tagOptions",true,"encoding/json",false,null);AD=$pkg.SyntaxError=$newType(0,$kindStruct,"json.SyntaxError",true,"encoding/json",true,function(msg_,Offset_){this.$val=this;if(arguments.length===0){this.msg="";this.Offset=new $Int64(0,0);return;}this.msg=msg_;this.Offset=Offset_;});AE=$pkg.scanner=$newType(0,$kindStruct,"json.scanner",true,"encoding/json",false,function(step_,endTop_,parseState_,err_,bytes_){this.$val=this;if(arguments.length===0){this.step=$throwNilPointerError;this.endTop=false;this.parseState=EX.nil;this.err=$ifaceNil;this.bytes=new $Int64(0,0);return;}this.step=step_;this.endTop=endTop_;this.parseState=parseState_;this.err=err_;this.bytes=bytes_;});CA=$pkg.Marshaler=$newType(8,$kindInterface,"json.Marshaler",true,"encoding/json",true,null);CB=$pkg.UnsupportedTypeError=$newType(0,$kindStruct,"json.UnsupportedTypeError",true,"encoding/json",true,function(Type_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;return;}this.Type=Type_;});CC=$pkg.UnsupportedValueError=$newType(0,$kindStruct,"json.UnsupportedValueError",true,"encoding/json",true,function(Value_,Str_){this.$val=this;if(arguments.length===0){this.Value=new L.Value.ptr(FO.nil,0,0);this.Str="";return;}this.Value=Value_;this.Str=Str_;});CE=$pkg.MarshalerError=$newType(0,$kindStruct,"json.MarshalerError",true,"encoding/json",true,function(Type_,Err_,sourceFunc_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;this.Err=$ifaceNil;this.sourceFunc="";return;}this.Type=Type_;this.Err=Err_;this.sourceFunc=sourceFunc_;});CG=$pkg.encodeState=$newType(0,$kindStruct,"json.encodeState",true,"encoding/json",false,function(Buffer_,scratch_,ptrLevel_,ptrSeen_){this.$val=this;if(arguments.length===0){this.Buffer=new C.Buffer.ptr(FA.nil,0,0);this.scratch=FI.zero();this.ptrLevel=0;this.ptrSeen=false;return;}this.Buffer=Buffer_;this.scratch=scratch_;this.ptrLevel=ptrLevel_;this.ptrSeen=ptrSeen_;});CJ=$pkg.jsonError=$newType(0,$kindStruct,"json.jsonError",true,"encoding/json",false,function(error_){this.$val=this;if(arguments.length===0){this.error=$ifaceNil;return;}this.error=error_;});CL=$pkg.encOpts=$newType(0,$kindStruct,"json.encOpts",true,"encoding/json",false,function(quoted_,escapeHTML_){this.$val=this;if(arguments.length===0){this.quoted=false;this.escapeHTML=false;return;}this.quoted=quoted_;this.escapeHTML=escapeHTML_;});CM=$pkg.encoderFunc=$newType(4,$kindFunc,"json.encoderFunc",true,"encoding/json",false,null);DB=$pkg.floatEncoder=$newType(4,$kindInt,"json.floatEncoder",true,"encoding/json",false,null);DI=$pkg.structEncoder=$newType(0,$kindStruct,"json.structEncoder",true,"encoding/json",false,function(fields_){this.$val=this;if(arguments.length===0){this.fields=new DJ.ptr(FJ.nil,false);return;}this.fields=fields_;});DJ=$pkg.structFields=$newType(0,$kindStruct,"json.structFields",true,"encoding/json",false,function(list_,nameIndex_){this.$val=this;if(arguments.length===0){this.list=FJ.nil;this.nameIndex=false;return;}this.list=list_;this.nameIndex=nameIndex_;});DL=$pkg.mapEncoder=$newType(0,$kindStruct,"json.mapEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DO=$pkg.sliceEncoder=$newType(0,$kindStruct,"json.sliceEncoder",true,"encoding/json",false,function(arrayEnc_){this.$val=this;if(arguments.length===0){this.arrayEnc=$throwNilPointerError;return;}this.arrayEnc=arrayEnc_;});DQ=$pkg.arrayEncoder=$newType(0,$kindStruct,"json.arrayEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DS=$pkg.ptrEncoder=$newType(0,$kindStruct,"json.ptrEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DU=$pkg.condAddrEncoder=$newType(0,$kindStruct,"json.condAddrEncoder",true,"encoding/json",false,function(canAddrEnc_,elseEnc_){this.$val=this;if(arguments.length===0){this.canAddrEnc=$throwNilPointerError;this.elseEnc=$throwNilPointerError;return;}this.canAddrEnc=canAddrEnc_;this.elseEnc=elseEnc_;});DY=$pkg.reflectWithString=$newType(0,$kindStruct,"json.reflectWithString",true,"encoding/json",false,function(k_,v_,ks_){this.$val=this;if(arguments.length===0){this.k=new L.Value.ptr(FO.nil,0,0);this.v=new L.Value.ptr(FO.nil,0,0);this.ks="";return;}this.k=k_;this.v=v_;this.ks=ks_;});DZ=$pkg.field=$newType(0,$kindStruct,"json.field",true,"encoding/json",false,function(name_,nameBytes_,equalFold_,nameNonEsc_,nameEscHTML_,tag_,index_,typ_,omitEmpty_,quoted_,encoder_){this.$val=this;if(arguments.length===0){this.name="";this.nameBytes=FA.nil;this.equalFold=$throwNilPointerError;this.nameNonEsc="";this.nameEscHTML="";this.tag=false;this.index=EX.nil;this.typ=$ifaceNil;this.omitEmpty=false;this.quoted=false;this.encoder=$throwNilPointerError;return;}this.name=name_;this.nameBytes=nameBytes_;this.equalFold=equalFold_;this.nameNonEsc=nameNonEsc_;this.nameEscHTML=nameEscHTML_;this.tag=tag_;this.index=index_;this.typ=typ_;this.omitEmpty=omitEmpty_;this.quoted=quoted_;this.encoder=encoder_;});EA=$pkg.byIndex=$newType(12,$kindSlice,"json.byIndex",true,"encoding/json",false,null);EK=$pkg.Number=$newType(8,$kindString,"json.Number",true,"encoding/json",true,null);EV=$sliceType($emptyInterface);EX=$sliceType($Int);EY=$ptrType(CA);EZ=$ptrType(H.TextMarshaler);FA=$sliceType($Uint8);FB=$ptrType(H.TextUnmarshaler);FG=$ptrType(AE);FH=$ptrType(CG);FI=$arrayType($Uint8,64);FJ=$sliceType(DZ);FK=$structType("",[]);FL=$sliceType(DY);FM=$structType("encoding/json",[{prop:"ptr",name:"ptr",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"len",name:"len",embedded:false,exported:false,typ:$Int,tag:""}]);FO=$ptrType(L.rtype);FU=$ptrType(AD);FV=$funcType([FG,$Uint8],[$Int],false);FW=$ptrType(CB);FX=$ptrType(CC);FZ=$ptrType(CE);GA=$mapType($emptyInterface,FK);GB=$mapType($String,$Int);GC=$ptrType(DY);GD=$funcType([FA,FA],[$Bool],false);Q=function(d){var d,e,f;e=A.Cut(d,",");d=e[0];f=e[1];return[d,(f)];};P.prototype.Contains=function(d){var d,e,f,g,h;e=this.$val;if(e.length===0){return false;}f=(e);while(true){if(!(!(f===""))){break;}g="";h=A.Cut(f,",");g=h[0];f=h[1];if(g===d){return true;}}return false;};$ptrType(P).prototype.Contains=function(d){return new P(this.$get()).Contains(d);};AD.ptr.prototype.Error=function(){var d;d=this;return d.msg;};AD.prototype.Error=function(){return this.$val.Error();};AG=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=AF.Get();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$assertType(d,FG);e.bytes=new $Int64(0,0);e.reset();$s=-1;return e;}return;}var $f={$blk:AG,$c:true,$r,d,e,$s};return $f;};AH=function(d){var d;if(d.parseState.$length>1024){d.parseState=EX.nil;}AF.Put(d);};AE.ptr.prototype.reset=function(){var d;d=this;d.step=AK;d.parseState=$subslice(d.parseState,0,0);d.err=$ifaceNil;d.endTop=false;};AE.prototype.reset=function(){return this.$val.reset();};AE.ptr.prototype.eof=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){$s=-1;return 11;}if(d.endTop){$s=-1;return 10;}e=d.step(d,32);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;if(d.endTop){$s=-1;return 10;}if($interfaceIsEqual(d.err,$ifaceNil)){d.err=new AD.ptr("unexpected end of JSON input",d.bytes);}$s=-1;return 11;}return;}var $f={$blk:AE.ptr.prototype.eof,$c:true,$r,d,e,$s};return $f;};AE.prototype.eof=function(){return this.$val.eof();};AE.ptr.prototype.pushParseState=function(d,e,f){var d,e,f,g;g=this;g.parseState=$append(g.parseState,e);if(g.parseState.$length<=10000){return f;}return g.error(d,"exceeded max depth");};AE.prototype.pushParseState=function(d,e,f){return this.$val.pushParseState(d,e,f);};AE.ptr.prototype.popParseState=function(){var d,e;d=this;e=d.parseState.$length-1>>0;d.parseState=$subslice(d.parseState,0,e);if(e===0){d.step=AO;d.endTop=true;}else{d.step=AN;}};AE.prototype.popParseState=function(){return this.$val.popParseState();};AI=function(d){var d;return d<=32&&((d===32)||(d===9)||(d===13)||(d===10));};AJ=function(d,e){var d,e;if(AI(e)){return 9;}if(e===93){return AN(d,e);}return AK(d,e);};AK=function(d,e){var d,e,f;if(AI(e)){return 9;}f=e;if(f===(123)){d.step=AL;return d.pushParseState(e,0,2);}else if(f===(91)){d.step=AJ;return d.pushParseState(e,2,6);}else if(f===(34)){d.step=AP;return 1;}else if(f===(45)){d.step=AV;return 1;}else if(f===(48)){d.step=AX;return 1;}else if(f===(116)){d.step=BD;return 1;}else if(f===(102)){d.step=BG;return 1;}else if(f===(110)){d.step=BK;return 1;}if(49<=e&&e<=57){d.step=AW;return 1;}return d.error(e,"looking for beginning of value");};AL=function(d,e){var d,e,f,g,h;if(AI(e)){return 9;}if(e===125){f=d.parseState.$length;(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]=1));return AN(d,e);}return AM(d,e);};AM=function(d,e){var d,e;if(AI(e)){return 9;}if(e===34){d.step=AP;return 1;}return d.error(e,"looking for beginning of object key string");};AN=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d.parseState.$length;if(f===0){d.step=AO;d.endTop=true;return AO(d,e);}if(AI(e)){d.step=AN;return 9;}i=(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));j=i;if(j===(0)){if(e===58){(k=d.parseState,l=f-1>>0,((l<0||l>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]=1));d.step=AK;return 3;}return d.error(e,"after object key");}else if(j===(1)){if(e===44){(m=d.parseState,n=f-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]=0));d.step=AM;return 4;}if(e===125){d.popParseState();return 5;}return d.error(e,"after object key:value pair");}else if(j===(2)){if(e===44){d.step=AK;return 7;}if(e===93){d.popParseState();return 8;}return d.error(e,"after array element");}return d.error(e,"");};AO=function(d,e){var d,e;if(!AI(e)){d.error(e,"after top-level value");}return 10;};AP=function(d,e){var d,e;if(e===34){d.step=AN;return 0;}if(e===92){d.step=AQ;return 0;}if(e<32){return d.error(e,"in string literal");}return 0;};AQ=function(d,e){var d,e,f;f=e;if((f===(98))||(f===(102))||(f===(110))||(f===(114))||(f===(116))||(f===(92))||(f===(47))||(f===(34))){d.step=AP;return 0;}else if(f===(117)){d.step=AR;return 0;}return d.error(e,"in string escape code");};AR=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AS;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AS=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AT;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AT=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AU;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AU=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AP;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AV=function(d,e){var d,e;if(e===48){d.step=AX;return 0;}if(49<=e&&e<=57){d.step=AW;return 0;}return d.error(e,"in numeric literal");};AW=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AW;return 0;}return AX(d,e);};AX=function(d,e){var d,e;if(e===46){d.step=AY;return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};AY=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AZ;return 0;}return d.error(e,"after decimal point in numeric literal");};AZ=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};BA=function(d,e){var d,e;if((e===43)||(e===45)){d.step=BB;return 0;}return BB(d,e);};BB=function(d,e){var d,e;if(48<=e&&e<=57){d.step=BC;return 0;}return d.error(e,"in exponent of numeric literal");};BC=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}return AN(d,e);};BD=function(d,e){var d,e;if(e===114){d.step=BE;return 0;}return d.error(e,"in literal true (expecting 'r')");};BE=function(d,e){var d,e;if(e===117){d.step=BF;return 0;}return d.error(e,"in literal true (expecting 'u')");};BF=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal true (expecting 'e')");};BG=function(d,e){var d,e;if(e===97){d.step=BH;return 0;}return d.error(e,"in literal false (expecting 'a')");};BH=function(d,e){var d,e;if(e===108){d.step=BI;return 0;}return d.error(e,"in literal false (expecting 'l')");};BI=function(d,e){var d,e;if(e===115){d.step=BJ;return 0;}return d.error(e,"in literal false (expecting 's')");};BJ=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal false (expecting 'e')");};BK=function(d,e){var d,e;if(e===117){d.step=BL;return 0;}return d.error(e,"in literal null (expecting 'u')");};BL=function(d,e){var d,e;if(e===108){d.step=BM;return 0;}return d.error(e,"in literal null (expecting 'l')");};BM=function(d,e){var d,e;if(e===108){d.step=AN;return 0;}return d.error(e,"in literal null (expecting 'l')");};BN=function(d,e){var d,e;return 11;};AE.ptr.prototype.error=function(d,e){var d,e,f;f=this;f.step=BN;f.err=new AD.ptr("invalid character "+BO(d)+" "+e,f.bytes);return 11;};AE.prototype.error=function(d,e){return this.$val.error(d,e);};BO=function(d){var d,e;if(d===39){return"'\\''";}if(d===34){return"'\"'";}e=F.Quote(($encodeRune(d)));return"'"+$substring(e,1,(e.length-1>>0))+"'";};BQ=function(d,e,f){var{aa,ab,ac,ad,ae,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=d.Len();h=AG();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$deferred.push([AH,[i]]);j=0;k=e;l=0;case 2:if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if(f&&((n===60)||(n===62)||(n===38))){$s=4;continue;}$s=5;continue;case 4:if(j>>4<<24>>>24)));$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=d.WriteByte(CF.charCodeAt(((n&15)>>>0)));$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;j=m+1>>0;case 5:if(f&&(n===226)&&(m+2>>0)>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))===128)&&((((t=m+2>>0,((t<0||t>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+t]))&~1)<<24>>>24)===168)){$s=12;continue;}$s=13;continue;case 12:if(j>0,((w<0||w>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+w]))&15)>>>0)));$s=18;case 18:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;j=m+3>>0;case 13:y=i.step(i,n);$s=19;case 19:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(z>=9){$s=20;continue;}$s=21;continue;case 20:if(z===11){$s=3;continue;}if(j>0;case 21:l++;$s=2;continue;case 3:ab=i.eof();$s=27;case 27:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(ab===11){$s=25;continue;}$s=26;continue;case 25:d.Truncate(g);ac=i.err;$s=28;case 28:return ac;case 26:if(j=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=128){return C.EqualFold;}j=(i&223)>>>0;if(j<65||j>90){e=true;}else if((j===75)||(j===83)){f=true;}h++;}if(f){return BU;}if(e){return BV;}return BW;};BU=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(e.$length===0){return false;}i=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if(i<128){if(!((h===i))){j=(h&223)>>>0;if(65<=j&&j<=90){if(!((j===((i&223)>>>0)))){return false;}}else{return false;}}e=$subslice(e,1);g++;continue;}k=B.DecodeRune(e);l=k[0];m=k[1];n=h;if((n===(115))||(n===(83))){if(!((l===383))){return false;}}else if((n===(107))||(n===(75))){if(!((l===8490))){return false;}}else{return false;}e=$subslice(e,m);g++;}if(e.$length>0){return false;}return true;};BV=function(d,e){var d,e,f,g,h,i,j;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h]);if(i===j){g++;continue;}if((97<=i&&i<=122)||(65<=i&&i<=90)){if(!((((i&223)>>>0)===((j&223)>>>0)))){return false;}}else{return false;}g++;}return true;};BW=function(d,e){var d,e,f,g,h,i;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!((((i&223)>>>0)===((((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h])&223)>>>0)))){return false;}g++;}return true;};BX=function(d){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=CI();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=f.marshal(d,new CL.ptr(false,true));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[FA.nil,h];}i=$appendSlice((FA.nil),f.Buffer.Bytes());CH.Put(f);$s=-1;return[i,$ifaceNil];}return;}var $f={$blk:BX,$c:true,$r,d,e,f,g,h,i,$s};return $f;};$pkg.Marshal=BX;BZ=function(d,e){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=0;g=e;h=0;case 1:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if((j===60)||(j===62)||(j===38)){$s=3;continue;}$s=4;continue;case 3:if(f>>4<<24>>>24)));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=d.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;f=i+1>>0;case 4:if((j===226)&&(i+2>>0)>0,((o<0||o>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+o]))===128)&&((((p=i+2>>0,((p<0||p>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+p]))&~1)<<24>>>24)===168)){$s=11;continue;}$s=12;continue;case 11:if(f>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))&15)>>>0)));$s=17;case 17:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;f=i+3>>0;case 12:h++;$s=1;continue;case 2:if(f0){$panic(new $String("ptrEncoder.encode should have emptied ptrSeen via defers"));}f.ptrLevel=0;$s=-1;return f;}$s=-1;return new CG.ptr(new C.Buffer.ptr(FA.nil,0,0),FI.zero(),0,new $global.Map());}return;}var $f={$blk:CI,$c:true,$r,d,e,f,$s};return $f;};CG.ptr.prototype.marshal=function(d,e){var{d,e,f,g,h,i,$s,$deferred,$r,$c}=$restore(this,{d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=[f];f[0]=$ifaceNil;g=this;$deferred.push([(function(f){return function(){var h,i,j,k;h=$recover();if(!($interfaceIsEqual(h,$ifaceNil))){i=$assertType(h,CJ,true);j=$clone(i[0],CJ);k=i[1];if(k){f[0]=j.error;}else{$panic(h);}}};})(f),[]]);h=L.ValueOf(d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=g.reflectValue($clone(h,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f[0]=$ifaceNil;i=f[0];$s=3;case 3:return i;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return f[0];}if($curGoroutine.asleep){var $f={$blk:CG.ptr.prototype.marshal,$c:true,$r,d,e,f,g,h,i,$s,$deferred};return $f;}}};CG.prototype.marshal=function(d,e){return this.$val.marshal(d,e);};CG.ptr.prototype.error=function(d){var d,e,f;e=this;$panic((f=new CJ.ptr(d),new f.constructor.elem(f)));};CG.prototype.error=function(d){return this.$val.error(d);};CK=function(d){var d,e,f,g;e=$clone(d,L.Value).Kind();if((e===(17))||(e===(21))||(e===(23))||(e===(24))){return $clone(d,L.Value).Len()===0;}else if(e===(1)){return!$clone(d,L.Value).Bool();}else if((e===(2))||(e===(3))||(e===(4))||(e===(5))||(e===(6))){return(f=$clone(d,L.Value).Int(),(f.$high===0&&f.$low===0));}else if((e===(7))||(e===(8))||(e===(9))||(e===(10))||(e===(11))||(e===(12))){return(g=$clone(d,L.Value).Uint(),(g.$high===0&&g.$low===0));}else if((e===(13))||(e===(14))){return $clone(d,L.Value).Float()===0;}else if((e===(20))||(e===(22))){return $clone(d,L.Value).IsNil();}return false;};CG.ptr.prototype.reflectValue=function(d,e){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=CO($clone(d,L.Value));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=g(f,$clone(d,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.reflectValue,$c:true,$r,d,e,f,g,$s};return $f;};CG.prototype.reflectValue=function(d,e){return this.$val.reflectValue(d,e);};CO=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:if(!$clone(d,L.Value).IsValid()){$s=-1;return CT;}e=CP($clone(d,L.Value).Type());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:CO,$c:true,$r,d,e,f,$s};return $f;};CP=function(d){var{d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=CN.Load(d);h=g[0];i=g[1];if(i){$s=-1;return $assertType(h,CM);}f[0]=new G.WaitGroup.ptr(0);e[0]=$throwNilPointerError;f[0].Add(1);j=CN.LoadOrStore(d,new CM(((function(e,f){return function $b(k,l,m){var{k,l,m,$s,$r,$c}=$restore(this,{k,l,m});$s=$s||0;s:while(true){switch($s){case 0:f[0].Wait();$r=e[0](k,$clone(l,L.Value),$clone(m,CL));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:$b,$c:true,$r,k,l,m,$s};return $f;};})(e,f))));k=j[0];l=j[1];if(l){$s=-1;return $assertType(k,CM);}m=CS(d,true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}e[0]=m;f[0].Done();CN.Store(d,new CM(e[0]));$s=-1;return e[0];}return;}var $f={$blk:CP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CS=function(d,e){var{aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:g=d.Kind();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!(!((g===22))&&e)){f=false;$s=3;continue s;}h=L.PointerTo(d).Implements(CQ);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 3:if(f){$s=1;continue;}$s=2;continue;case 1:i=CV;j=CS(d,false);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=DV(i,k);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=8;case 8:return m;case 2:n=d.Implements(CQ);$s=11;case 11:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}if(n){$s=9;continue;}$s=10;continue;case 9:$s=-1;return CU;case 10:p=d.Kind();$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(!(!((p===22))&&e)){o=false;$s=14;continue s;}q=L.PointerTo(d).Implements(CR);$s=16;case 16:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;case 14:if(o){$s=12;continue;}$s=13;continue;case 12:r=CX;s=CS(d,false);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=DV(r,t);$s=18;case 18:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;$s=19;case 19:return v;case 13:w=d.Implements(CR);$s=22;case 22:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(w){$s=20;continue;}$s=21;continue;case 20:$s=-1;return CW;case 21:x=d.Kind();$s=24;case 24:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(y===(1)){$s=25;continue;}if((y===(2))||(y===(3))||(y===(4))||(y===(5))||(y===(6))){$s=26;continue;}if((y===(7))||(y===(8))||(y===(9))||(y===(10))||(y===(11))||(y===(12))){$s=27;continue;}if(y===(13)){$s=28;continue;}if(y===(14)){$s=29;continue;}if(y===(24)){$s=30;continue;}if(y===(20)){$s=31;continue;}if(y===(25)){$s=32;continue;}if(y===(21)){$s=33;continue;}if(y===(23)){$s=34;continue;}if(y===(17)){$s=35;continue;}if(y===(22)){$s=36;continue;}$s=37;continue;case 25:$s=-1;return CY;case 26:$s=-1;return CZ;case 27:$s=-1;return DA;case 28:$s=-1;return DC;case 29:$s=-1;return DD;case 30:$s=-1;return DE;case 31:$s=-1;return DG;case 32:z=DK(d);$s=39;case 39:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;$s=40;case 40:return aa;case 33:ab=DM(d);$s=41;case 41:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;$s=42;case 42:return ac;case 34:ad=DP(d);$s=43;case 43:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;$s=44;case 44:return ae;case 35:af=DR(d);$s=45;case 45:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;$s=46;case 46:return ag;case 36:ah=DT(d);$s=47;case 47:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=ah;$s=48;case 48:return ai;case 37:$s=-1;return DH;case 38:case 23:$s=-1;return $throwNilPointerError;}return;}var $f={$blk:CS,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CT=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=d.Buffer.WriteString("null");$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}var $f={$blk:CT,$c:true,$r,d,e,f,g,$s};return $f;};CU=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,CA,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalJSON();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if($interfaceIsEqual(p,$ifaceNil)){$s=9;continue;}$s=10;continue;case 9:q=BQ(d.Buffer,o,f.escapeHTML);$s=11;case 11:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;case 10:if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CU,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};CV=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,CA);l=j.MarshalJSON();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if($interfaceIsEqual(n,$ifaceNil)){$s=6;continue;}$s=7;continue;case 6:o=BQ(d.Buffer,m,f.escapeHTML);$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;case 7:if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CV,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CW=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,H.TextMarshaler,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalText();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalText"));}$r=d.stringBytes(o,f.escapeHTML);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CW,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};CX=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,H.TextMarshaler);l=j.MarshalText();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalText"));}$r=d.stringBytes(m,f.escapeHTML);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CX,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};CY=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f.quoted){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:if($clone(e,L.Value).Bool()){$s=4;continue;}$s=5;continue;case 4:h=d.Buffer.WriteString("true");$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=6;continue;case 5:i=d.Buffer.WriteString("false");$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:if(f.quoted){$s=9;continue;}$s=10;continue;case 9:j=d.Buffer.WriteByte(34);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 10:$s=-1;return;}return;}var $f={$blk:CY,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};CZ=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendInt($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Int(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:CZ,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DA=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendUint($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Uint(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:DA,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DB.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this.$val;h=$clone(e,L.Value).Float();if(K.IsInf(h,0)||K.IsNaN(h)){d.error(new CC.ptr($clone(e,L.Value),F.FormatFloat(h,103,-1,((g>>0)))));}i=$subslice(new FA(d.scratch),0,0);j=K.Abs(h);k=102;if(!((j===0))){if((g===64)&&(j<1e-06||j>=1e+21)||(g===32)&&(($fround(j))<9.999999974752427e-07||($fround(j))>=1.0000000200408773e+21)){k=101;}}i=F.AppendFloat(i,h,k,-1,((g>>0)));if(k===101){l=i.$length;if(l>=4&&((m=l-4>>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]))===101)&&((n=l-3>>0,((n<0||n>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+n]))===45)&&((o=l-2>>0,((o<0||o>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+o]))===48)){(q=l-2>>0,((q<0||q>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+q]=(p=l-1>>0,((p<0||p>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+p]))));i=$subslice(i,0,(l-1>>0));}}if(f.quoted){$s=1;continue;}$s=2;continue;case 1:r=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 2:s=d.Buffer.Write(i);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:t=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 6:$s=-1;return;}return;}var $f={$blk:DB.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$ptrType(DB).prototype.encode=function(d,e,f){return new DB(this.$get()).encode(d,e,f);};DE=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($interfaceIsEqual($clone(e,L.Value).Type(),ER)){$s=1;continue;}$s=2;continue;case 1:g=$clone(e,L.Value).String();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===""){h="0";}if(!DF(h)){$s=4;continue;}$s=5;continue;case 4:i=J.Errorf("json: invalid number literal %q",new EV([new $String(h)]));$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$r=d.error(i);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(f.quoted){$s=8;continue;}$s=9;continue;case 8:j=d.Buffer.WriteByte(34);$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 9:k=d.Buffer.WriteString(h);$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;if(f.quoted){$s=12;continue;}$s=13;continue;case 12:l=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;case 13:$s=-1;return;case 2:if(f.quoted){$s=15;continue;}$s=16;continue;case 15:m=CI();$s=18;case 18:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=$clone(e,L.Value).String();$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=n.string(o,f.escapeHTML);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.stringBytes(n.Buffer.Bytes(),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH.Put(n);$s=17;continue;case 16:p=$clone(e,L.Value).String();$s=22;case 22:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=d.string(p,f.escapeHTML);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return;}return;}var $f={$blk:DE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DF=function(d){var d;if(d===""){return false;}if(d.charCodeAt(0)===45){d=$substring(d,1);if(d===""){return false;}}if((d.charCodeAt(0)===48)){d=$substring(d,1);}else if(49<=d.charCodeAt(0)&&d.charCodeAt(0)<=57){d=$substring(d,1);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}else{return false;}if(d.length>=2&&(d.charCodeAt(0)===46)&&48<=d.charCodeAt(1)&&d.charCodeAt(1)<=57){d=$substring(d,2);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}if(d.length>=2&&((d.charCodeAt(0)===101)||(d.charCodeAt(0)===69))){d=$substring(d,1);if((d.charCodeAt(0)===43)||(d.charCodeAt(0)===45)){d=$substring(d,1);if(d===""){return false;}}while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}return d==="";};DG=function(d,e,f){var{d,e,f,g,h,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Elem();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=d.reflectValue($clone(h,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:DG,$c:true,$r,d,e,f,g,h,$s};return $f;};DH=function(d,e,f){var d,e,f;d.error(new CB.ptr($clone(e,L.Value).Type()));};DI.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=123;i=g.fields.list;j=0;case 1:if(!(j=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+k]));n=e;o=m.index;p=0;case 3:if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if($clone(n,L.Value).Kind()===22){$s=5;continue;}$s=6;continue;case 5:if($clone(n,L.Value).IsNil()){j++;$s=1;continue s;}r=$clone(n,L.Value).Elem();$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}n=r;case 6:s=$clone(n,L.Value).Field(q);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}n=s;p++;$s=3;continue;case 4:if(m.omitEmpty&&CK($clone(n,L.Value))){j++;$s=1;continue;}t=d.Buffer.WriteByte(h);$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;h=44;if(f.escapeHTML){$s=10;continue;}$s=11;continue;case 10:u=d.Buffer.WriteString(m.nameEscHTML);$s=13;case 13:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=12;continue;case 11:v=d.Buffer.WriteString(m.nameNonEsc);$s=14;case 14:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 12:f.quoted=m.quoted;$r=m.encoder(d,$clone(n,L.Value),$clone(f,CL));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j++;$s=1;continue;case 2:if(h===123){$s=16;continue;}$s=17;continue;case 16:w=d.Buffer.WriteString("{}");$s=19;case 19:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=18;continue;case 17:x=d.Buffer.WriteByte(125);$s=20;case 20:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 18:$s=-1;return;}return;}var $f={$blk:DI.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};DI.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DK=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=EE(d);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=new DI.ptr($clone(e,DJ));$s=-1;return $methodVal($clone(f,DI),"encode");}return;}var $f={$blk:DK,$c:true,$r,d,e,f,$s};return $f;};DL.ptr.prototype.encode=function(d,e,f){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=[g];h=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:i=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:j=$clone(e,L.Value).Pointer();k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new $Uintptr(j))),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=7;continue;}$s=8;continue;case 7:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:o=new $Uintptr(j);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,new $Uintptr(j)]]);case 6:r=d.Buffer.WriteByte(123);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g[0]=$makeSlice(FL,$clone(e,L.Value).Len());s=$clone(e,L.Value).MapRange();t=0;case 12:u=s.Next();$s=14;case 14:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!(u)){$s=13;continue;}v=s.Key();$s=15;case 15:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).k=v;w=s.Value();$s=16;case 16:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).v=w;x=((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).resolve();$s=17;case 17:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){$s=18;continue;}$s=19;continue;case 18:z=$clone(e,L.Value).Type().String();$s=20;case 20:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=new $String(z);ab=y.Error();$s=21;case 21:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=new $String(ab);ad=J.Errorf("json: encoding error for type %q: %q",new EV([aa,ac]));$s=22;case 22:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}$r=d.error(ad);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:t=t+(1)>>0;$s=12;continue;case 13:$r=M.Slice(g[0],(function(g){return function(ae,af){var ae,af;return((ae<0||ae>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+ae]).ks<((af<0||af>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+af]).ks;};})(g));$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ae=g[0];af=0;case 25:if(!(af=ae.$length)?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+af]),DY);if(ag>0){$s=27;continue;}$s=28;continue;case 27:ai=d.Buffer.WriteByte(44);$s=29;case 29:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;case 28:$r=d.string(ah.ks,f.escapeHTML);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aj=d.Buffer.WriteByte(58);$s=31;case 31:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$r=h.elemEnc(d,$clone(ah.v,L.Value),$clone(f,CL));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}af++;$s=25;continue;case 26:ak=d.Buffer.WriteByte(125);$s=33;case 33:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DL.ptr.prototype.encode,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};DL.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DM=function(d){var{d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Key();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if((g===(24))||(g===(2))||(g===(3))||(g===(4))||(g===(5))||(g===(6))||(g===(7))||(g===(8))||(g===(9))||(g===(10))||(g===(11))||(g===(12))){$s=4;continue;}h=d.Key();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h.Implements(CR);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=5;continue;}$s=6;continue;case 4:$s=6;continue;case 5:$s=-1;return DH;case 6:case 1:j=d.Elem();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=CP(j);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=new DL.ptr(k);$s=-1;return $methodVal($clone(l,DL),"encode");}return;}var $f={$blk:DM,$c:true,$r,d,e,f,g,h,i,j,k,l,$s};return $f;};DN=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Bytes();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=d.Buffer.WriteByte(34);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=I.StdEncoding.EncodedLen(i.$length);if(k<=64){$s=6;continue;}if(k<=1024){$s=7;continue;}$s=8;continue;case 6:l=$subslice(new FA(d.scratch),0,k);I.StdEncoding.Encode(l,i);m=d.Buffer.Write(l);$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=9;continue;case 7:n=$makeSlice(FA,k);I.StdEncoding.Encode(n,i);o=d.Buffer.Write(n);$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=9;continue;case 8:p=I.NewEncoder(I.StdEncoding,d);q=p.Write(i);$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=p.Close();$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 9:s=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return;}return;}var $f={$blk:DN,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};DO.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=new FM.ptr($clone(e,L.Value).Pointer(),$clone(e,L.Value).Len());j=(k=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new i.constructor.elem(i))),k!==undefined?[k.v,true]:[new FK.ptr(),false]);l=j[1];if(l){$s=7;continue;}$s=8;continue;case 7:m=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),m));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:n=new i.constructor.elem(i);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(n),{k:n,v:new FK.ptr()});$deferred.push([function(o,p){$mapDelete(o,$emptyInterface.keyFor(p));},[d.ptrSeen,new i.constructor.elem(i)]]);case 6:$r=g.arrayEnc(d,$clone(e,L.Value),$clone(f,CL));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DO.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};DO.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DP=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f===8){$s=1;continue;}$s=2;continue;case 1:g=d.Elem();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=L.PointerTo(g);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;k=i.Implements(CQ);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(!(!k)){j=false;$s=9;continue s;}l=i.Implements(CR);$s=11;case 11:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=!l;case 9:if(j){$s=7;continue;}$s=8;continue;case 7:$s=-1;return DN;case 8:case 2:m=DR(d);$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=new DO.ptr(m);$s=-1;return $methodVal($clone(n,DO),"encode");}return;}var $f={$blk:DP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DQ.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=d.Buffer.WriteByte(91);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=$clone(e,L.Value).Len();j=0;case 2:if(!(j0){$s=4;continue;}$s=5;continue;case 4:k=d.Buffer.WriteByte(44);$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;case 5:l=d;m=$clone(e,L.Value).Index(j);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=$clone(m,L.Value);o=$clone(f,CL);$r=g.elemEnc(l,n,o);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=j+(1)>>0;$s=2;continue;case 3:p=d.Buffer.WriteByte(93);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=-1;return;}return;}var $f={$blk:DQ.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DQ.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DR=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DQ.ptr(f);$s=-1;return $methodVal($clone(g,DQ),"encode");}return;}var $f={$blk:DR,$c:true,$r,d,e,f,g,$s};return $f;};DS.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=$clone(e,L.Value).Interface();$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(j)),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=8;continue;}$s=9;continue;case 8:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:o=j;(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,j]]);case 6:r=d;s=$clone(e,L.Value).Elem();$s=12;case 12:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=$clone(s,L.Value);u=$clone(f,CL);$r=g.elemEnc(r,t,u);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DS.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred};return $f;}}};DS.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DT=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DS.ptr(f);$s=-1;return $methodVal($clone(g,DS),"encode");}return;}var $f={$blk:DT,$c:true,$r,d,e,f,g,$s};return $f;};DU.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;if($clone(e,L.Value).CanAddr()){$s=1;continue;}$s=2;continue;case 1:$r=g.canAddrEnc(d,$clone(e,L.Value),$clone(f,CL));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=g.elseEnc(d,$clone(e,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:DU.ptr.prototype.encode,$c:true,$r,d,e,f,g,$s};return $f;};DU.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DV=function(d,e){var d,e,f;f=new DU.ptr(d,e);return $methodVal($clone(f,DU),"encode");};DW=function(d){var d,e,f,g,h;if(d===""){return false;}e=d;f=0;while(true){if(!(f?@[]^_{|}~ ",h)){}else if(!N.IsLetter(h)&&!N.IsDigit(h)){return false;}f+=g[1];}return true;};DX=function(d,e){var{d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=e;g=0;case 1:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);i=d.Kind();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(i===22){$s=3;continue;}$s=4;continue;case 3:j=d.Elem();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;case 4:k=d.Field(h);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k.Type;g++;$s=1;continue;case 2:$s=-1;return d;}return;}var $f={$blk:DX,$c:true,$r,d,e,f,g,h,i,j,k,$s};return $f;};DY.ptr.prototype.resolve=function(){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if($clone(d.k,L.Value).Kind()===24){$s=1;continue;}$s=2;continue;case 1:e=$clone(d.k,L.Value).String();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.ks=e;$s=-1;return $ifaceNil;case 2:g=$clone(d.k,L.Value).Interface();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=$assertType(g,H.TextMarshaler,true);h=f[0];i=f[1];if(i){$s=5;continue;}$s=6;continue;case 5:if(($clone(d.k,L.Value).Kind()===22)&&$clone(d.k,L.Value).IsNil()){$s=-1;return $ifaceNil;}k=h.MarshalText();$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];d.ks=($bytesToString(l));$s=-1;return m;case 6:n=$clone(d.k,L.Value).Kind();if((n===(2))||(n===(3))||(n===(4))||(n===(5))||(n===(6))){d.ks=F.FormatInt($clone(d.k,L.Value).Int(),10);$s=-1;return $ifaceNil;}else if((n===(7))||(n===(8))||(n===(9))||(n===(10))||(n===(11))||(n===(12))){d.ks=F.FormatUint($clone(d.k,L.Value).Uint(),10);$s=-1;return $ifaceNil;}$panic(new $String("unexpected map key type"));$s=-1;return $ifaceNil;}return;}var $f={$blk:DY.ptr.prototype.resolve,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DY.prototype.resolve=function(){return this.$val.resolve();};CG.ptr.prototype.string=function(d,e){var{aa,ab,ac,ad,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=f.Buffer.WriteByte(34);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=0;i=0;case 2:if(!(i=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRuneInString($substring(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+i]);if(j<128){$s=4;continue;}$s=5;continue;case 4:if(((j<0||j>=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRune($subslice(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),DZ);h=$clone(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),DZ);DZ.copy(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),g);DZ.copy(((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),h);};$ptrType(EA).prototype.Swap=function(d,e){return this.$get().Swap(d,e);};EA.prototype.Less=function(d,e){var d,e,f,g,h,i,j,k,l;f=this;g=((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length){return false;}if(!((j===(k=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+i]))))){return j<(l=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+i]));}h++;}return((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index.$length<((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length;};$ptrType(EA).prototype.Less=function(d,e){return this.$get().Less(d,e);};EB=function(d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=new FJ([]);h=new FJ([new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,d,false,false,$throwNilPointerError)]);i=false;j=false;k=i;l=j;m=$makeMap(L.Type.keyFor,[]);e[0]=FJ.nil;f[0]=new C.Buffer.ptr(FA.nil,0,0);case 1:if(!(h.$length>0)){$s=2;continue;}n=h;o=$subslice(g,0,0);g=n;h=o;p=l;q=$makeMap(L.Type.keyFor,[]);k=p;l=q;r=g;s=0;case 3:if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]),DZ);if((u=$mapIndex(m,L.Type.keyFor(t.typ)),u!==undefined?u.v:false)){s++;$s=3;continue;}v=t.typ;(m||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(v),{k:v,v:true});w=0;case 5:x=t.typ.NumField();$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}if(!(w>0;$s=5;continue;case 17:$s=11;continue;case 10:w=w+(1)>>0;$s=5;continue;case 11:af=new L.StructTag(z.Tag).Get("json");if(af==="-"){w=w+(1)>>0;$s=5;continue;}ag=Q(af);ah=ag[0];ai=ag[1];if(!DW(ah)){ah="";}aj=$makeSlice(EX,(t.index.$length+1>>0));$copySlice(aj,t.index);(ak=t.index.$length,((ak<0||ak>=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]=w));al=z.Type;an=al.Name();$s=23;case 23:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!(an==="")){am=false;$s=22;continue s;}ao=al.Kind();$s=24;case 24:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao===22;case 22:if(am){$s=20;continue;}$s=21;continue;case 20:ap=al.Elem();$s=25;case 25:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}al=ap;case 21:aq=false;if(new P(ai).Contains("string")){$s=26;continue;}$s=27;continue;case 26:ar=al.Kind();$s=29;case 29:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if((as===(1))||(as===(2))||(as===(3))||(as===(4))||(as===(5))||(as===(6))||(as===(7))||(as===(8))||(as===(9))||(as===(10))||(as===(11))||(as===(12))||(as===(13))||(as===(14))||(as===(24))){aq=true;}case 28:case 27:if(!(ah==="")||!z.Anonymous){at=true;$s=32;continue s;}au=al.Kind();$s=33;case 33:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=!((au===25));case 32:if(at){$s=30;continue;}$s=31;continue;case 30:av=!(ah==="");if(ah===""){ah=z.Name;}aw=new DZ.ptr(ah,FA.nil,$throwNilPointerError,"","",av,aj,al,new P(ai).Contains("omitempty"),aq,$throwNilPointerError);aw.nameBytes=(new FA($stringToBytes(aw.name)));aw.equalFold=BT(aw.nameBytes);f[0].Reset();ax=f[0].WriteString("\"");$s=34;case 34:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ax;$r=BZ(f[0],aw.nameBytes);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ay=f[0].WriteString("\":");$s=36;case 36:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;aw.nameEscHTML=f[0].String();aw.nameNonEsc="\""+aw.name+"\":";e[0]=$append(e[0],aw);if((az=$mapIndex(k,L.Type.keyFor(t.typ)),az!==undefined?az.v:0)>1){e[0]=$append(e[0],(ba=e[0].$length-1>>0,((ba<0||ba>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+ba])));}w=w+(1)>>0;$s=5;continue;case 31:bb=al;(l||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(bb),{k:bb,v:(bc=$mapIndex(l,L.Type.keyFor(al)),bc!==undefined?bc.v:0)+(1)>>0});if((bd=$mapIndex(l,L.Type.keyFor(al)),bd!==undefined?bd.v:0)===1){$s=37;continue;}$s=38;continue;case 37:be=al.Name();$s=39;case 39:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}h=$append(h,new DZ.ptr(be,FA.nil,$throwNilPointerError,"","",false,aj,al,false,false,$throwNilPointerError));case 38:w=w+(1)>>0;$s=5;continue;case 6:s++;$s=3;continue;case 4:$s=1;continue;case 2:$r=M.Slice(e[0],(function(e,f){return function(bf,bg){var bf,bg,bh;bh=e[0];if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name;}if(!((((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length))){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length;}if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).tag)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag;}return($convertSliceType(bh,EA)).Less(bf,bg);};})(e,f));$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bf=$subslice(e[0],0,0);bg=0;bh=0;bi=bg;bj=bh;while(true){if(!(bj=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bj]),DZ);bl=bk.name;bi=1;while(true){if(!((bj+bi>>0)>0,((bm<0||bm>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bm])),DZ);if(!(bn.name===bl)){break;}bi=bi+(1)>>0;}if(bi===1){bf=$append(bf,bk);bj=bj+(bi)>>0;continue;}bo=EC($subslice(e[0],bj,(bj+bi>>0)));bp=$clone(bo[0],DZ);bq=bo[1];if(bq){bf=$append(bf,bp);}bj=bj+(bi)>>0;}e[0]=bf;$r=M.Sort(($convertSliceType(e[0],EA)));$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}br=e[0];bs=0;case 42:if(!(bs=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bt]);bv=DX(d,bu.index);$s=44;case 44:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=CP(bv);$s=45;case 45:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bu.encoder=bw;bs++;$s=42;continue;case 43:by=(bx=e[0].$length,((bx<0||bx>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));bz=e[0];ca=0;while(true){if(!(ca=bz.$length)?($throwRuntimeError("index out of range"),undefined):bz.$array[bz.$offset+ca]),DZ);cd=cc.name;(by||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(cd),{k:cd,v:cb});ca++;}$s=-1;return new DJ.ptr(e[0],by);}return;}var $f={$blk:EB,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};EC=function(d){var d;if(d.$length>1&&((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).index.$length===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).index.$length)&&(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).tag===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).tag){return[new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,$ifaceNil,false,false,$throwNilPointerError),false];}return[(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),true];};EE=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=ED.Load(d);f=e[0];g=e[1];if(g){$s=-1;return $assertType(f,DJ);}i=d;k=EB(d);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=(j=k,new j.constructor.elem(j));m=ED.LoadOrStore(i,l);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}h=m;n=h[0];$s=-1;return $assertType(n,DJ);}return;}var $f={$blk:EE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};EK.prototype.String=function(){var d;d=this.$val;return(d);};$ptrType(EK).prototype.String=function(){return new EK(this.$get()).String();};EK.prototype.Float64=function(){var d;d=this.$val;return F.ParseFloat((d),64);};$ptrType(EK).prototype.Float64=function(){return new EK(this.$get()).Float64();};EK.prototype.Int64=function(){var d;d=this.$val;return F.ParseInt((d),10,64);};$ptrType(EK).prototype.Int64=function(){return new EK(this.$get()).Int64();};P.methods=[{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([$String],[$Bool],false)}];FU.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FG.methods=[{prop:"reset",name:"reset",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"eof",name:"eof",pkg:"encoding/json",typ:$funcType([],[$Int],false)},{prop:"pushParseState",name:"pushParseState",pkg:"encoding/json",typ:$funcType([$Uint8,$Int,$Int],[$Int],false)},{prop:"popParseState",name:"popParseState",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$Uint8,$String],[$Int],false)}];FW.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FX.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FZ.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Unwrap",name:"Unwrap",pkg:"",typ:$funcType([],[$error],false)}];FH.methods=[{prop:"marshal",name:"marshal",pkg:"encoding/json",typ:$funcType([$emptyInterface,CL],[$error],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$error],[],false)},{prop:"reflectValue",name:"reflectValue",pkg:"encoding/json",typ:$funcType([L.Value,CL],[],false)},{prop:"string",name:"string",pkg:"encoding/json",typ:$funcType([$String,$Bool],[],false)},{prop:"stringBytes",name:"stringBytes",pkg:"encoding/json",typ:$funcType([FA,$Bool],[],false)}];DB.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DI.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DL.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DO.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DQ.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DS.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DU.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];GC.methods=[{prop:"resolve",name:"resolve",pkg:"encoding/json",typ:$funcType([],[$error],false)}];EA.methods=[{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Swap",name:"Swap",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Less",name:"Less",pkg:"",typ:$funcType([$Int,$Int],[$Bool],false)}];EK.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Float64",name:"Float64",pkg:"",typ:$funcType([],[$Float64,$error],false)},{prop:"Int64",name:"Int64",pkg:"",typ:$funcType([],[$Int64,$error],false)}];AD.init("encoding/json",[{prop:"msg",name:"msg",embedded:false,exported:false,typ:$String,tag:""},{prop:"Offset",name:"Offset",embedded:false,exported:true,typ:$Int64,tag:""}]);AE.init("encoding/json",[{prop:"step",name:"step",embedded:false,exported:false,typ:FV,tag:""},{prop:"endTop",name:"endTop",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"parseState",name:"parseState",embedded:false,exported:false,typ:EX,tag:""},{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""},{prop:"bytes",name:"bytes",embedded:false,exported:false,typ:$Int64,tag:""}]);CA.init([{prop:"MarshalJSON",name:"MarshalJSON",pkg:"",typ:$funcType([],[FA,$error],false)}]);CB.init("",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""}]);CC.init("",[{prop:"Value",name:"Value",embedded:false,exported:true,typ:L.Value,tag:""},{prop:"Str",name:"Str",embedded:false,exported:true,typ:$String,tag:""}]);CE.init("encoding/json",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""},{prop:"Err",name:"Err",embedded:false,exported:true,typ:$error,tag:""},{prop:"sourceFunc",name:"sourceFunc",embedded:false,exported:false,typ:$String,tag:""}]);CG.init("encoding/json",[{prop:"Buffer",name:"Buffer",embedded:true,exported:true,typ:C.Buffer,tag:""},{prop:"scratch",name:"scratch",embedded:false,exported:false,typ:FI,tag:""},{prop:"ptrLevel",name:"ptrLevel",embedded:false,exported:false,typ:$Uint,tag:""},{prop:"ptrSeen",name:"ptrSeen",embedded:false,exported:false,typ:GA,tag:""}]);CJ.init("encoding/json",[{prop:"error",name:"error",embedded:true,exported:false,typ:$error,tag:""}]);CL.init("encoding/json",[{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"escapeHTML",name:"escapeHTML",embedded:false,exported:false,typ:$Bool,tag:""}]);CM.init([FH,L.Value,CL],[],false);DI.init("encoding/json",[{prop:"fields",name:"fields",embedded:false,exported:false,typ:DJ,tag:""}]);DJ.init("encoding/json",[{prop:"list",name:"list",embedded:false,exported:false,typ:FJ,tag:""},{prop:"nameIndex",name:"nameIndex",embedded:false,exported:false,typ:GB,tag:""}]);DL.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DO.init("encoding/json",[{prop:"arrayEnc",name:"arrayEnc",embedded:false,exported:false,typ:CM,tag:""}]);DQ.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DS.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DU.init("encoding/json",[{prop:"canAddrEnc",name:"canAddrEnc",embedded:false,exported:false,typ:CM,tag:""},{prop:"elseEnc",name:"elseEnc",embedded:false,exported:false,typ:CM,tag:""}]);DY.init("encoding/json",[{prop:"k",name:"k",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"v",name:"v",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"ks",name:"ks",embedded:false,exported:false,typ:$String,tag:""}]);DZ.init("encoding/json",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameBytes",name:"nameBytes",embedded:false,exported:false,typ:FA,tag:""},{prop:"equalFold",name:"equalFold",embedded:false,exported:false,typ:GD,tag:""},{prop:"nameNonEsc",name:"nameNonEsc",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameEscHTML",name:"nameEscHTML",embedded:false,exported:false,typ:$String,tag:""},{prop:"tag",name:"tag",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"index",name:"index",embedded:false,exported:false,typ:EX,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:L.Type,tag:""},{prop:"omitEmpty",name:"omitEmpty",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"encoder",name:"encoder",embedded:false,exported:false,typ:CM,tag:""}]);EA.init(DZ);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH=new G.Pool.ptr(EV.nil,$throwNilPointerError);CN=new G.Map.ptr(false);ED=new G.Map.ptr(false);R=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);S=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);AF=new G.Pool.ptr(EV.nil,(function(){return new AE.ptr($throwNilPointerError,false,EX.nil,$ifaceNil,new $Int64(0,0));}));CF="0123456789abcdef";a=L.TypeOf((EY.nil)).Elem();$s=16;case 16:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}CQ=a;b=L.TypeOf((EZ.nil)).Elem();$s=17;case 17:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}CR=b;DC=$methodVal(new DB(32),"encode");DD=$methodVal(new DB(64),"encode");c=L.TypeOf((FB.nil)).Elem();$s=18;case 18:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}EQ=c;ER=L.TypeOf(new EK(""));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,A,M,H,F,G,I,J,K,L,B,C,D,E,N,P,R,T,AL,AM,AO,AQ,AW,BC,BE,BI,BS,BV,BY,CA,CG,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DR,DT,DU,DV,DW,X,AC,AK,AZ,CD,CF,O,Q,S,U,V,W,Y,Z,AA,AB,AD,AE,AF,AG,AH,AI,AJ,AP,AR,AS,AT,AU,AV,AX,AY,BA,BD,BF,BJ,BK,BN,BO,BP,BQ,BR,BT,BU,BW,BX,BZ,CB,CH;A=$packages["bytes"];M=$packages["encoding/json"];H=$packages["github.com/88250/lute/ast"];F=$packages["github.com/88250/lute/editor"];G=$packages["github.com/88250/lute/html"];I=$packages["github.com/88250/lute/lex"];J=$packages["github.com/88250/lute/parse"];K=$packages["github.com/88250/lute/util"];L=$packages["io"];B=$packages["strconv"];C=$packages["strings"];D=$packages["unicode"];E=$packages["unicode/utf8"];N=$pkg.VditorRenderer=$newType(0,$kindStruct,"render.VditorRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,commentStackDepth_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.commentStackDepth=0;return;}this.BaseRenderer=BaseRenderer_;this.commentStackDepth=commentStackDepth_;});P=$pkg.VditorSVRenderer=$newType(0,$kindStruct,"render.VditorSVRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,nodeWriterStack_,LastOut_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.nodeWriterStack=CT.nil;this.LastOut=CI.nil;return;}this.BaseRenderer=BaseRenderer_;this.nodeWriterStack=nodeWriterStack_;this.LastOut=LastOut_;});R=$pkg.VditorIRRenderer=$newType(0,$kindStruct,"render.VditorIRRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});T=$pkg.TextBundleRenderer=$newType(0,$kindStruct,"render.TextBundleRenderer",true,"github.com/88250/lute/render",true,function(FormatRenderer_,linkPrefixes_,originalLink_){this.$val=this;if(arguments.length===0){this.FormatRenderer=CX.nil;this.linkPrefixes=CJ.nil;this.originalLink=CJ.nil;return;}this.FormatRenderer=FormatRenderer_;this.linkPrefixes=linkPrefixes_;this.originalLink=originalLink_;});AL=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AM=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AO=$pkg.Options=$newType(0,$kindStruct,"render.Options",true,"github.com/88250/lute/render",true,function(SoftBreak2HardBreak_,AutoSpace_,RenderListStyle_,CodeSyntaxHighlight_,CodeSyntaxHighlightDetectLang_,CodeSyntaxHighlightInlineStyle_,CodeSyntaxHighlightLineNum_,CodeSyntaxHighlightStyleName_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,KramdownBlockIAL_,KramdownSpanIAL_,SuperBlock_,ImageLazyLoading_,ChineseParagraphBeginningSpace_,Sanitize_,FixTermTypo_,Terms_,ToC_,HeadingID_,KramdownIALIDRenderName_,HeadingAnchor_,GFMTaskListItemClass_,VditorCodeBlockPreview_,VditorMathBlockPreview_,VditorHTMLBlockPreview_,LinkBase_,LinkPrefix_,NodeIndexStart_,ProtyleContenteditable_,KeepParagraphBeginningSpace_,ProtyleMarkNetImg_,Spellcheck_){this.$val=this;if(arguments.length===0){this.SoftBreak2HardBreak=false;this.AutoSpace=false;this.RenderListStyle=false;this.CodeSyntaxHighlight=false;this.CodeSyntaxHighlightDetectLang=false;this.CodeSyntaxHighlightInlineStyle=false;this.CodeSyntaxHighlightLineNum=false;this.CodeSyntaxHighlightStyleName="";this.VditorWYSIWYG=false;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.KramdownBlockIAL=false;this.KramdownSpanIAL=false;this.SuperBlock=false;this.ImageLazyLoading="";this.ChineseParagraphBeginningSpace=false;this.Sanitize=false;this.FixTermTypo=false;this.Terms=false;this.ToC=false;this.HeadingID=false;this.KramdownIALIDRenderName="";this.HeadingAnchor=false;this.GFMTaskListItemClass="";this.VditorCodeBlockPreview=false;this.VditorMathBlockPreview=false;this.VditorHTMLBlockPreview=false;this.LinkBase="";this.LinkPrefix="";this.NodeIndexStart=0;this.ProtyleContenteditable=false;this.KeepParagraphBeginningSpace=false;this.ProtyleMarkNetImg=false;this.Spellcheck=false;return;}this.SoftBreak2HardBreak=SoftBreak2HardBreak_;this.AutoSpace=AutoSpace_;this.RenderListStyle=RenderListStyle_;this.CodeSyntaxHighlight=CodeSyntaxHighlight_;this.CodeSyntaxHighlightDetectLang=CodeSyntaxHighlightDetectLang_;this.CodeSyntaxHighlightInlineStyle=CodeSyntaxHighlightInlineStyle_;this.CodeSyntaxHighlightLineNum=CodeSyntaxHighlightLineNum_;this.CodeSyntaxHighlightStyleName=CodeSyntaxHighlightStyleName_;this.VditorWYSIWYG=VditorWYSIWYG_;this.VditorIR=VditorIR_;this.VditorSV=VditorSV_;this.ProtyleWYSIWYG=ProtyleWYSIWYG_;this.KramdownBlockIAL=KramdownBlockIAL_;this.KramdownSpanIAL=KramdownSpanIAL_;this.SuperBlock=SuperBlock_;this.ImageLazyLoading=ImageLazyLoading_;this.ChineseParagraphBeginningSpace=ChineseParagraphBeginningSpace_;this.Sanitize=Sanitize_;this.FixTermTypo=FixTermTypo_;this.Terms=Terms_;this.ToC=ToC_;this.HeadingID=HeadingID_;this.KramdownIALIDRenderName=KramdownIALIDRenderName_;this.HeadingAnchor=HeadingAnchor_;this.GFMTaskListItemClass=GFMTaskListItemClass_;this.VditorCodeBlockPreview=VditorCodeBlockPreview_;this.VditorMathBlockPreview=VditorMathBlockPreview_;this.VditorHTMLBlockPreview=VditorHTMLBlockPreview_;this.LinkBase=LinkBase_;this.LinkPrefix=LinkPrefix_;this.NodeIndexStart=NodeIndexStart_;this.ProtyleContenteditable=ProtyleContenteditable_;this.KeepParagraphBeginningSpace=KeepParagraphBeginningSpace_;this.ProtyleMarkNetImg=ProtyleMarkNetImg_;this.Spellcheck=Spellcheck_;});AQ=$pkg.BaseRenderer=$newType(0,$kindStruct,"render.BaseRenderer",true,"github.com/88250/lute/render",true,function(Options_,RendererFuncs_,DefaultRendererFunc_,ExtRendererFuncs_,Writer_,LastOut_,Tree_,DisableTags_,FootnotesDefs_,RenderingFootnotes_){this.$val=this;if(arguments.length===0){this.Options=CZ.nil;this.RendererFuncs=false;this.DefaultRendererFunc=$throwNilPointerError;this.ExtRendererFuncs=false;this.Writer=CS.nil;this.LastOut=0;this.Tree=DA.nil;this.DisableTags=0;this.FootnotesDefs=CO.nil;this.RenderingFootnotes=false;return;}this.Options=Options_;this.RendererFuncs=RendererFuncs_;this.DefaultRendererFunc=DefaultRendererFunc_;this.ExtRendererFuncs=ExtRendererFuncs_;this.Writer=Writer_;this.LastOut=LastOut_;this.Tree=Tree_;this.DisableTags=DisableTags_;this.FootnotesDefs=FootnotesDefs_;this.RenderingFootnotes=RenderingFootnotes_;});AW=$pkg.Heading=$newType(0,$kindStruct,"render.Heading",true,"github.com/88250/lute/render",true,function(ID_,Box_,Path_,HPath_,Content_,Level_,Children_,parent_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.HPath="";this.Content="";this.Level=0;this.Children=DC.nil;this.parent=DB.nil;return;}this.ID=ID_;this.Box=Box_;this.Path=Path_;this.HPath=HPath_;this.Content=Content_;this.Level=Level_;this.Children=Children_;this.parent=parent_;});BC=$pkg.ProtyleRenderer=$newType(0,$kindStruct,"render.ProtyleRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeIndex_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeIndex=0;return;}this.BaseRenderer=BaseRenderer_;this.NodeIndex=NodeIndex_;});BE=$pkg.ProtylePreviewRenderer=$newType(0,$kindStruct,"render.ProtylePreviewRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BI=$pkg.ProtyleExportMdRenderer=$newType(0,$kindStruct,"render.ProtyleExportMdRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});BS=$pkg.KityMinderJSONRenderer=$newType(0,$kindStruct,"render.KityMinderJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BV=$pkg.JSONRenderer=$newType(0,$kindStruct,"render.JSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BY=$pkg.HtmlRenderer=$newType(0,$kindStruct,"render.HtmlRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CA=$pkg.FormatRenderer=$newType(0,$kindStruct,"render.FormatRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});CG=$pkg.EChartsJSONRenderer=$newType(0,$kindStruct,"render.EChartsJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CI=$sliceType($Uint8);CJ=$sliceType($String);CK=$ptrType(AQ);CL=$sliceType(CJ);CM=$ptrType(H.Node);CN=$sliceType(H.NodeType);CO=$sliceType(CM);CP=$ptrType(H.ListData);CQ=$sliceType($Int);CR=$ptrType(CL);CS=$ptrType(A.Buffer);CT=$sliceType(CS);CU=$ptrType(G.Node);CV=$ptrType(G.Attribute);CW=$sliceType(CV);CX=$ptrType(CA);CY=$sliceType($Int32);CZ=$ptrType(AO);DA=$ptrType(J.Tree);DB=$ptrType(AW);DC=$sliceType(DB);DD=$sliceType(CO);DE=$ptrType(J.Context);DF=$ptrType(I.Lexer);DG=$ptrType(J.InlineContext);DH=$ptrType(N);DI=$ptrType(P);DJ=$ptrType(R);DK=$ptrType(T);DL=$mapType($String,$String);DM=$mapType(H.NodeType,AL);DN=$mapType(H.NodeType,AM);DO=$ptrType(BC);DP=$ptrType(BE);DR=$ptrType(BI);DT=$ptrType(BS);DU=$ptrType(BV);DV=$ptrType(BY);DW=$ptrType(CG);O=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new N.ptr(c,0);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderMark2OpenMarker")});ck=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderMark2CloseMarker")});cl=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSup")});cm=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSupOpenMarker")});cn=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSupCloseMarker")});co=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSub")});cp=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderSubOpenMarker")});cq=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderSubCloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:O,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorRenderer=O;N.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};N.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};N.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};N.ptr.prototype.renderMark=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};N.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};N.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};N.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","=="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};N.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};N.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};N.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-marker","^"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};N.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};N.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};N.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};N.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};N.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};N.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};N.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-entity"]),new CJ(["style","display: none"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),a.HtmlEntityTokens);$r=c.BaseRenderer.Write(G.EscapeHTML(f));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=A.ReplaceAll(a.HtmlEntityTokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(g);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};N.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};N.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};N.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:N.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};N.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};N.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)&&A.EqualFold(a.Previous.Tokens,a.Tokens)){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
  • ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 4:if(!(!(CM.nil===d))){$s=5;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=4;continue;case 5:$r=c[0].BaseRenderer.WriteString("
  • ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};N.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=8;case 8:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=G.EscapeString(l);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=AS(m,24);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new CL([new CJ(["data-type","footnotes-ref"]),new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]),new CJ(["class","vditor-tooltipped vditor-tooltipped__s"]),new CJ(["aria-label",n])]);$r=c.BaseRenderer.Tag("sup",o,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};N.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};N.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};N.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};N.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};N.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};N.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};N.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};N.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};N.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);e=d;f=new CL([new CJ(["data-type","math-inline"])]);if(!A.Contains(e,F.CaretTokens)){f=$append(f,new CJ(["style","display: none"]));}$r=c.BaseRenderer.WriteString("");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(a.ParentIs(109,CN.nil)){e=A.ReplaceAll(e,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};N.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};N.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};N.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};N.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=CL.nil;if(!A.Contains(e,F.CaretTokens)&&c.BaseRenderer.Options.VditorMathBlockPreview){f=$append(f,new CJ(["style","display: none"]));}g=e.$length;h=1>g||((3===g)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.Tokens;i=A.ReplaceAll(i,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(i));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};N.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};N.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};N.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};N.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CO.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CP.nil,false,CQ.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CO.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};N.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};N.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};N.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};N.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};N.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};N.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};N.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};N.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};N.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};N.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};N.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};N.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};N.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};N.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};N.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};N.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};N.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};N.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){$s=3;continue;}$s=4;continue;case 3:d=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteString("\"");$s=12;case");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.Writer.Bytes();l=A.LastIndex(k,(new CI($stringToBytes("\"");$s=32;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=33;continue;}$s=34;continue;case 33:$r=c.BaseRenderer.WriteByte(34);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=a.ChildByType(42);if(!(CM.nil===r)&&!(CI.nil===r.Tokens)){$s=36;continue;}$s=37;continue;case 36:$r=c.BaseRenderer.WriteString(" title=\"");$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r.Tokens=A.ReplaceAll(r.Tokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(r.Tokens);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:$r=c.BaseRenderer.WriteString(" />");$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=c.BaseRenderer.Writer.Bytes();t=A.LastIndex(s,(new CI($stringToBytes("=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]).Tokens));}i=($bytesToString(a.LinkRefLabel));j=new CL([new CJ(["data-type","link-ref"]),new CJ(["data-link-label",i])]);$r=c.BaseRenderer.Tag("span",j,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(h);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 4:$s=-1;return 2;case 5:case 2:if(b){$s=15;continue;}$s=16;continue;case 15:k=a.ChildByType(41);l=k.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=18;continue;}$s=19;continue;case 18:m=A.TrimSpace(l);$s=20;case 20:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=A.ToLower(n);$s=21;case 21:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;if(A.HasPrefix(n,(new CI($stringToBytes("javascript:"))))){l=CI.nil;}case 19:l=c.BaseRenderer.LinkPath(l);p=A.Contains(l,F.CaretTokens);if(p){q=a.ChildByType(40);q.Tokens=$appendSlice(q.Tokens,F.CaretTokens);l=A.ReplaceAll(l,F.CaretTokens,CI.nil);}r=new CL([new CJ(["href",($bytesToString(l))])]);s=a.ChildByType(42);if(!(CM.nil===s)&&!(CI.nil===s.Tokens)){s.Tokens=A.ReplaceAll(s.Tokens,F.CaretTokens,CI.nil);r=$append(r,new CJ(["title",($bytesToString(s.Tokens))]));}$r=c.BaseRenderer.Tag("a",r,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=17;continue;case 16:$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};N.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};N.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("
    ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:$r=c.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};N.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CN.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Contains(a.Tokens,(new CI($stringToBytes(">0;$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=7;continue;}$s=8;continue;case 7:if(0>0;$r=c.BaseRenderer.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 10:case 8:if(b){$s=12;continue;}$s=13;continue;case 12:d=a.PreviousNodeText();$s=14;case 14:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if("\xE2\x80\x8B"===e||""===e){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:f=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),f);g=A.TrimSpace(a.Tokens);$s=18;case 18:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.Tokens=g;$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-inline"])]),false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=G.EscapeHTML(f);$r=c.BaseRenderer.Write(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};N.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};N.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:e=new CL([new CJ(["data-block","0"])]);e=$appendSlice(e,a.KramdownIAL);$r=c.BaseRenderer.Tag("p",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};N.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=A.TrimRight(d,"\n");if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};N.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(32);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 6:$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-marker",C.Repeat("`",a.CodeMarkerLen)])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};N.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};N.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};N.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent;e=d.Parent;if(!(CM.nil===e)&&(33===e.Type)){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};N.ptr.prototype.renderEmphasis=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};N.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","*"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};N.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};N.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","_"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};N.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};N.ptr.prototype.renderStrong=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};N.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","**"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};N.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};N.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","__"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};N.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};N.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};N.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};N.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\"");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.ChildByType(420);if(!(CM.nil===e)){d=($bytesToString(e.Tokens));}if(c.BaseRenderer.Options.HeadingID&&!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(" data-id=\""+d+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:if(""===d){$s=8;continue;}$s=9;continue;case 8:f=AT(a);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;case 9:$r=c.BaseRenderer.WriteString(" id=\"wysiwyg-"+d+"\"");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:if(1===a.HeadingLevel){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 14:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:g=AT(a);$s=23;case 23:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+h]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+h])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};N.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};N.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};N.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};N.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};N.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};N.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};N.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CI.nil===a.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};N.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};N.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};N.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d="```";if(!(CM.nil===a.FirstChild)&&A.HasPrefix(a.FirstChild.Tokens,(new CI($stringToBytes(d))))){d=($bytesToString(a.FirstChild.Tokens));}$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};N.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g="";h=false;i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+g]));if("mindmap"===g){$s=5;continue;}$s=6;continue;case 5:k=BO(a.Tokens);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 6:case 4:case 2:m=new CL([new CJ(["class","vditor-wysiwyg__pre"])]);if(!A.Contains(a.Tokens,F.CaretTokens)&&!h&&c.BaseRenderer.Options.VditorCodeBlockPreview){m=$append(m,new CJ(["style","display: none"]));}$r=c.BaseRenderer.Tag("pre",m,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteString("\n");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=12;continue;case 11:if(h){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteString("");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(g);if(n){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.Tag("div",i,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=25;continue;case 24:$r=c.BaseRenderer.Tag("code",i,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.WriteString("");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=31;continue;case 30:$r=c.BaseRenderer.WriteString("");$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 21:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.WriteByte=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.BaseRenderer.Writer.WriteByte(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;b.LastOut=$append(b.LastOut,a);if(1024:");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=13;continue;}$s=14;continue;case 13:$r=c.WriteString(" ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=c.WriteString("
    ");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(e);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};P.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kramdown-ial"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};P.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"mark");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};P.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};P.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};P.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};P.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};P.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sup");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};P.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};P.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};P.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sub");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};P.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};P.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};P.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};P.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};P.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};P.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};P.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};P.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("[toc]");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};P.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};P.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:a=[a];c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"]),new CJ(["data-type","footnotes-link"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].Write(a[0].Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteString(": ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a[0].FirstChild;case 13:if(!(!(CM.nil===d))){$s=14;continue;}$r=H.Walk(d,(function(a,c){return function $b(e,f){var{e,f,g,h,i,j,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f&&!(e===a[0].FirstChild)&&(e.IsBlock()||(15===e.Type)||(13===e.Type))){$s=1;continue;}$s=2;continue;case 1:g=" ";if(13===e.Type){$s=3;continue;}$s=4;continue;case 3:e.Tokens=$appendSlice((new CI($stringToBytes(g))),e.Tokens);$s=5;continue;case 4:$r=c[0].WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:i=(h=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),h!==undefined?h.v:$throwNilPointerError)(e,f);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=8;case 8:return j;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,j,$s};return $f;};})(a,c));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=13;continue;case 14:$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};P.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];i=h.Text();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new CL([new CJ(["data-type","footnotes-ref"])]);k=$append(k,new CJ(["class","b3-tooltips b3-tooltips__s"]));l=G.EscapeString(j);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=AS(l,24);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}k=$append(k,new CJ(["aria-label",m]));k=$append(k,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","sup"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};P.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};P.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.CodeBlockInfo);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};P.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};P.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!a.IsFencedCodeBlock){$s=10;continue;}$s=11;continue;case 10:$r=c.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$r=c.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};P.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};P.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};P.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};P.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};P.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};P.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};P.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};P.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};P.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};P.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};P.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};P.ptr.prototype.renderMathBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};P.ptr.prototype.renderTableCell=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};P.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};P.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};P.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","table"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};P.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"s");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};P.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};P.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};P.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};P.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};P.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};P.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"]),new CJ(["data-type","link-text"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};P.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};P.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};P.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};P.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};P.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};P.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};P.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};P.ptr.prototype.renderImage=function(a,b){var a,b,c,d;c=this;if(b){if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();d=a.ChildByType(43);if(!(CM.nil===d)){d.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}}return 2;};P.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};P.ptr.prototype.renderLink=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};P.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};P.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};P.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");c.BaseRenderer.Writer.Reset();$r=c.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};P.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.Parent;e=!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight;if(!e){$s=5;continue;}$s=6;continue;case 5:$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.popWriter(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};P.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(a.ParentIs(109,CN.nil)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimRight(d,"\n");$r=c.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};P.ptr.prototype.renderCodeSpan=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};P.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};P.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};P.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};P.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"em");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};P.ptr.prototype.popWriteClass=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));$r=c.renderClass(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e])).Write(c.BaseRenderer.Writer.Bytes());$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;c.BaseRenderer.Writer=(g=c.nodeWriterStack,h=c.nodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriteClass,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};P.prototype.popWriteClass=function(a,b){return this.$val.popWriteClass(a,b);};P.ptr.prototype.popWriter=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;b.nodeWriterStack=$subslice(b.nodeWriterStack,0,(b.nodeWriterStack.$length-1>>0));e=(c=b.nodeWriterStack,d=b.nodeWriterStack.$length-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d])).Write(b.BaseRenderer.Writer.Bytes());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;b.BaseRenderer.Writer=(f=b.nodeWriterStack,g=b.nodeWriterStack.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriter,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.popWriter=function(a){return this.$val.popWriter(a);};P.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};P.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};P.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};P.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};P.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"strong");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};P.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};P.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};P.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};P.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};P.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h=(new CI($stringToBytes("> ")));g=$appendSlice(h,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,h));f.Reset();i=f.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;l=(j=c.nodeWriterStack,k=c.nodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;c.BaseRenderer.Writer=(m=c.nodeWriterStack,n=c.nodeWriterStack.$length-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};P.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};P.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};P.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=9;continue;}$s=10;continue;case 9:$r=c.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=13;case 13:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=14;continue;}$s=15;continue;case 14:$r=c.WriteString(C.Repeat("=",e));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.WriteString(C.Repeat("-",e));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:f="h"+$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.renderClass(a,f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.popWriter(a);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,$s};return $f;};P.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};P.ptr.prototype.renderClass=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.Writer.Bytes();e=A.NewReader(d);f=new G.Node.ptr(CU.nil,CU.nil,CU.nil,CU.nil,CU.nil,3,0,"","",CW.nil);h=G.ParseFragment(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];c.BaseRenderer.Writer.Reset();j=0;case 2:if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);l=c.domAttrValue(k,"class");if(""===l){l=b;}else{l=l+(" "+b);}c.domSetAttrValue(k,"class",l);m=G.Render(c.BaseRenderer.Writer,k);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;j=j+(1)>>0;$s=2;continue;case 3:$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.renderClass,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderClass=function(a,b){return this.$val.renderClass(a,b);};P.ptr.prototype.domAttrValue=function(a,b){var a,b,c,d,e,f;c=this;if(CU.nil===a){return"";}d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f.Key===b){return f.Val;}e++;}return"";};P.prototype.domAttrValue=function(a,b){return this.$val.domAttrValue(a,b);};P.ptr.prototype.domSetAttrValue=function(a,b,c){var a,b,c,d,e,f,g;d=this;if(CU.nil===a){return;}e=a.Attr;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(g.Key===b){g.Val=c;return;}f++;}a.Attr=$append(a.Attr,new G.Attribute.ptr("",b,c));};P.prototype.domSetAttrValue=function(a,b,c){return this.$val.domSetAttrValue(a,b,c);};P.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};P.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};P.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write($pkg.NewlineSV);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};P.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h="";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter));}else{h=($bytesToString(a.ListData.Marker));}i=(new CI($stringToBytes(""+h+" ")));g=$appendSlice(i,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}j=(new CI($stringToBytes(""+C.Repeat(" ",a.ListData.Padding)+"")));g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,j));f.Reset();k=f.Write(g);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;n=(l=c.nodeWriterStack,m=c.nodeWriterStack.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;c.BaseRenderer.Writer=(o=c.nodeWriterStack,p=c.nodeWriterStack.$length-1>>0,((p<0||p>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};P.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};P.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--strong"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(120);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("] ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.TrimPrefix(a.Next.Tokens,(new CI($stringToBytes(" "))));$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};P.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("---");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};P.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};P.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};P.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(9))||(f===(10))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:P.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};P.prototype.Text=function(a){return this.$val.Text(a);};S=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new R.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderSup")});ck=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderSupOpenMarker")});cl=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSupCloseMarker")});cm=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSub")});cn=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSubOpenMarker")});co=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSubCloseMarker")});cp=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderMark2OpenMarker")});cq=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderMark2CloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorIRRenderer=S;R.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};R.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};R.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};R.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};R.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};R.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};R.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};R.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};R.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};R.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};R.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};R.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};R.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};R.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__marker--pre"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"]),new CJ(["class","language-yaml"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};R.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};R.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};R.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};R.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};R.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};R.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:R.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};R.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};R.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.WriteString("["+($bytesToString(a.Tokens))+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 5:if(!(!(CM.nil===d))){$s=6;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=5;continue;case 6:$r=c[0].BaseRenderer.WriteString("
    ");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};R.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=new CL([new CJ(["data-type","footnotes-ref"])]);n=a.Text();$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=C.Contains(o,"\xE2\x80\xB8");if(p){m=$append(m,new CJ(["class","vditor-ir__node vditor-ir__node--expand vditor-tooltipped vditor-tooltipped__s"]));}else{m=$append(m,new CJ(["class","vditor-ir__node vditor-tooltipped vditor-tooltipped__s"]));}q=G.EscapeString(l);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=AS(q,24);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}m=$append(m,new CJ(["aria-label",r]));m=$append(m,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("sup",m,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker--hide"]),new CJ(["data-render","1"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};R.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};R.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};R.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};R.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};R.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g=false;h="";if(f){g=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+h]));if("mindmap"===h){$s=3;continue;}$s=4;continue;case 3:k=BO(a.Tokens);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 4:case 2:m="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorCodeBlockPreview){m=m+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",m])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=8;continue;}$s=9;continue;case 8:if(!g){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.WriteString("");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$r=c.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(h);if(n){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("div",i,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("code",i,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("");$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 19:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};R.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};R.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};R.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};R.ptr.prototype.renderEmoji=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.renderSpanNode(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmoji,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};R.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};R.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=G.EscapeHTML(d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.ReplaceAll(d,F.CaretTokens,CI.nil);if(a.ParentIs(109,CN.nil)){d=A.ReplaceAll(d,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};R.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","math-inline"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};R.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};R.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};R.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorMathBlockPreview){g=g+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",g])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.Tokens;h=A.ReplaceAll(h,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(h));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};R.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};R.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};R.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};R.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CO.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CP.nil,false,CQ.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CO.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};R.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};R.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};R.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"]),new CJ(["data-type","table"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};R.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};R.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};R.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};R.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};R.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.BaseRenderer.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};R.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};R.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__link"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.BaseRenderer.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};R.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};R.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};R.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};R.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};R.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};R.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};R.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};R.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=!(CM.nil===a.Next)&&(16===a.Next.Type)&&A.HasPrefix(a.Next.Tokens,F.CaretTokens);if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();e=a.ChildByType(43);if(!(CM.nil===e)){e.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}f=c.Text(a);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h="vditor-ir__node";if(C.Contains(g,"\xE2\x80\xB8")||d){h=h+(" vditor-ir__node--expand");}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class",h]),new CJ(["data-type","img"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(d){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.ReplaceAll(a.Next.Tokens,F.CaretTokens,CI.nil);case 7:i=a;if(3===a.LinkType){$s=9;continue;}$s=10;continue;case 9:j=c.BaseRenderer.Tree.FindLinkRefDefLink(a.LinkRefLabel);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 10:k=i.ChildByType(41).Tokens;k=c.BaseRenderer.LinkPath(k);k=A.ReplaceAll(k,F.CaretTokens,CI.nil);l=new CL([new CJ(["src",($bytesToString(k))])]);m=a.ChildByType(40);if(!(CM.nil===m)&&0");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-block"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=10;continue;}$s=11;continue;case 10:f=AE(e);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 11:$r=c.BaseRenderer.Write(e);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};R.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.Equal(a.Tokens,(new CI($stringToBytes(""))));e=A.Equal(a.Tokens,(new CI($stringToBytes(""))));if(d||e){$s=1;continue;}$s=2;continue;case 1:if(d){$s=4;continue;}$s=5;continue;case 4:if(c.tagMatchClose("kbd",a)){$s=7;continue;}$s=8;continue;case 7:$r=c.renderSpanNode(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("kbd",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.renderSpanNode(a);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=6;continue;case 5:if(c.tagMatchOpen("kbd",a)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("/kbd",CL.nil,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.renderSpanNode(a);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.renderSpanNode(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:case 6:$s=3;continue;case 2:$r=c.renderSpanNode(a);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};R.ptr.prototype.tagMatchClose=function(a,b){var a,b,c,d;c=this;d=b.Next;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&""===d.TokensStr()){return true;}d=d.Next;}return false;};R.prototype.tagMatchClose=function(a,b){return this.$val.tagMatchClose(a,b);};R.ptr.prototype.tagMatchOpen=function(a,b){var a,b,c,d;c=this;d=b.Previous;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&"<"+a+">"===d.TokensStr()){return true;}d=d.Previous;}return false;};R.prototype.tagMatchOpen=function(a,b){return this.$val.tagMatchOpen(a,b);};R.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};R.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};R.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};R.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};R.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};R.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};R.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};R.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};R.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};R.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};R.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};R.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};R.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};R.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};R.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};R.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};R.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};R.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};R.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};R.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=c.Text(a);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=a.ChildByType(420);if(C.Contains(e,"\xE2\x80\xB8")||(!(CM.nil===f)&&A.Contains(f.Tokens,F.CaretTokens))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node vditor-ir__node--expand\"");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node\"");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:g="";if(!(CM.nil===f)){g=($bytesToString(f.Tokens));}if(""===g){$s=10;continue;}$s=11;continue;case 10:h=AT(a);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:$r=c.BaseRenderer.WriteString(" id=\"ir-"+g+"\"");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:if(1===a.HeadingLevel){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:i=AT(a);$s=25;case 25:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+j]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+j])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:if(!a.HeadingSetext){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$s=3;continue;case 2:if(a.HeadingSetext){$s=34;continue;}$s=35;continue;case 34:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"]),new CJ(["data-render","2"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.setextHeadingLen(a);$s=38;case 38:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(1===a.HeadingLevel){$s=39;continue;}$s=40;continue;case 39:$r=c.BaseRenderer.WriteString(C.Repeat("=",l));$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=41;continue;case 40:$r=c.BaseRenderer.WriteString(C.Repeat("-",l));$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 35:$r=c.BaseRenderer.WriteString(">0))+">");$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};R.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};R.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","heading-id"]),new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};R.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};R.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};R.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};R.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};R.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};R.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};R.ptr.prototype.renderSpanNode=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=CL.nil;f=a.Type;if(f===(17)){e=$append(e,new CJ(["data-type","em"]));}else if(f===(22)){e=$append(e,new CJ(["data-type","strong"]));}else if(f===(101)){e=$append(e,new CJ(["data-type","s"]));}else if(f===(450)){e=$append(e,new CJ(["data-type","mark"]));}else if(f===(485)){e=$append(e,new CJ(["data-type","sup"]));}else if(f===(490)){e=$append(e,new CJ(["data-type","sub"]));}else if(f===(33)){if(!((3===a.LinkType))){e=$append(e,new CJ(["data-type","a"]));}else{e=$append(e,new CJ(["data-type","link-ref"]));}}else if(f===(34)){e=$append(e,new CJ(["data-type","img"]));}else if(f===(27)){e=$append(e,new CJ(["data-type","code"]));}else if(f===(200)){e=$append(e,new CJ(["data-type","emoji"]));}else if(f===(10)){e=$append(e,new CJ(["data-type","html-inline"]));}else if(f===(44)){e=$append(e,new CJ(["data-type","html-entity"]));}else if(f===(400)){e=$append(e,new CJ(["data-type","backslash"]));}else{e=$append(e,new CJ(["data-type","inline-node"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:g=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(C.HasSuffix(h,"\xE2\x80\xB8")){$s=6;continue;}$s=7;continue;case 6:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:i=a.NextNodeText();$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasPrefix(j,"\xE2\x80\xB8")){$s=10;continue;}$s=11;continue;case 10:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("span",e,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderSpanNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.renderSpanNode=function(a){return this.$val.renderSpanNode(a);};R.ptr.prototype.renderDivNode=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=new CL([new CJ(["data-block","0"])]);f=a.Type;if(f===(11)){e=$append(e,new CJ(["data-type","code-block"]));}else if(f===(9)){e=$append(e,new CJ(["data-type","html-block"]));}else if(f===(300)){e=$append(e,new CJ(["data-type","math-block"]));}else if(f===(425)){e=$append(e,new CJ(["data-type","yaml-front-matter"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("div",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("div",e,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderDivNode,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderDivNode=function(a){return this.$val.renderDivNode(a);};R.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:R.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};R.prototype.Text=function(a){return this.$val.Text(a);};U=function(a,b,c){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=CB(a,c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=new T.ptr(d,b,CJ.nil);f=41;(e.FormatRenderer.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(e,"renderLinkDest")});$s=-1;return e;}return;}var $f={$blk:U,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$pkg.NewTextBundleRenderer=U;T.ptr.prototype.Render=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=CJ.nil;c=this;d=c.FormatRenderer.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a=d;b=c.originalLink;$s=-1;return[a,b];}return;}var $f={$blk:T.ptr.prototype.Render,$c:true,$r,a,b,c,d,$s};return $f;};T.prototype.Render=function(){return this.$val.Render();};T.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=c.linkPrefixes;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!(""===g)&&C.HasPrefix(d,g)){c.originalLink=$append(c.originalLink,d);d="assets"+$substring(d,g.length);}f++;}$r=c.FormatRenderer.BaseRenderer.WriteString(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:T.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};T.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};AQ.ptr.prototype.FixTermTypo=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.fixTermTypo0(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:AQ.ptr.prototype.FixTermTypo,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.FixTermTypo=function(a){return this.$val.FixTermTypo(a);};AQ.ptr.prototype.fixTermTypo0=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.$length;d=0;e=0;f=0;g=0;h=0;i=e;j=f;k=g;l=h;m=0;n=0;o=m;p=n;q=CI.nil;case 1:if(!(i=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+i]);if(V(d)){i=i+(1)>>0;$s=1;continue;}if(1<=i){o=(r=i-1>>0,((r<0||r>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+r]));if(!V(o)){i=i+(1)>>0;$s=1;continue;}}if(I.IsASCIIPunct(o)){i=i+(1)>>0;$s=1;continue;}j=i;while(true){if(!(j=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]);if(V(p)||(46===p)){break;}j=j+(1)>>0;}if(I.IsASCIIPunct(p)){i=i+(1)>>0;$s=1;continue;}s=A.ToLower($subslice(a,i,j));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=s;t=(u=$mapIndex(b.Options.Terms,$String.keyFor(K.BytesToStr(q))),u!==undefined?[u.v,true]:["",false]);v=t[0];w=t[1];if(w){l=0;k=i;while(true){if(!(k=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]=v.charCodeAt(l));l=l+(1)>>0;k=k+(1)>>0;}}i=i+(1)>>0;$s=1;continue;case 2:$s=-1;return a;}return;}var $f={$blk:AQ.ptr.prototype.fixTermTypo0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};AQ.prototype.fixTermTypo0=function(a){return this.$val.fixTermTypo0(a);};V=function(a){var a;return a>=128||I.IsWhitespace(a)||I.IsASCIIPunct(a);};W=function(){var a,b,c,d,e,f,g,h,i,j,k;a=false;a=(b=(X?X.size:0),((b<0||b>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));c=X;d=0;e=c?c.keys():undefined;f=c?c.size:0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]);if(f<(d-3>>0)&&(105===(g=f+1>>0,((g<0||g>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+g])))&&(110===(h=f+2>>0,((h<0||h>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h])))&&(103===(i=f+3>>0,((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i])))&&D.Is(D.Han,((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]))){b=b+(($encodeRune(e))+"ing");f=f+(4)>>0;continue;}b=Z(b,e);f=f+(1)>>0;}return b;};$pkg.Space0=Y;Z=function(a,b){var a,b,c,d;if(0===a.length){return($encodeRune(b));}if("1"<=a&&"9">=a&&(65039===b)){return a+($encodeRune(b));}c=E.DecodeLastRuneInString(a);d=c[0];if(AA(d,b)){return a+" "+($encodeRune(b));}return a+($encodeRune(b));};AA=function(a,b){var a,b,c,d,e,f;if(D.IsSpace(a)||D.IsSpace(b)||((F.CaretRune===a))||((F.CaretRune===b))||!D.IsPrint(a)||!D.IsPrint(b)){return false;}c=AB(a);d=!((37===b))&&!((64===b))&&(D.IsPunct(b)||(126===b)||(61===b)||(35===b));if(c&&d){return false;}e=!((37===a))&&!((64===a))&&(D.IsPunct(a)||(126===a)||(61===a)||(35===a));f=AB(b);if(f&&e){return false;}if((!c&&!f)||(c&&f)){return false;}return true;};AB=function(a){var a;return D.Is(D.Han,a)||D.Is(D.Lm,a)||D.Is(D.Hiragana,a)||D.Is(D.Katakana,a)||D.Is(D.Hangul,a);};AD=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=AE((new CI($stringToBytes(a))));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($bytesToString(b));$s=2;case 2:return c;}return;}var $f={$blk:AD,$c:true,$r,a,b,c,$s};return $f;};$pkg.Sanitize=AD;AE=function(a){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=new A.Buffer.ptr(CI.nil,0,0);c=false;d=new $Int64(0,0);e="";f=A.Contains(a,(new CI($stringToBytes(" \xE2\x80\xB8"))));a=A.ReplaceAll(a,F.CaretTokens,(new CI($stringToBytes("caretreplacement"))));g=G.NewTokenizer(A.NewReader(a));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;case 2:i=[i];j=h.Next();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j===0){$s=4;continue;}$s=5;continue;case 4:k=h.Err();if($interfaceIsEqual(k,L.EOF)){l=b[0].Bytes();if(f){l=A.ReplaceAll(l,(new CI($stringToBytes("\"caretreplacement"))),(new CI($stringToBytes("\" caretreplacement"))));}else{l=A.ReplaceAll(l,(new CI($stringToBytes("\" caretreplacement"))),(new CI($stringToBytes("\"caretreplacement"))));}l=A.ReplaceAll(l,(new CI($stringToBytes("caretreplacement"))),F.CaretTokens);$s=-1;return l;}m=k.Error();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=K.StrToBytes(m);$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=9;case 9:return o;case 5:i[0]=$clone(h.Token(),G.Token);p=i[0].Type;if(p===(6)){$s=11;continue;}if(p===(5)){$s=12;continue;}if(p===(2)){$s=13;continue;}if(p===(3)){$s=14;continue;}if(p===(4)){$s=15;continue;}if(p===(1)){$s=16;continue;}$s=17;continue;case 11:$s=17;continue;case 12:$s=17;continue;case 13:e=i[0].Data;q=(r=$mapIndex(AC,$String.keyFor(i[0].Data)),r!==undefined?[r.v,true]:[$ifaceNil,false]);s=q[1];if(s){$s=18;continue;}$s=19;continue;case 18:c=true;d=(t=new $Int64(0,1),new $Int64(d.$high+t.$high,d.$low+t.$low));u=b[0].WriteString(" ");$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=10;continue;case 19:if(!((i[0].Attr.$length===0))){$s=21;continue;}$s=22;continue;case 21:v=AH(i[0].Attr);$s=23;case 23:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}i[0].Attr=v;case 22:if(!c){$s=24;continue;}$s=25;continue;case 24:if(AF(i[0].Data)){$s=26;continue;}$s=27;continue;case 26:$r=AG(b[0],i[0]);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:w=$clone(i[0],G.Token).String();$s=30;case 30:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=b[0].WriteString(w);$s=31;case 31:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 28:case 25:$s=17;continue;case 14:if(e===i[0].Data){e="";}y=(z=$mapIndex(AC,$String.keyFor(i[0].Data)),z!==undefined?[z.v,true]:[$ifaceNil,false]);aa=y[1];if(aa){$s=32;continue;}$s=33;continue;case 32:d=(ab=new $Int64(0,1),new $Int64(d.$high-ab.$high,d.$low-ab.$low));if((d.$high===0&&d.$low===0)){c=false;}ac=b[0].WriteString(" ");$s=34;case 34:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;$s=10;continue;case 33:if(!c){$s=35;continue;}$s=36;continue;case 35:ad=$clone(i[0],G.Token).String();$s=37;case 37:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=b[0].WriteString(ad);$s=38;case 38:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae;case 36:$s=17;continue;case 15:if(!((i[0].Attr.$length===0))){$s=39;continue;}$s=40;continue;case 39:af=AH(i[0].Attr);$s=41;case 41:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}i[0].Attr=af;case 40:if(!c){$s=42;continue;}$s=43;continue;case 42:if(AF(i[0].Data)){$s=44;continue;}$s=45;continue;case 44:$r=AG(b[0],i[0]);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 45:ag=$clone(i[0],G.Token).String();$s=48;case 48:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=b[0].WriteString(ag);$s=49;case 49:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;case 46:case 43:$s=17;continue;case 16:if(!c){$s=50;continue;}$s=51;continue;case 50:ai=e;if(ai===("script")){$s=53;continue;}if(ai===("style")){$s=54;continue;}$s=55;continue;case 53:aj=b[0].WriteString(i[0].Data);$s=57;case 57:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$s=56;continue;case 54:ak=b[0].WriteString(i[0].Data);$s=58;case 58:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;$s=56;continue;case 55:al=$clone(i[0],G.Token).String();$s=59;case 59:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=b[0].WriteString(al);$s=60;case 60:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;case 56:case 52:case 51:case 17:case 10:$s=2;continue;case 3:$s=-1;return CI.nil;}return;}var $f={$blk:AE,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AF=function(a){var a,b;b=a;if(b===("a")||b===("area")||b===("blockquote")||b===("img")||b===("link")||b===("script")){return true;}else{return false;}};AG=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=A.NewBufferString("");d=c.WriteString("<");$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=c.WriteString(b.Data);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=b.Attr;g=0;case 3:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key==="caretreplacement"){$s=5;continue;}$s=6;continue;case 5:i=c.WriteString(" caretreplacement");$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;g++;$s=3;continue;case 6:j=c.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=c.WriteString(h.Key);$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=c.WriteString("=\"");$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=h.Key;if(m===("href")||m===("src")){$s=12;continue;}$s=13;continue;case 12:n=G.EscapeString(h.Val);$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=c.WriteString(n);$s=16;case 16:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=14;continue;case 13:p=G.EscapeString(h.Val);$s=17;case 17:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=c.WriteString(p);$s=18;case 18:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 14:case 11:r=c.WriteByte(34);$s=19;case 19:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g++;$s=3;continue;case 4:if(b.Type===4){$s=20;continue;}$s=21;continue;case 20:s=c.WriteString(" /");$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 21:t=c.WriteString(">");$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=a.WriteString(c.String());$s=24;case 24:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=-1;return;}return;}var $f={$blk:AG,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};AH=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=CW.nil;c=a;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!AJ(e.Key)){d++;$s=1;continue;}if("src"===e.Key||"srcdoc"===e.Key||"srcset"===e.Key||"href"===e.Key){$s=3;continue;}$s=4;continue;case 3:f=C.TrimSpace(e.Val);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=C.ToLower(f);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;h=AI(h);if(C.HasPrefix(h,"data:image/svg+xml")||C.HasPrefix(h,"data:text/html")||C.HasPrefix(h,"javascript")){d++;$s=1;continue;}i=AE((new CI($stringToBytes(h))));$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=G.UnescapeAttrVal(($bytesToString(i)));$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(h===k)){d++;$s=1;continue;}case 4:b=$append(b,e);d++;$s=1;continue;case 2:$s=-1;return b;}return;}var $f={$blk:AH,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AI=function(a){var a,b,c,d,e,f;b=$makeSlice(CY,0,a.length);c=a;d=0;while(true){if(!(d>0,((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Write,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.Write=function(a){return this.$val.Write(a);};AQ.ptr.prototype.WriteString=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.length;if(0>0));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.WriteString,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.WriteString=function(a){return this.$val.WriteString(a);};AQ.ptr.prototype.Newline=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!((10===a.LastOut))){$s=1;continue;}$s=2;continue;case 1:b=a.Writer.WriteByte(10);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.LastOut=10;case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Newline,$c:true,$r,a,b,$s};return $f;};AQ.prototype.Newline=function(){return this.$val.Newline();};AQ.ptr.prototype.TextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Previous;if(!(CM.nil===e)&&(16===e.Type)){$s=1;continue;}$s=2;continue;case 1:f=E.DecodeLastRune(e.Tokens);g=f[0];h=E.DecodeRune(d);i=h[0];if(AA(g,i)){$s=3;continue;}$s=4;continue;case 3:j=b.Writer.WriteByte(32);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AQ.prototype.TextAutoSpacePrevious=function(a){return this.$val.TextAutoSpacePrevious(a);};AQ.ptr.prototype.TextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Next;if(!(CM.nil===e)){$s=1;continue;}$s=2;continue;case 1:if(16===e.Type){$s=3;continue;}if(456===e.Type){$s=4;continue;}$s=5;continue;case 3:f=E.DecodeRune(e.Tokens);g=f[0];h=E.DecodeLastRune(d);i=h[0];if(AA(i,g)){$s=6;continue;}$s=7;continue;case 6:j=b.Writer.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 7:$s=5;continue;case 4:e=e.Next;if(!(CM.nil===e)&&(16===e.Type)){k=E.DecodeRune(e.Tokens);l=k[0];m=E.DecodeLastRune(d);n=m[0];if(AA(n,l)){e.Tokens=$appendSlice(new CI([32]),e.Tokens);}}case 5:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};AQ.prototype.TextAutoSpaceNext=function(a){return this.$val.TextAutoSpaceNext(a);};AQ.ptr.prototype.LinkTextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Previous;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeLastRune(d.Tokens);f=e[0];g=E.DecodeRune(c.Tokens);h=g[0];if(AA(f,h)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpacePrevious=function(a){return this.$val.LinkTextAutoSpacePrevious(a);};AQ.ptr.prototype.LinkTextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Next;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeRune(d.Tokens);f=e[0];g=E.DecodeLastRune(c.Tokens);h=g[0];if(AA(h,f)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpaceNext=function(a){return this.$val.LinkTextAutoSpaceNext(a);};AS=function(a,b){var a,b,c,d,e,f,g,h;c="";d=0;e=0;while(true){if(!(e>0;c=c+(($encodeRune(g)));d=d+(1)>>0;if(b<=d){break;}}return c;};$pkg.SubStr=AS;AT=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";if(0===K.StrToBytes(a.HeadingNormalizedID).$length){$s=1;continue;}$s=2;continue;case 1:$r=AU(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:b=a.HeadingNormalizedID;$s=-1;return b;}return;}var $f={$blk:AT,$c:true,$r,a,b,$s};return $f;};$pkg.HeadingID=AT;AU=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=CM.nil;c=a.Parent;while(true){if(!(!((0===c.Type)))){break;}c=c.Parent;}b[0]=$makeMap($String.keyFor,[]);$r=H.Walk(c,(function(b){return function $b(d,e){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if(e){$s=1;continue;}$s=2;continue;case 1:if(2===d.Type){$s=3;continue;}$s=4;continue;case 3:f=AV(d);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;while(true){if(!(0<(h=$mapIndex(b[0],$String.keyFor(g)),h!==undefined?h.v:0))){break;}g=g+("-");}d.HeadingNormalizedID=g;i=g;(b[0]||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(i),{k:i,v:1});case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AU,$c:true,$r,a,b,c,$s};return $f;};AV=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=a.ChildByType(420);d="";if(!(CM.nil===c)){d=K.BytesToStr(c.Tokens);}if(""===d){$s=1;continue;}$s=2;continue;case 1:e=a.Text();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 2:d=C.TrimLeft(d,"#");d=C.ReplaceAll(d,"\xE2\x80\xB8","");f=d;g=0;while(true){if(!(g");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e;h=0;case 9:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);$r=c.renderToC0(i);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h++;$s=9;continue;case 10:$r=c.WriteString("");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.WriteString("[toc]
    ");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:AQ.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};AQ.ptr.prototype.renderToC0=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.WriteString("
  • ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("span",new CL([new CJ(["data-target-id",a.ID])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.WriteString(a.Content);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=a.Children;d=0;case 8:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);$r=b.renderToC0(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=8;continue;case 9:$r=b.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=b.WriteString("
  • ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.renderToC0,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.renderToC0=function(a){return this.$val.renderToC0(a);};AQ.ptr.prototype.Tag=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(d.DisableTags>0){$s=-1;return;}$r=d.WriteString("<");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.WriteString(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=d.WriteString(" "+(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])+"=\""+(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=5;continue;case 6:case 4:if(c){$s=8;continue;}$s=9;continue;case 8:$r=d.WriteString(" /");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=d.WriteString(">");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Tag,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};AQ.prototype.Tag=function(a,b,c){return this.$val.Tag(a,b,c);};AQ.ptr.prototype.headings=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=DC.nil;b=this;c=b.Tree.Root.ChildrenByType(2);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=DB.nil;f=d;g=0;case 2:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!(b.Tree.Root===h.Parent)){g++;$s=2;continue;}i=AT(h);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(b.Options.VditorWYSIWYG){j="wysiwyg-"+j;}else if(b.Options.VditorIR){j="ir-"+j;}if(b.Options.KramdownBlockIAL){k=h.KramdownIAL;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if("id"===(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0])){j=(1>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+1]);break;}l++;}}n=AY(h);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new AW.ptr(j,b.Tree.Box,b.Tree.Path,b.Tree.HPath,n,h.HeadingLevel,DC.nil,DB.nil);if(DB.nil===e){a=$append(a,o);}else{if(e.Level");$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=b[0].Write(G.EscapeHTML(d.Tokens));$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=b[0].WriteString("");$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=6;continue;case 4:k=b[0].WriteString("");$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=b[0].Write(G.EscapeHTML(d.Tokens));$s=12;case 12:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=b[0].WriteString("");$s=13;case 13:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=6;continue;case 5:if(d.ParentIs(22,CN.nil)){$s=14;continue;}if(d.ParentIs(17,CN.nil)){$s=15;continue;}$s=16;continue;case 14:n=b[0].WriteString("");$s=18;case 18:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=b[0].Write(G.EscapeHTML(d.Tokens));$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=b[0].WriteString("");$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=17;continue;case 15:q=b[0].WriteString("");$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=b[0].Write(G.EscapeHTML(d.Tokens));$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=b[0].WriteString("");$s=23;case 23:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=17;continue;case 16:if(!(CM.nil===d.Previous)&&(10===d.Previous.Type)){$s=24;continue;}$s=25;continue;case 24:if(A.HasPrefix(d.Previous.Tokens,(new CI($stringToBytes(""))))){$s=31;continue;}$s=32;continue;case 31:v=b[0].Write(d.Next.Tokens);$s=33;case 33:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 32:$s=26;continue;case 25:w=b[0].Write(G.EscapeHTML(d.Tokens));$s=34;case 34:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;case 26:case 17:case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();$s=-1;return c;}return;}var $f={$blk:AY,$c:true,$r,a,b,c,$s};return $f;};AQ.ptr.prototype.setextHeadingLen=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=0;d=this;b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(e,f){var{e,f,g,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(((16===e.Type)||(40===e.Type)||(32===e.Type))&&f){$s=1;continue;}$s=2;continue;case 1:g=b[0].Write(e.Tokens);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=b[0].String();e=C.ReplaceAll(e,"\xE2\x80\xB8","");f=C.Split(e,"\n");h=(g=f.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));i=h;j=0;while(true){if(!(j>0;}else{c=c+(1)>>0;}j+=k[1];}if(0===c){c=3;}$s=-1;return c;}return;}var $f={$blk:AQ.ptr.prototype.setextHeadingLen,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};AQ.prototype.setextHeadingLen=function(a){return this.$val.setextHeadingLen(a);};AQ.ptr.prototype.renderListStyle=function(a,b){var a,b,c,d;c=this;if(c.Options.RenderListStyle){d=a.ListData.Typ;if(d===(0)){b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}else if(d===(1)){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else if(d===(3)){if(0===a.ListData.BulletChar){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else{b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}}}};AQ.prototype.renderListStyle=function(a,b){return this.$val.renderListStyle(a,b);};AQ.ptr.prototype.tagSrc=function(a){var a,b,c,d;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>c){return CI.nil;}else{d=$subslice(a,(c+5>>0));d=$subslice(d,0,A.Index(d,(new CI($stringToBytes("\"")))));return d;}};AQ.prototype.tagSrc=function(a){return this.$val.tagSrc(a);};AQ.ptr.prototype.tagSrcPath=function(a){var a,b,c,d,e,f;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>0));if(1>A.ReplaceAll(d,F.CaretTokens,CI.nil).$length){return a;}e=b.LinkPath(d);f=($bytesToString(e));if(A.HasPrefix(e,(new CI($stringToBytes("//"))))){f="https:"+f;}a=A.ReplaceAll(a,d,(new CI($stringToBytes(f))));}return a;};AQ.prototype.tagSrcPath=function(a){return this.$val.tagSrcPath(a);};AQ.ptr.prototype.isLastNode=function(a,b){var a,b,c,d;c=this;if(a===b||CM.nil===b||CM.nil===b.Parent){return true;}if(!(CM.nil===b.Next)){return false;}if(0===b.Parent.Type){return a.LastChild===b;}d=CM.nil;d=b.Parent;while(true){if(CM.nil===d||CM.nil===d.Parent){return true;}if(0===d.Parent.Type){break;}d=d.Parent;}return a.LastChild===d;};AQ.prototype.isLastNode=function(a,b){return this.$val.isLastNode(a,b);};AQ.ptr.prototype.NodeID=function(a){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){b=(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]);$s=-1;return b;}e++;}g=H.NewNodeID();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}b=g;h=b;$s=2;case 2:return h;}return;}var $f={$blk:AQ.ptr.prototype.NodeID,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AQ.prototype.NodeID=function(a){return this.$val.NodeID(a);};AQ.ptr.prototype.NodeAttrs=function(a){var a,b,c,d,e,f;b=CL.nil;c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=$append(b,f);e++;}return b;};AQ.prototype.NodeAttrs=function(a){return this.$val.NodeAttrs(a);};AQ.ptr.prototype.NodeAttrsStr=function(a){var a,b,c,d,e,f;b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=b+((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])+"=\""+(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])+"\" ");e++;}if(!(""===b)){b=$substring(b,0,(b.length-1>>0));}return b;};AQ.prototype.NodeAttrsStr=function(a){return this.$val.NodeAttrsStr(a);};BA=function(a){var a,b,c,d;if(""===a){return false;}b=AZ;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(a===d){return true;}c++;}return false;};$pkg.NoHighlight=BA;AQ.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(43))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))||(f===(543))||(f===(542))||(f===(433))||(f===(434))||(f===(432))||(f===(456))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:AQ.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};AQ.prototype.Text=function(a){return this.$val.Text(a);};AQ.ptr.prototype.ParagraphContainImgOnly=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=[c];c[0]=false;d=this;c[0]=true;b[0]=false;$r=H.Walk(a,(function(b,c){return function $b(e,f){var{e,f,g,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(!f){$s=-1;return 2;}if(16===e.Type){$s=1;continue;}if(530===e.Type){$s=2;continue;}if(34===e.Type){$s=3;continue;}$s=4;continue;case 1:g=K.IsEmptyStr(($bytesToString(e.Tokens)));$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=5;continue;}$s=6;continue;case 5:c[0]=false;$s=-1;return 0;case 6:$s=4;continue;case 2:c[0]=false;$s=-1;return 0;case 3:b[0]=true;case 4:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,$s};return $f;};})(b,c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=b[0]&&c[0];$s=-1;return c[0];}return;}var $f={$blk:AQ.ptr.prototype.ParagraphContainImgOnly,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.ParagraphContainImgOnly=function(a){return this.$val.ParagraphContainImgOnly(a);};BD=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BC.ptr(c,b.NodeIndexStart);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BD,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleRenderer=BD;BC.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"custom-block");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BC.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"av");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BC.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(d.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:e=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!(""===f)){$s=10;continue;}$s=11;continue;case 10:g=E.DecodeLastRuneInString(f);h=g[0];if(D.IsLetter(h)||D.IsDigit(h)){$s=12;continue;}$s=13;continue;case 12:$r=d.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=d.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:c[0]=d.renderTextMarkAttrs(a);d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((CM.nil===a.Previous||(32===a.Previous.Type))&&J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=16;continue;}$s=17;continue;case 16:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:if(a.IsTextMarkType("code")){if(d.BaseRenderer.Options.Spellcheck){c[0]=$append(c[0],new CJ(["spellcheck","false"]));}}$r=d.BaseRenderer.Tag("span",c[0],false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=20;continue;}$s=21;continue;case 20:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:i=a.TextMarkTextContent;if(a.ParentIs(109,CN.nil)){if(a.IsTextMarkType("code")){i=C.ReplaceAll(i,"|","|");}else{i=C.ReplaceAll(i,"\\|","|");}i=C.ReplaceAll(i,"\n","
    ");}$r=d.BaseRenderer.WriteString(i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=25;continue;}$s=26;continue;case 25:j=a.NextNodeText();$s=27;case 27:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(""===k)){$s=28;continue;}$s=29;continue;case 28:if(!C.HasPrefix(k,"\xE2\x80\x8B")){$s=31;continue;}$s=32;continue;case 31:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 32:$s=30;continue;case 29:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:case 26:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=35;continue;}$s=36;continue;case 35:if(d.BaseRenderer.Options.AutoSpace){$s=38;continue;}$s=39;continue;case 38:l=a.NextNodeText();$s=40;case 40:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;if(!(""===m)){$s=41;continue;}$s=42;continue;case 41:n=E.DecodeRuneInString(m);o=n[0];if(D.IsLetter(o)||D.IsDigit(o)){$s=43;continue;}$s=44;continue;case 43:$r=d.BaseRenderer.WriteByte(32);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 44:case 42:case 39:$s=37;continue;case 36:$r=d.BaseRenderer.TextAutoSpaceNext(a);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};BC.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BC.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BC.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BC.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","u"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BC.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BC.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BC.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kbd"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BC.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BC.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.ChildByType(468);if(CM.nil===e){$s=-1;return 2;}c[0]=CL.nil;f=e.Tokens;f=G.EscapeHTML(A.ReplaceAll(f,F.CaretTokens,CI.nil));g=K.BytesToStr(f);g=C.ReplaceAll(g,"_esc_newline_","\n");c[0]=$append(c[0],new CJ(["data-content",g]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BC.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BC.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BC.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BC.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=$append(c[0],new CJ(["data-subtype","widget"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BC.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BC.ptr.prototype.replaceSrc=function(a,b,c){var a,b,c,d,e,f;d=this;e=$appendSlice((new CI($stringToBytes(" src=\""))),b);e=$appendSlice(e,(new CI($stringToBytes("\""))));f=$appendSlice((new CI($stringToBytes(" src=\""))),c);f=$appendSlice(f,(new CI($stringToBytes("\""))));if(A.Contains(a,(new CI($stringToBytes("data-src="))))){return A.ReplaceAll(a,f,e);}e=$appendSlice(e,(new CI($stringToBytes(" data-src=\""+K.BytesToStr(c)+"\""))));return A.ReplaceAll(a,f,e);};BC.prototype.replaceSrc=function(a,b,c){return this.$val.replaceSrc(a,b,c);};BC.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(431);e="";f="";g=e;h=f;i=a.ChildByType(433);h="s";if(CM.nil===i){i=a.ChildByType(434);h="d";}if(!(CM.nil===i)){$s=3;continue;}$s=4;continue;case 3:j=i.Text();$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}g=j;case 4:g=c.escapeRefText(g);k=new CL([new CJ(["data-type","block-ref"]),new CJ(["data-subtype",h]),new CJ(["data-id",d.TokensStr()])]);$r=c.BaseRenderer.Tag("span",k,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=C.ReplaceAll(g,"&#124;","|");$r=c.BaseRenderer.WriteString(g);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BC.ptr.prototype.escapeRefText=function(a){var a,b;b=this;a=C.ReplaceAll(a,">",">");a=C.ReplaceAll(a,"<","<");a=C.ReplaceAll(a,"\"",""");a=C.ReplaceAll(a,"'","'");return a;};BC.prototype.escapeRefText=function(a){return this.$val.escapeRefText(a);};BC.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BC.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BC.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BC.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BC.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(541);e=d.TokensStr();f=e;g=a.ChildByType(543);if(!(CM.nil===g)){$s=3;continue;}$s=4;continue;case 3:h=g.Text();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 4:f=c.escapeRefText(f);i=new CL([new CJ(["data-type","file-annotation-ref"]),new CJ(["data-subtype","s"]),new CJ(["data-id",e])]);$r=c.BaseRenderer.Tag("span",i,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(f);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BC.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BC.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BC.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BC.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BC.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"git-conflict");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["spellcheck","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.TrimSpace(a.Tokens);$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$r=d.BaseRenderer.Write(G.EscapeHTML(f));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BC.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BC.ptr.prototype.renderGitConflict=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BC.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Previous||!((32===a.Previous.Type))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BC.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Parent.Text();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","tag"]),new CJ(["data-content",G.EscapeHTMLStr(e)])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BC.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BC.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"sb");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.FirstChild.Next.TokensStr();if(""===e){e="row";}c[0]=$append(c[0],new CJ(["data-sb-layout",e]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BC.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BC.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BC.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BC.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BC.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BC.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BC.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)&&(34===a.Previous.Type)&&!(CM.nil===a.Next)&&(34===a.Next.Type)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BC.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BC.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BC.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BC.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BC.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BC.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BC.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sup"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BC.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BC.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BC.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sub"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BC.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BC.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BC.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BC.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BC.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BC.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BC.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BC.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CO.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CP.nil,false,CQ.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CO.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BC.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BC.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;f=false;g="";if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.Next)&&0e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="";h=false;if(!(CM.nil===a.Previous)){h=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}c[0]=new CL([new CJ(["class","protyle-action--first protyle-action__language"]),new CJ(["contenteditable","false"])]);if(!(CM.nil===a.Previous)&&0=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])));}$r=d.BaseRenderer.Tag("span",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(g);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","b3-tooltips__nw b3-tooltips protyle-icon protyle-icon--first protyle-action__copy"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["class","hljs"])]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));c[0]=$append(c[0],new CJ(["spellcheck","false"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=12;continue;}$s=13;continue;case 12:if(h){$s=15;continue;}$s=16;continue;case 15:$r=d.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=14;continue;case 13:j=G.EscapeHTML(a.Tokens);j=A.ReplaceAll(j,(new CI($stringToBytes("__@mark__"))),(new CI($stringToBytes(""))));j=A.ReplaceAll(j,(new CI($stringToBytes("__mark@__"))),(new CI($stringToBytes(""))));$r=d.BaseRenderer.Write(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BC.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BC.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BC.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BC.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BC.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BC.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BC.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)]),new CJ(["contenteditable","false"]),new CJ(["class","render-node"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BC.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BC.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.Contains(a.Previous.Tokens,F.CaretTokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BC.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;c[0]=$append(c[0],new CJ(["data-content",K.BytesToStr(e)]));c[0]=$append(c[0],new CJ(["data-subtype","math"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BC.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BC.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BC.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BC.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="td";if(107===a.Parent.Parent.Type){e="th";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;f=a.TableCellAlign;if(f===(1)){c[0]=$append(c[0],new CJ(["align","left"]));}else if(f===(2)){c[0]=$append(c[0],new CJ(["align","center"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["align","right"]));}d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BC.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BC.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("colgroup",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.IALAttr("colgroup");if(""===d){$s=5;continue;}$s=6;continue;case 5:if(!(CM.nil===a.FirstChild)){$s=8;continue;}$s=9;continue;case 8:e=a.FirstChild.FirstChild;case 10:if(!(!(CM.nil===e))){$s=11;continue;}if(109===e.Type){$s=12;continue;}$s=13;continue;case 12:f=e.IALAttr("style");if(!(""===f)){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",f])]),true);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:e=e.Next;$s=10;continue;case 11:case 9:$s=7;continue;case 6:g=C.Split(d,"|");h=g;i=0;case 19:if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(!(""===j)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",j])]),true);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:i++;$s=19;continue;case 20:case 7:$r=c.BaseRenderer.Tag("/colgroup",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BC.ptr.prototype.renderTable=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(CM.nil===a.FirstChild){$s=-1;return 1;}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"table");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("table",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/table",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BC.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BC.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BC.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BC.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BC.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BC.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BC.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!((34===a.Parent.Type))){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BC.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BC.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BC.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BC.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BC.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BC.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BC.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BC.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BC.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BC.ptr.prototype.renderImage=function(a,b){var{a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){d=true;$s=6;continue s;}e=a.Previous.Text();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d="\xE2\x80\xB8"===e;case 6:if(d||(a.ParentIs(109,CN.nil)&&!(CM.nil===a.Previous)&&CM.nil===a.Previous.Previous)){$s=4;continue;}$s=5;continue;case 4:if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:if(456===a.Next.Type){$s=11;continue;}$s=12;continue;case 11:if(!A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 5:f=new CL([new CJ(["contenteditable","false"]),new CJ(["data-type","img"]),new CJ(["class","img"])]);g=a.IALAttr("parent-style");if(!(""===g)){f=$append(f,new CJ(["style",g]));}if(!C.Contains(g,"display")&&!C.Contains(g,"block")&&(c.BaseRenderer.LastOut===10)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:$r=c.BaseRenderer.Tag("span",f,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action protyle-icons"])]),false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:h=a.ChildByType(41).Tokens;if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=AE(h);$s=32;case 32:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;case 31:h=A.ReplaceAll(h,F.CaretTokens,CI.nil);j=h;k=K.BytesToStr(j);l=K.BytesToStr(c.BaseRenderer.LinkPath(h));m=new CL([new CJ(["src",l]),new CJ(["data-src",k])]);n=a.ChildByType(40);if(!(CM.nil===n)&&0");$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:m=new CL([new CJ(["class","protyle-action__title"])]);$r=c.BaseRenderer.Tag("span",m,false);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=c.BaseRenderer.Writer.Write(G.EscapeHTML(p));$s=44;case 44:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Next){x=true;$s=53;continue s;}y=a.Next.Text();$s=54;case 54:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x="\xE2\x80\xB8"===y;case 53:if(x||(34===a.Next.Type)){$s=51;continue;}$s=52;continue;case 51:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 52:if(!(456===a.Next.Type)){z=false;$s=58;continue s;}if(CM.nil===a.Next.Next){aa=true;$s=59;continue s;}ab=a.Next.Next.Text();$s=60;case 60:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa="\xE2\x80\xB8"===ab;case 59:z=aa;case 58:if(z){$s=56;continue;}$s=57;continue;case 56:if(A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 57:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderImage,$c:true,$r,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BC.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BC.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(41);e=d.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:f=A.TrimSpace(e);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=AE(e);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;h=A.ToLower(e);$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(A.HasPrefix(i,(new CI($stringToBytes("javascript:"))))){e=CI.nil;}case 5:e=c.BaseRenderer.LinkPath(e);j=A.Contains(e,F.CaretTokens);if(j){k=a.ChildByType(40);k.Tokens=$appendSlice(k.Tokens,F.CaretTokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);}l=new CL([new CJ(["data-type","a"]),new CJ(["data-href",($bytesToString(e))])]);m=a.ChildByType(42);if(!(CM.nil===m)&&!(CI.nil===m.Tokens)){l=$append(l,new CJ(["data-title",c.escapeRefText(($bytesToString(m.Tokens)))]));}$r=c.BaseRenderer.Tag("span",l,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BC.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.Tokens;e=A.ReplaceAll(e,F.CaretTokens,CI.nil);c[0]=$append(c[0],new CJ(["data-subtype","block"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["data-content",K.BytesToStr(G.EscapeHTML(e))])]);$r=d.BaseRenderer.Tag("protyle-html",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/protyle-html",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BC.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CN.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))||A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:a.Type=9;d=c.renderHTML(a,b);$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=8;case 8:return e;}return;}var $f={$blk:BC.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BC.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BC.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"p");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BC.ptr.prototype.renderText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace&&!((515===a.Parent.Type))){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(a.ParentIs(530,CN.nil)){$s=3;continue;}$s=4;continue;case 3:if("code"===a.Parent.TokensStr()){if(a.ParentIs(109,CN.nil)){d=A.ReplaceAll(d,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}d=G.EscapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderText,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BC.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=15;continue;}$s=16;continue;case 15:h=a.NextNodeText();$s=17;case 17:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=18;continue;}$s=19;continue;case 18:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(32);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 16:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BC.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};BC.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BC.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};BC.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BC.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BC.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BC.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BC.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BC.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BC.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BC.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BC.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"bq");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BC.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BC.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(6>0));c[0]=$append(c[0],new CJ(["data-subtype","h"+e]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"h"+e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BC.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BC.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BC.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;e=a.ListData.Typ;if(e===(0)){c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(e===(1)){c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(e===(3)){c[0]=$append(c[0],new CJ(["data-subtype","t"]));}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"list");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BC.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e="li";c[0]=CL.nil;f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+"."]));c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","t"]));if(!(a.FirstChild===CM.nil)&&a.FirstChild.TaskListItemChecked){e=e+(" protyle-task--done");}}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0===a.ListData.Typ){$s=6;continue;}if(1===a.ListData.Typ){$s=7;continue;}$s=8;continue;case 6:g=new CL([new CJ(["class","protyle-action"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",g,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:h=new CL([new CJ(["class","protyle-action protyle-action--order"]),new CJ(["contenteditable","false"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",h,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(B.Itoa(a.ListData.Num)+".");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BC.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.TaskListItemChecked){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(CM.nil===a.Next){$s=8;continue;}$s=9;continue;case 8:d=H.NewNodeID();$s=10;case 10:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=a.InsertAfter(new H.Node.ptr(d,"","","",1,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CO.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CP.nil,false,CQ.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CO.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BC.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"hr");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BC.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.renderBr(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BC.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Previous)&&((22===a.Previous.Type)||(17===a.Previous.Type)||(460===a.Previous.Type)||(101===a.Previous.Type)||(520===a.Previous.Type)||(456===a.Previous.Type))&&!(CM.nil===a.Next)&&A.Equal(F.CaretTokens,a.Next.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BC.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BC.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BC.ptr.prototype.blockNodeAttrs=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.nodeID(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nodeIndex(a,b);d.nodeDataType(a,b);d.nodeClass(a,b,c);e=a.KramdownIAL;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("id"===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])){f++;continue;}b.$set($append(b.$get(),new CJ([(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),C.ReplaceAll((1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]),"_esc_newline_","\n")])));f++;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.blockNodeAttrs,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.blockNodeAttrs=function(a,b,c){return this.$val.blockNodeAttrs(a,b,c);};BC.ptr.prototype.nodeClass=function(a,b,c){var a,b,c,d;d=this;b.$set($append(b.$get(),new CJ(["class",c])));};BC.prototype.nodeClass=function(a,b,c){return this.$val.nodeClass(a,b,c);};BC.ptr.prototype.nodeDataType=function(a,b){var a,b,c;c=this;b.$set($append(b.$get(),new CJ(["data-type",new H.NodeType(a.Type).String()])));};BC.prototype.nodeDataType=function(a,b){return this.$val.nodeDataType(a,b);};BC.ptr.prototype.nodeID=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.NodeID(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b.$set($append(b.$get(),new CJ(["data-node-id",d])));$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.nodeID,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.nodeID=function(a,b){return this.$val.nodeID(a,b);};BC.ptr.prototype.nodeIndex=function(a,b){var a,b,c;c=this;if(CM.nil===a.Parent||!((0===a.Parent.Type))){return;}b.$set($append(b.$get(),new CJ(["data-node-index",B.Itoa(c.NodeIndex)])));c.NodeIndex=c.NodeIndex+(1)>>0;return;};BC.prototype.nodeIndex=function(a,b){return this.$val.nodeIndex(a,b);};BC.ptr.prototype.spellcheck=function(a){var a,b;b=this;a.$set($append(a.$get(),new CJ(["spellcheck",B.FormatBool(b.BaseRenderer.Options.Spellcheck)])));return;};BC.prototype.spellcheck=function(a){return this.$val.spellcheck(a);};BC.ptr.prototype.contenteditable=function(a,b){var a,b,c,d;c=this;d=a.IALAttr("contenteditable");if(!(""===d)){b.$set($append(b.$get(),new CJ(["contenteditable",d])));}else{b.$set($append(b.$get(),new CJ(["contenteditable",B.FormatBool(c.BaseRenderer.Options.ProtyleContenteditable)])));}return;};BC.prototype.contenteditable=function(a,b){return this.$val.contenteditable(a,b);};BC.ptr.prototype.renderIAL=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=new CL([new CJ(["class","protyle-attr"]),new CJ(["contenteditable","false"])]);$r=b.BaseRenderer.Tag("div",c,false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.IALAttr("bookmark");if(!(""===d)){$s=2;continue;}$s=3;continue;case 2:d=C.ReplaceAll(d,"_esc_newline_","\n");d=G.EscapeHTMLStr(d);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--bookmark"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(d);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:e=a.IALAttr("name");if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:e=C.ReplaceAll(e,"_esc_newline_","\n");e=G.EscapeHTMLStr(e);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--name"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:f=a.IALAttr("alias");if(!(""===f)){$s=13;continue;}$s=14;continue;case 13:f=C.ReplaceAll(f,"_esc_newline_","\n");f=G.EscapeHTMLStr(f);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--alias"])]),false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(f);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:g=a.IALAttr("memo");if(!(""===g)){$s=19;continue;}$s=20;continue;case 19:g=C.ReplaceAll(g,"_esc_newline_","\n");g=G.EscapeHTMLStr(g);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--memo b3-tooltips b3-tooltips__nw"]),new CJ(["aria-label",g])]),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:h=a.IALAttr("custom-avs");if(!(""===h)){$s=24;continue;}$s=25;continue;case 24:h=C.ReplaceAll(h,"_esc_newline_","\n");h=G.EscapeHTMLStr(h);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--av"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(a.IALAttr("av-names"));$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:i=a.IALAttr("refcount");if(!(""===i)){$s=30;continue;}$s=31;continue;case 30:i=C.ReplaceAll(i,"_esc_newline_","\n");i=G.EscapeHTMLStr(i);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--refcount popover__block"])]),false);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(i);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:$r=b.BaseRenderer.WriteString("\xE2\x80\x8B");$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.renderIAL,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderIAL=function(a){return this.$val.renderIAL(a);};BC.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CN.nil)){h=C.ReplaceAll(h,"\\|","|");}h=C.ReplaceAll(h,"\"","&quot;");b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=C.ReplaceAll(a.TextMarkATitle,"\"","&quot;");if(a.ParentIs(109,CN.nil)){i=C.ReplaceAll(i,"\\|","|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CN.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=C.ReplaceAll(j,"_esc_newline_","\n");j=C.ReplaceAll(j,"\"","&quot;");b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;k=C.ReplaceAll(k,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};BC.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BF=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BE.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BF,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtylePreviewRenderer=BF;BE.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BE.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BE.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CN.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.IsNextSameInlineMemo()){$s=-1;return 2;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BE.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BE.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BE.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BE.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BE.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BE.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BE.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BE.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BE.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BE.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BE.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BE.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BE.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BE.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BE.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BE.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BE.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BE.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BE.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BE.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BE.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BE.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BE.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BE.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BE.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BE.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BE.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BE.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BE.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BE.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BE.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BE.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BE.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BE.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BE.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BE.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BE.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BE.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BE.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BE.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BE.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BE.ptr.prototype.escapeRefText=function(a){var a,b;b=this;a=C.ReplaceAll(a,">",">");a=C.ReplaceAll(a,"<","<");a=C.ReplaceAll(a,"\"",""");a=C.ReplaceAll(a,"'","'");return a;};BE.prototype.escapeRefText=function(a){return this.$val.escapeRefText(a);};BE.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BE.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BE.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BE.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BE.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BE.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BE.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BE.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BE.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BE.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BE.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BE.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BE.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BE.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BE.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BE.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BE.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BE.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BE.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CO.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CP.nil,false,CQ.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CO.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BE.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=false;e="";if(!(CM.nil===a.FirstChild.Next)&&0");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:if(d){$s=-1;return 1;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/pre",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BE.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BE.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BE.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BE.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BE.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BE.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BE.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BE.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BE.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BE.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BE.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BE.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BE.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BE.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BE.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BE.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BE.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=CL.nil;e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d=$append(d,new CJ(["data-content",K.BytesToStr(e)]));d=$append(d,new CJ(["data-subtype","math"]));$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BE.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BE.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BE.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BE.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BE.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BE.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BE.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BE.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BE.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BE.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BE.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BE.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!((34===a.Parent.Type))){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BE.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BE.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BE.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BE.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BE.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BE.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BE.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BE.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BE.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BE.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["contenteditable","false"]),new CJ(["data-type","img"]),new CJ(["class","img"])]);e=a.IALAttr("parent-style");if(!(""===e)){d=$append(d,new CJ(["style",e]));}$r=c.BaseRenderer.Tag("span",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action protyle-icons"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=a.ChildByType(41).Tokens;if(c.BaseRenderer.Options.Sanitize){$s=12;continue;}$s=13;continue;case 12:g=AE(f);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;case 13:f=A.ReplaceAll(f,F.CaretTokens,CI.nil);h=f;i=K.BytesToStr(h);j=K.BytesToStr(c.BaseRenderer.LinkPath(f));k=new CL([new CJ(["src",j]),new CJ(["data-src",i])]);l=a.ChildByType(40);if(!(CM.nil===l)&&0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BE.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BE.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);$r=c.BaseRenderer.WriteString(" "+(0>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])+"=\""+(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1])+"\"");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i++;$s=19;continue;case 20:case 18:case 13:case 10:$r=c.BaseRenderer.WriteString(">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:k=AT(a);$s=25;case 25:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+l]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+l])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString("
    >0))+">");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BE.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BE.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BE.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BE.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BE.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f="protyle-task";if(e.TaskListItemChecked){f=f+(" protyle-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BE.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BE.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BE.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BE.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BE.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CN.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BE.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BE.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BE.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BE.ptr.prototype.Render=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;$s=-1;return a;}return;}var $f={$blk:BE.ptr.prototype.Render,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.Render=function(){return this.$val.Render();};BJ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BI.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BJ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleExportMdRenderer=BJ;BI.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BI.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BI.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.ContainTextMarkTypes(new CJ(["strong","em","s"]))&&!a.IsTextMarkType("inline-math");if(b){$s=1;continue;}$s=2;continue;case 1:e=c.renderMdMarker(a,b);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!a.IsTextMarkType("a")&&!a.IsTextMarkType("inline-memo")&&!a.IsTextMarkType("block-ref")&&!a.IsTextMarkType("file-annotation-ref")&&!a.IsTextMarkType("inline-math")){$s=5;continue;}$s=6;continue;case 5:g=a.TextMarkTextContent;if(a.IsTextMarkType("code")){$s=8;continue;}$s=9;continue;case 8:g=G.UnescapeString(g);if(a.ParentIs(109,CN.nil)){$s=10;continue;}$s=11;continue;case 10:h=I.RepeatBackslashBeforePipe(g);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:case 9:if(d){$s=13;continue;}$s=14;continue;case 13:i=E.DecodeRuneInString(g);j=i[0];k=I.IsUnicodeWhitespace(j);l=D.IsPunct(j)||D.IsSymbol(j);if(k||l){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(32);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:$r=c.BaseRenderer.WriteString(f);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$s=3;continue;case 2:m=c.renderMdMarker(a,b);$s=21;case 21:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.WriteString(n);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=23;continue;}$s=24;continue;case 23:if(530===a.Next.Type){$s=25;continue;}$s=26;continue;case 25:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=27;continue;case 26:if(d){$s=29;continue;}$s=30;continue;case 29:o=a.TextMarkTextContent;p=E.DecodeLastRuneInString(o);q=p[0];r=I.IsUnicodeWhitespace(q);s=D.IsPunct(q)||D.IsSymbol(q);if(r||s){$s=31;continue;}$s=32;continue;case 31:$r=c.BaseRenderer.WriteByte(32);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 32:case 30:case 27:case 24:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};BI.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BI.ptr.prototype.renderMdMarker=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c="";d=this;e=C.Split(a.TextMarkType," ");if(1===e.$length){$s=1;continue;}$s=2;continue;case 1:f=d.renderMdMarker0(a,(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]),b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}c=f;g=c;$s=4;case 4:return g;case 2:h=CJ.nil;i="";j=e;k=0;while(true){if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if("a"===m||"inline-memo"===m||"block-ref"===m||"file-annotation-ref"===m||"inline-math"===m){h=$append(h,m);e=$appendSlice($subslice(e,0,l),$subslice(e,(l+1>>0)));break;}if("code"===m){i=m;e=$appendSlice($subslice(e,0,l),$subslice(e,(l+1>>0)));break;}k++;}e=$appendSlice(h,e);if(!(""===i)){e=$append(e,i);}n=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if("a"===n||"inline-memo"===n||"block-ref"===n||"file-annotation-ref"===n||"inline-math"===n){$s=5;continue;}$s=6;continue;case 5:o=$subslice(e,1);if(b){$s=8;continue;}$s=9;continue;case 8:p=o;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);if(!("code"===r)){c=c+(d.renderMdMarker1(a,r,b));}q++;}s=n;if(s===("a")){$s=12;continue;}if(s===("block-ref")){$s=13;continue;}if(s===("file-annotation-ref")){$s=14;continue;}if(s===("inline-memo")){$s=15;continue;}if(s===("inline-math")){$s=16;continue;}$s=17;continue;case 12:t=a.TextMarkAHref;t=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(t))))));t=G.UnescapeHTMLStr(t);t=d.BaseRenderer.EncodeLinkSpace(t);c=c+("[");u=o;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if("code"===w){c=c+(d.renderMdMarker1(a,w,b));}v++;}$s=-1;return c;case 13:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){c=c+(" \""+a.TextMarkTextContent+"\"");}else{c=c+(" '"+a.TextMarkTextContent+"'");}c=c+("))");$s=17;continue;case 14:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("<<"+a.TextMarkFileAnnotationRefID);c=c+(" \""+a.TextMarkTextContent+"\"");c=c+(">>");$s=17;continue;case 15:c=c+(a.TextMarkTextContent);if(a.IsNextSameInlineMemo()){$s=-1;return c;}x=a.TextMarkInlineMemoContent;x=C.ReplaceAll(x,"_esc_newline_"," ");y=E.DecodeLastRuneInString(a.TextMarkTextContent);z=y[0];if(AB(z)){c=c+("\xEF\xBC\x88"+x+"\xEF\xBC\x89");}else{c=c+("("+x+")");}$s=17;continue;case 16:aa=a.TextMarkInlineMathContent;if(a.ParentIs(109,CN.nil)){$s=18;continue;}$s=19;continue;case 18:ab=I.RepeatBackslashBeforePipe(aa);$s=20;case 20:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;aa=C.ReplaceAll(aa,"\n","
    ");case 19:aa=C.ReplaceAll(aa,"_esc_newline_"," ");c=c+("$"+aa+"$");case 17:case 11:$s=10;continue;case 9:ac=n;if(ac===("a")){ad=a.TextMarkAHref;ad=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(ad))))));ad=G.UnescapeHTMLStr(ad);ad=d.BaseRenderer.EncodeLinkSpace(ad);c=c+(($bytesToString(I.EscapeProtyleMarkers((new CI($stringToBytes(a.TextMarkTextContent)))))));ae=o;af=0;while(true){if(!(af=ae.$length)?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+af]);if("code"===ag){c=c+(d.renderMdMarker1(a,ag,b));}af++;}c=c+("]("+ad);if(!(""===a.TextMarkATitle)){c=c+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}c=c+(")");}ah=o;ai=0;while(true){if(!(ai=ah.$length)?($throwRuntimeError("index out of range"),undefined):ah.$array[ah.$offset+ai]);if(!("code"===aj)){c=c+(d.renderMdMarker1(a,aj,b));}ai++;}case 10:$s=7;continue;case 6:if(!b){BK(e);}ak=e;al=0;while(true){if(!(al=ak.$length)?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+al]);c=c+(d.renderMdMarker1(a,an,b));if(b){if(!(""===i)&&((e.$length-2>>0)===am)){c=c+("\xE2\x80\x8B");}}if(!b){if(!(""===i)&&(0===am)){c=c+("\xE2\x80\x8B");}}al++;}case 7:$s=-1;return c;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderMdMarker=function(a,b){return this.$val.renderMdMarker(a,b);};BK=function(a){var a,b,c,d,e,f,g,h;b=a.$length-1>>0;c=0;while(true){if(!(c<(d=a.$length/2,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError("integer divide by zero")))){break;}e=(f=b-c>>0,((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]));g=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]=e);(h=b-c>>0,((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]=g));c=c+(1)>>0;}};BI.ptr.prototype.renderMdMarker0=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=b;if(f===("a")){$s=2;continue;}if(f===("block-ref")){$s=3;continue;}if(f===("file-annotation-ref")){$s=4;continue;}if(f===("inline-memo")){$s=5;continue;}if(f===("inline-math")){$s=6;continue;}$s=7;continue;case 2:g=a.TextMarkAHref;g=($bytesToString(e.BaseRenderer.LinkPath((new CI($stringToBytes(g))))));g=G.UnescapeHTMLStr(g);g=e.BaseRenderer.EncodeLinkSpace(g);if(c){d=d+("["+a.TextMarkTextContent+"]("+g);if(!(""===a.TextMarkATitle)){d=d+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}d=d+(")");}$s=8;continue;case 3:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){d=d+(" \""+a.TextMarkTextContent+"\"");}else{d=d+(" '"+a.TextMarkTextContent+"'");}d=d+("))");}$s=8;continue;case 4:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("<<"+a.TextMarkFileAnnotationRefID);d=d+(" \""+a.TextMarkTextContent+"\"");d=d+(">>");}$s=8;continue;case 5:if(c){d=d+(a.TextMarkTextContent);if(a.IsNextSameInlineMemo()){$s=-1;return d;}h=a.TextMarkInlineMemoContent;h=C.ReplaceAll(h,"_esc_newline_"," ");i=E.DecodeLastRuneInString(a.TextMarkTextContent);j=i[0];if(AB(j)){d=d+("\xEF\xBC\x88"+h+"\xEF\xBC\x89");}else{d=d+("("+h+")");}}$s=8;continue;case 6:if(c){$s=9;continue;}$s=10;continue;case 9:k=a.TextMarkInlineMathContent;if(a.ParentIs(109,CN.nil)){$s=12;continue;}$s=13;continue;case 12:l=I.RepeatBackslashBeforePipe(k);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;k=C.ReplaceAll(k,"\n","
    ");case 13:k=C.ReplaceAll(k,"_esc_newline_"," ");d=d+("$"+k);$s=11;continue;case 10:d=d+("$");case 11:$s=8;continue;case 7:d=d+(e.renderMdMarker1(a,b,c));case 8:case 1:$s=-1;return d;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BI.prototype.renderMdMarker0=function(a,b,c){return this.$val.renderMdMarker0(a,b,c);};BI.ptr.prototype.renderMdMarker1=function(a,b,c){var a,b,c,d,e,f;d="";e=this;f=b;if(f===("strong")){d=d+("**");}else if(f===("em")){d=d+("*");}else if(f===("code")){d=d+("`");}else if(f===("tag")){d=d+("#");}else if(f===("s")){d=d+("~~");}else if(f===("mark")){d=d+("==");}else if(f===("u")){if(c){d=d+("");}else{d=d+("");}}else if(f===("sup")){if(c){d=d+("");}else{d=d+("");}}else if(f===("sub")){if(c){d=d+("");}else{d=d+("");}}else if(f===("kbd")){if(c){d=d+("");}else{d=d+("");}}return d;};BI.prototype.renderMdMarker1=function(a,b,c){return this.$val.renderMdMarker1(a,b,c);};BI.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BI.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BI.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BI.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BI.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BI.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BI.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BI.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BI.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BI.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BI.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BI.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BI.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BI.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BI.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BI.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BI.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BI.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BI.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BI.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BI.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BI.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BI.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BI.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BI.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BI.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BI.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BI.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BI.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BI.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BI.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BI.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BI.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BI.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BI.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BI.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BI.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BI.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BI.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BI.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BI.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BI.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BI.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BI.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BI.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BI.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BI.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BI.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BI.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BI.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BI.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BI.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BI.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BI.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BI.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BI.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BI.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};BI.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BI.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BI.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BI.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BI.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BI.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BI.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BI.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BI.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CO([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BI.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BI.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BI.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BI.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BI.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BI.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);d=(new CI($stringToBytes(c.BaseRenderer.EncodeLinkSpace(($bytesToString(d))))));$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BI.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BI.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BI.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BI.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BI.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BI.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BI.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BI.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BI.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BI.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BI.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BI.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BI.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BI.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BI.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BI.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BI.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.ChineseParagraphBeginningSpace&&(0===a.Parent.Type)){$s=4;continue;}$s=5;continue;case 4:d=c.BaseRenderer.ParagraphContainImgOnly(a);$s=8;case 8:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(!d){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE3\x80\x80\xE3\x80\x80");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 5:$s=3;continue;case 2:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=10;continue;}$s=11;continue;case 10:e=A.TrimSpace(a.FirstChild.Tokens);$s=12;case 12:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}a.FirstChild.Tokens=e;case 11:if(a.ParentIs(109,CN.nil)){$s=13;continue;}$s=14;continue;case 13:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteString("

    ");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=-1;return 2;case 14:if(c.withoutKramdownBlockIAL(a)){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.Newline();$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:f=false;g=false;h=a.Parent;if(!(CM.nil===h)){if(8===h.Type){i=h;if(!(CM.nil===i.Parent)&&!(CP.nil===i.Parent.ListData)){f=i.Parent.ListData.Tight;j=i.Next;if(CM.nil===j){k=a.Next;g=CM.nil===k;}}else{f=true;}}}if(!f||(g)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteByte(10);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BI.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BI.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CP.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BI.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BI.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BI.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BI.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1");case 4:e=C.ReplaceAll(e,"_esc_newline_"," ");$r=c.BaseRenderer.WriteString(e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BI.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BI.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(36);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.UnescapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BI.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BI.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=2;continue;}$s=3;continue;case 2:if(c.withoutKramdownBlockIAL(a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BI.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a.Parent)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BI.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;e=a.Parent.ChildByType(14);if(!(CM.nil===e)&&BA(($bytesToString(e.CodeBlockInfo)))){d=G.UnescapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BI.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BI.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BI.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=11;continue;}$s=12;continue;case 11:if(c.withoutKramdownBlockIAL(a)){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(10);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 12:$s=-1;return 1;case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BI.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BI.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BI.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BI.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BI.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BI.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BI.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BI.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BI.ptr.prototype.renderBlockquote=function(a,b){var{a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CN.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BI.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BI.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CN.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BI.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BI.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BI.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CN.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BI.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BI.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();if(A.HasPrefix(k,(new CI($stringToBytes("* "))))){k=$appendSlice((new CI($stringToBytes(" \n\n"))),k);}l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CN.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BI.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BI.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CN.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BI.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CN.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BI.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BI.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};BI.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};BN=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(K.StrToBytes(a));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=K.BytesToStr(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BN,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmapStr=BN;BO=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=G.EncodeDestination(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BO,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmap=BO;BP=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];a=A.ReplaceAll(a,F.CaretTokens,CI.nil);c=J.Parse("",a,J.NewOptions());$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(CM.nil===d.Root.FirstChild||!((7===d.Root.FirstChild.Type))){$s=-1;return(new CI($stringToBytes("{}")));}e=CO.nil;f=d.Root.FirstChild;while(true){if(!(!(CM.nil===f))){break;}if(!((7===f.Type))){e=$append(e,f);}f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(d.Root,(function(b){return function $b(j,k){var{j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{j,k});$s=$s||0;s:while(true){switch($s){case 0:l=j.Type;if(l===(0)){$s=2;continue;}if(l===(7)){$s=3;continue;}if(l===(8)){$s=4;continue;}$s=5;continue;case 2:if(k){$s=7;continue;}$s=8;continue;case 7:if(BR(j)){$s=10;continue;}$s=11;continue;case 10:m=b[0].WriteString("{\"name\": \"Root\", \"children\": [");$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 11:$s=9;continue;case 8:if(BR(j)){$s=13;continue;}$s=14;continue;case 13:n=b[0].WriteString("]}");$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 14:case 9:$s=-1;return 2;case 3:$s=-1;return 2;case 4:o=!(CM.nil===j.ChildByType(7));if(k){$s=16;continue;}$s=17;continue;case 16:p=BQ(j.FirstChild);$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=b[0].WriteString("{\"name\": \""+p+"\"");$s=20;case 20:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o){$s=21;continue;}$s=22;continue;case 21:r=b[0].WriteString(", \"children\": [");$s=23;case 23:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 22:$s=18;continue;case 17:if(o){$s=24;continue;}$s=25;continue;case 24:s=b[0].WriteString("]");$s=26;case 26:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 25:t=b[0].WriteString("}");$s=27;case 27:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;if(!(CM.nil===j.Next)||!(CM.nil===j.Parent.Next)){$s=28;continue;}$s=29;continue;case 28:u=b[0].WriteString(", ");$s=30;case 30:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;case 29:case 18:$s=6;continue;case 5:$s=-1;return 2;case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};})(b));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0].Bytes();}return;}var $f={$blk:BP,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BQ=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c="";if(CM.nil===a){c="";$s=-1;return c;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(d,e){var{d,e,f,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if((7===d.Type)||(8===d.Type)){$s=-1;return 2;}if(((16===d.Type)||(40===d.Type))&&e){$s=1;continue;}$s=2;continue;case 1:f=b[0].Write(d.Tokens);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();c=C.ReplaceAll(c,"\\","\\\\");c=C.ReplaceAll(c,"\"","\\\"");c=C.ReplaceAll(c,"\xE2\x80\xB8","");$s=-1;return c;}return;}var $f={$blk:BQ,$c:true,$r,a,b,c,$s};return $f;};BR=function(a){var a,b,c,d;b=0;c=a.FirstChild;while(true){if(!(!(CM.nil===c))){break;}if(7===c.Type){b=b+(1)>>0;}c=c.Next;}if(1>0;}d=d.Next;}if(1a.$length){return true;}if(47===(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])){return false;}return!A.Contains(a,(new CI($stringToBytes(":/"))))&&!A.Contains(a,(new CI($stringToBytes(":\\"))))&&!A.Contains(a,(new CI($stringToBytes(":%5C"))));};AQ.prototype.isRelativePath=function(a){return this.$val.isRelativePath(a);};BT=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BS.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderCodeBlock")});h=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderMathBlock")});i=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderBlockquote")});j=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderSuperBlock")});k=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderHeading")});l=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderList")});m=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderListItem")});n=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderThematicBreak")});o=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHTML")});p=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderTable")});q=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderToC")});r=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderYamlFrontMatter")});s=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderBlockQueryEmbed")});t=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderKramdownBlockIAL")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:BT,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$pkg.NewKityMinderJSONRenderer=BT;BS.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};BS.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};BS.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BS.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BS.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BS.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BS.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BS.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BS.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){if(a.Parent.FirstChild===a&&a.Parent.LastChild===a){$s=-1;return 2;}}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BS.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BS.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BS.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BS.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;while(true){if(!(!(CM.nil===d))){break;}d.Unlink();d=d.Next;}e=BU(a);f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);a.AppendChild(h);g++;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BS.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BS.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BS.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BS.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BS.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BS.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 1;};BS.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BS.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"root\":");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BS.ptr.prototype.data=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=this;$r=c.BaseRenderer.WriteString("\"data\":");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.Type;if(e===(0)){$s=4;continue;}if(e===(7)){$s=5;continue;}if(e===(5)){$s=6;continue;}if(e===(475)){$s=7;continue;}$s=8;continue;case 4:d=c.BaseRenderer.Tree.Name;$s=9;continue;case 5:if(0===a.ListData.Typ){$s=10;continue;}if(1===a.ListData.Typ){$s=11;continue;}$s=12;continue;case 10:$r=c.BaseRenderer.WriteString("\"priority\": \"iconList\",");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 11:$r=c.BaseRenderer.WriteString("\"priority\": \"iconOrderedList\",");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\"priority\": \"iconCheck\",");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=9;continue;case 6:$r=c.BaseRenderer.WriteString("\"priority\": \"iconQuote\",");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 7:$r=c.BaseRenderer.WriteString("\"priority\": \"iconSuper\",");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(f,g){var{f,g,h,i,j,$s,$r,$c}=$restore(this,{f,g});$s=$s||0;s:while(true){switch($s){case 0:if(!g){$s=-1;return 2;}if(460===f.Type){$s=1;continue;}$s=2;continue;case 1:h=f.Text();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=b[0].WriteString("#"+h+"#");$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return 1;case 2:if((16===f.Type)||(40===f.Type)||(433===f.Type)||(434===f.Type)||(29===f.Type)||(15===f.Type)||(42===f.Type)||(302===f.Type)||(306===f.Type)||(427===f.Type)){$s=5;continue;}$s=6;continue;case 5:j=b[0].Write(f.Tokens);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,f,g,h,i,j,$s};return $f;};})(b));$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=b[0].String();case 9:case 3:f=C.NewReplacer(new CJ(["\\","","\n","","\"","","\t","","'",""]));g=f.Replace(d);$s=20;case 20:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}d=g;d=C.ReplaceAll(d,"'","");if(16=e.HeadingLevel){break;}}if(455===e.Type){if(!A.Contains(e.Tokens,(new CI($stringToBytes("type=\"doc\""))))){b=$append(b,e);}}else{b=$append(b,e);}e=e.Next;}return b;};BW=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=CO.nil;$r=H.Walk(a.Root,(function(c){return function(d,e){var d,e;if(!e){return 2;}if(455===d.Type){c[0]=$append(c[0],d);}return 2;};})(c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c[0];e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);f.Unlink();e++;}g=AR(a,b);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new BV.ptr(g);h.BaseRenderer.DefaultRendererFunc=$methodVal(h,"renderNode");$s=-1;return h;}return;}var $f={$blk:BW,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};$pkg.NewJSONRenderer=BW;BV.ptr.prototype.renderNode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(",");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:d=K.BytesToStr(a.Tokens);e=new H.NodeType(a.Type).String();a.Data=d;a.TypeStr=e;a.Properties=BX(a.KramdownIAL);$mapDelete(a.Properties,$String.keyFor("refcount"));$mapDelete(a.Properties,$String.keyFor("av-names"));g=M.Marshal(a);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j="";k="";a.Data=j;a.TypeStr=k;a.Properties=false;if(!($interfaceIsEqual($ifaceNil,i))){$s=8;continue;}$s=9;continue;case 8:l=i.Error();$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$panic(new $String("marshal node to json failed: "+l));$s=-1;return 0;case 9:m=K.BytesToStr(h);m=$substring(m,0,(m.length-1>>0));$r=c.BaseRenderer.WriteString(m);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.FirstChild)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(",\"Children\":[");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString("}");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$s=3;continue;case 2:if(!(CM.nil===a.FirstChild)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(93);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("}");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BV.ptr.prototype.renderNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BV.prototype.renderNode=function(a,b){return this.$val.renderNode(a,b);};BX=function(a){var a,b,c,d,e,f;b=false;b=$makeMap($String.keyFor,[]);c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);(b||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])});d++;}return b;};BZ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BY.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BZ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewHtmlRenderer=BZ;BY.ptr.prototype.Render=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;d=a;e=b.RenderFootnotes();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;a=$appendSlice(d,f);$s=-1;return a;}return;}var $f={$blk:BY.ptr.prototype.Render,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.Render=function(){return this.$val.Render();};BY.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BY.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BY.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CN.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(a.TextMarkInlineMemoContent);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BY.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BY.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BY.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BY.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BY.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BY.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BY.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BY.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BY.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BY.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BY.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BY.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BY.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BY.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BY.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BY.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BY.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BY.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BY.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BY.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BY.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BY.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BY.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BY.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BY.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BY.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BY.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BY.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BY.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BY.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BY.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BY.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BY.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BY.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BY.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BY.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BY.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BY.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BY.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BY.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BY.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BY.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BY.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BY.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BY.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BY.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BY.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BY.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BY.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BY.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BY.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BY.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BY.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BY.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BY.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BY.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BY.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BY.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BY.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BY.ptr.prototype.RenderFootnotes=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(1>a.BaseRenderer.FootnotesDefs.$length){$s=-1;return CI.nil;}b=new A.Buffer.ptr(CI.nil,0,0);c=b.WriteString("
    ");$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;d=b.WriteString("
    \n");$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=b.WriteString("
      ");$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=a.BaseRenderer.FootnotesDefs;g=0;case 4:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=b.WriteString("
    1. >0)+"\">");$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=new J.Tree.ptr(CM.nil,a.BaseRenderer.Tree.Context,DF.nil,DG.nil,"","","","","",CJ.nil,new $Int64(0,0),new $Int64(0,0),"");k.Context.Tree=k;k.Root=new H.Node.ptr("","","","",0,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CO.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CP.nil,false,CQ.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CO.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");k.Root.AppendChild(i);l=BZ(k,a.BaseRenderer.Options);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=k.Root.LastDeepestChild();h=i.FootnotesRefs.$length-1>>0;while(true){if(!(0<=h)){break;}p=(o=i.FootnotesRefs,((h<0||h>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+h]));q=" \xE2\x86\xA9";r=new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CO.nil,K.StrToBytes(q),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CP.nil,false,CQ.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CO.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");n.InsertAfter(r);h=h-(1)>>0;}m.BaseRenderer.RenderingFootnotes=true;s=m.Render();$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=b.Write(t);$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=b.WriteString("
    2. \n");$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;g++;$s=4;continue;case 5:w=b.WriteString("
    ");$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return b.Bytes();}return;}var $f={$blk:BY.ptr.prototype.RenderFootnotes,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BY.prototype.RenderFootnotes=function(){return this.$val.RenderFootnotes();};BY.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c,d,e,f,g;c=this;if(b){if(!c.BaseRenderer.RenderingFootnotes){d=false;e=c.BaseRenderer.FootnotesDefs;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(A.EqualFold(a.Tokens,g.Tokens)){d=true;break;}f++;}if(!d){c.BaseRenderer.FootnotesDefs=$append(c.BaseRenderer.FootnotesDefs,a);}return 1;}}return 2;};BY.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BY.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BY.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BY.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BY.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BY.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BY.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BY.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BY.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BY.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(a.ParentIs(109,CN.nil)){d=A.ReplaceAll(d,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BY.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","language-math"])]);$r=c.BaseRenderer.Tag("span",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BY.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BY.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BY.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BY.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BY.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-math"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BY.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BY.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BY.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BY.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.handleKramdownBlockIAL(a);$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BY.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BY.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BY.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BY.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BY.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BY.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BY.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BY.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BY.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BY.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BY.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BY.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BY.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BY.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BY.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BY.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BY.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=a.IALAttr("parent-style");if(!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["style",d])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("\"");$s=14;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(34);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=a.ChildByType(42);if(!(CM.nil===f)&&!(CI.nil===f.Tokens)){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" title=\"");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(f.Tokens));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:g=c.BaseRenderer.NodeAttrsStr(a);if(!(""===g)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString(" "+g);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString(" />");$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.IALAttr("style");if(!(""===h)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=c.BaseRenderer.Writer.Bytes();j=A.LastIndex(i,(new CI($stringToBytes("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BY.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BY.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]))+"\"");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:if(1=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);$r=c.BaseRenderer.WriteString(" "+(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])+"=\""+(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])+"\"");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k++;$s=17;continue;case 18:case 16:case 11:case 8:$r=c.BaseRenderer.WriteString(">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:m=AT(a);$s=23;case 23:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+n]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+n])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};BY.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BY.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BY.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BY.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}d.handleKramdownBlockIAL(a);c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BY.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(""===c.BaseRenderer.Options.GFMTaskListItemClass)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f=c.BaseRenderer.Options.GFMTaskListItemClass;if(e.TaskListItemChecked){f=f+(" vditor-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BY.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BY.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BY.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BY.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BY.ptr.prototype.handleKramdownBlockIAL=function(a){var a,b,c,d;b=this;if(b.BaseRenderer.Options.KramdownBlockIAL&&!("id"===b.BaseRenderer.Options.KramdownIALIDRenderName)&&0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=b.BaseRenderer.Options.KramdownIALIDRenderName));}};BY.prototype.handleKramdownBlockIAL=function(a){return this.$val.handleKramdownBlockIAL(a);};BY.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CN.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BY.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BY.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BY.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};CB=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CA.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:CB,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewFormatRenderer=CB;CA.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};CA.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};CA.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(c.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:d=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=10;continue;}$s=11;continue;case 10:f=E.DecodeLastRuneInString(e);g=f[0];if("\xE2\x80\x8B"===($encodeRune(g))){e=C.TrimSuffix(e,"\xE2\x80\x8B");h=E.DecodeLastRuneInString(e);g=h[0];}if(D.IsLetter(g)||D.IsDigit(g)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:i=c.renderTextMarkAttrs(a);$r=c.BaseRenderer.Tag("span",i,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkTextContent;if(a.ParentIs(109,CN.nil)){j=C.ReplaceAll(j,"\\|","|");j=C.ReplaceAll(j,"|","\\|");j=C.ReplaceAll(j,"\n","
    ");if(C.Contains(a.TextMarkType,"code")){j=C.ReplaceAll(j,"
    ","");}}if(c.BaseRenderer.Options.AutoSpace&&!J.ContainTextMark(a,new CJ(["block-ref","code","inline-math","kbd","tag"]))){j=($bytesToString(c.BaseRenderer.Space((new CI($stringToBytes(j))))));}$r=c.BaseRenderer.WriteString(j);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=19;continue;}$s=20;continue;case 19:if(c.BaseRenderer.Options.AutoSpace){$s=22;continue;}$s=23;continue;case 22:k=a.NextNodeText();$s=24;case 24:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!(""===l)){$s=25;continue;}$s=26;continue;case 25:m=E.DecodeRuneInString(l);n=m[0];if("\xE2\x80\x8B"===($encodeRune(n))){l=C.TrimPrefix(l,"\xE2\x80\x8B");o=E.DecodeRuneInString(l);n=o[0];}if(D.IsLetter(n)||D.IsDigit(n)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteByte(32);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:case 26:case 23:$s=21;continue;case 20:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CA.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};CA.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CN.nil)){h=C.ReplaceAll(h,"\\|","|");h=C.ReplaceAll(h,"|","\\|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=a.TextMarkATitle;if(a.ParentIs(109,CN.nil)){i=C.ReplaceAll(i,"\\|","|");i=C.ReplaceAll(i,"|","\\|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CN.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=G.EscapeHTMLStr(j);b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};CA.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};CA.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};CA.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};CA.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};CA.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};CA.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};CA.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};CA.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};CA.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};CA.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};CA.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};CA.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};CA.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};CA.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};CA.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};CA.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};CA.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};CA.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};CA.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};CA.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};CA.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};CA.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};CA.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};CA.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};CA.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};CA.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CA.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:d=a.Previous;if(!(CM.nil===d)&&J.ContainTextMark(d,new CJ(["code","inline-math","kbd"]))){$s=5;continue;}$s=6;continue;case 5:e=a.NextNodeText();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!(""===f)){$s=8;continue;}$s=9;continue;case 8:g=E.DecodeRuneInString(f);h=g[0];if("\xE2\x80\x8B"===($encodeRune(h))){f=C.TrimPrefix(f,"\xE2\x80\x8B");i=E.DecodeRuneInString(f);h=i[0];}if(D.IsLetter(h)||D.IsDigit(h)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(32);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 6:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};CA.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CA.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CA.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};CA.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};CA.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};CA.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};CA.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CA.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};CA.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};CA.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CA.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};CA.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};CA.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};CA.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CA.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CA.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};CA.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};CA.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};CA.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};CA.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CA.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};CA.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};CA.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};CA.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};CA.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CA.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CA.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CA.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CA.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CA.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CA.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};CA.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};CA.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CA.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CA.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CA.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CA.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CA.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};CA.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CA.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CA.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CO([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};CA.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CA.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CA.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};CA.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};CA.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};CA.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};CA.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};CA.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};CA.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};CA.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};CA.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};CA.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};CA.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};CA.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};CA.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};CA.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};CA.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};CA.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CA.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CA.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CA.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CA.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CA.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=3;continue;}$s=4;continue;case 3:d=A.TrimSpace(a.FirstChild.Tokens);$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 4:if(a.ParentIs(109,CN.nil)){$s=6;continue;}$s=7;continue;case 6:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("

    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 2;case 7:if(c.withoutKramdownBlockIAL(a)){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.Newline();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CP.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=14;continue;}$s=15;continue;case 14:if(c.withoutKramdownBlockIAL(a)){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:case 15:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};CA.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CA.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CP.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};CA.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};CA.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};CA.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};CA.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CN.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};CA.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};CA.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CN.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CA.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};CA.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};CA.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CN.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CA.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CA.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CN.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CA.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CA.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CN.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CA.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CN.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CA.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CA.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};CA.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};CH=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CG.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeBlock")});j=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderMathBlock")});k=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderInlineMath")});l=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderEmphasis")});m=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderStrong")});n=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderBlockquote")});o=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHeading")});p=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderList")});q=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderListItem")});r=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderThematicBreak")});s=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderHardBreak")});t=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderSoftBreak")});u=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderHTML")});v=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineHTML")});w=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderLink")});x=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderImage")});y=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderStrikethrough")});z=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderTaskListItemMarker")});aa=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderTable")});ab=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderTableHead")});ac=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderTableRow")});ad=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderTableCell")});ae=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderEmoji")});af=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderEmojiUnicode")});ag=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderEmojiImg")});ah=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderEmojiAlias")});ai=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderFootnotesDef")});aj=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderFootnotesRef")});ak=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderToC")});al=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderBackslash")});am=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderBackslashContent")});an=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderHtmlEntity")});ao=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderYamlFrontMatter")});ap=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderBlockRef")});aq=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderFileAnnotationRef")});ar=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderMark")});as=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderSup")});at=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderSub")});au=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderKramdownBlockIAL")});av=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderKramdownSpanIAL")});aw=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBlockQueryEmbed")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:CH,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewEChartsJSONRenderer=CH;CG.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(K.IsDocIAL(a.Tokens)){e=c.BaseRenderer.Tree.ID;}$r=c.leaf("Block IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CG.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.leaf("Span IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CG.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Mark\nmark",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CG.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sup\nsup",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CG.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sub\nsub",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CG.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockQueryEmbed\n{{script}}",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CG.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockRef\n((id))",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CG.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("FileAnnotationRef\n<>",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CG.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};CG.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Front Matter\nYAML",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CG.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Entity\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CG.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CG.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Blackslash\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CG.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("ToC\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CG.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Footnotes Ref\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CG.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Footnotes Def\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CG.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline Math\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};CG.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Math Block\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};CG.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Img\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CG.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Unicode\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CG.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CG.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CG.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Cell\ntd",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CG.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Row\ntr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CG.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Head\nthead",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};CG.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Table\ntable",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CG.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Strikethrough\ndel",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CG.ptr.prototype.renderImage=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Image\nimg",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderImage,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CG.ptr.prototype.renderLink=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Link\na",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderLink,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CG.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Block\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CG.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline HTML\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CG.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Document",a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CG.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Paragraph\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CG.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=0;f="";g=d;h=0;while(true){if(!(h>0;f=f+(($encodeRune(j)));if(4>0));$r=c.val("Heading\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CG.ptr.prototype.renderList=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}$r=c.val("List\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderList,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CG.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("List Item\nli "+K.BytesToStr(a.ListData.Marker),a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CG.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=" ";if(a.TaskListItemChecked){d="X";}$r=c.val("Task List Item Marker\n["+d+"]",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CG.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Thematic Break\nhr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CG.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Hard Break\nbr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CG.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Soft Break\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CG.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Code Block\npre.code",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};CG.ptr.prototype.leaf=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.openObj();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(b);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.leaf,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.leaf=function(a,b){return this.$val.leaf(a,b);};CG.ptr.prototype.val=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;a=C.ReplaceAll(a,"\\","\\\\");a=C.ReplaceAll(a,"\n","\\n");a=C.ReplaceAll(a,"\"","");a=C.ReplaceAll(a,"'","");$r=c.BaseRenderer.WriteString("\"name\":\""+a+"\"");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.val,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.val=function(a,b){return this.$val.val(a,b);};CG.ptr.prototype.openObj=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteByte(123);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openObj,$c:true,$r,a,$s};return $f;};CG.prototype.openObj=function(){return this.$val.openObj();};CG.ptr.prototype.closeObj=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.BaseRenderer.WriteByte(125);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b.ignore(a.Next)){$s=2;continue;}$s=3;continue;case 2:$r=b.comma();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeObj,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeObj=function(a){return this.$val.closeObj(a);};CG.ptr.prototype.openChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteString(",\"children\":[");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.openChildren=function(a){return this.$val.openChildren(a);};CG.ptr.prototype.closeChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeChildren=function(a){return this.$val.closeChildren(a);};CG.ptr.prototype.comma=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteString(",");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.comma,$c:true,$r,a,$s};return $f;};CG.prototype.comma=function(){return this.$val.comma();};CG.ptr.prototype.ignore=function(a){var a,b;b=this;return CM.nil===a||(6===a.Type)||(18===a.Type)||(19===a.Type)||(20===a.Type)||(21===a.Type)||(23===a.Type)||(24===a.Type)||(25===a.Type)||(26===a.Type)||(102===a.Type)||(103===a.Type)||(104===a.Type)||(105===a.Type)||(301===a.Type)||(302===a.Type)||(303===a.Type)||(305===a.Type)||(306===a.Type)||(307===a.Type)||(426===a.Type)||(428===a.Type)||(427===a.Type);};CG.prototype.ignore=function(a){return this.$val.ignore(a);};BY.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=2;continue;}$s=3;continue;case 2:if(b){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.FirstChild.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 5:$s=-1;return 2;case 6:case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BY.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="";if(0=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])));}f=BA(d);if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=CL.nil;c.handleKramdownBlockIAL(a);g=$appendSlice(g,a.KramdownIAL);if(!f){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("pre",g,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:h=a.Tokens;if(0");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:if(f){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString("
    ");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 13:h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=3;continue;case 2:if(f){$s=26;continue;}$s=27;continue;case 26:$r=c.BaseRenderer.WriteString("
    ");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:$r=c.BaseRenderer.Newline();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BY.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};DH.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DI.methods=[{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"inListItem",name:"inListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"popWriteClass",name:"popWriteClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"popWriter",name:"popWriter",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderClass",name:"renderClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"domAttrValue",name:"domAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String],[$String],false)},{prop:"domSetAttrValue",name:"domSetAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String,$String],[],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DJ.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"tagMatchClose",name:"tagMatchClose",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"tagMatchOpen",name:"tagMatchOpen",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSpanNode",name:"renderSpanNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderDivNode",name:"renderDivNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DK.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI,CJ],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CK.methods=[{prop:"FixTermTypo",name:"FixTermTypo",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"fixTermTypo0",name:"fixTermTypo0",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"TextAutoSpacePrevious",name:"TextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"TextAutoSpaceNext",name:"TextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpacePrevious",name:"LinkTextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpaceNext",name:"LinkTextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC0",name:"renderToC0",pkg:"github.com/88250/lute/render",typ:$funcType([DB],[],false)},{prop:"Tag",name:"Tag",pkg:"",typ:$funcType([$String,CL,$Bool],[],false)},{prop:"headings",name:"headings",pkg:"github.com/88250/lute/render",typ:$funcType([],[DC],false)},{prop:"setextHeadingLen",name:"setextHeadingLen",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Int],false)},{prop:"renderListStyle",name:"renderListStyle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"tagSrc",name:"tagSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"tagSrcPath",name:"tagSrcPath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"isLastNode",name:"isLastNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CM],[$Bool],false)},{prop:"NodeID",name:"NodeID",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"NodeAttrs",name:"NodeAttrs",pkg:"",typ:$funcType([CM],[CL],false)},{prop:"NodeAttrsStr",name:"NodeAttrsStr",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"ParagraphContainImgOnly",name:"ParagraphContainImgOnly",pkg:"",typ:$funcType([CM],[$Bool],false)},{prop:"EncodeLinkSpace",name:"EncodeLinkSpace",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LinkPath",name:"LinkPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"PrefixPath",name:"PrefixPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"RelativePath",name:"RelativePath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"isRelativePath",name:"isRelativePath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[$Bool],false)}];DO.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"replaceSrc",name:"replaceSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI,CI,CI],[CI],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"escapeRefText",name:"escapeRefText",pkg:"github.com/88250/lute/render",typ:$funcType([$String],[$String],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"blockNodeAttrs",name:"blockNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeClass",name:"nodeClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeDataType",name:"nodeDataType",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeID",name:"nodeID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeIndex",name:"nodeIndex",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"spellcheck",name:"spellcheck",pkg:"github.com/88250/lute/render",typ:$funcType([CR],[],false)},{prop:"contenteditable",name:"contenteditable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderIAL",name:"renderIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)}];DP.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"escapeRefText",name:"escapeRefText",pkg:"github.com/88250/lute/render",typ:$funcType([$String],[$String],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)}];DR.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMdMarker",name:"renderMdMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[$String],false)},{prop:"renderMdMarker0",name:"renderMdMarker0",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderMdMarker1",name:"renderMdMarker1",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DT.methods=[{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"data",name:"data",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)}];DU.methods=[{prop:"renderNode",name:"renderNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DV.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"RenderFootnotes",name:"RenderFootnotes",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"handleKramdownBlockIAL",name:"handleKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CX.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DW.methods=[{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"leaf",name:"leaf",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"val",name:"val",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"ignore",name:"ignore",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];N.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"commentStackDepth",name:"commentStackDepth",embedded:false,exported:false,typ:$Int,tag:""}]);P.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"nodeWriterStack",name:"nodeWriterStack",embedded:false,exported:false,typ:CT,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:CI,tag:""}]);R.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);T.init("github.com/88250/lute/render",[{prop:"FormatRenderer",name:"FormatRenderer",embedded:true,exported:true,typ:CX,tag:""},{prop:"linkPrefixes",name:"linkPrefixes",embedded:false,exported:false,typ:CJ,tag:""},{prop:"originalLink",name:"originalLink",embedded:false,exported:false,typ:CJ,tag:""}]);AL.init([CM,$Bool],[H.WalkStatus],false);AM.init([CM,$Bool],[$String,H.WalkStatus],false);AO.init("",[{prop:"SoftBreak2HardBreak",name:"SoftBreak2HardBreak",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"AutoSpace",name:"AutoSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"RenderListStyle",name:"RenderListStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlight",name:"CodeSyntaxHighlight",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightDetectLang",name:"CodeSyntaxHighlightDetectLang",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightInlineStyle",name:"CodeSyntaxHighlightInlineStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightLineNum",name:"CodeSyntaxHighlightLineNum",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightStyleName",name:"CodeSyntaxHighlightStyleName",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorWYSIWYG",name:"VditorWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorIR",name:"VditorIR",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorSV",name:"VditorSV",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleWYSIWYG",name:"ProtyleWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownBlockIAL",name:"KramdownBlockIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownSpanIAL",name:"KramdownSpanIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"SuperBlock",name:"SuperBlock",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ImageLazyLoading",name:"ImageLazyLoading",embedded:false,exported:true,typ:$String,tag:""},{prop:"ChineseParagraphBeginningSpace",name:"ChineseParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Sanitize",name:"Sanitize",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"FixTermTypo",name:"FixTermTypo",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Terms",name:"Terms",embedded:false,exported:true,typ:DL,tag:""},{prop:"ToC",name:"ToC",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"HeadingID",name:"HeadingID",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownIALIDRenderName",name:"KramdownIALIDRenderName",embedded:false,exported:true,typ:$String,tag:""},{prop:"HeadingAnchor",name:"HeadingAnchor",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"GFMTaskListItemClass",name:"GFMTaskListItemClass",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorCodeBlockPreview",name:"VditorCodeBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorMathBlockPreview",name:"VditorMathBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorHTMLBlockPreview",name:"VditorHTMLBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"LinkBase",name:"LinkBase",embedded:false,exported:true,typ:$String,tag:""},{prop:"LinkPrefix",name:"LinkPrefix",embedded:false,exported:true,typ:$String,tag:""},{prop:"NodeIndexStart",name:"NodeIndexStart",embedded:false,exported:true,typ:$Int,tag:""},{prop:"ProtyleContenteditable",name:"ProtyleContenteditable",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KeepParagraphBeginningSpace",name:"KeepParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleMarkNetImg",name:"ProtyleMarkNetImg",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Spellcheck",name:"Spellcheck",embedded:false,exported:true,typ:$Bool,tag:""}]);AQ.init("",[{prop:"Options",name:"Options",embedded:false,exported:true,typ:CZ,tag:""},{prop:"RendererFuncs",name:"RendererFuncs",embedded:false,exported:true,typ:DM,tag:""},{prop:"DefaultRendererFunc",name:"DefaultRendererFunc",embedded:false,exported:true,typ:AL,tag:""},{prop:"ExtRendererFuncs",name:"ExtRendererFuncs",embedded:false,exported:true,typ:DN,tag:""},{prop:"Writer",name:"Writer",embedded:false,exported:true,typ:CS,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:$Uint8,tag:""},{prop:"Tree",name:"Tree",embedded:false,exported:true,typ:DA,tag:""},{prop:"DisableTags",name:"DisableTags",embedded:false,exported:true,typ:$Int,tag:""},{prop:"FootnotesDefs",name:"FootnotesDefs",embedded:false,exported:true,typ:CO,tag:""},{prop:"RenderingFootnotes",name:"RenderingFootnotes",embedded:false,exported:true,typ:$Bool,tag:""}]);AW.init("github.com/88250/lute/render",[{prop:"ID",name:"ID",embedded:false,exported:true,typ:$String,tag:"json:\"id\""},{prop:"Box",name:"Box",embedded:false,exported:true,typ:$String,tag:"json:\"box\""},{prop:"Path",name:"Path",embedded:false,exported:true,typ:$String,tag:"json:\"path\""},{prop:"HPath",name:"HPath",embedded:false,exported:true,typ:$String,tag:"json:\"hPath\""},{prop:"Content",name:"Content",embedded:false,exported:true,typ:$String,tag:"json:\"content\""},{prop:"Level",name:"Level",embedded:false,exported:true,typ:$Int,tag:"json:\"level\""},{prop:"Children",name:"Children",embedded:false,exported:true,typ:DC,tag:"json:\"children\""},{prop:"parent",name:"parent",embedded:false,exported:false,typ:DB,tag:""}]);BC.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeIndex",name:"NodeIndex",embedded:false,exported:true,typ:$Int,tag:""}]);BE.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BI.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);BS.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BV.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BY.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);CA.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);CG.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.NewlineSV=(new CI($stringToBytes("
    \n
    ")));X=$makeMap($String.keyFor,[{k:"flutter",v:"Flutter"},{k:"netty",v:"Netty"},{k:"jetty",v:"Jetty"},{k:"tomcat",v:"Tomcat"},{k:"jdbc",v:"JDBC"},{k:"mariadb",v:"MariaDB"},{k:"ipfs",v:"IPFS"},{k:"saas",v:"SaaS"},{k:"paas",v:"PaaS"},{k:"iaas",v:"IaaS"},{k:"ioc",v:"IoC"},{k:"freemarker",v:"FreeMarker"},{k:"ruby",v:"Ruby"},{k:"rails",v:"Rails"},{k:"mina",v:"Mina"},{k:"puppet",v:"Puppet"},{k:"vagrant",v:"Vagrant"},{k:"chef",v:"Chef"},{k:"beego",v:"Beego"},{k:"gin",v:"Gin"},{k:"iris",v:"Iris"},{k:"php",v:"PHP"},{k:"ssh",v:"SSH"},{k:"web",v:"Web"},{k:"websocket",v:"WebSocket"},{k:"api",v:"API"},{k:"css",v:"CSS"},{k:"html",v:"HTML"},{k:"json",v:"JSON"},{k:"jsonp",v:"JSONP"},{k:"xml",v:"XML"},{k:"yaml",v:"YAML"},{k:"csv",v:"CSV"},{k:"soap",v:"SOAP"},{k:"ajax",v:"AJAX"},{k:"messagepack",v:"MessagePack"},{k:"javascript",v:"JavaScript"},{k:"java",v:"Java"},{k:"jsp",v:"JSP"},{k:"restful",v:"RESTFul"},{k:"graphql",v:"GraphQL"},{k:"gorm",v:"GORM"},{k:"orm",v:"ORM"},{k:"oauth",v:"OAuth"},{k:"facebook",v:"Facebook"},{k:"github",v:"GitHub"},{k:"gist",v:"Gist"},{k:"heroku",v:"Heroku"},{k:"twitter",v:"Twitter"},{k:"youtube",v:"YouTube"},{k:"dynamodb",v:"DynamoDB"},{k:"mysql",v:"MySQL"},{k:"postgresql",v:"PostgreSQL"},{k:"sqlite",v:"SQLite"},{k:"memcached",v:"Memcached"},{k:"mongodb",v:"MongoDB"},{k:"redis",v:"Redis"},{k:"elasticsearch",v:"Elasticsearch"},{k:"solr",v:"Solr"},{k:"b3log",v:"B3log"},{k:"hacpai",v:"HacPai"},{k:"sphinx",v:"Sphinx"},{k:"linux",v:"Linux"},{k:"ubuntu",v:"Ubuntu"},{k:"centos",v:"CentOS"},{k:"centos7",v:"CentOS7"},{k:"redhat",v:"RedHat"},{k:"gitlab",v:"GitLab"},{k:"jquery",v:"jQuery"},{k:"angularjs",v:"AngularJS"},{k:"ffmpeg",v:"FFmpeg"},{k:"git",v:"Git"},{k:"svn",v:"SVN"},{k:"vim",v:"VIM"},{k:"emacs",v:"Emacs"},{k:"sublime",v:"Sublime"},{k:"virtualbox",v:"VirtualBox"},{k:"safari",v:"Safari"},{k:"chrome",v:"Chrome"},{k:"ie",v:"IE"},{k:"firefox",v:"Firefox"},{k:"iterm",v:"iTerm"},{k:"iterm2",v:"iTerm2"},{k:"iwork",v:"iWork"},{k:"itunes",v:"iTunes"},{k:"iphoto",v:"iPhoto"},{k:"ibook",v:"iBook"},{k:"imessage",v:"iMessage"},{k:"photoshop",v:"Photoshop"},{k:"excel",v:"Excel"},{k:"powerpoint",v:"PowerPoint"},{k:"ios",v:"iOS"},{k:"iphone",v:"iPhone"},{k:"ipad",v:"iPad"},{k:"android",v:"Android"},{k:"imac",v:"iMac"},{k:"macbook",v:"MacBook"},{k:"vps",v:"VPS"},{k:"vpn",v:"VPN"},{k:"cpu",v:"CPU"},{k:"spring",v:"Spring"},{k:"springboot",v:"SpringBoot"},{k:"springcloud",v:"SpringCloud"},{k:"springmvc",v:"SpringMVC"},{k:"mybatis",v:"MyBatis"},{k:"qq",v:"QQ"},{k:"sql",v:"SQL"},{k:"markdown",v:"Markdown"},{k:"jdk",v:"JDK"},{k:"openjdk",v:"OpenJDK"},{k:"cors",v:"CORS"},{k:"protobuf",v:"Protobuf"},{k:"google",v:"Google"},{k:"ibm",v:"IBM"},{k:"oracle",v:"Oracle"},{k:"typora",v:"Typora"}]);AC=$makeMap($String.keyFor,[{k:"frame",v:$ifaceNil},{k:"frameset",v:$ifaceNil},{k:"noembed",v:$ifaceNil},{k:"noframes",v:$ifaceNil},{k:"noscript",v:$ifaceNil},{k:"nostyle",v:$ifaceNil},{k:"object",v:$ifaceNil},{k:"script",v:$ifaceNil},{k:"style",v:$ifaceNil},{k:"title",v:$ifaceNil}]);AK=$makeMap($String.keyFor,[{k:"onafterprint",v:$ifaceNil},{k:"onbeforeprint",v:$ifaceNil},{k:"onbeforeunload",v:$ifaceNil},{k:"onerror",v:$ifaceNil},{k:"onhashchange",v:$ifaceNil},{k:"onload",v:$ifaceNil},{k:"onmessage",v:$ifaceNil},{k:"onoffline",v:$ifaceNil},{k:"ononline",v:$ifaceNil},{k:"onpagehide",v:$ifaceNil},{k:"onpageshow",v:$ifaceNil},{k:"onpopstate",v:$ifaceNil},{k:"onresize",v:$ifaceNil},{k:"onstorage",v:$ifaceNil},{k:"onunload",v:$ifaceNil},{k:"onblur",v:$ifaceNil},{k:"onchange",v:$ifaceNil},{k:"oncontextmenu",v:$ifaceNil},{k:"onfocus",v:$ifaceNil},{k:"oninput",v:$ifaceNil},{k:"oninvalid",v:$ifaceNil},{k:"onreset",v:$ifaceNil},{k:"onsearch",v:$ifaceNil},{k:"onselect",v:$ifaceNil},{k:"onsubmit",v:$ifaceNil},{k:"onkeydown",v:$ifaceNil},{k:"onkeypress",v:$ifaceNil},{k:"onkeyup",v:$ifaceNil},{k:"onclick",v:$ifaceNil},{k:"ondblclick",v:$ifaceNil},{k:"onmousedown",v:$ifaceNil},{k:"onmousemove",v:$ifaceNil},{k:"onmouseout",v:$ifaceNil},{k:"onmouseover",v:$ifaceNil},{k:"onmouseleave",v:$ifaceNil},{k:"onmouseenter",v:$ifaceNil},{k:"onmouseup",v:$ifaceNil},{k:"onmousewheel",v:$ifaceNil},{k:"onwheel",v:$ifaceNil},{k:"ondrag",v:$ifaceNil},{k:"ondragend",v:$ifaceNil},{k:"ondragenter",v:$ifaceNil},{k:"ondragleave",v:$ifaceNil},{k:"ondragover",v:$ifaceNil},{k:"ondragstart",v:$ifaceNil},{k:"ondrop",v:$ifaceNil},{k:"onscroll",v:$ifaceNil},{k:"oncopy",v:$ifaceNil},{k:"oncut",v:$ifaceNil},{k:"onpaste",v:$ifaceNil},{k:"onabort",v:$ifaceNil},{k:"oncanplay",v:$ifaceNil},{k:"oncanplaythrough",v:$ifaceNil},{k:"oncuechange",v:$ifaceNil},{k:"ondurationchange",v:$ifaceNil},{k:"onemptied",v:$ifaceNil},{k:"onended",v:$ifaceNil},{k:"onloadeddata",v:$ifaceNil},{k:"onloadedmetadata",v:$ifaceNil},{k:"onloadstart",v:$ifaceNil},{k:"onpause",v:$ifaceNil},{k:"onplay",v:$ifaceNil},{k:"onplaying",v:$ifaceNil},{k:"onprogress",v:$ifaceNil},{k:"onratechange",v:$ifaceNil},{k:"onseeked",v:$ifaceNil},{k:"onseeking",v:$ifaceNil},{k:"onstalled",v:$ifaceNil},{k:"onsuspend",v:$ifaceNil},{k:"ontimeupdate",v:$ifaceNil},{k:"onvolumechange",v:$ifaceNil},{k:"onwaiting",v:$ifaceNil},{k:"ontoggle",v:$ifaceNil},{k:"onbegin",v:$ifaceNil},{k:"onend",v:$ifaceNil},{k:"onrepeat",v:$ifaceNil},{k:"http-equiv",v:$ifaceNil},{k:"formaction",v:$ifaceNil}]);AZ=new CJ(["mermaid","echarts","abc","graphviz","mindmap","flowchart","plantuml"]);CF=new CJ(["jpg","png","gif","webp","cr2","tif","bmp","heif","jxr","psd","ico","dwg","mp4","m4v","mkv","webm","mov","avi","wmv","mpg","flv","3gp","mid","mp3","m4a","ogg","flac","wav","amr","aac","epub","zip","tar","rar","gz","bz2","7z","xz","pdf","exe","swf","rtf","iso","eot","ps","sqli","nes","crx","cab","deb","ar","Z","lz","rpm","elf","dcm","doc","docx","xls","xlsx","ppt","pptx","md","txt","woff","woff2","ttf","otf","wasm","exe","html","js","css","go","java","textbundle"]);CD=CF.$length;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); -$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,B,C,N,P,R,Z,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AY,BA,BB,BC,BD,BE,BF,BG,BH,T,W,a,b,Q,S,AA;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];P=$packages["unicode"];R=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AO.nil;this.RenderOptions=AC.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});Z=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(H.Tree);AC=$ptrType(I.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(H.Context);AH=$ptrType(L.Lexer);AI=$ptrType(H.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(H.Options);AP=$sliceType(AE);AQ=$ptrType(AP);AR=$ptrType(F.Attribute);AS=$sliceType(AR);AT=$sliceType(G.Atom);AU=$sliceType($emptyInterface);AV=$ptrType(R);AW=$sliceType(Z);AY=$ptrType(A.Buffer);BA=$mapType($String,$emptyInterface);BB=$sliceType(D.NodeType);BC=$sliceType($Int32);BD=$mapType($String,$String);BE=$ptrType(O.Object);BF=$mapType($String,BE);BG=$mapType($String,BF);BH=$mapType(D.NodeType,I.ExtRendererFunc);R.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};R.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};R.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorDOM=function(c){return this.$val.SpinVditorDOM(c);};R.ptr.prototype.HTML2VditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorDOM2Md=function(c){return this.$val.vditorDOM2Md(c);};R.ptr.prototype.parseHTML=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=C.NewReader(c);g=F.Parse(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=-1;return AE.nil;}if(!("html"===h.FirstChild.Data)){$s=-1;return h;}$s=-1;return h.FirstChild.LastChild;}return;}var $f={$blk:R.ptr.prototype.parseHTML,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.parseHTML=function(c){return this.$val.parseHTML(c);};R.ptr.prototype.adjustVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.removeEmptyNodes(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.removeHighlightJSSpans(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}d.mergeVditorDOMList0(e);e=e.NextSibling;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}g=c.FirstChild;while(true){if(!(!(AE.nil===g))){break;}d.adjustVditorDOMListList(g);g=g.NextSibling;}h=c.FirstChild;case 3:if(!(!(AE.nil===h))){$s=4;continue;}$r=d.adjustVditorDOMListItemInP(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=3;continue;case 4:i=c.FirstChild;while(true){if(!(!(AE.nil===i))){break;}j=i.NextSibling;d.removeCodeCode(i);i=j;}k=c.FirstChild;while(true){if(!(!(AE.nil===k))){break;}l=k.NextSibling;d.adjustVditorDOMCodeA(k);k=l;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.adjustVditorDOM=function(c){return this.$val.adjustVditorDOM(c);};R.ptr.prototype.adjustVditorDOMListList=function(c){var c,d,e,f,g,h,i;d=this;if(!((42754===c.DataAtom))&&!((79618===c.DataAtom))&&!((45570===c.DataAtom))){return;}if(45570===c.DataAtom){if(!(AE.nil===c.FirstChild)&&(514===c.FirstChild.DataAtom)){c.FirstChild.DataAtom=0;c.FirstChild.Data="\xE2\x80\x8B";e=c.NextSibling;if(!(AE.nil===c.NextSibling)&&(45570===c.NextSibling.DataAtom)){f=e.FirstChild;if(!(AE.nil===f)&&"\xE2\x80\xB8\xE2\x80\x8B"===f.Data){f.Data="\xE2\x80\xB8\n";}}}}else{if(!(AE.nil===c.Parent)&&((42754===c.Parent.DataAtom)||(79618===c.Parent.DataAtom))){g=c.PrevSibling;if(!(AE.nil===g)){c.Unlink();g.AppendChild(c);}}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}i=h.NextSibling;d.adjustVditorDOMListList(h);h=i;}};R.prototype.adjustVditorDOMListList=function(c){return this.$val.adjustVditorDOMListList(c);};R.ptr.prototype.removeHighlightJSSpans=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.hljsSpans(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeHighlightJSSpans,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeHighlightJSSpans=function(c){return this.$val.removeHighlightJSSpans(c);};R.ptr.prototype.hljsSpans=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;if((40708===c.DataAtom)&&C.HasPrefix(J.DomAttrValue(c,"class"),"hljs-")){$s=1;continue;}$s=2;continue;case 1:d.$set($append(d.$get(),c));f=J.DomText(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,g,"",AS.nil));case 2:h=c.FirstChild;case 4:if(!(!(h===AE.nil))){$s=5;continue;}$r=e.hljsSpans(h,d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.hljsSpans,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.hljsSpans=function(c,d){return this.$val.hljsSpans(c,d);};R.ptr.prototype.removeEmptyNodes=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.searchEmptyNodes(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeEmptyNodes=function(c){return this.$val.removeEmptyNodes(c);};R.ptr.prototype.searchEmptyNodes=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=c.DataAtom;if(f===(0)){$s=2;continue;}if(f===(40708)){$s=3;continue;}if((f===(449798))||(f===(257))||(f===(28162))||(f===(1537))||(f===(283139))||(f===(9473))||(f===(53766))||(f===(46596))){$s=4;continue;}if("katex"===J.DomAttrValue(c,"class")){$s=5;continue;}$s=6;continue;case 2:if(e.isInline(c.PrevSibling)||e.isInline(c.NextSibling)||e.isInline(c.Parent)){$s=1;continue;}if(1===c.Type){g=C.TrimLeft(c.Data," ");g=C.TrimRight(g," ");while(true){if(!(C.Contains(g,"\n\n"))){break;}g=C.ReplaceAll(g,"\n\n","");}if(""===g){d.$set($append(d.$get(),c));$s=-1;return;}}h=c.Parent;if(!(AE.nil===h)&&((79618===h.DataAtom)||(42754===h.DataAtom)||(45570===h.DataAtom))){$s=7;continue;}$s=8;continue;case 7:if(AE.nil===c.NextSibling||((1===c.NextSibling.Type)||(42754===c.NextSibling.DataAtom))){i=true;$s=11;continue s;}j=C.TrimSpace(c.Data);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(i){$s=9;continue;}$s=10;continue;case 9:c.Data=C.TrimRight(c.Data,"\n\t ");case 10:case 8:if(!(AE.nil===h)&&((365829===h.DataAtom)||(208901===h.DataAtom)||(9989===h.DataAtom)||(52226===h.DataAtom))){$s=13;continue;}$s=14;continue;case 13:k=C.TrimSpace(c.Data);$s=15;case 15:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}c.Data=k;case 14:if(""===c.Data){d.$set($append(d.$get(),c));}if(4===c.Type){d.$set($append(d.$get(),c));}$s=6;continue;case 3:l=c.LastChild;if(!(AE.nil===l)&&(514===l.DataAtom)){c.InsertAfter(l);}if(J.IsTempMarkSpan(c)){d.$set($append(d.$get(),c));m=AP.nil;n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}m=$append(m,n);n=n.NextSibling;}o=m;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);c.InsertBefore(q);p++;}$s=-1;return;}$s=6;continue;case 4:if(!(AE.nil===c.FirstChild)){if(514===c.FirstChild.DataAtom){d.$set($append(d.$get(),c.FirstChild));c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.FirstChild.Type){r=c.FirstChild.Data;s=e.prefixSpaces(r);if(!(""===s)){c.FirstChild.Data="\xE2\x80\x8B"+c.FirstChild.Data;}}}if(!(AE.nil===c.LastChild)){if(514===c.LastChild.DataAtom){d.$set($append(d.$get(),c.LastChild));c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.LastChild.Type){t=c.LastChild.Data;u=e.suffixSpaces(t);if(!(""===u)){c.FirstChild.Data=c.FirstChild.Data+"\xE2\x80\x8B";}}}$s=6;continue;case 5:d.$set($append(d.$get(),c));case 6:case 1:v=c.FirstChild;case 16:if(!(!(v===AE.nil))){$s=17;continue;}$r=e.searchEmptyNodes(v,d);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=16;continue;case 17:w=c.DataAtom;if((w===(79618))||(w===(42754))){$s=20;continue;}$s=21;continue;case 20:x=J.DomAttrValue(c,"data-type");if("footnotes-defs-ol"===x){$s=-1;return;}if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!((281349===c.FirstChild.FirstChild.DataAtom))){$s=-1;return;}y=J.DomText(c);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(""===z){d.$set($append(d.$get(),c));}case 21:case 19:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.searchEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.searchEmptyNodes=function(c,d){return this.$val.searchEmptyNodes(c,d);};R.ptr.prototype.mergeVditorDOMList0=function(c){var c,d,e,f,g,h;d=this;e=c.DataAtom;if((e===(42754))||(e===(79618))){if(!(AE.nil===c.NextSibling)&&(c.DataAtom===c.NextSibling.DataAtom)&&(1===c.NextSibling.Attr.$length)){f=c.NextSibling.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=f.NextSibling;f.Unlink();c.AppendChild(f);f=g;}c.NextSibling.Unlink();}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}d.mergeVditorDOMList0(h);h=h.NextSibling;}};R.prototype.mergeVditorDOMList0=function(c){return this.$val.mergeVditorDOMList0(c);};R.ptr.prototype.adjustVditorDOMListTight0=function(c){var c,d,e,f;d=this;e=c.DataAtom;if(e===(42754)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}else if(e===(79618)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}f=c.FirstChild;while(true){if(!(!(f===AE.nil))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}};R.prototype.adjustVditorDOMListTight0=function(c){return this.$val.adjustVditorDOMListTight0(c);};R.ptr.prototype.adjustVditorDOMListItemInP=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c.DataAtom;if(e===(45570)){$s=2;continue;}$s=3;continue;case 2:if(!(AE.nil===c.PrevSibling)&&J.DomAttrValue(c.PrevSibling,"data-node-id")===J.DomAttrValue(c,"data-node-id")){$s=4;continue;}$s=5;continue;case 4:f=c;g=D.NewNodeID();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=d.setDOMAttrValue(f,"data-node-id",h);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(AE.nil===c.PrevSibling)&&!(AE.nil===c.FirstChild)){$s=8;continue;}$s=9;continue;case 8:i=J.DomAttrValue(c.FirstChild,"data-node-id");if(!(""===i)&&!(AE.nil===c.PrevSibling.LastChild)&&J.DomAttrValue(c.PrevSibling.LastChild,"data-node-id")===i){$s=10;continue;}$s=11;continue;case 10:j=c.FirstChild;k=D.NewNodeID();$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=d.setDOMAttrValue(j,"data-node-id",l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:m=c.FirstChild;while(true){if(!(!(AE.nil===m))){break;}if(d.listItemEnter(c)){n=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\xE2\x80\xB8","",AS.nil));n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));c.FirstChild.Unlink();c.FirstChild.Unlink();c.AppendChild(n);m=n;m=m.NextSibling;continue;}if(!((3073===m.DataAtom))&&!((100106===m.DataAtom))&&!((42754===m.DataAtom))&&!((79618===m.DataAtom))&&!((92931===m.DataAtom))){o=d.forwardNextBlock(m);p=o[0];q=o[1];r=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);m.InsertBefore(r);s=p;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);u.Unlink();r.AppendChild(u);t++;}m=q;if(AE.nil===m){break;}}m=m.NextSibling;}case 3:case 1:v=c.FirstChild;case 14:if(!(!(v===AE.nil))){$s=15;continue;}$r=d.adjustVditorDOMListItemInP(v);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=14;continue;case 15:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOMListItemInP,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};R.prototype.adjustVditorDOMListItemInP=function(c){return this.$val.adjustVditorDOMListItemInP(c);};R.ptr.prototype.removeCodeCode=function(c){var c,d,e,f,g,h;d=this;if((378116===c.DataAtom)&&!(AE.nil===c.FirstChild)&&(378116===c.FirstChild.DataAtom)){e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=e.NextSibling;e.Unlink();c.InsertBefore(e);e=f;}c.Unlink();return;}g=c.FirstChild;while(true){if(!(!(g===AE.nil))){break;}h=g.NextSibling;d.removeCodeCode(g);g=h;}};R.prototype.removeCodeCode=function(c){return this.$val.removeCodeCode(c);};R.ptr.prototype.adjustVditorDOMCodeA=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;if((378116===c.DataAtom)&&!(AE.nil===c.FirstChild)&&(1===c.FirstChild.DataAtom)&&c.FirstChild===c.LastChild){e=c.PrevSibling;f=c.NextSibling;g=c.Parent;h=c.FirstChild;h.Unlink();c.Unlink();i=AP.nil;j=h.FirstChild;while(true){if(!(!(AE.nil===j))){break;}i=$append(i,j);j.Unlink();j=j.NextSibling;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);c.AppendChild(m);l++;}h.AppendChild(c);if(!(AE.nil===e)){e.InsertAfter(h);}else if(!(AE.nil===f)){f.InsertBefore(h);}else if(!(AE.nil===g)){g.AppendChild(h);}return;}n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}o=n.NextSibling;d.adjustVditorDOMCodeA(n);n=o;}};R.prototype.adjustVditorDOMCodeA=function(c){return this.$val.adjustVditorDOMCodeA(c);};R.ptr.prototype.forwardNextBlock=function(c){var c,d,e,f,g,h;d=AP.nil;e=AE.nil;f=this;g=c;while(true){if(!(!(AE.nil===g))){break;}h=g.DataAtom;if((h===(79618))||(h===(42754))||(h===(92931))||(h===(100106))){return[d,e];}d=$append(d,g);g=g.NextSibling;}return[d,e];};R.prototype.forwardNextBlock=function(c){return this.$val.forwardNextBlock(c);};R.ptr.prototype.listItemEnter=function(c){var c,d;d=this;if(AE.nil===c.FirstChild){return false;}if("\xE2\x80\xB8"===c.FirstChild.Data&&"br"===c.LastChild.Data){return true;}return false;};R.prototype.listItemEnter=function(c){return this.$val.listItemEnter(c);};R.ptr.prototype.isTightList=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=0;g=0;h=0;i=0;j=f;k=g;l=h;m=i;n=e.FirstChild;while(true){if(!(!(AE.nil===n))){break;}o=n.DataAtom;if((o===(42754))||(o===(79618))){j=j+(1)>>0;}else if(o===(92931)){k=k+(1)>>0;}else if(o===(100106)){l=l+(1)>>0;}else if(o===(3073)){m=m+(1)>>0;}n=n.NextSibling;}if(1>0)||1<(m+l>>0)||1<(m+j>>0)){return"false";}e=e.NextSibling;}return"true";};R.prototype.isTightList=function(c){return this.$val.isTightList(c);};R.ptr.prototype.genASTByVditorDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-block"===g){$s=8;continue;}if("toc-block"===g){$s=9;continue;}$s=10;continue;case 6:h=c.FirstChild;case 11:if(!(!(h===AE.nil))){$s=12;continue;}$r=e.genASTByVditorDOM(h,d);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=11;continue;case 12:$s=10;continue;case 7:i=J.DomText(c);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(j))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(k);$s=10;continue;case 8:l=c.FirstChild;if(!((79618===l.DataAtom))){$s=15;continue;}$s=16;continue;case 15:$s=17;case 17:return;case 16:m=l.FirstChild;case 18:if(!(!(AE.nil===m))){$s=19;continue;}if("\n"===m.Data){m=m.NextSibling;$s=18;continue;}n=new A.Buffer.ptr(AD.nil,0,0);o=F.Render(n,m);$s=20;case 20:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if($interfaceIsEqual($ifaceNil,p)){$s=21;continue;}$s=22;continue;case 21:q=e.vditorDOM2Md("
      "+n.String()+"
    ");$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=J.DomAttrValue(m,"data-marker");r=$substring(r,3);t=C.Split(r,"\n");r="";u=t;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if(0=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))-48<<24>>>24)>>0));al=J.DomAttrValue(c,"data-marker");am=J.DomAttrValue(c,"data-id");if(!(""===am)){c.LastChild.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," {"+am+"}","",AS.nil));}ac.HeadingSetext="="===al||"-"===al;if(!ac.HeadingSetext){an=new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");an.Tokens=(new AD($stringToBytes(C.Repeat("#",ac.HeadingLevel))));ac.AppendChild(an);}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 30:ac.Type=4;d.Context.Tip.AppendChild(ac);$s=56;continue;case 31:ao=J.DomText(c);$s=69;case 69:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=C.TrimSpace(ao);$s=70;case 70:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(""===aq||">"===aq||"\xE2\x80\xB8"===aq){$s=71;continue;}$s=72;continue;case 71:$s=73;case 73:return;case 72:ac.Type=5;ac.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(">"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 32:if(AE.nil===c.FirstChild){$s=74;continue;}$s=75;continue;case 74:$s=76;case 76:return;case 75:ac.Type=7;ac.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ac.ListData.Typ=1;}ar=J.DomAttrValue(c,"data-tight");if("true"===ar||""===ar){ac.ListData.Tight=true;}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 33:ac.Type=8;as=J.DomAttrValue(c,"data-marker");at=0;if(""===as){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){au=J.DomAttrValue(c.Parent.FirstChild,"data-marker");av=J.DomAttrValue(c.Parent,"start");if(""===av){as="1";}else{as=av;}if(!(""===au)){as=as+($substring(au,(au.length-1>>0)));}else{as=as+(".");}}else{as=J.DomAttrValue(c.Parent,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===as||"-"===as||"+"===as){as="1.";}if(!("1."===as)&&!("1)"===as)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){as="1.";}if(!("1."===as)&&!("1)"===as)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){as="1.";}}else{if(!("*"===as)&&!("-"===as)&&!("+"===as)){as="*";}at=as.charCodeAt(0);}}else{as=J.DomAttrValue(c,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}ac.ListData=new D.ListData.ptr(0,false,at,0,0,0,0,false,(new AD($stringToBytes(as))),0);if(0===at){aw=B.Atoi(($encodeRune(as.charCodeAt(0))));ac.ListData.Num=aw[0];ac.ListData.Delimiter=as.charCodeAt((as.length-1>>0));}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 34:if(378116===c.FirstChild.DataAtom){ax=J.DomAttrValue(c.Parent,"data-marker");if(""===ax){ax="```";}ay=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){ay=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}az=J.DomAttrValue(c.Parent,"data-type");ba=az;if(ba===("math-block")){ac.Type=300;ac.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("yaml-front-matter")){ac.Type=425;ac.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("html-block")){ac.Type=9;ac.Tokens=ay;d.Context.Tip.AppendChild(ac);}else{ac.Type=11;ac.IsFencedCodeBlock=true;ac.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bb=J.DomAttrValue(c.FirstChild,"class");if(C.Contains(bb,"language-")){bc=$substring(bb,9);ac.LastChild.CodeBlockInfo=(new AD($stringToBytes(bc)));}bd=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ac.AppendChild(bd);ac.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}}$s=77;case 77:return;case 35:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}be=J.DomText(c);$s=81;case 81:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=C.TrimSpace(be);$s=82;case 82:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=e.isEmptyText(c);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}if(bh){$s=83;continue;}$s=84;continue;case 83:$s=86;case 86:return;case 84:if("\xE2\x80\xB8"===bg){$s=87;continue;}$s=88;continue;case 87:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=89;case 89:return;case 88:ac.Type=17;bi=J.DomAttrValue(c,"data-marker");if(""===bi){bi="*";}if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=90;continue;}$s=91;continue;case 90:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=92;case 92:return;case 91:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 36:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bj=J.DomText(c);$s=96;case 96:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=C.TrimSpace(bj);$s=97;case 97:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=bk;bm=e.isEmptyText(c);$s=100;case 100:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=98;continue;}$s=99;continue;case 98:$s=101;case 101:return;case 99:if("\xE2\x80\xB8"===bl){$s=102;continue;}$s=103;continue;case 102:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=104;case 104:return;case 103:ac.Type=22;bn=J.DomAttrValue(c,"data-marker");if(""===bn){bn="**";}if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=105;continue;}$s=106;continue;case 105:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=107;case 107:return;case 106:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 37:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=108;continue;}$s=109;continue;case 108:$s=110;case 110:return;case 109:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=111;case 111:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=112;case 112:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=115;case 115:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=113;continue;}$s=114;continue;case 113:$s=116;case 116:return;case 114:if("\xE2\x80\xB8"===bq){$s=117;continue;}$s=118;continue;case 117:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=119;case 119:return;case 118:ac.Type=101;bs=J.DomAttrValue(c,"data-marker");if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=120;continue;}$s=121;continue;case 120:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=122;case 122:return;case 121:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 38:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=123;continue;}$s=124;continue;case 123:$s=125;case 125:return;case 124:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bt=J.DomText(c);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=C.TrimSpace(bt);$s=127;case 127:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;bw=e.isEmptyText(c);$s=130;case 130:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}if(bw){$s=128;continue;}$s=129;continue;case 128:$s=131;case 131:return;case 129:if("\xE2\x80\xB8"===bv){$s=132;continue;}$s=133;continue;case 132:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=134;case 134:return;case 133:ac.Type=450;bx=J.DomAttrValue(c,"data-marker");if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=135;continue;}$s=136;continue;case 135:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=137;case 137:return;case 136:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 39:if(AE.nil===c.FirstChild){$s=138;continue;}$s=139;continue;case 138:$s=140;case 140:return;case 139:by=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===by){$s=141;continue;}$s=142;continue;case 141:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=143;case 143:return;case 142:if(""===by){$s=144;continue;}$s=145;continue;case 144:$s=146;case 146:return;case 145:bz=(new AD($stringToBytes(by)));if("html-inline"===g){$s=147;continue;}$s=148;continue;case 147:ac.Type=10;ac.Tokens=bz;d.Context.Tip.AppendChild(ac);$s=149;case 149:return;case 148:ca=J.DomAttrValue(c,"data-marker");if(""===ca){ca="`";}if(A.HasPrefix(bz,(new AD($stringToBytes("`"))))){bz=$appendSlice((new AD($stringToBytes(" "))),bz);bz=$append(bz,32);}ac.Type=27;ac.CodeMarkerLen=ca.length;ac.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bz,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=150;case 150:return;case 40:if(!(AE.nil===c.Parent)){$s=151;continue;}$s=152;continue;case 151:if(e.parentIs(c,new AT([37378,87554]))){$s=153;continue;}$s=154;continue;case 153:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=155;continue;}$s=156;continue;case 155:$s=157;case 157:return;case 156:if(AE.nil===c.NextSibling){$s=158;continue;}$s=159;continue;case 158:$s=160;case 160:return;case 159:ac.Type=10;ac.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ac);$s=161;case 161:return;case 154:if(3073===c.Parent.DataAtom){$s=162;continue;}$s=163;continue;case 162:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=164;continue;}$s=165;continue;case 164:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=166;case 166:return;case 165:if(!(AE.nil===c.Parent.Parent)&&!(AE.nil===c.Parent.Parent.NextSibling)&&(45570===c.Parent.Parent.NextSibling.DataAtom)){$s=167;continue;}$s=168;continue;case 167:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=169;case 169:return;case 168:case 163:case 152:ac.Type=31;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 41:if(c.FirstChild===AE.nil||(c.FirstChild.Type===1)){$s=170;continue;}$s=171;continue;case 170:cb=J.DomText(c);$s=172;case 172:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if(""===cc||"\xE2\x80\x8B"===cc){$s=173;continue;}$s=174;continue;case 173:$s=175;case 175:return;case 174:case 171:ac.Type=33;ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 42:cd=aa;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=176;continue;}$s=177;continue;case 176:ac.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(cf);$s=178;continue;case 177:if("link-ref"===g){$s=179;continue;}$s=180;continue;case 179:ac.Type=16;cg="!["+J.DomAttrValue(c,"alt")+"]["+J.DomAttrValue(c,"data-link-label")+"]";ac.Tokens=(new AD($stringToBytes(cg)));d.Context.Tip.AppendChild(ac);$s=181;case 181:return;case 180:ac.Type=34;ac.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===ce)){ac.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ce))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ch=J.DomAttrValue(c,"src");if(!(""===e.RenderOptions.LinkBase)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ch))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomAttrValue(c,"title");if(!(""===ci)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ci))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 178:d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 43:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=185;continue;}$s=186;continue;case 185:cj=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=187;case 187:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cj;$s=26;continue;case 186:ac.Type=100;ac.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ac);if(!(AF.nil===ac.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.ListData)){ac.Parent.Parent.ListData.Typ=3;}if(!(AF.nil===ac.Parent.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.Parent.ListData)){ac.Parent.Parent.Parent.ListData.Typ=3;}$s=56;continue;case 44:ac.Type=106;ck=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=188;continue;}$s=189;continue;case 188:$s=190;case 190:return;case 189:cl=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===cl))){break;}cm=J.DomAttrValue(cl,"align");cn=cm;if(cn===("left")){ck=$append(ck,1);}else if(cn===("center")){ck=$append(ck,2);}else if(cn===("right")){ck=$append(ck,3);}else{ck=$append(ck,0);}cl=cl.NextSibling;}ac.TableAligns=ck;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 45:ac.Type=107;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 46:$s=56;continue;case 47:ac.Type=108;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 48:ac.Type=109;co=J.DomAttrValue(c,"align");cp=0;cq=co;if(cq===("left")){cp=1;}else if(cq===("center")){cp=2;}else if(cq===("right")){cp=3;}else{cp=0;}ac.TableCellAlign=cp;ac.Tokens=AD.nil;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 49:if(AE.nil===c.FirstChild){$s=26;continue;}if("footnotes-ref"===g){ac.Type=16;ac.Tokens=(new AD($stringToBytes("["+J.DomAttrValue(c,"data-footnotes-label")+"]")));if(C.Contains(c.FirstChild.Data,"\xE2\x80\xB8")){ac.Tokens=$appendSlice(ac.Tokens,E.CaretTokens);}d.Context.Tip.AppendChild(ac);}$s=191;case 191:return;case 50:if(AE.nil===c.FirstChild){$s=26;continue;}if(C.Contains(aa,"vditor-comment")){$s=192;continue;}$s=193;continue;case 192:ac.Type=10;cr=new A.Buffer.ptr(AD.nil,0,0);cs=cr.WriteString("=ct.$length)?($throwRuntimeError("index out of range"),undefined):ct.$array[ct.$offset+cu]);cx=cr.WriteString(cw.Key);$s=197;case 197:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}cx;if(!(""===cw.Val)){$s=198;continue;}$s=199;continue;case 198:cy=cr.WriteString("=\"");$s=200;case 200:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=cr.WriteString(cw.Val);$s=201;case 201:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;da=cr.WriteString("\"");$s=202;case 202:if($c){$c=false;da=da.$blk();}if(da&&da.$blk!==undefined){break s;}da;case 199:if(cv<(c.Attr.$length-1>>0)){$s=203;continue;}$s=204;continue;case 203:db=cr.WriteString(" ");$s=205;case 205:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}db;case 204:cu++;$s=195;continue;case 196:dc=cr.WriteString(">");$s=206;case 206:if($c){$c=false;dc=dc.$blk();}if(dc&&dc.$blk!==undefined){break s;}dc;ac.Tokens=cr.Bytes();d.Context.Tip.AppendChild(ac);$s=26;continue;case 193:if("link-ref"===g){$s=207;continue;}$s=208;continue;case 207:ac.Type=16;dd="["+c.FirstChild.Data+"]["+J.DomAttrValue(c,"data-link-label")+"]";if(!(AE.nil===c.NextSibling)&&"2"===J.DomAttrValue(c.NextSibling,"data-render")){dd="!"+dd;}ac.Tokens=(new AD($stringToBytes(dd)));d.Context.Tip.AppendChild(ac);$s=209;case 209:return;case 208:de=AD.nil;if("\xE2\x80\x8B"===c.FirstChild.Data&&""===J.DomAttrValue(c,"style")&&!(AE.nil===c.FirstChild.NextSibling)){de=(new AD($stringToBytes(c.FirstChild.NextSibling.FirstChild.Data)));}else if(378116===c.FirstChild.DataAtom){de=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));if("\xE2\x80\x8B"===($bytesToString(de))){$s=26;continue;}}if("math-inline"===g){$s=210;continue;}if("html-inline"===g){$s=211;continue;}if("code-inline"===g){$s=212;continue;}if("html-entity"===g){$s=213;continue;}$s=214;continue;case 210:ac.Type=304;ac.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,de,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=215;case 215:return;case 211:ac.Type=10;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=216;case 216:return;case 212:ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=217;case 217:return;case 213:ac.Type=16;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=218;case 218:return;case 214:$s=26;continue;$s=56;continue;case 51:ac.Type=16;df=J.DomText(c);$s=219;case 219:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}ac.Tokens=(new AD($stringToBytes(df)));d.Context.Tip.AppendChild(ac);$s=220;case 220:return;case 52:ac.Type=9;dg=J.DomHTML(c);$s=221;case 221:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}ac.Tokens=dg;ac.Tokens=(dh=A.SplitAfter(ac.Tokens,(new AD($stringToBytes("")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ac);$s=56;continue;case 53:ac.Type=10;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ac.Tokens=di;d.Context.Tip.AppendChild(ac);$s=223;case 223:return;case 54:$s=224;case 224:return;case 55:ac.Type=9;dj=J.DomHTML(c);$s=225;case 225:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}ac.Tokens=dj;d.Context.Tip.AppendChild(ac);$s=226;case 226:return;case 56:case 26:dk=c.FirstChild;case 227:if(!(!(dk===AE.nil))){$s=228;continue;}$r=e.genASTByVditorDOM(dk,d);$s=229;case 229:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dk=dk.NextSibling;$s=227;continue;case 228:dl=c.DataAtom;if(dl===(40708)){if(C.Contains(aa,"vditor-comment")){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",10,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(28162))||(dl===(1537))){dm=J.DomAttrValue(c,"data-marker");if(""===dm){dm="*";}if("_"===dm){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(449798))||(dl===(257))){dn=J.DomAttrValue(c,"data-marker");if(""===dn){dn="**";}if("__"===dn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(1)){ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dp=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dp))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dq=J.DomAttrValue(c,"title");if(!(""===dq)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dq))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dl===(283139))||(dl===(9473))||(dl===(53766))){dr=J.DomAttrValue(c,"data-marker");if("~"===dr){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(46596)){ds=J.DomAttrValue(c,"data-marker");if("="===ds){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorDOM=function(c,d){return this.$val.genASTByVditorDOM(c,d);};R.ptr.prototype.hasAttr=function(c,d){var c,d,e,f,g,h;e=this;f=c.Attr;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key===d){return true;}g++;}return false;};R.prototype.hasAttr=function(c,d){return this.$val.hasAttr(c,d);};R.ptr.prototype.domChild=function(c,d){var c,d,e,f,g;e=this;if(AE.nil===c){return AE.nil;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild=function(c,d){return this.$val.domChild(c,d);};R.ptr.prototype.domChild0=function(c,d){var c,d,e,f,g;e=this;if(c.DataAtom===d){return c;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild0=function(c,d){return this.$val.domChild0(c,d);};R.ptr.prototype.setDOMAttrValue=function(c,d,e){var c,d,e,f,g,h,i;f=this;if(AE.nil===c){return;}g=c.Attr;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i.Key===d){i.Val=e;return;}h++;}c.Attr=$append(c.Attr,new F.Attribute.ptr("",d,e));};R.prototype.setDOMAttrValue=function(c,d,e){return this.$val.setDOMAttrValue(c,d,e);};R.ptr.prototype.parentIs=function(c,d){var c,d,e,f,g,h,i;e=this;f=c.Parent;while(true){if(!(!(AE.nil===f))){break;}g=d;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i===f.DataAtom){return true;}h++;}f=f.Parent;}return false;};R.prototype.parentIs=function(c,d){return this.$val.parentIs(c,d);};R.ptr.prototype.isCaret=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=false;e=false;f=this;g=J.DomText(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=C.TrimSpace(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(1>j.length&&1>0;while(true){if(!(f>=0)){break;}if((32===c.charCodeAt(f))||(160===c.charCodeAt(f))){d=d+(" ");}else{return d;}f=f-(1)>>0;}return d;};R.prototype.suffixSpaces=function(c){return this.$val.suffixSpaces(c);};R.ptr.prototype.SpinVditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=C.TrimSpace(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if("\xE2\x80\xB8"===f){$s=1;continue;}$s=2;continue;case 1:d=""+($bytesToString(I.NewlineSV));$s=-1;return d;case 2:g=H.Parse("",(new AD($stringToBytes(c))),e.ParseOptions);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewVditorSVRenderer(h,e.RenderOptions);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=C.ReplaceAll(($bytesToString(l)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.SpinVditorSVDOM=function(c){return this.$val.SpinVditorSVDOM(c);};R.ptr.prototype.HTML2VditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorSVRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorSVDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2VditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.Md2VditorSVDOM=function(c){return this.$val.Md2VditorSVDOM(c);};R.ptr.prototype.SpinVditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorIRDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorIRRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorIRDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorIRDOM=function(c){return this.$val.SpinVditorIRDOM(c);};R.ptr.prototype.HTML2VditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorIRRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorIRDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorIRDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorIRDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorIRDOM2Md=function(c){return this.$val.vditorIRDOM2Md(c);};R.ptr.prototype.genASTByVditorIRDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-def"===g){$s=8;continue;}if("footnotes-block"===g){$s=9;continue;}if("toc-block"===g){$s=10;continue;}$s=11;continue;case 6:if(("code-block"===g||"math-block"===g)&&!C.Contains(J.DomAttrValue(c.FirstChild,"data-type"),"-block-open-marker")){$s=13;continue;}$s=14;continue;case 13:h=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=J.DomText(c.FirstChild);$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(i))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(j);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$s=16;case 16:return;case 14:k=c.FirstChild;case 17:if(!(!(k===AE.nil))){$s=18;continue;}$r=e.genASTByVditorIRDOM(k,d);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=17;continue;case 18:$s=12;continue;case 7:l=J.DomText(c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(m))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(n);$s=12;continue;case 8:o=c.FirstChild;case 21:if(!(!(o===AE.nil))){$s=22;continue;}$r=e.genASTByVditorIRDOM(o,d);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o.NextSibling;$s=21;continue;case 22:$s=12;continue;case 9:p=c.FirstChild;case 24:if(!(!(AE.nil===p))){$s=25;continue;}q=new A.Buffer.ptr(AD.nil,0,0);r=F.Render(q,p);$s=26;case 26:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if($interfaceIsEqual($ifaceNil,s)){$s=27;continue;}$s=28;continue;case 27:t=e.vditorIRDOM2Md(q.String());$s=29;case 29:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=C.Split(u,"\n");u="";w=v;x=0;while(true){if(!(x=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]);if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 38:if(AE.nil===c.FirstChild){$s=94;continue;}$s=95;continue;case 94:$s=96;case 96:return;case 95:ag.Type=7;ag.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ag.ListData.Typ=1;}ba=J.DomAttrValue(c,"data-tight");if("true"===ba||""===ba){ag.ListData.Tight=true;}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 39:bb=c.FirstChild;if(!(AE.nil===bb)&&(3073===bb.DataAtom)&&!(AE.nil===bb.NextSibling)&&(3073===bb.NextSibling.DataAtom)){d.Context.Tip.ListData.Tight=false;}ag.Type=8;bc=J.DomAttrValue(c,"data-marker");bd=0;if(""===bc){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){be=J.DomAttrValue(c.Parent.FirstChild,"data-marker");bf=J.DomAttrValue(c.Parent,"start");if(""===bf){bc="1";}else{bc=bf;}if(!(""===be)){bc=bc+($substring(be,(be.length-1>>0)));}else{bc=bc+(".");}}else{bc=J.DomAttrValue(c.Parent,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===bc||"-"===bc||"+"===bc){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){bc="1.";}}else{if(!("*"===bc)&&!("-"===bc)&&!("+"===bc)){bc="*";}bd=bc.charCodeAt(0);}}else{bc=J.DomAttrValue(c,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}ag.ListData=new D.ListData.ptr(0,false,bd,0,0,0,0,false,(new AD($stringToBytes(bc))),0);if(0===bd){bg=B.Atoi($substring(bc,0,(bc.length-1>>0)));ag.ListData.Num=bg[0];ag.ListData.Delimiter=bc.charCodeAt((bc.length-1>>0));}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 40:if(378116===c.FirstChild.DataAtom){bh=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){bh=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}bi=J.DomAttrValue(c.Parent,"data-type");bj=bi;if(bj===("math-block")){ag.Type=302;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("html-block")){ag.Type=9;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("yaml-front-matter")){ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bh,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);}else{ag.Type=15;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}}$s=97;case 97:return;case 41:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=98;continue;}$s=99;continue;case 98:$s=100;case 100:return;case 99:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bk=J.DomText(c);$s=101;case 101:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=C.TrimSpace(bk);$s=102;case 102:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;bn=e.isEmptyText(c);$s=105;case 105:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(bn){$s=103;continue;}$s=104;continue;case 103:$s=106;case 106:return;case 104:if("\xE2\x80\xB8"===bm){$s=107;continue;}$s=108;continue;case 107:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=109;case 109:return;case 108:ag.Type=17;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 42:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=110;continue;}$s=111;continue;case 110:$s=112;case 112:return;case 111:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=114;case 114:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=117;case 117:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=115;continue;}$s=116;continue;case 115:$s=118;case 118:return;case 116:if("\xE2\x80\xB8"===bq){$s=119;continue;}$s=120;continue;case 119:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=121;case 121:return;case 120:ag.Type=22;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 43:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=122;continue;}$s=123;continue;case 122:$s=124;case 124:return;case 123:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bs=J.DomText(c);$s=125;case 125:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=C.TrimSpace(bs);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=e.isEmptyText(c);$s=129;case 129:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=127;continue;}$s=128;continue;case 127:$s=130;case 130:return;case 128:if("\xE2\x80\xB8"===bu){$s=131;continue;}$s=132;continue;case 131:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=133;case 133:return;case 132:ag.Type=101;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 44:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=134;continue;}$s=135;continue;case 134:$s=136;case 136:return;case 135:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bw=J.DomText(c);$s=137;case 137:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=C.TrimSpace(bw);$s=138;case 138:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=bx;bz=e.isEmptyText(c);$s=141;case 141:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(bz){$s=139;continue;}$s=140;continue;case 139:$s=142;case 142:return;case 140:if("\xE2\x80\xB8"===by){$s=143;continue;}$s=144;continue;case 143:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=145;case 145:return;case 144:ag.Type=450;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 45:if(AE.nil===c.FirstChild){$s=146;continue;}$s=147;continue;case 146:$s=148;case 148:return;case 147:ca=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===ca){$s=149;continue;}$s=150;continue;case 149:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=151;case 151:return;case 150:if(""===ca){$s=152;continue;}$s=153;continue;case 152:$s=154;case 154:return;case 153:cb=(new AD($stringToBytes(ca)));cc=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cb,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ag.Type=27;ag.AppendChild(cc);d.Context.Tip.AppendChild(ag);$s=155;case 155:return;case 46:if(!(AE.nil===c.Parent)){$s=156;continue;}$s=157;continue;case 156:if(e.parentIs(c,new AT([37378,87554]))){$s=158;continue;}$s=159;continue;case 158:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=160;continue;}$s=161;continue;case 160:$s=162;case 162:return;case 161:if(AE.nil===c.NextSibling){$s=163;continue;}$s=164;continue;case 163:$s=165;case 165:return;case 164:ag.Type=10;ag.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ag);$s=166;case 166:return;case 159:if(3073===c.Parent.DataAtom){$s=167;continue;}$s=168;continue;case 167:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=169;continue;}$s=170;continue;case 169:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=171;case 171:return;case 170:case 168:case 157:ag.Type=31;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 47:ag.Type=33;ag.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 48:cd=ae;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=172;continue;}$s=173;continue;case 172:ag.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(cf);d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=174;continue;case 173:$s=175;case 175:return;case 174:$s=62;continue;case 49:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=176;continue;}$s=177;continue;case 176:$s=178;case 178:return;case 177:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=179;continue;}$s=180;continue;case 179:cg=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=181;case 181:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cg;$s=32;continue;case 180:ag.Type=100;ag.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ag);if(!(AF.nil===ag.Parent.Parent.Parent)&&!(AL.nil===ag.Parent.Parent.Parent.ListData)){ag.Parent.Parent.Parent.ListData.Typ=3;}$s=62;continue;case 50:ag.Type=106;ch=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:ci=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ci))){break;}cj=J.DomAttrValue(ci,"align");ck=cj;if(ck===("left")){ch=$append(ch,1);}else if(ck===("center")){ch=$append(ch,2);}else if(ck===("right")){ch=$append(ch,3);}else{ch=$append(ch,0);}ci=ci.NextSibling;}ag.TableAligns=ch;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 51:ag.Type=107;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 52:$s=62;continue;case 53:ag.Type=108;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 54:ag.Type=109;cl=J.DomAttrValue(c,"align");cm=0;cn=cl;if(cn===("left")){cm=1;}else if(cn===("center")){cm=2;}else if(cn===("right")){cm=3;}else{cm=0;}ag.TableCellAlign=cm;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 55:if(AE.nil===c.FirstChild){$s=32;continue;}if("footnotes-ref"===g){$s=185;continue;}$s=186;continue;case 185:ag.Type=16;co=J.DomText(c);$s=187;case 187:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(co)));d.Context.Tip.AppendChild(ag);case 186:$s=188;case 188:return;case 56:cp=g;if(cp===("inline-node")||cp===("em")||cp===("strong")||cp===("s")||cp===("a")||cp===("link-ref")||cp===("img")||cp===("code")||cp===("heading-id")||cp===("html-inline")||cp===("inline-math")||cp===("html-entity")){$s=190;continue;}if(cp===("math-block-close-marker")){$s=191;continue;}if(cp===("math-block-open-marker")){$s=192;continue;}if(cp===("yaml-front-matter-close-marker")){$s=193;continue;}if(cp===("yaml-front-matter-open-marker")){$s=194;continue;}if(cp===("code-block-open-marker")){$s=195;continue;}if(cp===("code-block-info")){$s=196;continue;}if(cp===("code-block-close-marker")){$s=197;continue;}if(cp===("heading-marker")){$s=198;continue;}$s=199;continue;case 190:ag.Type=16;cq=J.DomText(c);$s=200;case 200:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(cq)));d.Context.Tip.AppendChild(ag);$s=201;case 201:return;case 191:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=202;case 202:return;case 192:ag.Type=300;ag.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=203;case 203:return;case 193:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=204;case 204:return;case 194:ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=205;case 205:return;case 195:if(290819===c.NextSibling.DataAtom){c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,40708,"","",new AS([new F.Attribute.ptr("","data-type","code-block-info")])));}cr=J.DomText(c);$s=206;case 206:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=(new AD($stringToBytes(cr)));ct=A.LastIndex(cs,(new AD($stringToBytes("`"))))+1>>0;if(0>0;if(0")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ag);$s=62;continue;case 59:$s=62;continue;case 60:$s=221;case 221:return;case 61:ag.Type=9;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ag.Tokens=di;d.Context.Tip.AppendChild(ag);$s=223;case 223:return;case 62:case 32:dj=c.FirstChild;case 224:if(!(!(dj===AE.nil))){$s=225;continue;}$r=e.genASTByVditorIRDOM(dj,d);$s=226;case 226:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj=dj.NextSibling;$s=224;continue;case 225:dk=c.DataAtom;if(dk===(1)){ag.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dl=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkPrefix,"");}ag.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dm=J.DomAttrValue(c,"title");if(!(""===dm)){ag.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ag.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dk===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorIRDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorIRDOM=function(c,d){return this.$val.genASTByVditorIRDOM(c,d);};R.ptr.prototype.SpinBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.blockDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g=C.ReplaceAll(g,"\xE2\x80\x8B","");h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=i.Root.FirstChild;k=i.Root.LastChild.Previous;if((1===j.Type)&&""===j.ID&&!(AF.nil===k)&&!(j===k.Previous)&&(455===k.Type)){l=k.Previous.ID;m="";j.ID=l;k.Previous.ID=m;n=k.Previous.KramdownIAL;o=AN.nil;j.KramdownIAL=n;k.Previous.KramdownIAL=o;j.InsertAfter(k);}if((455===j.Type)&&!(AF.nil===j.Next)&&(455===j.Next.Type)&&J.IsDocIAL(j.Next.Tokens)){p=H.Tokens2IAL(j.Tokens);q=H.IAL2Map(p);s=new D.Node.ptr((r=$mapIndex(q,$String.keyFor("id")),r!==undefined?r.v:""),"","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,p,false,"","","","","","","","","","","",0,"");j.InsertBefore(s);}$r=H.NestedInlines2FlattedSpansHybrid(i,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=e.Tree2BlockDOM(i,e.RenderOptions);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.SpinBlockDOM=function(c){return this.$val.SpinBlockDOM(c);};R.ptr.prototype.HTML2BlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewProtyleRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2BlockDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);o.Unlink();n++;}p=d[0];q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);j.Root.AppendChild(r);q++;}s=I.NewProtyleRenderer(j,f.RenderOptions);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t.BaseRenderer.Render();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;e=J.BytesToStr(v);w=C.TrimSpace(e);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}e=w;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2InlineBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};R.prototype.BlockDOM2InlineBlockDOM=function(c){return this.$val.BlockDOM2InlineBlockDOM(c);};R.ptr.prototype.Md2BlockDOM=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;h=f.Md2BlockDOMTree(c,d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Md2BlockDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.Md2BlockDOM=function(c,d){return this.$val.Md2BlockDOM(c,d);};R.ptr.prototype.Md2BlockDOMTree=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=AB.nil;g=this;h=H.Parse("",(new AD($stringToBytes(c))),g.ParseOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;$r=H.NestedInlines2FlattedSpansHybrid(f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d){$s=3;continue;}$s=4;continue;case 3:$r=D.Walk(f.Root,(function(i,j){var i,j,k;if(!j){return 2;}if(i.IsEmptyBlockIAL()){k=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=H.Tokens2IAL(i.Tokens);k.ID=k.IALAttr("id");i.InsertBefore(k);return 2;}return 2;}));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:i=I.NewProtyleRenderer(f,g.RenderOptions);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=g.Md2BlockDOMRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l");$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Tree2BlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Tree2BlockDOM=function(c,d){return this.$val.Tree2BlockDOM(c,d);};R.ptr.prototype.RenderNodeBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;f=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");g=new H.Tree.ptr(f,new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h=I.NewProtyleRenderer(g,e.RenderOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d[0]=h;i=e.Md2BlockDOMRendererFuncs;j=0;k=i?i.keys():undefined;l=i?i.size:0;while(true){if(!(j\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"`","`");c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=0;g=0;h=f;i=g;j=c;k=0;while(true){if(!(k>0;}else{break;}k+=l[1];}n=c.length-1>>0;while(true){if(!(n>=0)){break;}if(32===c.charCodeAt(n)){i=i+(1)>>0;}else{break;}n=n-(1)>>0;}o=C.TrimSpace(c);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}c=o;c=C.Repeat(" ",h)+c+C.Repeat(" ",i);c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");p=d[0].parseHTML(c);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(AE.nil===q){$s=-1;return e;}$r=d[0].adjustVditorDOM(q);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,d[0].ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tip=e.Root;r=q.FirstChild;case 4:if(!(!(AE.nil===r))){$s=5;continue;}$r=d[0].genASTByBlockDOM(r,e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=r.NextSibling;$s=4;continue;case 5:$r=D.Walk(e.Root,(function(d){return function $b(s,t){var{s,t,u,$s,$r,$c}=$restore(this,{s,t});$s=$s||0;s:while(true){switch($s){case 0:if(t){$s=1;continue;}$s=2;continue;case 1:u=s.Type;if((u===(10))||(u===(9))||(u===(29))||(u===(15))||(u===(306))||(u===(302))||(u===(27))||(u===(304))){$s=4;continue;}if((u===(22))||(u===(17))||(u===(101))||(u===(520))){$s=5;continue;}if(u===(530)){$s=6;continue;}if(u===(16)){$s=7;continue;}$s=8;continue;case 4:if(!(AF.nil===s.Next)&&(27===s.Next.Type)&&(s.CodeMarkerLen===s.Next.CodeMarkerLen)&&!(AF.nil===s.FirstChild)&&!(AF.nil===s.FirstChild.Next)){s.FirstChild.Next.Tokens=$appendSlice(s.FirstChild.Next.Tokens,s.Next.FirstChild.Next.Tokens);s.Next.Unlink();}$s=8;continue;case 5:d[0].MergeSameSpan(s);$s=8;continue;case 6:$r=d[0].MergeSameTextMark(s);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:s.Tokens=A.ReplaceAll(s.Tokens,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 8:case 3:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,s,t,u,$s};return $f;};})(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2Tree,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.BlockDOM2Tree=function(c){return this.$val.BlockDOM2Tree(c);};R.ptr.prototype.MergeSameTextMark=function(c){var{aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(AF.nil===c.Previous){$s=-1;return;}e=false;f=false;if(456===c.Previous.Type){$s=1;continue;}$s=2;continue;case 1:if(AF.nil===c.Next||!((456===c.Next.Type))||AF.nil===c.Previous.Previous){$s=-1;return;}if(!A.Equal(c.Previous.Tokens,c.Next.Tokens)){$s=-1;return;}g=c.IsSameTextMarkType(c.Previous.Previous);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:e=true;$s=3;continue;case 2:if(!((16===c.Previous.Type)&&!C.Contains(c.Previous.TokensStr()," ")&&!C.Contains(c.Previous.TokensStr(),"\n"))){i=false;$s=11;continue s;}j=C.TrimSpace(C.ReplaceAll(c.Previous.TokensStr(),"\xE2\x80\x8B",""));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(!(i&&!(AF.nil===c.Previous.Previous))){h=false;$s=10;continue s;}k=c.IsSameTextMarkType(c.Previous.Previous);$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;case 10:if(h){$s=7;continue;}$s=8;continue;case 7:f=true;$s=9;continue;case 8:if(!((c.Type===c.Previous.Type))){l=true;$s=16;continue s;}m=c.IsSameTextMarkType(c.Previous);$s=17;case 17:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=!m;case 16:if(l){$s=14;continue;}$s=15;continue;case 14:$s=-1;return;case 15:case 9:case 3:n=C.Split(c.TextMarkType," ");o=$makeMap($String.keyFor,[]);p=n;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);s=r;(o||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(s),{k:s,v:true});q++;}t=AJ.nil;u=o;v=0;w=u?u.keys():undefined;x=u?u.size:0;while(true){if(!(v=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);$mapDelete(o,$String.keyFor(ae));ad++;}if(0<(o?o.size:0)){$s=-1;return;}if(e||f){c.TextMarkTextContent=c.Previous.Previous.TextMarkTextContent+c.TextMarkTextContent;c.Previous.Previous.Unlink();}else{c.TextMarkTextContent=c.Previous.TextMarkTextContent+c.TextMarkTextContent;}c.Previous.Unlink();$r=c.SortTextMarkDataTypes();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.MergeSameTextMark,$c:true,$r,aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.MergeSameTextMark=function(c){return this.$val.MergeSameTextMark(c);};R.ptr.prototype.MergeSameSpan=function(c){var c,d,e,f,g,h,i;d=this;if(AF.nil===c.Next||!((c.Type===c.Next.Type))){return;}if(!(AF.nil===c.Next.Next)&&(456===c.Next.Next.Type)){return;}e=AK.nil;c.Next.FirstChild.Unlink();c.Next.LastChild.Unlink();f=c.Next.FirstChild;while(true){if(!(!(AF.nil===f))){break;}e=$append(e,f);f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);c.LastChild.InsertBefore(i);h++;}c.Next.Unlink();};R.prototype.MergeSameSpan=function(c){return this.$val.MergeSameSpan(c);};R.ptr.prototype.CancelSuperBlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((475===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}i=$append(i,j);j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);g.Root.AppendChild(m);l++;}h.Unlink();n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelSuperBlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.CancelSuperBlock=function(c){return this.$val.CancelSuperBlock(c);};R.ptr.prototype.CancelList=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((7===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}n=m.FirstChild;while(true){if(!(!(AF.nil===n))){break;}if(!((100===n.Type))){k=$append(k,n);}n=n.Next;}l=$append(l,m);m=m.Next;}o=k;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);g.Root.AppendChild(q);p++;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}h.Unlink();u=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}d=u;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelList,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};R.prototype.CancelList=function(c){return this.$val.CancelList(c);};R.ptr.prototype.CancelBlockquote=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((5===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}if(!((6===m.Type))){k=$append(k,m);}l=$append(l,m);m=m.Next;}n=k;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);g.Root.AppendChild(p);o++;}h.Unlink();q=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}d=q;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelBlockquote,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};R.prototype.CancelBlockquote=function(c){return this.$val.CancelBlockquote(c);};R.ptr.prototype.Blocks2Ps=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h;while(true){if(!(!(AF.nil===m))){break;}n=m.Type;if(n===(2)){m.Type=1;}else if(n===(5)){o=m.FirstChild;while(true){if(!(!(AF.nil===o))){break;}if(6===o.Type){l=$append(l,o);o=o.Next;continue;}k=$append(k,o);o=o.Next;}l=$append(l,m);}else if(n===(7)){p=m.FirstChild;while(true){if(!(!(AF.nil===p))){break;}q=p.FirstChild;while(true){if(!(!(AF.nil===q))){break;}if(!((100===q.Type))){k=$append(k,q);}q=q.Next;}l=$append(l,p);p=p.Next;}l=$append(l,m);}m=m.Next;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}u=k;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);g.Root.AppendChild(w);v++;}x=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}d=x;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Blocks2Ps,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};R.prototype.Blocks2Ps=function(c){return this.$val.Blocks2Ps(c);};R.ptr.prototype.Blocks2Hs=function(c,d){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;g=f.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.Root.FirstChild;j=i;while(true){if(!(!(AF.nil===j))){break;}if((1===j.Type)||(2===j.Type)){j.Type=2;k=B.Atoi(d);j.HeadingLevel=k[0];}j=j.Next;}l=f.Tree2BlockDOM(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}e=l;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Blocks2Hs,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.Blocks2Hs=function(c,d){return this.$val.Blocks2Hs(c,d);};R.ptr.prototype.OL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.OL2TL=function(c){return this.$val.OL2TL(c);};R.ptr.prototype.UL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.UL2TL=function(c){return this.$val.UL2TL(c);};R.ptr.prototype.TL2OL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=AK.nil;k=h.FirstChild;while(true){if(!(!(AF.nil===k))){break;}if(455===k.Type){k=k.Next;continue;}j=$append(j,k.FirstChild);k.ListData.Typ=1;k.ListData.Num=i;i=i+(1)>>0;k=k.Next;}l=j;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n.Unlink();m++;}o=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}d=o;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.TL2OL=function(c){return this.$val.TL2OL(c);};R.ptr.prototype.TL2UL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}i=$append(i,j.FirstChild);j.ListData.Typ=0;j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);m.Unlink();l++;}n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2UL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.TL2UL=function(c){return this.$val.TL2UL(c);};R.ptr.prototype.OL2UL=function(c){var{c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=h.FirstChild;while(true){if(!(!(AF.nil===i))){break;}if(455===i.Type){i=i.Next;continue;}i.ListData.Typ=0;i=i.Next;}j=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2UL,$c:true,$r,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.OL2UL=function(c){return this.$val.OL2UL(c);};R.ptr.prototype.UL2OL=function(c){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}j.ListData.Typ=1;j.ListData.Num=i;i=i+(1)>>0;j=j.Next;}k=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.UL2OL=function(c){return this.$val.UL2OL(c);};R.ptr.prototype.blockDOM2Md=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=I.NewOptions();h.AutoSpace=false;h.FixTermTypo=false;h.KramdownBlockIAL=true;h.KramdownSpanIAL=true;h.KeepParagraphBeginningSpace=true;h.ProtyleWYSIWYG=true;h.SuperBlock=true;i=I.NewFormatRenderer(g,h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=($bytesToString(l));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.blockDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.blockDOM2Md=function(c){return this.$val.blockDOM2Md(c);};R.ptr.prototype.genASTByBlockDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"class");if("protyle-attr"===f||C.Contains(f,"__copy")||C.Contains(f,"protyle-linenumber__rows")){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if("1"===J.DomAttrValue(c,"spin")){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:if(C.Contains(f,"protyle-action")){$s=7;continue;}$s=8;continue;case 7:if(11===d.Context.Tip.Type){$s=9;continue;}if(8===d.Context.Tip.Type){$s=10;continue;}$s=11;continue;case 9:g=c.FirstChild;h="";if(!(AE.nil===g.FirstChild)){h=g.FirstChild.Data;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(h),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i=J.DomText(c.NextSibling);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasSuffix(j,"\n\n\xE2\x80\xB8")){j=C.TrimSuffix(j,"\n\n\xE2\x80\xB8");j=j+("\n\xE2\x80\xB8\n");}k=C.Split(j,"\n");l=new A.Buffer.ptr(AD.nil,0,0);m=k;n=0;case 13:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(C.Contains(p,"```")){p=C.ReplaceAll(p,"```","\xE2\x80\x8D```");}else{p=C.ReplaceAll(p,"\xE2\x80\x8D","");}q=l.WriteString(p);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o<(k.$length-1>>0)){$s=16;continue;}$s=17;continue;case 16:r=l.WriteByte(10);$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 17:n++;$s=13;continue;case 14:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,l.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=11;continue;case 10:if(3===d.Context.Tip.ListData.Typ){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,C.Contains(J.DomAttrValue(c.Parent,"class"),"protyle-task--done"),AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 11:$s=19;case 19:return;case 8:if("true"===J.DomAttrValue(c,"contenteditable")){$s=20;continue;}$s=21;continue;case 20:$r=e.genASTContenteditable(c,d);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;case 23:return;case 21:s=D.Str2NodeType(J.DomAttrValue(c,"data-type"));$s=24;case 24:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=J.DomAttrValue(c,"data-node-id");v=new D.Node.ptr(u,"","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");if(!(""===v.ID)&&!e.parentIs(c,new AT([365829]))){$s=25;continue;}$s=26;continue;case 25:v.KramdownIAL=new AN([new AJ(["id",v.ID])]);w=e.setBlockIAL(c,v);$s=27;case 27:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=new D.Node.ptr("","","","",455,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,x,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");$deferred.push([$methodVal(d.Context,"TipAppendChild"),[y]]);case 26:z=t;if(z===(465)){$s=29;continue;}if(z===(106)){$s=30;continue;}if(z===(1)){$s=31;continue;}if(z===(2)){$s=32;continue;}if(z===(5)){$s=33;continue;}if(z===(7)){$s=34;continue;}if(z===(8)){$s=35;continue;}if(z===(495)){$s=36;continue;}if(z===(475)){$s=37;continue;}if(z===(300)){$s=38;continue;}if(z===(11)){$s=39;continue;}if(z===(9)){$s=40;continue;}if(z===(425)){$s=41;continue;}if(z===(4)){$s=42;continue;}if(z===(500)){$s=43;continue;}if(z===(535)){$s=44;continue;}if(z===(510)){$s=45;continue;}if(z===(505)){$s=46;continue;}if(z===(550)){$s=47;continue;}if(z===(560)){$s=48;continue;}$s=49;continue;case 29:v.Type=465;v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));aa=J.DomAttrValue(c,"data-content");aa=C.ReplaceAll(aa,"\n","_esc_newline_");v.AppendChild(new D.Node.ptr("","","","",468,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aa),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=51;case 51:return;case 30:v.Type=106;ab=AM.nil;if(AE.nil===c.FirstChild){$s=52;continue;}$s=53;continue;case 52:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=54;case 54:return;case 53:if(e.parentIs(c,new AT([365829]))){$s=55;continue;}$s=56;continue;case 55:ac=J.DomText(c);$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=C.TrimSpace(ad);$s=58;case 58:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(ae)));d.Context.Tip.AppendChild(v);$s=59;case 59:return;case 56:af=c.FirstChild;ag=e.domChild(af,365829);if(AE.nil===ag){$s=60;continue;}$s=61;continue;case 60:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=62;case 62:return;case 61:ah=e.domChild(ag,208901);if(AE.nil===ah||AE.nil===ah.FirstChild||AE.nil===ah.FirstChild.FirstChild){$s=63;continue;}$s=64;continue;case 63:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=65;case 65:return;case 64:ai=ah.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}aj=J.DomAttrValue(ai,"align");ak=aj;if(ak===("left")){ab=$append(ab,1);}else if(ak===("center")){ab=$append(ab,2);}else if(ak===("right")){ab=$append(ab,3);}else{ab=$append(ab,0);}ai=ai.NextSibling;}v.TableAligns=ab;v.Tokens=AD.nil;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$r=e.genASTContenteditable(ag,d);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=67;case 67:return;case 31:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 32:al=J.DomText(c);$s=68;case 68:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(e.parentIs(c,new AT([365829]))){$s=69;continue;}$s=70;continue;case 69:an=C.TrimSpace(am);$s=71;case 71:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(an)));while(true){if(!(A.HasPrefix(v.Tokens,(new AD($stringToBytes("#")))))){break;}v.Tokens=A.TrimPrefix(v.Tokens,(new AD($stringToBytes("#"))));}d.Context.Tip.AppendChild(v);$s=72;case 72:return;case 70:ao=$substring(J.DomAttrValue(c,"data-subtype"),1);ap=C.TrimPrefix(am," ");if(C.HasPrefix(ap,"#")){$s=73;continue;}$s=74;continue;case 73:aq=C.Index(ap," \xE2\x80\xB8");if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 34:v.Type=7;ax=J.DomAttrValue(c,"data-marker");v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);ay=J.DomAttrValue(c,"data-subtype");if("u"===ay){v.ListData.Typ=0;}else if("o"===ay){v.ListData.Typ=1;}else if("t"===ay){v.ListData.Typ=3;}v.ListData.Marker=(new AD($stringToBytes(ax)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 35:az=J.DomAttrValue(c,"data-marker");if(!((7===d.Context.Tip.Type))){ba=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ba.Type=7;ba.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bb=J.DomAttrValue(c,"data-subtype");if("u"===bb){ba.ListData.Typ=0;ba.ListData.BulletChar=42;}else if("o"===bb){ba.ListData.Typ=1;bc=B.Atoi($substring(az,0,(az.length-1>>0)));ba.ListData.Num=bc[0];ba.ListData.Delimiter=46;}else if("t"===bb){ba.ListData.Typ=3;ba.ListData.BulletChar=42;}d.Context.Tip.AppendChild(ba);d.Context.Tip=ba;}v.Type=8;v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bd=J.DomAttrValue(c,"data-subtype");if("u"===bd){v.ListData.Typ=0;v.ListData.BulletChar=42;}else if("o"===bd){v.ListData.Typ=1;be=B.Atoi($substring(az,0,(az.length-1>>0)));v.ListData.Num=be[0];v.ListData.Delimiter=46;}else if("t"===bd){v.ListData.Typ=3;v.ListData.BulletChar=42;}v.ListData.Marker=(new AD($stringToBytes(az)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 36:v.Type=495;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 37:v.Type=475;d.Context.Tip.AppendChild(v);v.AppendChild(new D.Node.ptr("","","","",476,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=J.DomAttrValue(c,"data-sb-layout");v.AppendChild(new D.Node.ptr("","","","",477,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bf))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 38:v.Type=300;v.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"data-content");bg=F.UnescapeHTMLStr(bg);v.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=80;case 80:return;case 39:v.Type=11;v.IsFencedCodeBlock=true;v.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(c,"data-subtype");if(!(""===bh)){$s=81;continue;}$s=82;continue;case 81:v.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(bh),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(c,"data-content");v.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=83;case 83:return;case 82:d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 40:v.Type=9;bj=J.DomAttrValue(c.FirstChild.NextSibling.FirstChild,"data-content");bj=F.UnescapeHTMLStr(bj);bj=F.UnescapeHTMLStr(bj);v.Tokens=J.StrToBytes(bj);d.Context.Tip.AppendChild(v);$s=84;case 84:return;case 41:v.Type=425;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 42:v.Type=4;d.Context.Tip.AppendChild(v);$s=85;case 85:return;case 43:v.Type=500;c=e.domChild(c.FirstChild,195590);bk=J.DomHTML(c);$s=86;case 86:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}v.Tokens=bk;d.Context.Tip.AppendChild(v);$s=87;case 87:return;case 44:v.Type=535;c=e.domChild(c.FirstChild,195590);bl=J.DomHTML(c);$s=88;case 88:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}v.Tokens=bl;d.Context.Tip.AppendChild(v);$s=89;case 89:return;case 45:v.Type=510;c=e.domChild(c.FirstChild,192773);bm=J.DomHTML(c);$s=90;case 90:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}v.Tokens=bm;d.Context.Tip.AppendChild(v);$s=91;case 91:return;case 46:v.Type=505;c=e.domChild(c.FirstChild,70917);bn=J.DomHTML(c);$s=92;case 92:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}v.Tokens=bn;d.Context.Tip.AppendChild(v);$s=93;case 93:return;case 47:v.Type=550;v.AttributeViewID=J.DomAttrValue(c,"data-av-id");if(""===v.AttributeViewID){$s=94;continue;}$s=95;continue;case 94:bo=D.NewNodeID();$s=96;case 96:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}v.AttributeViewID=bo;case 95:v.AttributeViewType=J.DomAttrValue(c,"data-av-type");d.Context.Tip.AppendChild(v);$s=97;case 97:return;case 48:v.Type=560;v.CustomBlockInfo=J.DomAttrValue(c,"data-info");v.Tokens=(new AD($stringToBytes(F.UnescapeHTMLStr(J.DomAttrValue(c,"data-content")))));d.Context.Tip.AppendChild(v);$s=98;case 98:return;case 49:bp=c.DataAtom;if(bp===(0)){$s=100;continue;}if((bp===(2817))||(bp===(378116))||(bp===(449798))||(bp===(28162))||(bp===(47363))||(bp===(46596))||(bp===(9473))||(bp===(421123))||(bp===(461571))||(bp===(40708))){$s=101;continue;}$s=102;continue;case 100:v.Type=16;v.Tokens=J.StrToBytes(c.Data);if(0===d.Context.Tip.Type){bq=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bq);d.Context.Tip=bq;}$r=e.genASTContenteditable(c,d);$s=103;case 103:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=104;case 104:return;case 101:if(0===d.Context.Tip.Type){br=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(br);d.Context.Tip=br;}$r=e.genASTContenteditable(c,d);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=106;case 106:return;case 102:case 99:if((8===d.Context.Tip.Type)&&(281349===c.DataAtom)){$s=107;continue;}$s=108;continue;case 107:v.Type=100;v.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(v);$s=109;case 109:return;case 108:v.Type=10;bs=J.DomHTML(c);$s=110;case 110:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}v.Tokens=bs;d.Context.Tip.AppendChild(v);$s=111;case 111:return;case 50:case 28:bt=c.FirstChild;case 112:if(!(!(bt===AE.nil))){$s=113;continue;}$r=e.genASTByBlockDOM(bt,d);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bt=bt.NextSibling;$s=112;continue;case 113:bu=t;if(bu===(475)){v.AppendChild(new D.Node.ptr("","","","",478,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(bu===(11)){v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByBlockDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByBlockDOM=function(c,d){return this.$val.genASTByBlockDOM(c,d);};R.ptr.prototype.genASTContenteditable=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;if((11===d.Context.Tip.Type)||(560===d.Context.Tip.Type)){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(109320===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:f=J.DomAttrValue(c,"class");if("svg"===f){$s=7;continue;}$s=8;continue;case 7:$s=9;case 9:return;case 8:g=c.Data;h=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(g),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=c.DataAtom;if(i===(0)){$s=11;continue;}if(i===(208901)){$s=12;continue;}if(i===(9989)){$s=13;continue;}if(i===(52226)){$s=14;continue;}if((i===(87554))||(i===(37378))){$s=15;continue;}if(i===(378116)){$s=16;continue;}if(i===(40708)){$s=17;continue;}if(i===(421123)){$s=18;continue;}if(i===(461571)){$s=19;continue;}if(i===(2817)){$s=20;continue;}if(i===(47363)){$s=21;continue;}if(i===(514)){$s=22;continue;}if((i===(28162))||(i===(1537))){$s=23;continue;}if((i===(449798))||(i===(257))){$s=24;continue;}if((i===(283139))||(i===(9473))||(i===(53766))){$s=25;continue;}if(i===(46596)){$s=26;continue;}if(i===(198403)){$s=27;continue;}$s=28;continue;case 11:if(""===g){$s=29;continue;}$s=30;continue;case 29:$s=31;case 31:return;case 30:if(3===c.Type){h.Tokens=J.StrToBytes("<"+g+">");}if(33===d.Context.Tip.Type){h.Type=40;}else if(2===d.Context.Tip.Type){g=C.ReplaceAll(g,"\n","");h.Tokens=J.StrToBytes(g);}else if(22===d.Context.Tip.Type){g=C.ReplaceAll(g,"**","");g=C.ReplaceAll(g,"*\xE2\x80\xB8","\xE2\x80\xB8");g=C.ReplaceAll(g,"\xE2\x80\xB8*","\xE2\x80\xB8");h.Tokens=J.StrToBytes(g);}if(e.parentIs(c,new AT([365829]))){$s=32;continue;}$s=33;continue;case 32:g=C.TrimSuffix(g,"\n");if((AE.nil===c.NextSibling&&!C.Contains(g,"\n"))||(!(AE.nil===c.NextSibling)&&(514===c.NextSibling.DataAtom)&&C.HasPrefix(g,"\n"))){g=C.ReplaceAll(g,"\n","");}if(C.Contains(g,"\\")){$s=34;continue;}$s=35;continue;case 34:j=C.ReplaceAll(g,"\\","");k=C.TrimSpace(j);$s=36;case 36:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;if(""===j){g=C.ReplaceAll(g,"\\","\\\\");}case 35:h.Tokens=J.StrToBytes(C.ReplaceAll(g,"\n","
    "));l=L.SplitWithoutBackslashEscape(h.Tokens,124);h.Tokens=AD.nil;m=l;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);h.Tokens=$appendSlice(h.Tokens,p);if(o<(l.$length-1>>0)){h.Tokens=$appendSlice(h.Tokens,(new AD($stringToBytes("\\|"))));}n++;}case 33:if((27===d.Context.Tip.Type)||(304===d.Context.Tip.Type)){$s=37;continue;}$s=38;continue;case 37:if(!(AF.nil===d.Context.Tip.Previous)&&(d.Context.Tip.Type===d.Context.Tip.Previous.Type)){d.Context.Tip.FirstChild.Next.Tokens=J.StrToBytes(g);}else{if(!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();}d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));}$s=39;case 39:return;case 38:if(530===d.Context.Tip.Type){$s=40;continue;}$s=41;continue;case 40:if("code"===d.Context.Tip.TokensStr()){$s=42;continue;}$s=43;continue;case 42:if(!(AF.nil===d.Context.Tip.FirstChild)&&!(AF.nil===d.Context.Tip.FirstChild.Next)&&!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){$s=44;continue;}$s=45;continue;case 44:g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));$s=46;case 46:return;case 45:case 43:case 41:if(515===d.Context.Tip.Type){h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\\\"))),(new AD($stringToBytes("\\"))));h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));if(A.Equal(h.Tokens,E.CaretTokens)){q=d.Context.Tip.Parent;d.Context.Tip.Unlink();d.Context.Tip=q;}}d.Context.Tip.AppendChild(h);$s=28;continue;case 12:if(e.parentIs(c.Parent.Parent,new AT([365829]))){$s=47;continue;}$s=48;continue;case 47:r=J.DomText(c.Parent.Parent);$s=49;case 49:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;s=C.ReplaceAll(s,"\xE2\x80\xB8","");t=C.TrimSpace(s);$s=50;case 50:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(t)));d.Context.Tip.AppendChild(h);$s=51;case 51:return;case 48:h.Type=107;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 13:$s=28;continue;case 14:h.Type=108;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 15:h.Type=109;u=J.DomAttrValue(c,"align");v=0;w=u;if(w===("left")){v=1;}else if(w===("center")){v=2;}else if(w===("right")){v=3;}else{v=0;}h.TableCellAlign=v;d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(h,c);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 16:y=e.isCaret(c);$s=53;case 53:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];if(z){$s=54;continue;}$s=55;continue;case 54:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=56;case 56:return;case 55:if(aa){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:if(e.ParseOptions.TextMark){$s=60;continue;}$s=61;continue;case 60:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;case 63:return;case 61:h.Type=27;h.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 17:ab=J.DomAttrValue(c,"data-type");if(""===ab){ab="text";}if(C.Contains(ab,"span")){$s=64;continue;}$s=65;continue;case 64:h.Type=16;ac=J.DomText(c);$s=66;case 66:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=J.StrToBytes(ac);$s=67;case 67:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h.Tokens=ad;d.Context.Tip.AppendChild(h);$s=68;case 68:return;case 65:if(C.Contains(ab,"img")){ab="img";}if(!(AF.nil===d.Context.Tip)&&!(AF.nil===d.Context.Tip.LastChild)){$s=69;continue;}$s=70;continue;case 69:ae=d.Context.Tip.LastChild.Text();$s=71;case 71:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=C.HasSuffix(af,"\\\xE2\x80\xB8");if(ag){af=C.TrimSuffix(af,"\xE2\x80\xB8");}if(C.HasSuffix(af,"\\")){ah=0;ai=af.length-1>>0;while(true){if(!(ai>=0)){break;}if(92===af.charCodeAt(ai)){ah=ah+(1)>>0;}else{break;}ai=ai-(1)>>0;}if(!((0===(aj=ah%2,aj===aj?aj:$throwRuntimeError("integer divide by zero"))))){if(ag){d.Context.Tip.LastChild.Tokens=A.TrimSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));}else{d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));}}}case 70:if("tag"===ab){$s=72;continue;}if("inline-math"===ab){$s=73;continue;}if("inline-memo"===ab){$s=74;continue;}if("a"===ab){$s=75;continue;}if("block-ref"===ab){$s=76;continue;}if("file-annotation-ref"===ab){$s=77;continue;}if("img"===ab){$s=78;continue;}if("backslash"===ab){$s=79;continue;}$s=80;continue;case 72:al=e.isCaret(c);$s=82;case 82:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];if(am){$s=83;continue;}$s=84;continue;case 83:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=85;case 85:return;case 84:if(an){$s=86;continue;}$s=87;continue;case 86:$s=88;case 88:return;case 87:if(e.ParseOptions.TextMark){$s=89;continue;}$s=90;continue;case 89:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=91;case 91:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=92;case 92:return;case 90:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");h.Type=460;h.AppendChild(new D.Node.ptr("","","","",461,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));Q(c,h);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 73:ao=J.GetTextMarkInlineMathData(c);if(""===ao){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.ParseOptions.TextMark){$s=96;continue;}$s=97;continue;case 96:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=99;case 99:return;case 97:h.Type=304;h.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ao),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=100;case 100:return;case 74:aq=e.isCaret(c);$s=101;case 101:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(ar){$s=102;continue;}$s=103;continue;case 102:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=104;case 104:return;case 103:if(as){$s=105;continue;}$s=106;continue;case 105:$s=107;case 107:return;case 106:if(e.ParseOptions.TextMark){$s=108;continue;}$s=109;continue;case 108:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=111;case 111:return;case 109:h.Type=16;at=J.DomText(c);$s=112;case 112:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=J.StrToBytes(at);$s=113;case 113:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}h.Tokens=au;d.Context.Tip.AppendChild(h);$s=114;case 114:return;case 75:if(AE.nil===c.FirstChild){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(33===d.Context.Tip.Type){$s=10;continue;}if(e.ParseOptions.TextMark){$s=118;continue;}$s=119;continue;case 118:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=120;case 120:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=121;case 121:return;case 119:h.Type=33;h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 76:av=J.DomText(c);$s=122;case 122:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;ax=C.TrimSpace(aw);$s=123;case 123:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;if(""===aw){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(aw==="\xE2\x80\xB8"){$s=127;continue;}$s=128;continue;case 127:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=129;case 129:return;case 128:if(e.ParseOptions.TextMark){$s=130;continue;}$s=131;continue;case 130:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=132;case 132:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=133;case 133:return;case 131:h.Type=430;h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ay=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",431,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ay),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",432,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));az=AF.nil;ba=J.DomAttrValue(c,"data-subtype");if("s"===ba||""===ba){az=new D.Node.ptr("","","","",433,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}else{az=new D.Node.ptr("","","","",434,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}if(e.parentIs(c,new AT([365829]))){az.Tokens=A.ReplaceAll(az.Tokens,(new AD($stringToBytes("|"))),(new AD($stringToBytes("|"))));}h.AppendChild(az);h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=134;case 134:return;case 77:bb=J.DomText(c);$s=135;case 135:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=C.TrimSpace(bc);$s=136;case 136:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;if(""===bc){$s=137;continue;}$s=138;continue;case 137:$s=139;case 139:return;case 138:if(bc==="\xE2\x80\xB8"){$s=140;continue;}$s=141;continue;case 140:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=142;case 142:return;case 141:if(e.ParseOptions.TextMark){$s=143;continue;}$s=144;continue;case 143:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=146;case 146:return;case 144:h.Type=540;h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));be=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",541,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",542,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=new D.Node.ptr("","","","",543,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bc),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(bf);h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=147;case 147:return;case 78:bg=e.domChild(c,198403);if(AE.nil===bg){$s=148;continue;}$s=149;continue;case 148:$s=150;case 150:return;case 149:h.Type=34;h.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(bg,"alt");h.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bh),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(bg,"data-src");h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bj=J.DomAttrValue(bg,"title");if(!(""===bj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(d.Context.Tip.LastChild,bg);$s=151;case 151:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=152;case 152:return;case 79:h.Type=400;if(AE.nil===c.FirstChild){$s=153;continue;}$s=154;continue;case 153:$s=155;case 155:return;case 154:if(c.FirstChild===c.LastChild&&!(AE.nil===c.FirstChild.FirstChild)){$s=156;continue;}$s=157;continue;case 156:$s=158;case 158:return;case 157:if(AE.nil===c.FirstChild.NextSibling&&(1===c.FirstChild.Type)){$s=159;continue;}$s=160;continue;case 159:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(c.FirstChild.Data),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=161;case 161:return;case 160:if(!(AE.nil===c.FirstChild.NextSibling)){bk=c.FirstChild.NextSibling.Data;bk=C.ReplaceAll(bk,"\\\\","\\");h.AppendChild(new D.Node.ptr("","","","",401,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bk),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);$s=162;case 162:return;case 80:bm=e.isCaret(c);$s=163;case 163:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;bn=bl[0];bo=bl[1];if(bn){$s=164;continue;}$s=165;continue;case 164:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=166;case 166:return;case 165:if(bo){$s=167;continue;}$s=168;continue;case 167:$s=169;case 169:return;case 168:bp=e.removeTempMark(ab);$s=170;case 170:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}ab=bp;bq=C.ReplaceAll(ab,"backslash","");br=C.TrimSpace(bq);$s=171;case 171:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bq=br;d.Context.Tip.AppendChild(h);if(""===bq){$s=172;continue;}$s=173;continue;case 172:h.Type=16;bs=J.DomText(c);$s=174;case 174:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(bs)));$s=175;case 175:return;case 173:e.setDOMAttrValue(c,"data-type",ab);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=177;case 177:return;case 81:$s=28;continue;case 18:bu=e.isCaret(c);$s=178;case 178:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;bv=bt[0];bw=bt[1];if(bv){$s=179;continue;}$s=180;continue;case 179:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=181;case 181:return;case 180:if(bw){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(e.ParseOptions.TextMark){$s=185;continue;}$s=186;continue;case 185:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=187;case 187:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=188;case 188:return;case 186:h.Type=490;h.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 19:by=e.isCaret(c);$s=189;case 189:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(bz){$s=190;continue;}$s=191;continue;case 190:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=192;case 192:return;case 191:if(ca){$s=193;continue;}$s=194;continue;case 193:$s=195;case 195:return;case 194:if(e.ParseOptions.TextMark){$s=196;continue;}$s=197;continue;case 196:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=198;case 198:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=199;case 199:return;case 197:h.Type=485;h.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 20:cc=e.isCaret(c);$s=200;case 200:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(cd){$s=201;continue;}$s=202;continue;case 201:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=203;case 203:return;case 202:if(ce){$s=204;continue;}$s=205;continue;case 204:$s=206;case 206:return;case 205:if(e.ParseOptions.TextMark){$s=207;continue;}$s=208;continue;case 207:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=209;case 209:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=210;case 210:return;case 208:h.Type=520;h.AppendChild(new D.Node.ptr("","","","",521,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 21:cg=e.isCaret(c);$s=211;case 211:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;ch=cf[0];ci=cf[1];if(ch){$s=212;continue;}$s=213;continue;case 212:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=214;case 214:return;case 213:if(ci){$s=215;continue;}$s=216;continue;case 215:$s=217;case 217:return;case 216:if(e.ParseOptions.TextMark){$s=218;continue;}$s=219;continue;case 218:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=220;case 220:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=221;case 221:return;case 219:h.Type=515;h.AppendChild(new D.Node.ptr("","","","",516,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 22:if(2===d.Context.Tip.Type){$s=222;continue;}$s=223;continue;case 222:$s=224;case 224:return;case 223:if(!(AE.nil===c.PrevSibling)&&"\n"===c.PrevSibling.Data&&e.parentIs(c,new AT([365829]))){$s=225;continue;}$s=226;continue;case 225:$s=227;case 227:return;case 226:h.Type=525;d.Context.Tip.AppendChild(h);$s=228;case 228:return;case 23:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=229;continue;}$s=230;continue;case 229:$s=231;case 231:return;case 230:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ck=e.isCaret(c);$s=232;case 232:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cj=ck;cl=cj[0];cm=cj[1];if(cl){$s=233;continue;}$s=234;continue;case 233:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=235;case 235:return;case 234:if(cm){$s=236;continue;}$s=237;continue;case 236:$s=238;case 238:return;case 237:if(e.ParseOptions.TextMark){$s=239;continue;}$s=240;continue;case 239:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=241;case 241:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=242;case 242:return;case 240:h.Type=17;cn=J.DomAttrValue(c,"data-marker");if(""===cn){cn="*";}if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=243;continue;}$s=244;continue;case 243:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=245;case 245:return;case 244:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");Q(c,h);e.removeInnerMarker(c,"__");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 24:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=246;continue;}$s=247;continue;case 246:$s=248;case 248:return;case 247:if(!(AF.nil===d.Context.Tip.LastChild)){if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))),(new AD($stringToBytes("\\\\\xE2\x80\xB8"))));}if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));}}if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cp=e.isCaret(c);$s=249;case 249:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}co=cp;cq=co[0];cr=co[1];if(cq){$s=250;continue;}$s=251;continue;case 250:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=252;case 252:return;case 251:if(cr){$s=253;continue;}$s=254;continue;case 253:$s=255;case 255:return;case 254:if(e.ParseOptions.TextMark){$s=256;continue;}$s=257;continue;case 256:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=258;case 258:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=259;case 259:return;case 257:h.Type=22;cs=J.DomAttrValue(c,"data-marker");if(""===cs){cs="**";}if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=260;continue;}$s=261;continue;case 260:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=262;case 262:return;case 261:Q(c,h);e.removeInnerMarker(c,"**");$r=H.SetSpanIAL(h,c);$s=263;case 263:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 25:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=264;continue;}$s=265;continue;case 264:$s=266;case 266:return;case 265:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cu=e.isCaret(c);$s=267;case 267:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}ct=cu;cv=ct[0];cw=ct[1];if(cv){$s=268;continue;}$s=269;continue;case 268:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=270;case 270:return;case 269:if(cw){$s=271;continue;}$s=272;continue;case 271:$s=273;case 273:return;case 272:if(e.ParseOptions.TextMark){$s=274;continue;}$s=275;continue;case 274:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=276;case 276:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=277;case 277:return;case 275:h.Type=101;cx=J.DomAttrValue(c,"data-marker");if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=278;continue;}$s=279;continue;case 278:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=280;case 280:return;case 279:Q(c,h);e.removeInnerMarker(c,"~~");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 26:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=281;continue;}$s=282;continue;case 281:$s=283;case 283:return;case 282:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cz=e.isCaret(c);$s=284;case 284:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(da){$s=285;continue;}$s=286;continue;case 285:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=287;case 287:return;case 286:if(db){$s=288;continue;}$s=289;continue;case 288:$s=290;case 290:return;case 289:if(e.ParseOptions.TextMark){$s=291;continue;}$s=292;continue;case 291:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=293;case 293:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=294;case 294:return;case 292:h.Type=450;dc=J.DomAttrValue(c,"data-marker");if("="===dc){h.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=295;continue;}$s=296;continue;case 295:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===dc){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=297;case 297:return;case 296:Q(c,h);e.removeInnerMarker(c,"==");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 27:if("emoji"===f){$s=298;continue;}$s=299;continue;case 298:dd=J.DomAttrValue(c,"alt");h.Type=200;de=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(dd,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");de.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+dd+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(de);d.Context.Tip.AppendChild(h);$s=300;case 300:return;case 299:case 28:case 10:df=c.FirstChild;case 301:if(!(!(df===AE.nil))){$s=302;continue;}$r=e.genASTContenteditable(df,d);$s=303;case 303:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}df=df.NextSibling;$s=301;continue;case 302:if(e.ParseOptions.TextMark){$s=304;continue;}$s=305;continue;case 304:$s=306;case 306:return;case 305:dg=c.DataAtom;if(dg===(378116)){h.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(40708)){dh=J.DomAttrValue(c,"data-type");if("tag"===dh){h.AppendChild(new D.Node.ptr("","","","",462,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if("a"===dh){h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));di=J.DomAttrValue(c,"data-href");if(!(""===e.RenderOptions.LinkBase)){di=C.ReplaceAll(di,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){di=C.ReplaceAll(di,e.RenderOptions.LinkPrefix,"");}h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(di))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dj=J.DomAttrValue(c,"data-title");if(!(""===dj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dj))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(421123)){h.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(461571)){h.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(2817)){h.AppendChild(new D.Node.ptr("","","","",522,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(47363)){h.AppendChild(new D.Node.ptr("","","","",517,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dg===(28162))||(dg===(1537))){dk=J.DomAttrValue(c,"data-marker");if(""===dk){dk="*";}if("_"===dk){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(449798))||(dg===(257))){dl=J.DomAttrValue(c,"data-marker");if(""===dl){dl="**";}if("__"===dl){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(283139))||(dg===(9473))||(dg===(53766))){dm=J.DomAttrValue(c,"data-marker");if("~"===dm){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(46596)){dn=J.DomAttrValue(c,"data-marker");if("="===dn){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTContenteditable,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTContenteditable=function(c,d){return this.$val.genASTContenteditable(c,d);};R.ptr.prototype.setBlockIAL=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;d.SetIALAttr("id",d.ID);g=J.DomAttrValue(c,"refcount");if(!(""===g)){d.SetIALAttr("refcount",g);e=$appendSlice(e,(new AD($stringToBytes(" refcount=\""+g+"\""))));}h=J.DomAttrValue(c,"av-names");if(!(""===h)){d.SetIALAttr("av-names",h);e=$appendSlice(e,(new AD($stringToBytes(" av-names=\""+h+"\""))));}i=J.DomAttrValue(c,"bookmark");if(!(""===i)){i=F.UnescapeHTMLStr(i);d.SetIALAttr("bookmark",i);e=$appendSlice(e,(new AD($stringToBytes(" bookmark=\""+i+"\""))));}j=J.DomAttrValue(c,"style");if(!(""===j)){$s=1;continue;}$s=2;continue;case 1:j=F.UnescapeHTMLStr(j);k=H.StyleValue(j);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;d.SetIALAttr("style",j);e=$appendSlice(e,(new AD($stringToBytes(" style=\""+j+"\""))));case 2:l=J.DomAttrValue(c,"name");if(!(""===l)){l=F.UnescapeHTMLStr(l);d.SetIALAttr("name",l);e=$appendSlice(e,(new AD($stringToBytes(" name=\""+l+"\""))));}m=J.DomAttrValue(c,"memo");if(!(""===m)){m=F.UnescapeHTMLStr(m);d.SetIALAttr("memo",m);e=$appendSlice(e,(new AD($stringToBytes(" memo=\""+m+"\""))));}n=J.DomAttrValue(c,"alias");if(!(""===n)){n=F.UnescapeHTMLStr(n);d.SetIALAttr("alias",n);e=$appendSlice(e,(new AD($stringToBytes(" alias=\""+n+"\""))));}o=J.DomAttrValue(c,"fold");if(!(""===o)){d.SetIALAttr("fold",o);e=$appendSlice(e,(new AD($stringToBytes(" fold=\""+o+"\""))));}p=J.DomAttrValue(c,"heading-fold");if(!(""===p)){d.SetIALAttr("heading-fold",p);e=$appendSlice(e,(new AD($stringToBytes(" heading-fold=\""+p+"\""))));}q=J.DomAttrValue(c,"parent-fold");if(!(""===q)){d.SetIALAttr("parent-fold",q);e=$appendSlice(e,(new AD($stringToBytes(" parent-fold=\""+q+"\""))));}r=J.DomAttrValue(c,"updated");if(!(""===r)){d.SetIALAttr("updated",r);e=$appendSlice(e,(new AD($stringToBytes(" updated=\""+r+"\""))));}s=J.DomAttrValue(c,"linewrap");if(!(""===s)){d.SetIALAttr("linewrap",s);e=$appendSlice(e,(new AD($stringToBytes(" linewrap=\""+s+"\""))));}t=J.DomAttrValue(c,"ligatures");if(!(""===t)){d.SetIALAttr("ligatures",t);e=$appendSlice(e,(new AD($stringToBytes(" ligatures=\""+t+"\""))));}u=J.DomAttrValue(c,"linenumber");if(!(""===u)){d.SetIALAttr("linenumber",u);e=$appendSlice(e,(new AD($stringToBytes(" linenumber=\""+u+"\""))));}v=J.DomAttrValue(c,"breadcrumb");if(!(""===v)){d.SetIALAttr("breadcrumb",v);e=$appendSlice(e,(new AD($stringToBytes(" breadcrumb=\""+v+"\""))));}w=J.DomAttrValue(c,"data-export-md");if(!(""===w)){w=F.UnescapeHTMLStr(w);d.SetIALAttr("data-export-md",w);e=$appendSlice(e,(new AD($stringToBytes(" data-export-md=\""+w+"\""))));}x=J.DomAttrValue(c,"data-export-html");if(!(""===x)){x=F.UnescapeHTMLStr(x);d.SetIALAttr("data-export-html",x);e=$appendSlice(e,(new AD($stringToBytes(" data-export-html=\""+x+"\""))));}y=J.DomCustomAttrs(c);if(!(false===y)){z=y;aa=0;ab=z?z.keys():undefined;ac=z?z.size:0;while(true){if(!(aa=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=1;continue;case 2:d.HTML2MdRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2HTMLRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d=d;$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,c,d,e,f,g,$s};return $f;};$pkg.New=S;R.ptr.prototype.Markdown=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;g=H.Parse(c,d,f.ParseOptions);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewHtmlRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f.Md2HTMLRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));f=J.BytesToStr(H.EmojiSitePlaceholder);g=d.ParseOptions.AliasEmoji;h=0;i=g?g.keys():undefined;j=g?g.size:0;while(true){if(!(h=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]),$String),(($assertType((1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]),$Float64)>>0))];};})(j,k)});t++;$s=3;continue;case 4:g++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SetJSRenderers,$c:true,$r,aa,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.SetJSRenderers=function(c){return this.$val.SetJSRenderers(c);};R.ptr.prototype.HTML2Markdown=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=$ifaceNil;f=this;g=f.HTML2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=AD.nil;j=I.NewFormatRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=f.HTML2MdRendererFuncs;m=0;n=l?l.keys():undefined;o=l?l.size:0;while(true){if(!(mL.TrimWhitespace(i.Tokens).$length){$s=63;continue;}$s=64;continue;case 63:$s=65;case 65:return;case 64:if(!(AE.nil===c.Parent)&&(40708===c.Parent.DataAtom)&&(!(""===J.DomAttrValue(c.Parent,"class")))){$s=66;continue;}$s=67;continue;case 66:m=d.Context.Tip.LastChild;if(AF.nil===m||((16===m.Type)&&!A.HasSuffix(m.Tokens,(new AD($stringToBytes("**")))))){$s=68;continue;}$s=69;continue;case 68:n=($bytesToString(i.Tokens));o=e.prefixSpaces(n);p=e.suffixSpaces(n);q=C.TrimSpace(n);$s=70;case 70:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}n=q;if(!(""===o)){i.Tokens=(new AD($stringToBytes(o)));}i.Tokens=(new AD($stringToBytes("**"+n+"**")));if(!(""===p)){i.Tokens=$appendSlice(i.Tokens,(new AD($stringToBytes(p))));}case 69:case 67:d.Context.Tip.AppendChild(i);$s=53;continue;case 21:if(33===d.Context.Tip.Type){$s=19;continue;}if(e.parentIs(c,new AT([365829]))){if(!(AE.nil===c.PrevSibling)&&C.Contains(c.PrevSibling.Data,"\n")){$s=19;continue;}if(!(AE.nil===c.NextSibling)&&C.Contains(c.NextSibling.Data,"\n")){$s=19;continue;}if(AF.nil===d.Context.Tip.FirstChild){$s=19;continue;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=19;continue;}if(92931===c.DataAtom){$s=71;continue;}$s=72;continue;case 71:r=J.DomAttrValue(c,"class");s="";if(C.Contains(r,"-source-")){s=$substring(r,(C.LastIndex(r,"-source-")+8>>0));}else if(C.Contains(r,"-text-html-basic")){s="html";}if(!(""===s)){$s=73;continue;}$s=74;continue;case 73:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));t=new A.Buffer.ptr(AD.nil,0,0);i.LastChild.CodeBlockInfo=(new AD($stringToBytes(s)));u=J.DomText(c);$s=75;case 75:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=t.WriteString(u);$s=76;case 76:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;w=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,t.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(w);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);$s=77;case 77:return;case 74:case 72:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 22:if(33===d.Context.Tip.Type){$s=19;continue;}i.Type=2;i.HeadingLevel=((((x=i.Tokens,(1>=x.$length?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+1]))-48<<24>>>24)>>0));i.AppendChild(new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(C.Repeat("#",i.HeadingLevel)),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 23:i.Type=4;d.Context.Tip.AppendChild(i);$s=53;continue;case 24:i.Type=5;i.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(">"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 25:i.Type=7;i.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){i.ListData.Typ=1;}i.ListData.Tight=true;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 26:i.Type=8;y=J.DomAttrValue(c,"data-marker");z=0;if(""===y){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){aa=J.DomAttrValue(c.Parent,"start");if(""===aa){y="1.";}else{y=aa+".";}}else{y="*";z=y.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)&&!("1."===y)&&(79618===c.Parent.DataAtom)&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){y="1.";}}i.ListData=new D.ListData.ptr(0,false,z,0,0,0,0,false,(new AD($stringToBytes(y))),0);d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 27:ab=c.FirstChild;if(AE.nil===ab){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if((92931===ab.DataAtom)&&!(AE.nil===ab.NextSibling)&&(378116===ab.NextSibling.DataAtom)){ab=ab.NextSibling;c.FirstChild.Unlink();}if((92931===ab.DataAtom)&&AE.nil===ab.NextSibling){ac=J.DomChildrenByType(c,378116);if(1===ac.$length){ad=(0>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+0]);ad.Unlink();c.AppendChild(ad);ab.Unlink();ab=c.FirstChild;}}ae=false;if((79618===ab.DataAtom)&&AE.nil===ab.NextSibling&&!(AE.nil===ab.FirstChild)&&(45570===ab.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild)&&(3073===ab.FirstChild.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild.FirstChild)&&(40708===ab.FirstChild.FirstChild.FirstChild.DataAtom)){af=ab.FirstChild;while(true){if(!(!(AE.nil===af))){break;}ag=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,378116,"code","",AS.nil);ah=AP.nil;ai=af.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}ah=$append(ah,ai);ai=ai.NextSibling;}aj=ah;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);al.Unlink();ag.AppendChild(al);ak++;}af.FirstChild.AppendChild(ag);ae=true;af=af.NextSibling;}}if((79618===ab.DataAtom)&&AE.nil===ab.NextSibling&&!(AE.nil===ab.FirstChild)&&(45570===ab.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild)&&(3073===ab.FirstChild.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild.FirstChild)&&(378116===ab.FirstChild.FirstChild.FirstChild.DataAtom)){am=AP.nil;an=AP.nil;ao=am;ap=an;aq=ab.FirstChild;while(true){if(!(!(AE.nil===aq))){break;}ao=$append(ao,aq);ap=$append(ap,aq.FirstChild.FirstChild);aq=aq.NextSibling;}ar=ao;as=0;while(true){if(!(as=ar.$length)?($throwRuntimeError("index out of range"),undefined):ar.$array[ar.$offset+as]);at.Unlink();as++;}au=ap;av=0;while(true){if(!(av=au.$length)?($throwRuntimeError("index out of range"),undefined):au.$array[au.$offset+av]);aw.Unlink();c.AppendChild(aw);av++;}ab.Unlink();ab=c.FirstChild;}if((1===ab.Type)||(40708===ab.DataAtom)||(378116===ab.DataAtom)||(354311===ab.DataAtom)||(290819===ab.DataAtom)||(1===ab.DataAtom)){$s=81;continue;}$s=82;continue;case 81:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if((378116===ab.DataAtom)||(40708===ab.DataAtom)||(1===ab.DataAtom)){ax=J.DomAttrValue(ab,"class");if(!C.Contains(ax,"language-")){ax=J.DomAttrValue(c,"class");}if(C.Contains(ax,"language-")){ay=$substring(ax,(C.Index(ax,"language-")+9>>0));ay=(az=C.Split(ay," "),(0>=az.$length?($throwRuntimeError("index out of range"),undefined):az.$array[az.$offset+0]));i.LastChild.CodeBlockInfo=(new AD($stringToBytes(ay)));}else{if((378116===ab.DataAtom)&&!ae){ba=J.DomAttrValue(ab,"class");if(!C.Contains(ba," ")){i.LastChild.CodeBlockInfo=(new AD($stringToBytes(ba)));}}}if(1>i.LastChild.CodeBlockInfo.$length){bb=J.DomAttrValue(c,"class");if(!C.Contains(bb," ")){i.LastChild.CodeBlockInfo=(new AD($stringToBytes(bb)));}}if(A.ContainsAny(i.LastChild.CodeBlockInfo,"-_ ")){i.LastChild.CodeBlockInfo=AD.nil;}}if(378116===ab.DataAtom){if(!(AE.nil===ab.NextSibling)&&(378116===ab.NextSibling.DataAtom)){bc=ab.NextSibling;while(true){if(!(!(AE.nil===bc))){break;}bc.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));bc=bc.NextSibling;}}if(!(AE.nil===ab.FirstChild)&&(79618===ab.FirstChild.DataAtom)){bd=ab.FirstChild.FirstChild;while(true){if(!(!(AE.nil===bd))){break;}if(!(bd===ab.FirstChild.FirstChild)){bd.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));}bd=bd.NextSibling;}}if(!(AE.nil===c.LastChild)&&(42754===c.LastChild.DataAtom)){c.LastChild.Unlink();}}if((290819===ab.DataAtom)&&!(AE.nil===ab.FirstChild)){be=ab.FirstChild.NextSibling;while(true){if(!(!(AE.nil===be))){break;}be.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));be=be.NextSibling;}}bf=new A.Buffer.ptr(AD.nil,0,0);bg=J.DomText(c);$s=84;case 84:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bf.WriteString(bg);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bh;bi=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bf.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(bi);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(d.Context.Tip.ParentIs(106,BB.nil)){$s=86;continue;}$s=87;continue;case 86:bj=d.Context.Tip.Parent;case 89:if(!(!(AF.nil===bj))){$s=90;continue;}if(106===bj.Type){$s=91;continue;}$s=92;continue;case 91:if(!(AF.nil===bj.FirstChild)&&bj.FirstChild===bj.LastChild&&(107===bj.FirstChild.Type)&&bj.FirstChild.FirstChild===bj.FirstChild.LastChild&&!(AF.nil===bj.FirstChild.FirstChild.FirstChild)&&(109===bj.FirstChild.FirstChild.FirstChild.Type)){$s=93;continue;}$s=94;continue;case 93:bj.InsertBefore(i);bj.Unlink();d.Context.Tip=i;$s=95;case 95:return;case 94:case 92:bj=bj.Parent;$s=89;continue;case 90:bk=A.Split(bi.Tokens,(new AD($stringToBytes("\n"))));bl=bk;bm=0;while(true){if(!(bm=bl.$length)?($throwRuntimeError("index out of range"),undefined):bl.$array[bl.$offset+bm]);if(0>0)){if(d.Context.ParseOption.ProtyleWYSIWYG){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}}bm++;}$s=88;continue;case 87:d.Context.Tip.AppendChild(i);case 88:$s=83;continue;case 82:i.Type=9;bq=J.DomHTML(c);$s=96;case 96:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}i.Tokens=bq;d.Context.Tip.AppendChild(i);case 83:$s=97;case 97:return;case 28:br=J.DomText(c);$s=98;case 98:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bs=br;bt=C.TrimSpace(bs);$s=101;case 101:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}if(""===bt){$s=99;continue;}$s=100;continue;case 99:$s=19;continue;case 100:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=17;bu="*";i.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bu),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 29:bv=J.DomText(c);$s=102;case 102:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=bv;bx=C.TrimSpace(bw);$s=105;case 105:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}if(""===bx){$s=103;continue;}$s=104;continue;case 103:$s=19;continue;case 104:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=22;by="**";i.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(by),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 30:if(AE.nil===c.FirstChild){$s=106;continue;}$s=107;continue;case 106:$s=108;case 108:return;case 107:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bz=J.DomHTML(c);$s=109;case 109:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}ca=bz;if(A.Contains(ca,(new AD($stringToBytes(">"))))){ca=$subslice(ca,(A.Index(ca,(new AD($stringToBytes(">"))))+1>>0));}ca=A.TrimSuffix(ca,(new AD($stringToBytes("
    "))));cb=true;cc=c.FirstChild;while(true){if(!(!(AE.nil===cc))){break;}if(1===cc.Type){cc=cc.NextSibling;continue;}if(!((40708===cc.DataAtom))){cb=false;break;}cc=cc.NextSibling;}if(cb){$s=110;continue;}$s=111;continue;case 110:cd=J.DomText(c);$s=112;case 112:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ca=(new AD($stringToBytes(cd)));ca=A.ReplaceAll(ca,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 111:ce=F.UnescapeString(($bytesToString(ca)));ca=(new AD($stringToBytes(ce)));cf=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ca,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.Type=27;i.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(cf);i.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=113;case 113:return;case 31:if(33===d.Context.Tip.Type){$s=19;continue;}if(AE.nil===c.NextSibling){$s=19;continue;}if(d.Context.ParseOption.ProtyleWYSIWYG&&e.parentIs(c,new AT([365829]))){i.Type=525;}else{i.Type=31;i.Tokens=J.StrToBytes("\n");}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 32:i.Type=33;cg=J.DomText(c);$s=114;case 114:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;if(""===ch&&!(AE.nil===c.Parent)&&((89090===c.Parent.DataAtom)||(187906===c.Parent.DataAtom)||(199938===c.Parent.DataAtom)||(214274===c.Parent.DataAtom)||(216834===c.Parent.DataAtom)||(412930===c.Parent.DataAtom)||(92931===c.Parent.DataAtom))){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(""===ch&&AE.nil===c.FirstChild){$s=118;continue;}$s=119;continue;case 118:$s=120;case 120:return;case 119:i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 33:ci=J.DomAttrValue(c,"class");cj=J.DomAttrValue(c,"alt");if("emoji"===ci){$s=121;continue;}$s=122;continue;case 121:i.Type=200;ck=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(cj,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ck.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(":"+cj+":"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(ck);$s=123;continue;case 122:i.Type=34;i.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===cj)){i.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));cl=J.DomAttrValue(c,"src");if(C.HasPrefix(cl,"data:image")){cm=J.DomAttrValue(c,"data-src");if(!(""===cm)){cl=cm;}}if(""===cl){$s=124;continue;}$s=125;continue;case 124:cn=J.DomAttrValue(c,"srcset");if(!(""===cn)){$s=126;continue;}$s=127;continue;case 126:if(C.Contains(cn,",")){$s=128;continue;}$s=129;continue;case 128:cl=(co=C.Split(cn,","),cp=C.Split(cn,",").$length-1>>0,((cp<0||cp>=co.$length)?($throwRuntimeError("index out of range"),undefined):co.$array[co.$offset+cp]));cq=C.TrimSpace(cl);$s=131;case 131:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}cl=cq;if(C.Contains(cl," ")){$s=132;continue;}$s=133;continue;case 132:cs=C.TrimSpace((cr=C.Split(cl," "),(0>=cr.$length?($throwRuntimeError("index out of range"),undefined):cr.$array[cr.$offset+0])));$s=134;case 134:if($c){$c=false;cs=cs.$blk();}if(cs&&cs.$blk!==undefined){break s;}cl=cs;case 133:$s=130;continue;case 129:ct=C.TrimSpace(cl);$s=135;case 135:if($c){$c=false;ct=ct.$blk();}if(ct&&ct.$blk!==undefined){break s;}cl=ct;if(C.Contains(cl," ")){$s=136;continue;}$s=137;continue;case 136:cv=C.TrimSpace((cu=C.Split(cn," "),(0>=cu.$length?($throwRuntimeError("index out of range"),undefined):cu.$array[cu.$offset+0])));$s=138;case 138:if($c){$c=false;cv=cv.$blk();}if(cv&&cv.$blk!==undefined){break s;}cl=cv;case 137:case 130:case 127:case 125:i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cl),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));cw=J.DomAttrValue(c,"title");if(!(""===cw)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cw))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 123:if(0===d.Context.Tip.Type){cx=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(cx);d.Context.Tip=cx;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 34:i.Type=100;i.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(i);if(!(AF.nil===i.Parent.Parent)){if(AL.nil===i.Parent.Parent.ListData){i.Parent.Parent.ListData=new D.ListData.ptr(3,false,0,0,0,0,0,false,AD.nil,0);}else{i.Parent.Parent.ListData.Typ=3;}}$s=53;continue;case 35:i.Type=101;cy="~~";i.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cy),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 36:i.Type=450;cz="==";i.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cz),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 37:i.Type=485;i.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 38:i.Type=490;i.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 39:i.Type=106;da=AM.nil;if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild.FirstChild)){db=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===db))){break;}dc=J.DomAttrValue(db,"align");dd=dc;if(dd===("left")){da=$append(da,1);}else if(dd===("center")){da=$append(da,2);}else if(dd===("right")){da=$append(da,3);}else{da=$append(da,0);}db=db.NextSibling;}}i.TableAligns=da;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 40:if(AE.nil===c.FirstChild){$s=19;continue;}i.Type=107;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 41:$s=53;continue;case 42:if(AE.nil===c.FirstChild){$s=19;continue;}de=c.Parent.Parent;i.Type=108;if(AF.nil===d.Context.Tip.ChildByType(107)&&AE.nil===J.DomChildByType(de,208901)){df=new D.Node.ptr("","","","",107,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(df);d.Context.Tip=df;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 43:i.Type=109;dg=J.DomAttrValue(c,"align");dh=0;di=dg;if(di===("left")){dh=1;}else if(di===("center")){dh=2;}else if(di===("right")){dh=3;}else{dh=0;}i.TableCellAlign=dh;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 44:$s=139;case 139:return;case 45:if(AE.nil===c.FirstChild){$s=140;continue;}$s=141;continue;case 140:$s=142;case 142:return;case 141:if("code"===J.DomAttrValue(c,"data-type")){$s=143;continue;}$s=144;continue;case 143:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}dj=new D.Node.ptr("","","","",27,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");dj.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dk=J.DomText(c);$s=145;case 145:if($c){$c=false;dk=dk.$blk();}if(dk&&dk.$blk!==undefined){break s;}dl=J.StrToBytes(dk);$s=146;case 146:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$r=dj.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,dl,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=147;case 147:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(dj);d.Context.Tip=dj;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=148;case 148:return;case 144:$s=53;continue;case 46:i.Type=16;dm=J.DomText(c);$s=149;case 149:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=(new AD($stringToBytes(dm)));while(true){if(!(C.Contains(($bytesToString(dn)),"\n\n"))){break;}dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n\n"))),(new AD($stringToBytes("\n"))));}while(true){if(!(C.Contains(($bytesToString(dn)),"\n "))){break;}dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n "))),(new AD($stringToBytes("\n "))));}dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n "))),(new AD($stringToBytes("\n"))));dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n"))),(new AD($stringToBytes(" "))));i.Tokens=dn;d.Context.Tip.AppendChild(i);$s=150;case 150:return;case 47:i.Type=9;dp=J.DomHTML(c);$s=151;case 151:if($c){$c=false;dp=dp.$blk();}if(dp&&dp.$blk!==undefined){break s;}i.Tokens=dp;i.Tokens=(dq=A.SplitAfter(i.Tokens,(new AD($stringToBytes("")))),(0>=dq.$length?($throwRuntimeError("index out of range"),undefined):dq.$array[dq.$offset+0]));d.Context.Tip.AppendChild(i);$s=53;continue;case 48:$s=152;case 152:return;case 49:i.Type=9;dr=J.DomHTML(c);$s=153;case 153:if($c){$c=false;dr=dr.$blk();}if(dr&&dr.$blk!==undefined){break s;}i.Tokens=dr;d.Context.Tip.AppendChild(i);$s=154;case 154:return;case 50:$s=155;case 155:return;case 51:i.Type=1;i.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ds=J.DomText(c);$s=156;case 156:if($c){$c=false;ds=ds.$blk();}if(ds&&ds.$blk!==undefined){break s;}dt=J.StrToBytes(ds);$s=157;case 157:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}$r=i.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,dt,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=158;case 158:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip.AppendChild(i);$s=159;case 159:return;case 52:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);case 53:case 19:du=c.FirstChild;case 160:if(!(!(du===AE.nil))){$s=161;continue;}$r=e.genASTByDOM(du,d);$s=162;case 162:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}du=du.NextSibling;$s=160;continue;case 161:dv=c.DataAtom;if((dv===(28162))||(dv===(1537))){$s=164;continue;}if((dv===(449798))||(dv===(257))){$s=165;continue;}if(dv===(1)){$s=166;continue;}if((dv===(283139))||(dv===(9473))||(dv===(53766))){$s=167;continue;}if(dv===(46596)){$s=168;continue;}if(dv===(461571)){$s=169;continue;}if(dv===(421123)){$s=170;continue;}if(dv===(29191)){$s=171;continue;}$s=172;continue;case 164:dw="*";i.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=173;case 173:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 165:dx="**";i.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dx),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=174;case 174:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 166:i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(J.DomAttrValue(c,"href")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dy=J.DomAttrValue(c,"title");if(!(""===dy)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dy),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=172;continue;case 167:dz="~~";i.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dz),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=175;case 175:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 168:ea="==";i.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ea),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 169:i.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=177;case 177:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 170:i.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=178;case 178:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 171:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 172:case 163:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByDOM=function(c,d){return this.$val.genASTByDOM(c,d);};AA=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!(AE.nil===c.NextSibling)){$s=1;continue;}$s=2;continue;case 1:f=J.DomText(c.NextSibling);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!(""===g)){$s=4;continue;}$s=5;continue;case 4:h=(new BC($stringToRunes(g)));if(!P.IsSpace((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){$s=6;continue;}$s=7;continue;case 6:if(P.IsPunct((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))||P.IsSymbol((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){d.Context.Tip.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=-1;return;}i=J.DomText(c);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(""===j)){$s=9;continue;}$s=10;continue;case 9:h=(new BC($stringToRunes(j)));l=(k=h.$length-1>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]));if(P.IsPunct(l)||P.IsSymbol(l)){m=d.Context.Tip.ChildByType(16);if(!(AF.nil===m)){m.Tokens=$appendSlice((new AD($stringToBytes("\xE2\x80\x8B"))),m.Tokens);m.Tokens=$appendSlice(m.Tokens,(new AD($stringToBytes("\xE2\x80\x8B"))));}$s=-1;return;}n=e.prefixSpaces(j);if(!(""===n)){o=d.Context.Tip.Previous;if(!(AF.nil===o)){if(16===o.Type){o.Tokens=$appendSlice(o.Tokens,J.StrToBytes(n));}else{o.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}p=d.Context.Tip.ChildByType(16);p.Tokens=A.TrimLeft(p.Tokens," \xC5\xA0");}n=e.suffixSpaces(j);if(!(""===n)){$s=11;continue;}$s=12;continue;case 11:q=d.Context.Tip.ChildrenByType(16);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(0>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));t.Tokens=A.TrimRight(t.Tokens," \xC5\xA0");if(1>t.Tokens.$length){t.Unlink();}}if(!(AE.nil===c.NextSibling)){if(1===c.NextSibling.Type){c.NextSibling.Data=n+c.NextSibling.Data;}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 12:case 10:case 7:case 5:case 2:$s=-1;return;}return;}var $f={$blk:AA,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};AV.methods=[{prop:"Md2HTML",name:"Md2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorDOM",name:"SpinVditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorDOM",name:"HTML2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2HTML",name:"VditorDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorDOM",name:"Md2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2Md",name:"VditorDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderEChartsJSON",name:"RenderEChartsJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderKityMinderJSON",name:"RenderKityMinderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2Md",name:"HTML2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorDOM2Md",name:"vditorDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"parseHTML",name:"parseHTML",pkg:"github.com/88250/lute",typ:$funcType([$String],[AE],false)},{prop:"adjustVditorDOM",name:"adjustVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListList",name:"adjustVditorDOMListList",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeHighlightJSSpans",name:"removeHighlightJSSpans",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"hljsSpans",name:"hljsSpans",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"removeEmptyNodes",name:"removeEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"searchEmptyNodes",name:"searchEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"mergeVditorDOMList0",name:"mergeVditorDOMList0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListTight0",name:"adjustVditorDOMListTight0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListItemInP",name:"adjustVditorDOMListItemInP",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeCodeCode",name:"removeCodeCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMCodeA",name:"adjustVditorDOMCodeA",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"forwardNextBlock",name:"forwardNextBlock",pkg:"github.com/88250/lute",typ:$funcType([AE],[AP,AE],false)},{prop:"listItemEnter",name:"listItemEnter",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isTightList",name:"isTightList",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"genASTByVditorDOM",name:"genASTByVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"hasAttr",name:"hasAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[$Bool],false)},{prop:"domChild",name:"domChild",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"domChild0",name:"domChild0",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"setDOMAttrValue",name:"setDOMAttrValue",pkg:"github.com/88250/lute",typ:$funcType([AE,$String,$String],[],false)},{prop:"removeDOMAttr",name:"removeDOMAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"domCode",name:"domCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"domCode0",name:"domCode0",pkg:"github.com/88250/lute",typ:$funcType([AE,AY],[],false)},{prop:"parentIs",name:"parentIs",pkg:"github.com/88250/lute",typ:$funcType([AE,AT],[$Bool],true)},{prop:"getParent",name:"getParent",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"isCaret",name:"isCaret",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool,$Bool],false)},{prop:"isEmptyText",name:"isEmptyText",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"startsWithNewline",name:"startsWithNewline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isInline",name:"isInline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"prefixSpaces",name:"prefixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"suffixSpaces",name:"suffixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorSVDOM",name:"SpinVditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorSVDOM",name:"HTML2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorSVDOM",name:"Md2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorIRDOM",name:"SpinVditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorIRDOM",name:"HTML2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2HTML",name:"VditorIRDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorIRDOM",name:"Md2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2Md",name:"VditorIRDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorIRDOM2Md",name:"vditorIRDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByVditorIRDOM",name:"genASTByVditorIRDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"SpinBlockDOM",name:"SpinBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2BlockDOM",name:"HTML2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2HTML",name:"BlockDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2InlineBlockDOM",name:"BlockDOM2InlineBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2BlockDOM",name:"Md2BlockDOM",pkg:"",typ:$funcType([$String,$Bool],[$String],false)},{prop:"Md2BlockDOMTree",name:"Md2BlockDOMTree",pkg:"",typ:$funcType([$String,$Bool],[$String,AB],false)},{prop:"InlineMd2BlockDOM",name:"InlineMd2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Md",name:"BlockDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2StdMd",name:"BlockDOM2StdMd",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Text",name:"BlockDOM2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2TextLen",name:"BlockDOM2TextLen",pkg:"",typ:$funcType([$String],[$Int],false)},{prop:"BlockDOM2Content",name:"BlockDOM2Content",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2EscapeMarkerContent",name:"BlockDOM2EscapeMarkerContent",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Tree2BlockDOM",name:"Tree2BlockDOM",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"RenderNodeBlockDOM",name:"RenderNodeBlockDOM",pkg:"",typ:$funcType([AF],[$String],false)},{prop:"BlockDOM2Tree",name:"BlockDOM2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"MergeSameTextMark",name:"MergeSameTextMark",pkg:"",typ:$funcType([AF],[],false)},{prop:"MergeSameSpan",name:"MergeSameSpan",pkg:"",typ:$funcType([AF],[],false)},{prop:"CancelSuperBlock",name:"CancelSuperBlock",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelList",name:"CancelList",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelBlockquote",name:"CancelBlockquote",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Ps",name:"Blocks2Ps",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Hs",name:"Blocks2Hs",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"OL2TL",name:"OL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2TL",name:"UL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2OL",name:"TL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2UL",name:"TL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"OL2UL",name:"OL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2OL",name:"UL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"blockDOM2Md",name:"blockDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByBlockDOM",name:"genASTByBlockDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"genASTContenteditable",name:"genASTContenteditable",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"setBlockIAL",name:"setBlockIAL",pkg:"github.com/88250/lute",typ:$funcType([AE,AF],[AD],false)},{prop:"removeInnerMarker",name:"removeInnerMarker",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeInnerMarker0",name:"removeInnerMarker0",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeTempMark",name:"removeTempMark",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"Markdown",name:"Markdown",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"MarkdownStr",name:"MarkdownStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"FormatStr",name:"FormatStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"TextBundle",name:"TextBundle",pkg:"",typ:$funcType([$String,AD,AJ],[AD,AJ],false)},{prop:"TextBundleStr",name:"TextBundleStr",pkg:"",typ:$funcType([$String,$String,AJ],[$String,AJ],false)},{prop:"HTML2Text",name:"HTML2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderJSON",name:"RenderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"IsValidLinkDest",name:"IsValidLinkDest",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"GetLinkDest",name:"GetLinkDest",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetEmojis",name:"GetEmojis",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutEmojis",name:"PutEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"RemoveEmoji",name:"RemoveEmoji",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetTerms",name:"GetTerms",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutTerms",name:"PutTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"ProtylePreview",name:"ProtylePreview",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"Tree2HTML",name:"Tree2HTML",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"SetGFMTable",name:"SetGFMTable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItem",name:"SetGFMTaskListItem",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItemClass",name:"SetGFMTaskListItemClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetGFMStrikethrough",name:"SetGFMStrikethrough",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMStrikethrough1",name:"SetGFMStrikethrough1",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMAutoLink",name:"SetGFMAutoLink",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSoftBreak2HardBreak",name:"SetSoftBreak2HardBreak",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlight",name:"SetCodeSyntaxHighlight",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightDetectLang",name:"SetCodeSyntaxHighlightDetectLang",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightInlineStyle",name:"SetCodeSyntaxHighlightInlineStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightLineNum",name:"SetCodeSyntaxHighlightLineNum",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightStyleName",name:"SetCodeSyntaxHighlightStyleName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetFootnotes",name:"SetFootnotes",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetToC",name:"SetToC",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHeadingID",name:"SetHeadingID",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetAutoSpace",name:"SetAutoSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFixTermTypo",name:"SetFixTermTypo",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmoji",name:"SetEmoji",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmojis",name:"SetEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetEmojiSite",name:"SetEmojiSite",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetHeadingAnchor",name:"SetHeadingAnchor",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTerms",name:"SetTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetVditorWYSIWYG",name:"SetVditorWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleWYSIWYG",name:"SetProtyleWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorIR",name:"SetVditorIR",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorSV",name:"SetVditorSV",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMath",name:"SetInlineMath",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMathAllowDigitAfterOpenMarker",name:"SetInlineMathAllowDigitAfterOpenMarker",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkPrefix",name:"SetLinkPrefix",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLinkBase",name:"SetLinkBase",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetLinkBase",name:"GetLinkBase",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetVditorCodeBlockPreview",name:"SetVditorCodeBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorMathBlockPreview",name:"SetVditorMathBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorHTMLBlockPreview",name:"SetVditorHTMLBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetRenderListStyle",name:"SetRenderListStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSanitize",name:"SetSanitize",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImageLazyLoading",name:"SetImageLazyLoading",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetChineseParagraphBeginningSpace",name:"SetChineseParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetYamlFrontMatter",name:"SetYamlFrontMatter",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSetext",name:"SetSetext",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetBlockRef",name:"SetBlockRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFileAnnotationRef",name:"SetFileAnnotationRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetMark",name:"SetMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIAL",name:"SetKramdownIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownBlockIAL",name:"SetKramdownBlockIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownSpanIAL",name:"SetKramdownSpanIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIALIDRenderName",name:"SetKramdownIALIDRenderName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTag",name:"SetTag",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImgPathAllowSpace",name:"SetImgPathAllowSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSuperBlock",name:"SetSuperBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSup",name:"SetSup",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSub",name:"SetSub",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGitConflict",name:"SetGitConflict",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkRef",name:"SetLinkRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetIndentCodeBlock",name:"SetIndentCodeBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetDataImage",name:"SetDataImage",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTextMark",name:"SetTextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpin",name:"SetSpin",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHTMLTag2TextMark",name:"SetHTMLTag2TextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetParagraphBeginningSpace",name:"SetParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleMarkNetImg",name:"SetProtyleMarkNetImg",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpellcheck",name:"SetSpellcheck",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetJSRenderers",name:"SetJSRenderers",pkg:"",typ:$funcType([BG],[],false)},{prop:"HTML2Markdown",name:"HTML2Markdown",pkg:"",typ:$funcType([$String],[$String,$error],false)},{prop:"HTML2Tree",name:"HTML2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"genASTByDOM",name:"genASTByDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)}];R.init("",[{prop:"ParseOptions",name:"ParseOptions",embedded:false,exported:true,typ:AO,tag:""},{prop:"RenderOptions",name:"RenderOptions",embedded:false,exported:true,typ:AC,tag:""},{prop:"HTML2MdRendererFuncs",name:"HTML2MdRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorDOMRendererFuncs",name:"HTML2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorIRDOMRendererFuncs",name:"HTML2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2BlockDOMRendererFuncs",name:"HTML2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorSVDOMRendererFuncs",name:"HTML2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2HTMLRendererFuncs",name:"Md2HTMLRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorDOMRendererFuncs",name:"Md2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorIRDOMRendererFuncs",name:"Md2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2BlockDOMRendererFuncs",name:"Md2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorSVDOMRendererFuncs",name:"Md2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""}]);Z.init([AV],[],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=I.NewFormatRenderer(AB.nil,AC.nil);$s=17;case 17:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}T=a;b=I.NewProtyleExportMdRenderer(AB.nil,AC.nil);$s=18;case 18:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}W=b;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); +$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,B,C,N,P,R,Z,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AY,BA,BB,BC,BD,BE,BF,BG,BH,T,W,a,b,Q,S,AA;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];P=$packages["unicode"];R=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AO.nil;this.RenderOptions=AC.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});Z=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(H.Tree);AC=$ptrType(I.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(H.Context);AH=$ptrType(L.Lexer);AI=$ptrType(H.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(H.Options);AP=$sliceType(AE);AQ=$ptrType(AP);AR=$ptrType(F.Attribute);AS=$sliceType(AR);AT=$sliceType(G.Atom);AU=$sliceType($emptyInterface);AV=$ptrType(R);AW=$sliceType(Z);AY=$ptrType(A.Buffer);BA=$mapType($String,$emptyInterface);BB=$sliceType(D.NodeType);BC=$sliceType($Int32);BD=$mapType($String,$String);BE=$ptrType(O.Object);BF=$mapType($String,BE);BG=$mapType($String,BF);BH=$mapType(D.NodeType,I.ExtRendererFunc);R.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};R.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};R.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorDOM=function(c){return this.$val.SpinVditorDOM(c);};R.ptr.prototype.HTML2VditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorDOM2Md=function(c){return this.$val.vditorDOM2Md(c);};R.ptr.prototype.parseHTML=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=C.NewReader(c);g=F.Parse(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=-1;return AE.nil;}if(!("html"===h.FirstChild.Data)){$s=-1;return h;}$s=-1;return h.FirstChild.LastChild;}return;}var $f={$blk:R.ptr.prototype.parseHTML,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.parseHTML=function(c){return this.$val.parseHTML(c);};R.ptr.prototype.adjustVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.removeEmptyNodes(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.removeHighlightJSSpans(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}d.mergeVditorDOMList0(e);e=e.NextSibling;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}g=c.FirstChild;while(true){if(!(!(AE.nil===g))){break;}d.adjustVditorDOMListList(g);g=g.NextSibling;}h=c.FirstChild;case 3:if(!(!(AE.nil===h))){$s=4;continue;}$r=d.adjustVditorDOMListItemInP(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=3;continue;case 4:i=c.FirstChild;while(true){if(!(!(AE.nil===i))){break;}j=i.NextSibling;d.removeCodeCode(i);i=j;}k=c.FirstChild;while(true){if(!(!(AE.nil===k))){break;}l=k.NextSibling;d.adjustVditorDOMCodeA(k);k=l;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.adjustVditorDOM=function(c){return this.$val.adjustVditorDOM(c);};R.ptr.prototype.adjustVditorDOMListList=function(c){var c,d,e,f,g,h,i;d=this;if(!((42754===c.DataAtom))&&!((79618===c.DataAtom))&&!((45570===c.DataAtom))){return;}if(45570===c.DataAtom){if(!(AE.nil===c.FirstChild)&&(514===c.FirstChild.DataAtom)){c.FirstChild.DataAtom=0;c.FirstChild.Data="\xE2\x80\x8B";e=c.NextSibling;if(!(AE.nil===c.NextSibling)&&(45570===c.NextSibling.DataAtom)){f=e.FirstChild;if(!(AE.nil===f)&&"\xE2\x80\xB8\xE2\x80\x8B"===f.Data){f.Data="\xE2\x80\xB8\n";}}}}else{if(!(AE.nil===c.Parent)&&((42754===c.Parent.DataAtom)||(79618===c.Parent.DataAtom))){g=c.PrevSibling;if(!(AE.nil===g)){c.Unlink();g.AppendChild(c);}}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}i=h.NextSibling;d.adjustVditorDOMListList(h);h=i;}};R.prototype.adjustVditorDOMListList=function(c){return this.$val.adjustVditorDOMListList(c);};R.ptr.prototype.removeHighlightJSSpans=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.hljsSpans(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeHighlightJSSpans,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeHighlightJSSpans=function(c){return this.$val.removeHighlightJSSpans(c);};R.ptr.prototype.hljsSpans=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;if((40708===c.DataAtom)&&C.HasPrefix(J.DomAttrValue(c,"class"),"hljs-")){$s=1;continue;}$s=2;continue;case 1:d.$set($append(d.$get(),c));f=J.DomText(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,g,"",AS.nil));case 2:h=c.FirstChild;case 4:if(!(!(h===AE.nil))){$s=5;continue;}$r=e.hljsSpans(h,d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.hljsSpans,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.hljsSpans=function(c,d){return this.$val.hljsSpans(c,d);};R.ptr.prototype.removeEmptyNodes=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.searchEmptyNodes(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeEmptyNodes=function(c){return this.$val.removeEmptyNodes(c);};R.ptr.prototype.searchEmptyNodes=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=c.DataAtom;if(f===(0)){$s=2;continue;}if(f===(40708)){$s=3;continue;}if((f===(449798))||(f===(257))||(f===(28162))||(f===(1537))||(f===(283139))||(f===(9473))||(f===(53766))||(f===(46596))){$s=4;continue;}if("katex"===J.DomAttrValue(c,"class")){$s=5;continue;}$s=6;continue;case 2:if(e.isInline(c.PrevSibling)||e.isInline(c.NextSibling)||e.isInline(c.Parent)){$s=1;continue;}if(1===c.Type){g=C.TrimLeft(c.Data," ");g=C.TrimRight(g," ");while(true){if(!(C.Contains(g,"\n\n"))){break;}g=C.ReplaceAll(g,"\n\n","");}if(""===g){d.$set($append(d.$get(),c));$s=-1;return;}}h=c.Parent;if(!(AE.nil===h)&&((79618===h.DataAtom)||(42754===h.DataAtom)||(45570===h.DataAtom))){$s=7;continue;}$s=8;continue;case 7:if(AE.nil===c.NextSibling||((1===c.NextSibling.Type)||(42754===c.NextSibling.DataAtom))){i=true;$s=11;continue s;}j=C.TrimSpace(c.Data);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(i){$s=9;continue;}$s=10;continue;case 9:c.Data=C.TrimRight(c.Data,"\n\t ");case 10:case 8:if(!(AE.nil===h)&&((365829===h.DataAtom)||(208901===h.DataAtom)||(9989===h.DataAtom)||(52226===h.DataAtom))){$s=13;continue;}$s=14;continue;case 13:k=C.TrimSpace(c.Data);$s=15;case 15:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}c.Data=k;case 14:if(""===c.Data){d.$set($append(d.$get(),c));}if(4===c.Type){d.$set($append(d.$get(),c));}$s=6;continue;case 3:l=c.LastChild;if(!(AE.nil===l)&&(514===l.DataAtom)){c.InsertAfter(l);}if(J.IsTempMarkSpan(c)){d.$set($append(d.$get(),c));m=AP.nil;n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}m=$append(m,n);n=n.NextSibling;}o=m;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);c.InsertBefore(q);p++;}$s=-1;return;}$s=6;continue;case 4:if(!(AE.nil===c.FirstChild)){if(514===c.FirstChild.DataAtom){d.$set($append(d.$get(),c.FirstChild));c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.FirstChild.Type){r=c.FirstChild.Data;s=e.prefixSpaces(r);if(!(""===s)){c.FirstChild.Data="\xE2\x80\x8B"+c.FirstChild.Data;}}}if(!(AE.nil===c.LastChild)){if(514===c.LastChild.DataAtom){d.$set($append(d.$get(),c.LastChild));c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.LastChild.Type){t=c.LastChild.Data;u=e.suffixSpaces(t);if(!(""===u)){c.FirstChild.Data=c.FirstChild.Data+"\xE2\x80\x8B";}}}$s=6;continue;case 5:d.$set($append(d.$get(),c));case 6:case 1:v=c.FirstChild;case 16:if(!(!(v===AE.nil))){$s=17;continue;}$r=e.searchEmptyNodes(v,d);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=16;continue;case 17:w=c.DataAtom;if((w===(79618))||(w===(42754))){$s=20;continue;}$s=21;continue;case 20:x=J.DomAttrValue(c,"data-type");if("footnotes-defs-ol"===x){$s=-1;return;}if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!((281349===c.FirstChild.FirstChild.DataAtom))){$s=-1;return;}y=J.DomText(c);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(""===z){d.$set($append(d.$get(),c));}case 21:case 19:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.searchEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.searchEmptyNodes=function(c,d){return this.$val.searchEmptyNodes(c,d);};R.ptr.prototype.mergeVditorDOMList0=function(c){var c,d,e,f,g,h;d=this;e=c.DataAtom;if((e===(42754))||(e===(79618))){if(!(AE.nil===c.NextSibling)&&(c.DataAtom===c.NextSibling.DataAtom)&&(1===c.NextSibling.Attr.$length)){f=c.NextSibling.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=f.NextSibling;f.Unlink();c.AppendChild(f);f=g;}c.NextSibling.Unlink();}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}d.mergeVditorDOMList0(h);h=h.NextSibling;}};R.prototype.mergeVditorDOMList0=function(c){return this.$val.mergeVditorDOMList0(c);};R.ptr.prototype.adjustVditorDOMListTight0=function(c){var c,d,e,f;d=this;e=c.DataAtom;if(e===(42754)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}else if(e===(79618)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}f=c.FirstChild;while(true){if(!(!(f===AE.nil))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}};R.prototype.adjustVditorDOMListTight0=function(c){return this.$val.adjustVditorDOMListTight0(c);};R.ptr.prototype.adjustVditorDOMListItemInP=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c.DataAtom;if(e===(45570)){$s=2;continue;}$s=3;continue;case 2:if(!(AE.nil===c.PrevSibling)&&J.DomAttrValue(c.PrevSibling,"data-node-id")===J.DomAttrValue(c,"data-node-id")){$s=4;continue;}$s=5;continue;case 4:f=c;g=D.NewNodeID();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=d.setDOMAttrValue(f,"data-node-id",h);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(AE.nil===c.PrevSibling)&&!(AE.nil===c.FirstChild)){$s=8;continue;}$s=9;continue;case 8:i=J.DomAttrValue(c.FirstChild,"data-node-id");if(!(""===i)&&!(AE.nil===c.PrevSibling.LastChild)&&J.DomAttrValue(c.PrevSibling.LastChild,"data-node-id")===i){$s=10;continue;}$s=11;continue;case 10:j=c.FirstChild;k=D.NewNodeID();$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=d.setDOMAttrValue(j,"data-node-id",l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:m=c.FirstChild;while(true){if(!(!(AE.nil===m))){break;}if(d.listItemEnter(c)){n=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\xE2\x80\xB8","",AS.nil));n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));c.FirstChild.Unlink();c.FirstChild.Unlink();c.AppendChild(n);m=n;m=m.NextSibling;continue;}if(!((3073===m.DataAtom))&&!((100106===m.DataAtom))&&!((42754===m.DataAtom))&&!((79618===m.DataAtom))&&!((92931===m.DataAtom))){o=d.forwardNextBlock(m);p=o[0];q=o[1];r=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);m.InsertBefore(r);s=p;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);u.Unlink();r.AppendChild(u);t++;}m=q;if(AE.nil===m){break;}}m=m.NextSibling;}case 3:case 1:v=c.FirstChild;case 14:if(!(!(v===AE.nil))){$s=15;continue;}$r=d.adjustVditorDOMListItemInP(v);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=14;continue;case 15:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOMListItemInP,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};R.prototype.adjustVditorDOMListItemInP=function(c){return this.$val.adjustVditorDOMListItemInP(c);};R.ptr.prototype.removeCodeCode=function(c){var c,d,e,f,g,h;d=this;if((378116===c.DataAtom)&&!(AE.nil===c.FirstChild)&&(378116===c.FirstChild.DataAtom)){e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=e.NextSibling;e.Unlink();c.InsertBefore(e);e=f;}c.Unlink();return;}g=c.FirstChild;while(true){if(!(!(g===AE.nil))){break;}h=g.NextSibling;d.removeCodeCode(g);g=h;}};R.prototype.removeCodeCode=function(c){return this.$val.removeCodeCode(c);};R.ptr.prototype.adjustVditorDOMCodeA=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;if((378116===c.DataAtom)&&!(AE.nil===c.FirstChild)&&(1===c.FirstChild.DataAtom)&&c.FirstChild===c.LastChild){e=c.PrevSibling;f=c.NextSibling;g=c.Parent;h=c.FirstChild;h.Unlink();c.Unlink();i=AP.nil;j=h.FirstChild;while(true){if(!(!(AE.nil===j))){break;}i=$append(i,j);j.Unlink();j=j.NextSibling;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);c.AppendChild(m);l++;}h.AppendChild(c);if(!(AE.nil===e)){e.InsertAfter(h);}else if(!(AE.nil===f)){f.InsertBefore(h);}else if(!(AE.nil===g)){g.AppendChild(h);}return;}n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}o=n.NextSibling;d.adjustVditorDOMCodeA(n);n=o;}};R.prototype.adjustVditorDOMCodeA=function(c){return this.$val.adjustVditorDOMCodeA(c);};R.ptr.prototype.forwardNextBlock=function(c){var c,d,e,f,g,h;d=AP.nil;e=AE.nil;f=this;g=c;while(true){if(!(!(AE.nil===g))){break;}h=g.DataAtom;if((h===(79618))||(h===(42754))||(h===(92931))||(h===(100106))){return[d,e];}d=$append(d,g);g=g.NextSibling;}return[d,e];};R.prototype.forwardNextBlock=function(c){return this.$val.forwardNextBlock(c);};R.ptr.prototype.listItemEnter=function(c){var c,d;d=this;if(AE.nil===c.FirstChild){return false;}if("\xE2\x80\xB8"===c.FirstChild.Data&&"br"===c.LastChild.Data){return true;}return false;};R.prototype.listItemEnter=function(c){return this.$val.listItemEnter(c);};R.ptr.prototype.isTightList=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=0;g=0;h=0;i=0;j=f;k=g;l=h;m=i;n=e.FirstChild;while(true){if(!(!(AE.nil===n))){break;}o=n.DataAtom;if((o===(42754))||(o===(79618))){j=j+(1)>>0;}else if(o===(92931)){k=k+(1)>>0;}else if(o===(100106)){l=l+(1)>>0;}else if(o===(3073)){m=m+(1)>>0;}n=n.NextSibling;}if(1>0)||1<(m+l>>0)||1<(m+j>>0)){return"false";}e=e.NextSibling;}return"true";};R.prototype.isTightList=function(c){return this.$val.isTightList(c);};R.ptr.prototype.genASTByVditorDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-block"===g){$s=8;continue;}if("toc-block"===g){$s=9;continue;}$s=10;continue;case 6:h=c.FirstChild;case 11:if(!(!(h===AE.nil))){$s=12;continue;}$r=e.genASTByVditorDOM(h,d);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=11;continue;case 12:$s=10;continue;case 7:i=J.DomText(c);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(j))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(k);$s=10;continue;case 8:l=c.FirstChild;if(!((79618===l.DataAtom))){$s=15;continue;}$s=16;continue;case 15:$s=17;case 17:return;case 16:m=l.FirstChild;case 18:if(!(!(AE.nil===m))){$s=19;continue;}if("\n"===m.Data){m=m.NextSibling;$s=18;continue;}n=new A.Buffer.ptr(AD.nil,0,0);o=F.Render(n,m);$s=20;case 20:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if($interfaceIsEqual($ifaceNil,p)){$s=21;continue;}$s=22;continue;case 21:q=e.vditorDOM2Md("
      "+n.String()+"
    ");$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=J.DomAttrValue(m,"data-marker");r=$substring(r,3);t=C.Split(r,"\n");r="";u=t;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if(0=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))-48<<24>>>24)>>0));al=J.DomAttrValue(c,"data-marker");am=J.DomAttrValue(c,"data-id");if(!(""===am)){c.LastChild.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," {"+am+"}","",AS.nil));}ac.HeadingSetext="="===al||"-"===al;if(!ac.HeadingSetext){an=new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");an.Tokens=(new AD($stringToBytes(C.Repeat("#",ac.HeadingLevel))));ac.AppendChild(an);}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 30:ac.Type=4;d.Context.Tip.AppendChild(ac);$s=56;continue;case 31:ao=J.DomText(c);$s=69;case 69:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=C.TrimSpace(ao);$s=70;case 70:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(""===aq||">"===aq||"\xE2\x80\xB8"===aq){$s=71;continue;}$s=72;continue;case 71:$s=73;case 73:return;case 72:ac.Type=5;ac.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(">"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 32:if(AE.nil===c.FirstChild){$s=74;continue;}$s=75;continue;case 74:$s=76;case 76:return;case 75:ac.Type=7;ac.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ac.ListData.Typ=1;}ar=J.DomAttrValue(c,"data-tight");if("true"===ar||""===ar){ac.ListData.Tight=true;}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 33:ac.Type=8;as=J.DomAttrValue(c,"data-marker");at=0;if(""===as){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){au=J.DomAttrValue(c.Parent.FirstChild,"data-marker");av=J.DomAttrValue(c.Parent,"start");if(""===av){as="1";}else{as=av;}if(!(""===au)){as=as+($substring(au,(au.length-1>>0)));}else{as=as+(".");}}else{as=J.DomAttrValue(c.Parent,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===as||"-"===as||"+"===as){as="1.";}if(!("1."===as)&&!("1)"===as)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){as="1.";}if(!("1."===as)&&!("1)"===as)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){as="1.";}}else{if(!("*"===as)&&!("-"===as)&&!("+"===as)){as="*";}at=as.charCodeAt(0);}}else{as=J.DomAttrValue(c,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}ac.ListData=new D.ListData.ptr(0,false,at,0,0,0,0,false,(new AD($stringToBytes(as))),0);if(0===at){aw=B.Atoi(($encodeRune(as.charCodeAt(0))));ac.ListData.Num=aw[0];ac.ListData.Delimiter=as.charCodeAt((as.length-1>>0));}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 34:if(378116===c.FirstChild.DataAtom){ax=J.DomAttrValue(c.Parent,"data-marker");if(""===ax){ax="```";}ay=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){ay=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}az=J.DomAttrValue(c.Parent,"data-type");ba=az;if(ba===("math-block")){ac.Type=300;ac.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("yaml-front-matter")){ac.Type=425;ac.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("html-block")){ac.Type=9;ac.Tokens=ay;d.Context.Tip.AppendChild(ac);}else{ac.Type=11;ac.IsFencedCodeBlock=true;ac.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bb=J.DomAttrValue(c.FirstChild,"class");if(C.Contains(bb,"language-")){bc=$substring(bb,9);ac.LastChild.CodeBlockInfo=(new AD($stringToBytes(bc)));}bd=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ac.AppendChild(bd);ac.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}}$s=77;case 77:return;case 35:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}be=J.DomText(c);$s=81;case 81:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=C.TrimSpace(be);$s=82;case 82:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=e.isEmptyText(c);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}if(bh){$s=83;continue;}$s=84;continue;case 83:$s=86;case 86:return;case 84:if("\xE2\x80\xB8"===bg){$s=87;continue;}$s=88;continue;case 87:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=89;case 89:return;case 88:ac.Type=17;bi=J.DomAttrValue(c,"data-marker");if(""===bi){bi="*";}if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=90;continue;}$s=91;continue;case 90:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=92;case 92:return;case 91:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 36:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bj=J.DomText(c);$s=96;case 96:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=C.TrimSpace(bj);$s=97;case 97:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=bk;bm=e.isEmptyText(c);$s=100;case 100:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=98;continue;}$s=99;continue;case 98:$s=101;case 101:return;case 99:if("\xE2\x80\xB8"===bl){$s=102;continue;}$s=103;continue;case 102:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=104;case 104:return;case 103:ac.Type=22;bn=J.DomAttrValue(c,"data-marker");if(""===bn){bn="**";}if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=105;continue;}$s=106;continue;case 105:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=107;case 107:return;case 106:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 37:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=108;continue;}$s=109;continue;case 108:$s=110;case 110:return;case 109:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=111;case 111:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=112;case 112:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=115;case 115:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=113;continue;}$s=114;continue;case 113:$s=116;case 116:return;case 114:if("\xE2\x80\xB8"===bq){$s=117;continue;}$s=118;continue;case 117:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=119;case 119:return;case 118:ac.Type=101;bs=J.DomAttrValue(c,"data-marker");if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=120;continue;}$s=121;continue;case 120:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=122;case 122:return;case 121:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 38:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=123;continue;}$s=124;continue;case 123:$s=125;case 125:return;case 124:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bt=J.DomText(c);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=C.TrimSpace(bt);$s=127;case 127:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;bw=e.isEmptyText(c);$s=130;case 130:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}if(bw){$s=128;continue;}$s=129;continue;case 128:$s=131;case 131:return;case 129:if("\xE2\x80\xB8"===bv){$s=132;continue;}$s=133;continue;case 132:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=134;case 134:return;case 133:ac.Type=450;bx=J.DomAttrValue(c,"data-marker");if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=135;continue;}$s=136;continue;case 135:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=137;case 137:return;case 136:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 39:if(AE.nil===c.FirstChild){$s=138;continue;}$s=139;continue;case 138:$s=140;case 140:return;case 139:by=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===by){$s=141;continue;}$s=142;continue;case 141:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=143;case 143:return;case 142:if(""===by){$s=144;continue;}$s=145;continue;case 144:$s=146;case 146:return;case 145:bz=(new AD($stringToBytes(by)));if("html-inline"===g){$s=147;continue;}$s=148;continue;case 147:ac.Type=10;ac.Tokens=bz;d.Context.Tip.AppendChild(ac);$s=149;case 149:return;case 148:ca=J.DomAttrValue(c,"data-marker");if(""===ca){ca="`";}if(A.HasPrefix(bz,(new AD($stringToBytes("`"))))){bz=$appendSlice((new AD($stringToBytes(" "))),bz);bz=$append(bz,32);}ac.Type=27;ac.CodeMarkerLen=ca.length;ac.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bz,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=150;case 150:return;case 40:if(!(AE.nil===c.Parent)){$s=151;continue;}$s=152;continue;case 151:if(e.parentIs(c,new AT([37378,87554]))){$s=153;continue;}$s=154;continue;case 153:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=155;continue;}$s=156;continue;case 155:$s=157;case 157:return;case 156:if(AE.nil===c.NextSibling){$s=158;continue;}$s=159;continue;case 158:$s=160;case 160:return;case 159:ac.Type=10;ac.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ac);$s=161;case 161:return;case 154:if(3073===c.Parent.DataAtom){$s=162;continue;}$s=163;continue;case 162:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=164;continue;}$s=165;continue;case 164:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=166;case 166:return;case 165:if(!(AE.nil===c.Parent.Parent)&&!(AE.nil===c.Parent.Parent.NextSibling)&&(45570===c.Parent.Parent.NextSibling.DataAtom)){$s=167;continue;}$s=168;continue;case 167:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=169;case 169:return;case 168:case 163:case 152:ac.Type=31;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 41:if(c.FirstChild===AE.nil||(c.FirstChild.Type===1)){$s=170;continue;}$s=171;continue;case 170:cb=J.DomText(c);$s=172;case 172:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if(""===cc||"\xE2\x80\x8B"===cc){$s=173;continue;}$s=174;continue;case 173:$s=175;case 175:return;case 174:case 171:ac.Type=33;ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 42:cd=aa;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=176;continue;}$s=177;continue;case 176:ac.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(cf);$s=178;continue;case 177:if("link-ref"===g){$s=179;continue;}$s=180;continue;case 179:ac.Type=16;cg="!["+J.DomAttrValue(c,"alt")+"]["+J.DomAttrValue(c,"data-link-label")+"]";ac.Tokens=(new AD($stringToBytes(cg)));d.Context.Tip.AppendChild(ac);$s=181;case 181:return;case 180:ac.Type=34;ac.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===ce)){ac.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ce))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ch=J.DomAttrValue(c,"src");if(!(""===e.RenderOptions.LinkBase)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ch))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomAttrValue(c,"title");if(!(""===ci)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ci))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 178:d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 43:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=185;continue;}$s=186;continue;case 185:cj=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=187;case 187:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cj;$s=26;continue;case 186:ac.Type=100;ac.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ac);if(!(AF.nil===ac.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.ListData)){ac.Parent.Parent.ListData.Typ=3;}if(!(AF.nil===ac.Parent.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.Parent.ListData)){ac.Parent.Parent.Parent.ListData.Typ=3;}$s=56;continue;case 44:ac.Type=106;ck=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=188;continue;}$s=189;continue;case 188:$s=190;case 190:return;case 189:cl=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===cl))){break;}cm=J.DomAttrValue(cl,"align");cn=cm;if(cn===("left")){ck=$append(ck,1);}else if(cn===("center")){ck=$append(ck,2);}else if(cn===("right")){ck=$append(ck,3);}else{ck=$append(ck,0);}cl=cl.NextSibling;}ac.TableAligns=ck;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 45:ac.Type=107;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 46:$s=56;continue;case 47:ac.Type=108;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 48:ac.Type=109;co=J.DomAttrValue(c,"align");cp=0;cq=co;if(cq===("left")){cp=1;}else if(cq===("center")){cp=2;}else if(cq===("right")){cp=3;}else{cp=0;}ac.TableCellAlign=cp;ac.Tokens=AD.nil;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 49:if(AE.nil===c.FirstChild){$s=26;continue;}if("footnotes-ref"===g){ac.Type=16;ac.Tokens=(new AD($stringToBytes("["+J.DomAttrValue(c,"data-footnotes-label")+"]")));if(C.Contains(c.FirstChild.Data,"\xE2\x80\xB8")){ac.Tokens=$appendSlice(ac.Tokens,E.CaretTokens);}d.Context.Tip.AppendChild(ac);}$s=191;case 191:return;case 50:if(AE.nil===c.FirstChild){$s=26;continue;}if(C.Contains(aa,"vditor-comment")){$s=192;continue;}$s=193;continue;case 192:ac.Type=10;cr=new A.Buffer.ptr(AD.nil,0,0);cs=cr.WriteString("=ct.$length)?($throwRuntimeError("index out of range"),undefined):ct.$array[ct.$offset+cu]);cx=cr.WriteString(cw.Key);$s=197;case 197:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}cx;if(!(""===cw.Val)){$s=198;continue;}$s=199;continue;case 198:cy=cr.WriteString("=\"");$s=200;case 200:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=cr.WriteString(cw.Val);$s=201;case 201:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;da=cr.WriteString("\"");$s=202;case 202:if($c){$c=false;da=da.$blk();}if(da&&da.$blk!==undefined){break s;}da;case 199:if(cv<(c.Attr.$length-1>>0)){$s=203;continue;}$s=204;continue;case 203:db=cr.WriteString(" ");$s=205;case 205:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}db;case 204:cu++;$s=195;continue;case 196:dc=cr.WriteString(">");$s=206;case 206:if($c){$c=false;dc=dc.$blk();}if(dc&&dc.$blk!==undefined){break s;}dc;ac.Tokens=cr.Bytes();d.Context.Tip.AppendChild(ac);$s=26;continue;case 193:if("link-ref"===g){$s=207;continue;}$s=208;continue;case 207:ac.Type=16;dd="["+c.FirstChild.Data+"]["+J.DomAttrValue(c,"data-link-label")+"]";if(!(AE.nil===c.NextSibling)&&"2"===J.DomAttrValue(c.NextSibling,"data-render")){dd="!"+dd;}ac.Tokens=(new AD($stringToBytes(dd)));d.Context.Tip.AppendChild(ac);$s=209;case 209:return;case 208:de=AD.nil;if("\xE2\x80\x8B"===c.FirstChild.Data&&""===J.DomAttrValue(c,"style")&&!(AE.nil===c.FirstChild.NextSibling)){de=(new AD($stringToBytes(c.FirstChild.NextSibling.FirstChild.Data)));}else if(378116===c.FirstChild.DataAtom){de=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));if("\xE2\x80\x8B"===($bytesToString(de))){$s=26;continue;}}if("math-inline"===g){$s=210;continue;}if("html-inline"===g){$s=211;continue;}if("code-inline"===g){$s=212;continue;}if("html-entity"===g){$s=213;continue;}$s=214;continue;case 210:ac.Type=304;ac.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,de,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=215;case 215:return;case 211:ac.Type=10;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=216;case 216:return;case 212:ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=217;case 217:return;case 213:ac.Type=16;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=218;case 218:return;case 214:$s=26;continue;$s=56;continue;case 51:ac.Type=16;df=J.DomText(c);$s=219;case 219:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}ac.Tokens=(new AD($stringToBytes(df)));d.Context.Tip.AppendChild(ac);$s=220;case 220:return;case 52:ac.Type=9;dg=J.DomHTML(c);$s=221;case 221:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}ac.Tokens=dg;ac.Tokens=(dh=A.SplitAfter(ac.Tokens,(new AD($stringToBytes("")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ac);$s=56;continue;case 53:ac.Type=10;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ac.Tokens=di;d.Context.Tip.AppendChild(ac);$s=223;case 223:return;case 54:$s=224;case 224:return;case 55:ac.Type=9;dj=J.DomHTML(c);$s=225;case 225:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}ac.Tokens=dj;d.Context.Tip.AppendChild(ac);$s=226;case 226:return;case 56:case 26:dk=c.FirstChild;case 227:if(!(!(dk===AE.nil))){$s=228;continue;}$r=e.genASTByVditorDOM(dk,d);$s=229;case 229:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dk=dk.NextSibling;$s=227;continue;case 228:dl=c.DataAtom;if(dl===(40708)){if(C.Contains(aa,"vditor-comment")){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",10,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(28162))||(dl===(1537))){dm=J.DomAttrValue(c,"data-marker");if(""===dm){dm="*";}if("_"===dm){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(449798))||(dl===(257))){dn=J.DomAttrValue(c,"data-marker");if(""===dn){dn="**";}if("__"===dn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(1)){ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dp=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dp))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dq=J.DomAttrValue(c,"title");if(!(""===dq)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dq))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dl===(283139))||(dl===(9473))||(dl===(53766))){dr=J.DomAttrValue(c,"data-marker");if("~"===dr){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(46596)){ds=J.DomAttrValue(c,"data-marker");if("="===ds){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorDOM=function(c,d){return this.$val.genASTByVditorDOM(c,d);};R.ptr.prototype.hasAttr=function(c,d){var c,d,e,f,g,h;e=this;f=c.Attr;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key===d){return true;}g++;}return false;};R.prototype.hasAttr=function(c,d){return this.$val.hasAttr(c,d);};R.ptr.prototype.domChild=function(c,d){var c,d,e,f,g;e=this;if(AE.nil===c){return AE.nil;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild=function(c,d){return this.$val.domChild(c,d);};R.ptr.prototype.domChild0=function(c,d){var c,d,e,f,g;e=this;if(c.DataAtom===d){return c;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild0=function(c,d){return this.$val.domChild0(c,d);};R.ptr.prototype.setDOMAttrValue=function(c,d,e){var c,d,e,f,g,h,i;f=this;if(AE.nil===c){return;}g=c.Attr;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i.Key===d){i.Val=e;return;}h++;}c.Attr=$append(c.Attr,new F.Attribute.ptr("",d,e));};R.prototype.setDOMAttrValue=function(c,d,e){return this.$val.setDOMAttrValue(c,d,e);};R.ptr.prototype.parentIs=function(c,d){var c,d,e,f,g,h,i;e=this;f=c.Parent;while(true){if(!(!(AE.nil===f))){break;}g=d;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i===f.DataAtom){return true;}h++;}f=f.Parent;}return false;};R.prototype.parentIs=function(c,d){return this.$val.parentIs(c,d);};R.ptr.prototype.isCaret=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=false;e=false;f=this;g=J.DomText(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=C.TrimSpace(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(1>j.length&&1>0;while(true){if(!(f>=0)){break;}if((32===c.charCodeAt(f))||(160===c.charCodeAt(f))){d=d+(" ");}else{return d;}f=f-(1)>>0;}return d;};R.prototype.suffixSpaces=function(c){return this.$val.suffixSpaces(c);};R.ptr.prototype.SpinVditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=C.TrimSpace(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if("\xE2\x80\xB8"===f){$s=1;continue;}$s=2;continue;case 1:d=""+($bytesToString(I.NewlineSV));$s=-1;return d;case 2:g=H.Parse("",(new AD($stringToBytes(c))),e.ParseOptions);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewVditorSVRenderer(h,e.RenderOptions);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=C.ReplaceAll(($bytesToString(l)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.SpinVditorSVDOM=function(c){return this.$val.SpinVditorSVDOM(c);};R.ptr.prototype.HTML2VditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorSVRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorSVDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2VditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.Md2VditorSVDOM=function(c){return this.$val.Md2VditorSVDOM(c);};R.ptr.prototype.SpinVditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorIRDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorIRRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorIRDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorIRDOM=function(c){return this.$val.SpinVditorIRDOM(c);};R.ptr.prototype.HTML2VditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorIRRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorIRDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorIRDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorIRDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorIRDOM2Md=function(c){return this.$val.vditorIRDOM2Md(c);};R.ptr.prototype.genASTByVditorIRDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-def"===g){$s=8;continue;}if("footnotes-block"===g){$s=9;continue;}if("toc-block"===g){$s=10;continue;}$s=11;continue;case 6:if(("code-block"===g||"math-block"===g)&&!C.Contains(J.DomAttrValue(c.FirstChild,"data-type"),"-block-open-marker")){$s=13;continue;}$s=14;continue;case 13:h=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=J.DomText(c.FirstChild);$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(i))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(j);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$s=16;case 16:return;case 14:k=c.FirstChild;case 17:if(!(!(k===AE.nil))){$s=18;continue;}$r=e.genASTByVditorIRDOM(k,d);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=17;continue;case 18:$s=12;continue;case 7:l=J.DomText(c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(m))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(n);$s=12;continue;case 8:o=c.FirstChild;case 21:if(!(!(o===AE.nil))){$s=22;continue;}$r=e.genASTByVditorIRDOM(o,d);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o.NextSibling;$s=21;continue;case 22:$s=12;continue;case 9:p=c.FirstChild;case 24:if(!(!(AE.nil===p))){$s=25;continue;}q=new A.Buffer.ptr(AD.nil,0,0);r=F.Render(q,p);$s=26;case 26:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if($interfaceIsEqual($ifaceNil,s)){$s=27;continue;}$s=28;continue;case 27:t=e.vditorIRDOM2Md(q.String());$s=29;case 29:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=C.Split(u,"\n");u="";w=v;x=0;while(true){if(!(x=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]);if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 38:if(AE.nil===c.FirstChild){$s=94;continue;}$s=95;continue;case 94:$s=96;case 96:return;case 95:ag.Type=7;ag.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ag.ListData.Typ=1;}ba=J.DomAttrValue(c,"data-tight");if("true"===ba||""===ba){ag.ListData.Tight=true;}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 39:bb=c.FirstChild;if(!(AE.nil===bb)&&(3073===bb.DataAtom)&&!(AE.nil===bb.NextSibling)&&(3073===bb.NextSibling.DataAtom)){d.Context.Tip.ListData.Tight=false;}ag.Type=8;bc=J.DomAttrValue(c,"data-marker");bd=0;if(""===bc){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){be=J.DomAttrValue(c.Parent.FirstChild,"data-marker");bf=J.DomAttrValue(c.Parent,"start");if(""===bf){bc="1";}else{bc=bf;}if(!(""===be)){bc=bc+($substring(be,(be.length-1>>0)));}else{bc=bc+(".");}}else{bc=J.DomAttrValue(c.Parent,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===bc||"-"===bc||"+"===bc){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){bc="1.";}}else{if(!("*"===bc)&&!("-"===bc)&&!("+"===bc)){bc="*";}bd=bc.charCodeAt(0);}}else{bc=J.DomAttrValue(c,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}ag.ListData=new D.ListData.ptr(0,false,bd,0,0,0,0,false,(new AD($stringToBytes(bc))),0);if(0===bd){bg=B.Atoi($substring(bc,0,(bc.length-1>>0)));ag.ListData.Num=bg[0];ag.ListData.Delimiter=bc.charCodeAt((bc.length-1>>0));}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 40:if(378116===c.FirstChild.DataAtom){bh=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){bh=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}bi=J.DomAttrValue(c.Parent,"data-type");bj=bi;if(bj===("math-block")){ag.Type=302;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("html-block")){ag.Type=9;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("yaml-front-matter")){ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bh,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);}else{ag.Type=15;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}}$s=97;case 97:return;case 41:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=98;continue;}$s=99;continue;case 98:$s=100;case 100:return;case 99:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bk=J.DomText(c);$s=101;case 101:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=C.TrimSpace(bk);$s=102;case 102:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;bn=e.isEmptyText(c);$s=105;case 105:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(bn){$s=103;continue;}$s=104;continue;case 103:$s=106;case 106:return;case 104:if("\xE2\x80\xB8"===bm){$s=107;continue;}$s=108;continue;case 107:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=109;case 109:return;case 108:ag.Type=17;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 42:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=110;continue;}$s=111;continue;case 110:$s=112;case 112:return;case 111:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=114;case 114:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=117;case 117:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=115;continue;}$s=116;continue;case 115:$s=118;case 118:return;case 116:if("\xE2\x80\xB8"===bq){$s=119;continue;}$s=120;continue;case 119:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=121;case 121:return;case 120:ag.Type=22;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 43:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=122;continue;}$s=123;continue;case 122:$s=124;case 124:return;case 123:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bs=J.DomText(c);$s=125;case 125:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=C.TrimSpace(bs);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=e.isEmptyText(c);$s=129;case 129:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=127;continue;}$s=128;continue;case 127:$s=130;case 130:return;case 128:if("\xE2\x80\xB8"===bu){$s=131;continue;}$s=132;continue;case 131:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=133;case 133:return;case 132:ag.Type=101;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 44:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=134;continue;}$s=135;continue;case 134:$s=136;case 136:return;case 135:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bw=J.DomText(c);$s=137;case 137:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=C.TrimSpace(bw);$s=138;case 138:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=bx;bz=e.isEmptyText(c);$s=141;case 141:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(bz){$s=139;continue;}$s=140;continue;case 139:$s=142;case 142:return;case 140:if("\xE2\x80\xB8"===by){$s=143;continue;}$s=144;continue;case 143:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=145;case 145:return;case 144:ag.Type=450;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 45:if(AE.nil===c.FirstChild){$s=146;continue;}$s=147;continue;case 146:$s=148;case 148:return;case 147:ca=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===ca){$s=149;continue;}$s=150;continue;case 149:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=151;case 151:return;case 150:if(""===ca){$s=152;continue;}$s=153;continue;case 152:$s=154;case 154:return;case 153:cb=(new AD($stringToBytes(ca)));cc=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cb,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ag.Type=27;ag.AppendChild(cc);d.Context.Tip.AppendChild(ag);$s=155;case 155:return;case 46:if(!(AE.nil===c.Parent)){$s=156;continue;}$s=157;continue;case 156:if(e.parentIs(c,new AT([37378,87554]))){$s=158;continue;}$s=159;continue;case 158:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=160;continue;}$s=161;continue;case 160:$s=162;case 162:return;case 161:if(AE.nil===c.NextSibling){$s=163;continue;}$s=164;continue;case 163:$s=165;case 165:return;case 164:ag.Type=10;ag.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ag);$s=166;case 166:return;case 159:if(3073===c.Parent.DataAtom){$s=167;continue;}$s=168;continue;case 167:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=169;continue;}$s=170;continue;case 169:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=171;case 171:return;case 170:case 168:case 157:ag.Type=31;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 47:ag.Type=33;ag.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 48:cd=ae;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=172;continue;}$s=173;continue;case 172:ag.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(cf);d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=174;continue;case 173:$s=175;case 175:return;case 174:$s=62;continue;case 49:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=176;continue;}$s=177;continue;case 176:$s=178;case 178:return;case 177:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=179;continue;}$s=180;continue;case 179:cg=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=181;case 181:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cg;$s=32;continue;case 180:ag.Type=100;ag.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ag);if(!(AF.nil===ag.Parent.Parent.Parent)&&!(AL.nil===ag.Parent.Parent.Parent.ListData)){ag.Parent.Parent.Parent.ListData.Typ=3;}$s=62;continue;case 50:ag.Type=106;ch=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:ci=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ci))){break;}cj=J.DomAttrValue(ci,"align");ck=cj;if(ck===("left")){ch=$append(ch,1);}else if(ck===("center")){ch=$append(ch,2);}else if(ck===("right")){ch=$append(ch,3);}else{ch=$append(ch,0);}ci=ci.NextSibling;}ag.TableAligns=ch;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 51:ag.Type=107;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 52:$s=62;continue;case 53:ag.Type=108;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 54:ag.Type=109;cl=J.DomAttrValue(c,"align");cm=0;cn=cl;if(cn===("left")){cm=1;}else if(cn===("center")){cm=2;}else if(cn===("right")){cm=3;}else{cm=0;}ag.TableCellAlign=cm;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 55:if(AE.nil===c.FirstChild){$s=32;continue;}if("footnotes-ref"===g){$s=185;continue;}$s=186;continue;case 185:ag.Type=16;co=J.DomText(c);$s=187;case 187:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(co)));d.Context.Tip.AppendChild(ag);case 186:$s=188;case 188:return;case 56:cp=g;if(cp===("inline-node")||cp===("em")||cp===("strong")||cp===("s")||cp===("a")||cp===("link-ref")||cp===("img")||cp===("code")||cp===("heading-id")||cp===("html-inline")||cp===("inline-math")||cp===("html-entity")){$s=190;continue;}if(cp===("math-block-close-marker")){$s=191;continue;}if(cp===("math-block-open-marker")){$s=192;continue;}if(cp===("yaml-front-matter-close-marker")){$s=193;continue;}if(cp===("yaml-front-matter-open-marker")){$s=194;continue;}if(cp===("code-block-open-marker")){$s=195;continue;}if(cp===("code-block-info")){$s=196;continue;}if(cp===("code-block-close-marker")){$s=197;continue;}if(cp===("heading-marker")){$s=198;continue;}$s=199;continue;case 190:ag.Type=16;cq=J.DomText(c);$s=200;case 200:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(cq)));d.Context.Tip.AppendChild(ag);$s=201;case 201:return;case 191:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=202;case 202:return;case 192:ag.Type=300;ag.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=203;case 203:return;case 193:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=204;case 204:return;case 194:ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=205;case 205:return;case 195:if(290819===c.NextSibling.DataAtom){c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,40708,"","",new AS([new F.Attribute.ptr("","data-type","code-block-info")])));}cr=J.DomText(c);$s=206;case 206:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=(new AD($stringToBytes(cr)));ct=A.LastIndex(cs,(new AD($stringToBytes("`"))))+1>>0;if(0>0;if(0")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ag);$s=62;continue;case 59:$s=62;continue;case 60:$s=221;case 221:return;case 61:ag.Type=9;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ag.Tokens=di;d.Context.Tip.AppendChild(ag);$s=223;case 223:return;case 62:case 32:dj=c.FirstChild;case 224:if(!(!(dj===AE.nil))){$s=225;continue;}$r=e.genASTByVditorIRDOM(dj,d);$s=226;case 226:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj=dj.NextSibling;$s=224;continue;case 225:dk=c.DataAtom;if(dk===(1)){ag.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dl=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkPrefix,"");}ag.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dm=J.DomAttrValue(c,"title");if(!(""===dm)){ag.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ag.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dk===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorIRDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorIRDOM=function(c,d){return this.$val.genASTByVditorIRDOM(c,d);};R.ptr.prototype.SpinBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.blockDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g=C.ReplaceAll(g,"\xE2\x80\x8B","");h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=i.Root.FirstChild;k=i.Root.LastChild.Previous;if((1===j.Type)&&""===j.ID&&!(AF.nil===k)&&!(j===k.Previous)&&(455===k.Type)){l=k.Previous.ID;m="";j.ID=l;k.Previous.ID=m;n=k.Previous.KramdownIAL;o=AN.nil;j.KramdownIAL=n;k.Previous.KramdownIAL=o;j.InsertAfter(k);}if((455===j.Type)&&!(AF.nil===j.Next)&&(455===j.Next.Type)&&J.IsDocIAL(j.Next.Tokens)){p=H.Tokens2IAL(j.Tokens);q=H.IAL2Map(p);s=new D.Node.ptr((r=$mapIndex(q,$String.keyFor("id")),r!==undefined?r.v:""),"","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,p,false,"","","","","","","","","","","",0,"");j.InsertBefore(s);}$r=H.NestedInlines2FlattedSpansHybrid(i,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=e.Tree2BlockDOM(i,e.RenderOptions);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.SpinBlockDOM=function(c){return this.$val.SpinBlockDOM(c);};R.ptr.prototype.HTML2BlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewProtyleRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2BlockDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);o.Unlink();n++;}p=d[0];q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);j.Root.AppendChild(r);q++;}s=I.NewProtyleRenderer(j,f.RenderOptions);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t.BaseRenderer.Render();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;e=J.BytesToStr(v);w=C.TrimSpace(e);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}e=w;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2InlineBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};R.prototype.BlockDOM2InlineBlockDOM=function(c){return this.$val.BlockDOM2InlineBlockDOM(c);};R.ptr.prototype.Md2BlockDOM=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;h=f.Md2BlockDOMTree(c,d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Md2BlockDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.Md2BlockDOM=function(c,d){return this.$val.Md2BlockDOM(c,d);};R.ptr.prototype.Md2BlockDOMTree=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=AB.nil;g=this;h=H.Parse("",(new AD($stringToBytes(c))),g.ParseOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;$r=H.NestedInlines2FlattedSpansHybrid(f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d){$s=3;continue;}$s=4;continue;case 3:$r=D.Walk(f.Root,(function(i,j){var i,j,k;if(!j){return 2;}if(i.IsEmptyBlockIAL()){k=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=H.Tokens2IAL(i.Tokens);k.ID=k.IALAttr("id");i.InsertBefore(k);return 2;}return 2;}));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:i=I.NewProtyleRenderer(f,g.RenderOptions);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=g.Md2BlockDOMRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l");$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Tree2BlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Tree2BlockDOM=function(c,d){return this.$val.Tree2BlockDOM(c,d);};R.ptr.prototype.RenderNodeBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;f=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");g=new H.Tree.ptr(f,new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h=I.NewProtyleRenderer(g,e.RenderOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d[0]=h;i=e.Md2BlockDOMRendererFuncs;j=0;k=i?i.keys():undefined;l=i?i.size:0;while(true){if(!(j\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"`","`");c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=0;g=0;h=f;i=g;j=c;k=0;while(true){if(!(k>0;}else{break;}k+=l[1];}n=c.length-1>>0;while(true){if(!(n>=0)){break;}if(32===c.charCodeAt(n)){i=i+(1)>>0;}else{break;}n=n-(1)>>0;}o=C.TrimSpace(c);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}c=o;c=C.Repeat(" ",h)+c+C.Repeat(" ",i);c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");p=d[0].parseHTML(c);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(AE.nil===q){$s=-1;return e;}$r=d[0].adjustVditorDOM(q);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,d[0].ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tip=e.Root;r=q.FirstChild;case 4:if(!(!(AE.nil===r))){$s=5;continue;}$r=d[0].genASTByBlockDOM(r,e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=r.NextSibling;$s=4;continue;case 5:$r=D.Walk(e.Root,(function(d){return function $b(s,t){var{s,t,u,$s,$r,$c}=$restore(this,{s,t});$s=$s||0;s:while(true){switch($s){case 0:if(t){$s=1;continue;}$s=2;continue;case 1:u=s.Type;if((u===(10))||(u===(9))||(u===(29))||(u===(15))||(u===(306))||(u===(302))||(u===(27))||(u===(304))){$s=4;continue;}if((u===(22))||(u===(17))||(u===(101))||(u===(520))){$s=5;continue;}if(u===(530)){$s=6;continue;}if(u===(16)){$s=7;continue;}$s=8;continue;case 4:if(!(AF.nil===s.Next)&&(27===s.Next.Type)&&(s.CodeMarkerLen===s.Next.CodeMarkerLen)&&!(AF.nil===s.FirstChild)&&!(AF.nil===s.FirstChild.Next)){s.FirstChild.Next.Tokens=$appendSlice(s.FirstChild.Next.Tokens,s.Next.FirstChild.Next.Tokens);s.Next.Unlink();}$s=8;continue;case 5:d[0].MergeSameSpan(s);$s=8;continue;case 6:$r=d[0].MergeSameTextMark(s);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:s.Tokens=A.ReplaceAll(s.Tokens,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 8:case 3:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,s,t,u,$s};return $f;};})(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2Tree,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.BlockDOM2Tree=function(c){return this.$val.BlockDOM2Tree(c);};R.ptr.prototype.MergeSameTextMark=function(c){var{aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(AF.nil===c.Previous){$s=-1;return;}e=false;f=false;if(456===c.Previous.Type){$s=1;continue;}$s=2;continue;case 1:if(AF.nil===c.Next||!((456===c.Next.Type))||AF.nil===c.Previous.Previous){$s=-1;return;}if(!A.Equal(c.Previous.Tokens,c.Next.Tokens)){$s=-1;return;}g=c.IsSameTextMarkType(c.Previous.Previous);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:e=true;$s=3;continue;case 2:if(!((16===c.Previous.Type)&&!C.Contains(c.Previous.TokensStr()," ")&&!C.Contains(c.Previous.TokensStr(),"\n"))){i=false;$s=11;continue s;}j=C.TrimSpace(C.ReplaceAll(c.Previous.TokensStr(),"\xE2\x80\x8B",""));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(!(i&&!(AF.nil===c.Previous.Previous))){h=false;$s=10;continue s;}k=c.IsSameTextMarkType(c.Previous.Previous);$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;case 10:if(h){$s=7;continue;}$s=8;continue;case 7:f=true;$s=9;continue;case 8:if(!((c.Type===c.Previous.Type))){l=true;$s=16;continue s;}m=c.IsSameTextMarkType(c.Previous);$s=17;case 17:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=!m;case 16:if(l){$s=14;continue;}$s=15;continue;case 14:$s=-1;return;case 15:case 9:case 3:n=C.Split(c.TextMarkType," ");o=$makeMap($String.keyFor,[]);p=n;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);s=r;(o||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(s),{k:s,v:true});q++;}t=AJ.nil;u=o;v=0;w=u?u.keys():undefined;x=u?u.size:0;while(true){if(!(v=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);$mapDelete(o,$String.keyFor(ae));ad++;}if(0<(o?o.size:0)){$s=-1;return;}if(e||f){c.TextMarkTextContent=c.Previous.Previous.TextMarkTextContent+c.TextMarkTextContent;c.Previous.Previous.Unlink();}else{c.TextMarkTextContent=c.Previous.TextMarkTextContent+c.TextMarkTextContent;}c.Previous.Unlink();$r=c.SortTextMarkDataTypes();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.MergeSameTextMark,$c:true,$r,aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.MergeSameTextMark=function(c){return this.$val.MergeSameTextMark(c);};R.ptr.prototype.MergeSameSpan=function(c){var c,d,e,f,g,h,i;d=this;if(AF.nil===c.Next||!((c.Type===c.Next.Type))){return;}if(!(AF.nil===c.Next.Next)&&(456===c.Next.Next.Type)){return;}e=AK.nil;c.Next.FirstChild.Unlink();c.Next.LastChild.Unlink();f=c.Next.FirstChild;while(true){if(!(!(AF.nil===f))){break;}e=$append(e,f);f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);c.LastChild.InsertBefore(i);h++;}c.Next.Unlink();};R.prototype.MergeSameSpan=function(c){return this.$val.MergeSameSpan(c);};R.ptr.prototype.CancelSuperBlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((475===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}i=$append(i,j);j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);g.Root.AppendChild(m);l++;}h.Unlink();n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelSuperBlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.CancelSuperBlock=function(c){return this.$val.CancelSuperBlock(c);};R.ptr.prototype.CancelList=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((7===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}n=m.FirstChild;while(true){if(!(!(AF.nil===n))){break;}if(!((100===n.Type))){k=$append(k,n);}n=n.Next;}l=$append(l,m);m=m.Next;}o=k;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);g.Root.AppendChild(q);p++;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}h.Unlink();u=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}d=u;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelList,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};R.prototype.CancelList=function(c){return this.$val.CancelList(c);};R.ptr.prototype.CancelBlockquote=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((5===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}if(!((6===m.Type))){k=$append(k,m);}l=$append(l,m);m=m.Next;}n=k;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);g.Root.AppendChild(p);o++;}h.Unlink();q=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}d=q;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelBlockquote,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};R.prototype.CancelBlockquote=function(c){return this.$val.CancelBlockquote(c);};R.ptr.prototype.Blocks2Ps=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h;while(true){if(!(!(AF.nil===m))){break;}n=m.Type;if(n===(2)){m.Type=1;}else if(n===(5)){o=m.FirstChild;while(true){if(!(!(AF.nil===o))){break;}if(6===o.Type){l=$append(l,o);o=o.Next;continue;}k=$append(k,o);o=o.Next;}l=$append(l,m);}else if(n===(7)){p=m.FirstChild;while(true){if(!(!(AF.nil===p))){break;}q=p.FirstChild;while(true){if(!(!(AF.nil===q))){break;}if(!((100===q.Type))){k=$append(k,q);}q=q.Next;}l=$append(l,p);p=p.Next;}l=$append(l,m);}m=m.Next;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}u=k;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);g.Root.AppendChild(w);v++;}x=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}d=x;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Blocks2Ps,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};R.prototype.Blocks2Ps=function(c){return this.$val.Blocks2Ps(c);};R.ptr.prototype.Blocks2Hs=function(c,d){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;g=f.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.Root.FirstChild;j=i;while(true){if(!(!(AF.nil===j))){break;}if((1===j.Type)||(2===j.Type)){j.Type=2;k=B.Atoi(d);j.HeadingLevel=k[0];}j=j.Next;}l=f.Tree2BlockDOM(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}e=l;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Blocks2Hs,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.Blocks2Hs=function(c,d){return this.$val.Blocks2Hs(c,d);};R.ptr.prototype.OL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.OL2TL=function(c){return this.$val.OL2TL(c);};R.ptr.prototype.UL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.UL2TL=function(c){return this.$val.UL2TL(c);};R.ptr.prototype.TL2OL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=AK.nil;k=h.FirstChild;while(true){if(!(!(AF.nil===k))){break;}if(455===k.Type){k=k.Next;continue;}j=$append(j,k.FirstChild);k.ListData.Typ=1;k.ListData.Num=i;i=i+(1)>>0;k=k.Next;}l=j;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n.Unlink();m++;}o=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}d=o;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.TL2OL=function(c){return this.$val.TL2OL(c);};R.ptr.prototype.TL2UL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}i=$append(i,j.FirstChild);j.ListData.Typ=0;j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);m.Unlink();l++;}n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2UL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.TL2UL=function(c){return this.$val.TL2UL(c);};R.ptr.prototype.OL2UL=function(c){var{c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=h.FirstChild;while(true){if(!(!(AF.nil===i))){break;}if(455===i.Type){i=i.Next;continue;}i.ListData.Typ=0;i=i.Next;}j=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2UL,$c:true,$r,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.OL2UL=function(c){return this.$val.OL2UL(c);};R.ptr.prototype.UL2OL=function(c){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}j.ListData.Typ=1;j.ListData.Num=i;i=i+(1)>>0;j=j.Next;}k=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.UL2OL=function(c){return this.$val.UL2OL(c);};R.ptr.prototype.blockDOM2Md=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=I.NewOptions();h.AutoSpace=false;h.FixTermTypo=false;h.KramdownBlockIAL=true;h.KramdownSpanIAL=true;h.KeepParagraphBeginningSpace=true;h.ProtyleWYSIWYG=true;h.SuperBlock=true;i=I.NewFormatRenderer(g,h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=($bytesToString(l));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.blockDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.blockDOM2Md=function(c){return this.$val.blockDOM2Md(c);};R.ptr.prototype.genASTByBlockDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"class");if("protyle-attr"===f||C.Contains(f,"__copy")||C.Contains(f,"protyle-linenumber__rows")){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if("1"===J.DomAttrValue(c,"spin")){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:if(C.Contains(f,"protyle-action")){$s=7;continue;}$s=8;continue;case 7:if(11===d.Context.Tip.Type){$s=9;continue;}if(8===d.Context.Tip.Type){$s=10;continue;}$s=11;continue;case 9:g=c.FirstChild;h="";if(!(AE.nil===g.FirstChild)){h=g.FirstChild.Data;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(h),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i=J.DomText(c.NextSibling);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasSuffix(j,"\n\n\xE2\x80\xB8")){j=C.TrimSuffix(j,"\n\n\xE2\x80\xB8");j=j+("\n\xE2\x80\xB8\n");}k=C.Split(j,"\n");l=new A.Buffer.ptr(AD.nil,0,0);m=k;n=0;case 13:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(C.Contains(p,"```")){p=C.ReplaceAll(p,"```","\xE2\x80\x8D```");}else{p=C.ReplaceAll(p,"\xE2\x80\x8D","");}q=l.WriteString(p);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o<(k.$length-1>>0)){$s=16;continue;}$s=17;continue;case 16:r=l.WriteByte(10);$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 17:n++;$s=13;continue;case 14:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,l.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=11;continue;case 10:if(3===d.Context.Tip.ListData.Typ){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,C.Contains(J.DomAttrValue(c.Parent,"class"),"protyle-task--done"),AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 11:$s=19;case 19:return;case 8:if("true"===J.DomAttrValue(c,"contenteditable")){$s=20;continue;}$s=21;continue;case 20:$r=e.genASTContenteditable(c,d);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;case 23:return;case 21:s=D.Str2NodeType(J.DomAttrValue(c,"data-type"));$s=24;case 24:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=J.DomAttrValue(c,"data-node-id");v=new D.Node.ptr(u,"","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");if(!(""===v.ID)&&!e.parentIs(c,new AT([365829]))){$s=25;continue;}$s=26;continue;case 25:v.KramdownIAL=new AN([new AJ(["id",v.ID])]);w=e.setBlockIAL(c,v);$s=27;case 27:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=new D.Node.ptr("","","","",455,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,x,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");$deferred.push([$methodVal(d.Context,"TipAppendChild"),[y]]);case 26:z=t;if(z===(465)){$s=29;continue;}if(z===(106)){$s=30;continue;}if(z===(1)){$s=31;continue;}if(z===(2)){$s=32;continue;}if(z===(5)){$s=33;continue;}if(z===(7)){$s=34;continue;}if(z===(8)){$s=35;continue;}if(z===(495)){$s=36;continue;}if(z===(475)){$s=37;continue;}if(z===(300)){$s=38;continue;}if(z===(11)){$s=39;continue;}if(z===(9)){$s=40;continue;}if(z===(425)){$s=41;continue;}if(z===(4)){$s=42;continue;}if(z===(500)){$s=43;continue;}if(z===(535)){$s=44;continue;}if(z===(510)){$s=45;continue;}if(z===(505)){$s=46;continue;}if(z===(550)){$s=47;continue;}if(z===(560)){$s=48;continue;}$s=49;continue;case 29:v.Type=465;v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));aa=J.DomAttrValue(c,"data-content");aa=C.ReplaceAll(aa,"\n","_esc_newline_");v.AppendChild(new D.Node.ptr("","","","",468,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aa),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=51;case 51:return;case 30:v.Type=106;ab=AM.nil;if(AE.nil===c.FirstChild){$s=52;continue;}$s=53;continue;case 52:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=54;case 54:return;case 53:if(e.parentIs(c,new AT([365829]))){$s=55;continue;}$s=56;continue;case 55:ac=J.DomText(c);$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=C.TrimSpace(ad);$s=58;case 58:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(ae)));d.Context.Tip.AppendChild(v);$s=59;case 59:return;case 56:af=c.FirstChild;ag=e.domChild(af,365829);if(AE.nil===ag){$s=60;continue;}$s=61;continue;case 60:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=62;case 62:return;case 61:ah=e.domChild(ag,208901);if(AE.nil===ah||AE.nil===ah.FirstChild||AE.nil===ah.FirstChild.FirstChild){$s=63;continue;}$s=64;continue;case 63:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=65;case 65:return;case 64:ai=ah.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}aj=J.DomAttrValue(ai,"align");ak=aj;if(ak===("left")){ab=$append(ab,1);}else if(ak===("center")){ab=$append(ab,2);}else if(ak===("right")){ab=$append(ab,3);}else{ab=$append(ab,0);}ai=ai.NextSibling;}v.TableAligns=ab;v.Tokens=AD.nil;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$r=e.genASTContenteditable(ag,d);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=67;case 67:return;case 31:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 32:al=J.DomText(c);$s=68;case 68:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(e.parentIs(c,new AT([365829]))){$s=69;continue;}$s=70;continue;case 69:an=C.TrimSpace(am);$s=71;case 71:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(an)));while(true){if(!(A.HasPrefix(v.Tokens,(new AD($stringToBytes("#")))))){break;}v.Tokens=A.TrimPrefix(v.Tokens,(new AD($stringToBytes("#"))));}d.Context.Tip.AppendChild(v);$s=72;case 72:return;case 70:ao=$substring(J.DomAttrValue(c,"data-subtype"),1);ap=C.TrimPrefix(am," ");if(C.HasPrefix(ap,"#")){$s=73;continue;}$s=74;continue;case 73:aq=C.Index(ap," \xE2\x80\xB8");if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 34:v.Type=7;ax=J.DomAttrValue(c,"data-marker");v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);ay=J.DomAttrValue(c,"data-subtype");if("u"===ay){v.ListData.Typ=0;}else if("o"===ay){v.ListData.Typ=1;}else if("t"===ay){v.ListData.Typ=3;}v.ListData.Marker=(new AD($stringToBytes(ax)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 35:az=J.DomAttrValue(c,"data-marker");if(!((7===d.Context.Tip.Type))){ba=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ba.Type=7;ba.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bb=J.DomAttrValue(c,"data-subtype");if("u"===bb){ba.ListData.Typ=0;ba.ListData.BulletChar=42;}else if("o"===bb){ba.ListData.Typ=1;bc=B.Atoi($substring(az,0,(az.length-1>>0)));ba.ListData.Num=bc[0];ba.ListData.Delimiter=46;}else if("t"===bb){ba.ListData.Typ=3;ba.ListData.BulletChar=42;}d.Context.Tip.AppendChild(ba);d.Context.Tip=ba;}v.Type=8;v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bd=J.DomAttrValue(c,"data-subtype");if("u"===bd){v.ListData.Typ=0;v.ListData.BulletChar=42;}else if("o"===bd){v.ListData.Typ=1;be=B.Atoi($substring(az,0,(az.length-1>>0)));v.ListData.Num=be[0];v.ListData.Delimiter=46;}else if("t"===bd){v.ListData.Typ=3;v.ListData.BulletChar=42;}v.ListData.Marker=(new AD($stringToBytes(az)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 36:v.Type=495;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 37:v.Type=475;d.Context.Tip.AppendChild(v);v.AppendChild(new D.Node.ptr("","","","",476,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=J.DomAttrValue(c,"data-sb-layout");v.AppendChild(new D.Node.ptr("","","","",477,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bf))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 38:v.Type=300;v.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"data-content");bg=F.UnescapeHTMLStr(bg);v.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=80;case 80:return;case 39:v.Type=11;v.IsFencedCodeBlock=true;v.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(c,"data-subtype");if(!(""===bh)){$s=81;continue;}$s=82;continue;case 81:v.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(bh),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(c,"data-content");v.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=83;case 83:return;case 82:d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 40:v.Type=9;bj=J.DomAttrValue(c.FirstChild.NextSibling.FirstChild,"data-content");bj=F.UnescapeHTMLStr(bj);bj=F.UnescapeHTMLStr(bj);v.Tokens=J.StrToBytes(bj);d.Context.Tip.AppendChild(v);$s=84;case 84:return;case 41:v.Type=425;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 42:v.Type=4;d.Context.Tip.AppendChild(v);$s=85;case 85:return;case 43:v.Type=500;c=e.domChild(c.FirstChild,195590);bk=J.DomHTML(c);$s=86;case 86:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}v.Tokens=bk;d.Context.Tip.AppendChild(v);$s=87;case 87:return;case 44:v.Type=535;c=e.domChild(c.FirstChild,195590);bl=J.DomHTML(c);$s=88;case 88:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}v.Tokens=bl;d.Context.Tip.AppendChild(v);$s=89;case 89:return;case 45:v.Type=510;c=e.domChild(c.FirstChild,192773);bm=J.DomHTML(c);$s=90;case 90:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}v.Tokens=bm;d.Context.Tip.AppendChild(v);$s=91;case 91:return;case 46:v.Type=505;c=e.domChild(c.FirstChild,70917);bn=J.DomHTML(c);$s=92;case 92:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}v.Tokens=bn;d.Context.Tip.AppendChild(v);$s=93;case 93:return;case 47:v.Type=550;v.AttributeViewID=J.DomAttrValue(c,"data-av-id");if(""===v.AttributeViewID){$s=94;continue;}$s=95;continue;case 94:bo=D.NewNodeID();$s=96;case 96:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}v.AttributeViewID=bo;case 95:v.AttributeViewType=J.DomAttrValue(c,"data-av-type");d.Context.Tip.AppendChild(v);$s=97;case 97:return;case 48:v.Type=560;v.CustomBlockInfo=J.DomAttrValue(c,"data-info");v.Tokens=(new AD($stringToBytes(F.UnescapeHTMLStr(J.DomAttrValue(c,"data-content")))));d.Context.Tip.AppendChild(v);$s=98;case 98:return;case 49:bp=c.DataAtom;if(bp===(0)){$s=100;continue;}if((bp===(2817))||(bp===(378116))||(bp===(449798))||(bp===(28162))||(bp===(47363))||(bp===(46596))||(bp===(9473))||(bp===(421123))||(bp===(461571))||(bp===(40708))){$s=101;continue;}$s=102;continue;case 100:v.Type=16;v.Tokens=J.StrToBytes(c.Data);if(0===d.Context.Tip.Type){bq=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bq);d.Context.Tip=bq;}$r=e.genASTContenteditable(c,d);$s=103;case 103:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=104;case 104:return;case 101:if(0===d.Context.Tip.Type){br=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(br);d.Context.Tip=br;}$r=e.genASTContenteditable(c,d);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=106;case 106:return;case 102:case 99:if((8===d.Context.Tip.Type)&&(281349===c.DataAtom)){$s=107;continue;}$s=108;continue;case 107:v.Type=100;v.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(v);$s=109;case 109:return;case 108:v.Type=10;bs=J.DomHTML(c);$s=110;case 110:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}v.Tokens=bs;d.Context.Tip.AppendChild(v);$s=111;case 111:return;case 50:case 28:bt=c.FirstChild;case 112:if(!(!(bt===AE.nil))){$s=113;continue;}$r=e.genASTByBlockDOM(bt,d);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bt=bt.NextSibling;$s=112;continue;case 113:bu=t;if(bu===(475)){v.AppendChild(new D.Node.ptr("","","","",478,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(bu===(11)){v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByBlockDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByBlockDOM=function(c,d){return this.$val.genASTByBlockDOM(c,d);};R.ptr.prototype.genASTContenteditable=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;if((11===d.Context.Tip.Type)||(560===d.Context.Tip.Type)){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(109320===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:f=J.DomAttrValue(c,"class");if("svg"===f){$s=7;continue;}$s=8;continue;case 7:$s=9;case 9:return;case 8:g=c.Data;h=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(g),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=c.DataAtom;if(i===(0)){$s=11;continue;}if(i===(208901)){$s=12;continue;}if(i===(9989)){$s=13;continue;}if(i===(52226)){$s=14;continue;}if((i===(87554))||(i===(37378))){$s=15;continue;}if(i===(378116)){$s=16;continue;}if(i===(40708)){$s=17;continue;}if(i===(421123)){$s=18;continue;}if(i===(461571)){$s=19;continue;}if(i===(2817)){$s=20;continue;}if(i===(47363)){$s=21;continue;}if(i===(514)){$s=22;continue;}if((i===(28162))||(i===(1537))){$s=23;continue;}if((i===(449798))||(i===(257))){$s=24;continue;}if((i===(283139))||(i===(9473))||(i===(53766))){$s=25;continue;}if(i===(46596)){$s=26;continue;}if(i===(198403)){$s=27;continue;}$s=28;continue;case 11:if(""===g){$s=29;continue;}$s=30;continue;case 29:$s=31;case 31:return;case 30:if(3===c.Type){h.Tokens=J.StrToBytes("<"+g+">");}if(33===d.Context.Tip.Type){h.Type=40;}else if(2===d.Context.Tip.Type){g=C.ReplaceAll(g,"\n","");h.Tokens=J.StrToBytes(g);}else if(22===d.Context.Tip.Type){g=C.ReplaceAll(g,"**","");g=C.ReplaceAll(g,"*\xE2\x80\xB8","\xE2\x80\xB8");g=C.ReplaceAll(g,"\xE2\x80\xB8*","\xE2\x80\xB8");h.Tokens=J.StrToBytes(g);}if(e.parentIs(c,new AT([365829]))){$s=32;continue;}$s=33;continue;case 32:g=C.TrimSuffix(g,"\n");if((AE.nil===c.NextSibling&&!C.Contains(g,"\n"))||(!(AE.nil===c.NextSibling)&&(514===c.NextSibling.DataAtom)&&C.HasPrefix(g,"\n"))){g=C.ReplaceAll(g,"\n","");}if(C.Contains(g,"\\")){$s=34;continue;}$s=35;continue;case 34:j=C.ReplaceAll(g,"\\","");k=C.TrimSpace(j);$s=36;case 36:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;if(""===j){g=C.ReplaceAll(g,"\\","\\\\");}case 35:h.Tokens=J.StrToBytes(C.ReplaceAll(g,"\n","
    "));l=L.SplitWithoutBackslashEscape(h.Tokens,124);h.Tokens=AD.nil;m=l;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);h.Tokens=$appendSlice(h.Tokens,p);if(o<(l.$length-1>>0)){h.Tokens=$appendSlice(h.Tokens,(new AD($stringToBytes("\\|"))));}n++;}case 33:if((27===d.Context.Tip.Type)||(304===d.Context.Tip.Type)){$s=37;continue;}$s=38;continue;case 37:if(!(AF.nil===d.Context.Tip.Previous)&&(d.Context.Tip.Type===d.Context.Tip.Previous.Type)){d.Context.Tip.FirstChild.Next.Tokens=J.StrToBytes(g);}else{if(!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();}d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));}$s=39;case 39:return;case 38:if(530===d.Context.Tip.Type){$s=40;continue;}$s=41;continue;case 40:if("code"===d.Context.Tip.TokensStr()){$s=42;continue;}$s=43;continue;case 42:if(!(AF.nil===d.Context.Tip.FirstChild)&&!(AF.nil===d.Context.Tip.FirstChild.Next)&&!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){$s=44;continue;}$s=45;continue;case 44:g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));$s=46;case 46:return;case 45:case 43:case 41:if(515===d.Context.Tip.Type){h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\\\"))),(new AD($stringToBytes("\\"))));h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));if(A.Equal(h.Tokens,E.CaretTokens)){q=d.Context.Tip.Parent;d.Context.Tip.Unlink();d.Context.Tip=q;}}d.Context.Tip.AppendChild(h);$s=28;continue;case 12:if(e.parentIs(c.Parent.Parent,new AT([365829]))){$s=47;continue;}$s=48;continue;case 47:r=J.DomText(c.Parent.Parent);$s=49;case 49:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;s=C.ReplaceAll(s,"\xE2\x80\xB8","");t=C.TrimSpace(s);$s=50;case 50:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(t)));d.Context.Tip.AppendChild(h);$s=51;case 51:return;case 48:h.Type=107;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 13:$s=28;continue;case 14:h.Type=108;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 15:h.Type=109;u=J.DomAttrValue(c,"align");v=0;w=u;if(w===("left")){v=1;}else if(w===("center")){v=2;}else if(w===("right")){v=3;}else{v=0;}h.TableCellAlign=v;d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(h,c);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 16:y=e.isCaret(c);$s=53;case 53:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];if(z){$s=54;continue;}$s=55;continue;case 54:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=56;case 56:return;case 55:if(aa){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:if(e.ParseOptions.TextMark){$s=60;continue;}$s=61;continue;case 60:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;case 63:return;case 61:h.Type=27;h.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 17:ab=J.DomAttrValue(c,"data-type");if(""===ab){ab="text";}if(C.Contains(ab,"span")){$s=64;continue;}$s=65;continue;case 64:h.Type=16;ac=J.DomText(c);$s=66;case 66:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=J.StrToBytes(ac);$s=67;case 67:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h.Tokens=ad;d.Context.Tip.AppendChild(h);$s=68;case 68:return;case 65:if(C.Contains(ab,"img")){ab="img";}if(!(AF.nil===d.Context.Tip)&&!(AF.nil===d.Context.Tip.LastChild)){$s=69;continue;}$s=70;continue;case 69:ae=d.Context.Tip.LastChild.Text();$s=71;case 71:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=C.HasSuffix(af,"\\\xE2\x80\xB8");if(ag){af=C.TrimSuffix(af,"\xE2\x80\xB8");}if(C.HasSuffix(af,"\\")){ah=0;ai=af.length-1>>0;while(true){if(!(ai>=0)){break;}if(92===af.charCodeAt(ai)){ah=ah+(1)>>0;}else{break;}ai=ai-(1)>>0;}if(!((0===(aj=ah%2,aj===aj?aj:$throwRuntimeError("integer divide by zero"))))){if(ag){d.Context.Tip.LastChild.Tokens=A.TrimSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));}else{d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));}}}case 70:if("tag"===ab){$s=72;continue;}if("inline-math"===ab){$s=73;continue;}if("inline-memo"===ab){$s=74;continue;}if("a"===ab){$s=75;continue;}if("block-ref"===ab){$s=76;continue;}if("file-annotation-ref"===ab){$s=77;continue;}if("img"===ab){$s=78;continue;}if("backslash"===ab){$s=79;continue;}$s=80;continue;case 72:al=e.isCaret(c);$s=82;case 82:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];if(am){$s=83;continue;}$s=84;continue;case 83:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=85;case 85:return;case 84:if(an){$s=86;continue;}$s=87;continue;case 86:$s=88;case 88:return;case 87:if(e.ParseOptions.TextMark){$s=89;continue;}$s=90;continue;case 89:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=91;case 91:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=92;case 92:return;case 90:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");h.Type=460;h.AppendChild(new D.Node.ptr("","","","",461,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));Q(c,h);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 73:ao=J.GetTextMarkInlineMathData(c);if(""===ao){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.ParseOptions.TextMark){$s=96;continue;}$s=97;continue;case 96:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=99;case 99:return;case 97:h.Type=304;h.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ao),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=100;case 100:return;case 74:aq=e.isCaret(c);$s=101;case 101:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(ar){$s=102;continue;}$s=103;continue;case 102:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=104;case 104:return;case 103:if(as){$s=105;continue;}$s=106;continue;case 105:$s=107;case 107:return;case 106:if(e.ParseOptions.TextMark){$s=108;continue;}$s=109;continue;case 108:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=111;case 111:return;case 109:h.Type=16;at=J.DomText(c);$s=112;case 112:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=J.StrToBytes(at);$s=113;case 113:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}h.Tokens=au;d.Context.Tip.AppendChild(h);$s=114;case 114:return;case 75:if(AE.nil===c.FirstChild){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(33===d.Context.Tip.Type){$s=10;continue;}if(e.ParseOptions.TextMark){$s=118;continue;}$s=119;continue;case 118:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=120;case 120:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=121;case 121:return;case 119:h.Type=33;h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 76:av=J.DomText(c);$s=122;case 122:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;ax=C.TrimSpace(aw);$s=123;case 123:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;if(""===aw){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(aw==="\xE2\x80\xB8"){$s=127;continue;}$s=128;continue;case 127:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=129;case 129:return;case 128:if(e.ParseOptions.TextMark){$s=130;continue;}$s=131;continue;case 130:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=132;case 132:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=133;case 133:return;case 131:h.Type=430;h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ay=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",431,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ay),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",432,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));az=AF.nil;ba=J.DomAttrValue(c,"data-subtype");if("s"===ba||""===ba){az=new D.Node.ptr("","","","",433,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}else{az=new D.Node.ptr("","","","",434,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}if(e.parentIs(c,new AT([365829]))){az.Tokens=A.ReplaceAll(az.Tokens,(new AD($stringToBytes("|"))),(new AD($stringToBytes("|"))));}h.AppendChild(az);h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=134;case 134:return;case 77:bb=J.DomText(c);$s=135;case 135:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=C.TrimSpace(bc);$s=136;case 136:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;if(""===bc){$s=137;continue;}$s=138;continue;case 137:$s=139;case 139:return;case 138:if(bc==="\xE2\x80\xB8"){$s=140;continue;}$s=141;continue;case 140:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=142;case 142:return;case 141:if(e.ParseOptions.TextMark){$s=143;continue;}$s=144;continue;case 143:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=146;case 146:return;case 144:h.Type=540;h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));be=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",541,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",542,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=new D.Node.ptr("","","","",543,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bc),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(bf);h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=147;case 147:return;case 78:bg=e.domChild(c,198403);if(AE.nil===bg){$s=148;continue;}$s=149;continue;case 148:$s=150;case 150:return;case 149:h.Type=34;h.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(bg,"alt");h.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bh),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(bg,"data-src");h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bj=J.DomAttrValue(bg,"title");if(!(""===bj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(d.Context.Tip.LastChild,bg);$s=151;case 151:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=152;case 152:return;case 79:h.Type=400;if(AE.nil===c.FirstChild){$s=153;continue;}$s=154;continue;case 153:$s=155;case 155:return;case 154:if(c.FirstChild===c.LastChild&&!(AE.nil===c.FirstChild.FirstChild)){$s=156;continue;}$s=157;continue;case 156:$s=158;case 158:return;case 157:if(AE.nil===c.FirstChild.NextSibling&&(1===c.FirstChild.Type)){$s=159;continue;}$s=160;continue;case 159:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(c.FirstChild.Data),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=161;case 161:return;case 160:if(!(AE.nil===c.FirstChild.NextSibling)){bk=c.FirstChild.NextSibling.Data;bk=C.ReplaceAll(bk,"\\\\","\\");h.AppendChild(new D.Node.ptr("","","","",401,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bk),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);$s=162;case 162:return;case 80:bm=e.isCaret(c);$s=163;case 163:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;bn=bl[0];bo=bl[1];if(bn){$s=164;continue;}$s=165;continue;case 164:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=166;case 166:return;case 165:if(bo){$s=167;continue;}$s=168;continue;case 167:$s=169;case 169:return;case 168:bp=e.removeTempMark(ab);$s=170;case 170:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}ab=bp;bq=C.ReplaceAll(ab,"backslash","");br=C.TrimSpace(bq);$s=171;case 171:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bq=br;d.Context.Tip.AppendChild(h);if(""===bq){$s=172;continue;}$s=173;continue;case 172:h.Type=16;bs=J.DomText(c);$s=174;case 174:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(bs)));$s=175;case 175:return;case 173:e.setDOMAttrValue(c,"data-type",ab);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=177;case 177:return;case 81:$s=28;continue;case 18:bu=e.isCaret(c);$s=178;case 178:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;bv=bt[0];bw=bt[1];if(bv){$s=179;continue;}$s=180;continue;case 179:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=181;case 181:return;case 180:if(bw){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(e.ParseOptions.TextMark){$s=185;continue;}$s=186;continue;case 185:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=187;case 187:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=188;case 188:return;case 186:h.Type=490;h.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 19:by=e.isCaret(c);$s=189;case 189:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(bz){$s=190;continue;}$s=191;continue;case 190:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=192;case 192:return;case 191:if(ca){$s=193;continue;}$s=194;continue;case 193:$s=195;case 195:return;case 194:if(e.ParseOptions.TextMark){$s=196;continue;}$s=197;continue;case 196:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=198;case 198:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=199;case 199:return;case 197:h.Type=485;h.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 20:cc=e.isCaret(c);$s=200;case 200:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(cd){$s=201;continue;}$s=202;continue;case 201:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=203;case 203:return;case 202:if(ce){$s=204;continue;}$s=205;continue;case 204:$s=206;case 206:return;case 205:if(e.ParseOptions.TextMark){$s=207;continue;}$s=208;continue;case 207:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=209;case 209:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=210;case 210:return;case 208:h.Type=520;h.AppendChild(new D.Node.ptr("","","","",521,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 21:cg=e.isCaret(c);$s=211;case 211:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;ch=cf[0];ci=cf[1];if(ch){$s=212;continue;}$s=213;continue;case 212:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=214;case 214:return;case 213:if(ci){$s=215;continue;}$s=216;continue;case 215:$s=217;case 217:return;case 216:if(e.ParseOptions.TextMark){$s=218;continue;}$s=219;continue;case 218:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=220;case 220:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=221;case 221:return;case 219:h.Type=515;h.AppendChild(new D.Node.ptr("","","","",516,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 22:if(2===d.Context.Tip.Type){$s=222;continue;}$s=223;continue;case 222:$s=224;case 224:return;case 223:if(!(AE.nil===c.PrevSibling)&&"\n"===c.PrevSibling.Data&&e.parentIs(c,new AT([365829]))){$s=225;continue;}$s=226;continue;case 225:$s=227;case 227:return;case 226:h.Type=525;d.Context.Tip.AppendChild(h);$s=228;case 228:return;case 23:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=229;continue;}$s=230;continue;case 229:$s=231;case 231:return;case 230:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ck=e.isCaret(c);$s=232;case 232:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cj=ck;cl=cj[0];cm=cj[1];if(cl){$s=233;continue;}$s=234;continue;case 233:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=235;case 235:return;case 234:if(cm){$s=236;continue;}$s=237;continue;case 236:$s=238;case 238:return;case 237:if(e.ParseOptions.TextMark){$s=239;continue;}$s=240;continue;case 239:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=241;case 241:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=242;case 242:return;case 240:h.Type=17;cn=J.DomAttrValue(c,"data-marker");if(""===cn){cn="*";}if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=243;continue;}$s=244;continue;case 243:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=245;case 245:return;case 244:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");Q(c,h);e.removeInnerMarker(c,"__");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 24:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=246;continue;}$s=247;continue;case 246:$s=248;case 248:return;case 247:if(!(AF.nil===d.Context.Tip.LastChild)){if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))),(new AD($stringToBytes("\\\\\xE2\x80\xB8"))));}if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));}}if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cp=e.isCaret(c);$s=249;case 249:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}co=cp;cq=co[0];cr=co[1];if(cq){$s=250;continue;}$s=251;continue;case 250:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=252;case 252:return;case 251:if(cr){$s=253;continue;}$s=254;continue;case 253:$s=255;case 255:return;case 254:if(e.ParseOptions.TextMark){$s=256;continue;}$s=257;continue;case 256:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=258;case 258:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=259;case 259:return;case 257:h.Type=22;cs=J.DomAttrValue(c,"data-marker");if(""===cs){cs="**";}if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=260;continue;}$s=261;continue;case 260:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=262;case 262:return;case 261:Q(c,h);e.removeInnerMarker(c,"**");$r=H.SetSpanIAL(h,c);$s=263;case 263:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 25:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=264;continue;}$s=265;continue;case 264:$s=266;case 266:return;case 265:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cu=e.isCaret(c);$s=267;case 267:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}ct=cu;cv=ct[0];cw=ct[1];if(cv){$s=268;continue;}$s=269;continue;case 268:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=270;case 270:return;case 269:if(cw){$s=271;continue;}$s=272;continue;case 271:$s=273;case 273:return;case 272:if(e.ParseOptions.TextMark){$s=274;continue;}$s=275;continue;case 274:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=276;case 276:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=277;case 277:return;case 275:h.Type=101;cx=J.DomAttrValue(c,"data-marker");if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=278;continue;}$s=279;continue;case 278:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=280;case 280:return;case 279:Q(c,h);e.removeInnerMarker(c,"~~");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 26:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=281;continue;}$s=282;continue;case 281:$s=283;case 283:return;case 282:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cz=e.isCaret(c);$s=284;case 284:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(da){$s=285;continue;}$s=286;continue;case 285:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=287;case 287:return;case 286:if(db){$s=288;continue;}$s=289;continue;case 288:$s=290;case 290:return;case 289:if(e.ParseOptions.TextMark){$s=291;continue;}$s=292;continue;case 291:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=293;case 293:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=294;case 294:return;case 292:h.Type=450;dc=J.DomAttrValue(c,"data-marker");if("="===dc){h.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=295;continue;}$s=296;continue;case 295:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===dc){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=297;case 297:return;case 296:Q(c,h);e.removeInnerMarker(c,"==");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 27:if("emoji"===f){$s=298;continue;}$s=299;continue;case 298:dd=J.DomAttrValue(c,"alt");h.Type=200;de=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(dd,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");de.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+dd+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(de);d.Context.Tip.AppendChild(h);$s=300;case 300:return;case 299:case 28:case 10:df=c.FirstChild;case 301:if(!(!(df===AE.nil))){$s=302;continue;}$r=e.genASTContenteditable(df,d);$s=303;case 303:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}df=df.NextSibling;$s=301;continue;case 302:if(e.ParseOptions.TextMark){$s=304;continue;}$s=305;continue;case 304:$s=306;case 306:return;case 305:dg=c.DataAtom;if(dg===(378116)){h.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(40708)){dh=J.DomAttrValue(c,"data-type");if("tag"===dh){h.AppendChild(new D.Node.ptr("","","","",462,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if("a"===dh){h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));di=J.DomAttrValue(c,"data-href");if(!(""===e.RenderOptions.LinkBase)){di=C.ReplaceAll(di,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){di=C.ReplaceAll(di,e.RenderOptions.LinkPrefix,"");}h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(di))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dj=J.DomAttrValue(c,"data-title");if(!(""===dj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dj))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(421123)){h.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(461571)){h.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(2817)){h.AppendChild(new D.Node.ptr("","","","",522,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(47363)){h.AppendChild(new D.Node.ptr("","","","",517,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dg===(28162))||(dg===(1537))){dk=J.DomAttrValue(c,"data-marker");if(""===dk){dk="*";}if("_"===dk){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(449798))||(dg===(257))){dl=J.DomAttrValue(c,"data-marker");if(""===dl){dl="**";}if("__"===dl){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(283139))||(dg===(9473))||(dg===(53766))){dm=J.DomAttrValue(c,"data-marker");if("~"===dm){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(46596)){dn=J.DomAttrValue(c,"data-marker");if("="===dn){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTContenteditable,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTContenteditable=function(c,d){return this.$val.genASTContenteditable(c,d);};R.ptr.prototype.setBlockIAL=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;d.SetIALAttr("id",d.ID);g=J.DomAttrValue(c,"refcount");if(!(""===g)){d.SetIALAttr("refcount",g);e=$appendSlice(e,(new AD($stringToBytes(" refcount=\""+g+"\""))));}h=J.DomAttrValue(c,"av-names");if(!(""===h)){d.SetIALAttr("av-names",h);e=$appendSlice(e,(new AD($stringToBytes(" av-names=\""+h+"\""))));}i=J.DomAttrValue(c,"bookmark");if(!(""===i)){i=F.UnescapeHTMLStr(i);d.SetIALAttr("bookmark",i);e=$appendSlice(e,(new AD($stringToBytes(" bookmark=\""+i+"\""))));}j=J.DomAttrValue(c,"style");if(!(""===j)){$s=1;continue;}$s=2;continue;case 1:j=F.UnescapeHTMLStr(j);k=H.StyleValue(j);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;d.SetIALAttr("style",j);e=$appendSlice(e,(new AD($stringToBytes(" style=\""+j+"\""))));case 2:l=J.DomAttrValue(c,"name");if(!(""===l)){l=F.UnescapeHTMLStr(l);d.SetIALAttr("name",l);e=$appendSlice(e,(new AD($stringToBytes(" name=\""+l+"\""))));}m=J.DomAttrValue(c,"memo");if(!(""===m)){m=F.UnescapeHTMLStr(m);d.SetIALAttr("memo",m);e=$appendSlice(e,(new AD($stringToBytes(" memo=\""+m+"\""))));}n=J.DomAttrValue(c,"alias");if(!(""===n)){n=F.UnescapeHTMLStr(n);d.SetIALAttr("alias",n);e=$appendSlice(e,(new AD($stringToBytes(" alias=\""+n+"\""))));}o=J.DomAttrValue(c,"fold");if(!(""===o)){d.SetIALAttr("fold",o);e=$appendSlice(e,(new AD($stringToBytes(" fold=\""+o+"\""))));}p=J.DomAttrValue(c,"heading-fold");if(!(""===p)){d.SetIALAttr("heading-fold",p);e=$appendSlice(e,(new AD($stringToBytes(" heading-fold=\""+p+"\""))));}q=J.DomAttrValue(c,"parent-fold");if(!(""===q)){d.SetIALAttr("parent-fold",q);e=$appendSlice(e,(new AD($stringToBytes(" parent-fold=\""+q+"\""))));}r=J.DomAttrValue(c,"updated");if(!(""===r)){d.SetIALAttr("updated",r);e=$appendSlice(e,(new AD($stringToBytes(" updated=\""+r+"\""))));}s=J.DomAttrValue(c,"linewrap");if(!(""===s)){d.SetIALAttr("linewrap",s);e=$appendSlice(e,(new AD($stringToBytes(" linewrap=\""+s+"\""))));}t=J.DomAttrValue(c,"ligatures");if(!(""===t)){d.SetIALAttr("ligatures",t);e=$appendSlice(e,(new AD($stringToBytes(" ligatures=\""+t+"\""))));}u=J.DomAttrValue(c,"linenumber");if(!(""===u)){d.SetIALAttr("linenumber",u);e=$appendSlice(e,(new AD($stringToBytes(" linenumber=\""+u+"\""))));}v=J.DomAttrValue(c,"breadcrumb");if(!(""===v)){d.SetIALAttr("breadcrumb",v);e=$appendSlice(e,(new AD($stringToBytes(" breadcrumb=\""+v+"\""))));}w=J.DomAttrValue(c,"data-export-md");if(!(""===w)){w=F.UnescapeHTMLStr(w);d.SetIALAttr("data-export-md",w);e=$appendSlice(e,(new AD($stringToBytes(" data-export-md=\""+w+"\""))));}x=J.DomAttrValue(c,"data-export-html");if(!(""===x)){x=F.UnescapeHTMLStr(x);d.SetIALAttr("data-export-html",x);e=$appendSlice(e,(new AD($stringToBytes(" data-export-html=\""+x+"\""))));}y=J.DomCustomAttrs(c);if(!(false===y)){z=y;aa=0;ab=z?z.keys():undefined;ac=z?z.size:0;while(true){if(!(aa=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=1;continue;case 2:d.HTML2MdRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2HTMLRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d=d;$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,c,d,e,f,g,$s};return $f;};$pkg.New=S;R.ptr.prototype.Markdown=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;g=H.Parse(c,d,f.ParseOptions);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewHtmlRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f.Md2HTMLRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));f=J.BytesToStr(H.EmojiSitePlaceholder);g=d.ParseOptions.AliasEmoji;h=0;i=g?g.keys():undefined;j=g?g.size:0;while(true){if(!(h=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]),$String),(($assertType((1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]),$Float64)>>0))];};})(j,k)});t++;$s=3;continue;case 4:g++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SetJSRenderers,$c:true,$r,aa,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.SetJSRenderers=function(c){return this.$val.SetJSRenderers(c);};R.ptr.prototype.HTML2Markdown=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=$ifaceNil;f=this;g=f.HTML2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=AD.nil;j=I.NewFormatRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=f.HTML2MdRendererFuncs;m=0;n=l?l.keys():undefined;o=l?l.size:0;while(true){if(!(mL.TrimWhitespace(i.Tokens).$length){$s=63;continue;}$s=64;continue;case 63:$s=65;case 65:return;case 64:if(!(AE.nil===c.Parent)&&(40708===c.Parent.DataAtom)&&(!(""===J.DomAttrValue(c.Parent,"class")))){$s=66;continue;}$s=67;continue;case 66:m=d.Context.Tip.LastChild;if(AF.nil===m||((16===m.Type)&&!A.HasSuffix(m.Tokens,(new AD($stringToBytes("**")))))){$s=68;continue;}$s=69;continue;case 68:n=($bytesToString(i.Tokens));o=e.prefixSpaces(n);p=e.suffixSpaces(n);q=C.TrimSpace(n);$s=70;case 70:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}n=q;if(!(""===o)){i.Tokens=(new AD($stringToBytes(o)));}i.Tokens=(new AD($stringToBytes("**"+n+"**")));if(!(""===p)){i.Tokens=$appendSlice(i.Tokens,(new AD($stringToBytes(p))));}case 69:case 67:d.Context.Tip.AppendChild(i);$s=53;continue;case 21:if(33===d.Context.Tip.Type){$s=19;continue;}if(e.parentIs(c,new AT([365829]))){if(!(AE.nil===c.PrevSibling)&&C.Contains(c.PrevSibling.Data,"\n")){$s=19;continue;}if(!(AE.nil===c.NextSibling)&&C.Contains(c.NextSibling.Data,"\n")){$s=19;continue;}if(AF.nil===d.Context.Tip.FirstChild){$s=19;continue;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=19;continue;}if(2===d.Context.Tip.Type){$s=19;continue;}if(92931===c.DataAtom){$s=71;continue;}$s=72;continue;case 71:r=J.DomAttrValue(c,"class");s="";if(C.Contains(r,"-source-")){s=$substring(r,(C.LastIndex(r,"-source-")+8>>0));}else if(C.Contains(r,"-text-html-basic")){s="html";}if(!(""===s)){$s=73;continue;}$s=74;continue;case 73:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));t=new A.Buffer.ptr(AD.nil,0,0);i.LastChild.CodeBlockInfo=(new AD($stringToBytes(s)));u=J.DomText(c);$s=75;case 75:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=t.WriteString(u);$s=76;case 76:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;w=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,t.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(w);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);$s=77;case 77:return;case 74:case 72:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 22:if(33===d.Context.Tip.Type){$s=19;continue;}i.Type=2;i.HeadingLevel=((((x=i.Tokens,(1>=x.$length?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+1]))-48<<24>>>24)>>0));i.AppendChild(new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(C.Repeat("#",i.HeadingLevel)),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 23:i.Type=4;d.Context.Tip.AppendChild(i);$s=53;continue;case 24:i.Type=5;i.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(">"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 25:i.Type=7;i.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){i.ListData.Typ=1;}i.ListData.Tight=true;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 26:i.Type=8;y=J.DomAttrValue(c,"data-marker");z=0;if(""===y){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){aa=J.DomAttrValue(c.Parent,"start");if(""===aa){y="1.";}else{y=aa+".";}}else{y="*";z=y.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)&&!("1."===y)&&(79618===c.Parent.DataAtom)&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){y="1.";}}i.ListData=new D.ListData.ptr(0,false,z,0,0,0,0,false,(new AD($stringToBytes(y))),0);d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 27:ab=c.FirstChild;if(AE.nil===ab){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if((92931===ab.DataAtom)&&!(AE.nil===ab.NextSibling)&&(378116===ab.NextSibling.DataAtom)){ab=ab.NextSibling;c.FirstChild.Unlink();}if((92931===ab.DataAtom)&&AE.nil===ab.NextSibling){ac=J.DomChildrenByType(c,378116);if(1===ac.$length){ad=(0>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+0]);ad.Unlink();c.AppendChild(ad);ab.Unlink();ab=c.FirstChild;}}ae=false;if((79618===ab.DataAtom)&&AE.nil===ab.NextSibling&&!(AE.nil===ab.FirstChild)&&(45570===ab.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild)&&(3073===ab.FirstChild.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild.FirstChild)&&(40708===ab.FirstChild.FirstChild.FirstChild.DataAtom)){af=ab.FirstChild;while(true){if(!(!(AE.nil===af))){break;}ag=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,378116,"code","",AS.nil);ah=AP.nil;ai=af.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}ah=$append(ah,ai);ai=ai.NextSibling;}aj=ah;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);al.Unlink();ag.AppendChild(al);ak++;}af.FirstChild.AppendChild(ag);ae=true;af=af.NextSibling;}}if((79618===ab.DataAtom)&&AE.nil===ab.NextSibling&&!(AE.nil===ab.FirstChild)&&(45570===ab.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild)&&(3073===ab.FirstChild.FirstChild.DataAtom)&&!(AE.nil===ab.FirstChild.FirstChild.FirstChild)&&(378116===ab.FirstChild.FirstChild.FirstChild.DataAtom)){am=AP.nil;an=AP.nil;ao=am;ap=an;aq=ab.FirstChild;while(true){if(!(!(AE.nil===aq))){break;}ao=$append(ao,aq);ap=$append(ap,aq.FirstChild.FirstChild);aq=aq.NextSibling;}ar=ao;as=0;while(true){if(!(as=ar.$length)?($throwRuntimeError("index out of range"),undefined):ar.$array[ar.$offset+as]);at.Unlink();as++;}au=ap;av=0;while(true){if(!(av=au.$length)?($throwRuntimeError("index out of range"),undefined):au.$array[au.$offset+av]);aw.Unlink();c.AppendChild(aw);av++;}ab.Unlink();ab=c.FirstChild;}if((1===ab.Type)||(40708===ab.DataAtom)||(378116===ab.DataAtom)||(354311===ab.DataAtom)||(290819===ab.DataAtom)||(1===ab.DataAtom)){$s=81;continue;}$s=82;continue;case 81:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if((378116===ab.DataAtom)||(40708===ab.DataAtom)||(1===ab.DataAtom)){ax=J.DomAttrValue(ab,"class");if(!C.Contains(ax,"language-")){ax=J.DomAttrValue(c,"class");}if(C.Contains(ax,"language-")){ay=$substring(ax,(C.Index(ax,"language-")+9>>0));ay=(az=C.Split(ay," "),(0>=az.$length?($throwRuntimeError("index out of range"),undefined):az.$array[az.$offset+0]));i.LastChild.CodeBlockInfo=(new AD($stringToBytes(ay)));}else{if((378116===ab.DataAtom)&&!ae){ba=J.DomAttrValue(ab,"class");if(!C.Contains(ba," ")){i.LastChild.CodeBlockInfo=(new AD($stringToBytes(ba)));}}}if(1>i.LastChild.CodeBlockInfo.$length){bb=J.DomAttrValue(c,"class");if(!C.Contains(bb," ")){i.LastChild.CodeBlockInfo=(new AD($stringToBytes(bb)));}}if(A.ContainsAny(i.LastChild.CodeBlockInfo,"-_ ")){i.LastChild.CodeBlockInfo=AD.nil;}}if(378116===ab.DataAtom){if(!(AE.nil===ab.NextSibling)&&(378116===ab.NextSibling.DataAtom)){bc=ab.NextSibling;while(true){if(!(!(AE.nil===bc))){break;}bc.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));bc=bc.NextSibling;}}if(!(AE.nil===ab.FirstChild)&&(79618===ab.FirstChild.DataAtom)){bd=ab.FirstChild.FirstChild;while(true){if(!(!(AE.nil===bd))){break;}if(!(bd===ab.FirstChild.FirstChild)){bd.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));}bd=bd.NextSibling;}}if(!(AE.nil===c.LastChild)&&(42754===c.LastChild.DataAtom)){c.LastChild.Unlink();}}if((290819===ab.DataAtom)&&!(AE.nil===ab.FirstChild)){be=ab.FirstChild.NextSibling;while(true){if(!(!(AE.nil===be))){break;}be.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));be=be.NextSibling;}}bf=new A.Buffer.ptr(AD.nil,0,0);bg=J.DomText(c);$s=84;case 84:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bf.WriteString(bg);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bh;bi=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bf.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(bi);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(d.Context.Tip.ParentIs(106,BB.nil)){$s=86;continue;}$s=87;continue;case 86:bj=d.Context.Tip.Parent;case 89:if(!(!(AF.nil===bj))){$s=90;continue;}if(106===bj.Type){$s=91;continue;}$s=92;continue;case 91:if(!(AF.nil===bj.FirstChild)&&bj.FirstChild===bj.LastChild&&(107===bj.FirstChild.Type)&&bj.FirstChild.FirstChild===bj.FirstChild.LastChild&&!(AF.nil===bj.FirstChild.FirstChild.FirstChild)&&(109===bj.FirstChild.FirstChild.FirstChild.Type)){$s=93;continue;}$s=94;continue;case 93:bj.InsertBefore(i);bj.Unlink();d.Context.Tip=i;$s=95;case 95:return;case 94:case 92:bj=bj.Parent;$s=89;continue;case 90:bk=A.Split(bi.Tokens,(new AD($stringToBytes("\n"))));bl=bk;bm=0;while(true){if(!(bm=bl.$length)?($throwRuntimeError("index out of range"),undefined):bl.$array[bl.$offset+bm]);if(0>0)){if(d.Context.ParseOption.ProtyleWYSIWYG){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}}bm++;}$s=88;continue;case 87:d.Context.Tip.AppendChild(i);case 88:$s=83;continue;case 82:i.Type=9;bq=J.DomHTML(c);$s=96;case 96:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}i.Tokens=bq;d.Context.Tip.AppendChild(i);case 83:$s=97;case 97:return;case 28:br=J.DomText(c);$s=98;case 98:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bs=br;bt=C.TrimSpace(bs);$s=101;case 101:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}if(""===bt){$s=99;continue;}$s=100;continue;case 99:$s=19;continue;case 100:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=17;bu="*";i.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bu),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 29:bv=J.DomText(c);$s=102;case 102:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=bv;bx=C.TrimSpace(bw);$s=105;case 105:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}if(""===bx){$s=103;continue;}$s=104;continue;case 103:$s=19;continue;case 104:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=22;by="**";i.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(by),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 30:if(AE.nil===c.FirstChild){$s=106;continue;}$s=107;continue;case 106:$s=108;case 108:return;case 107:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bz=J.DomHTML(c);$s=109;case 109:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}ca=bz;if(A.Contains(ca,(new AD($stringToBytes(">"))))){ca=$subslice(ca,(A.Index(ca,(new AD($stringToBytes(">"))))+1>>0));}ca=A.TrimSuffix(ca,(new AD($stringToBytes("
    "))));cb=true;cc=c.FirstChild;while(true){if(!(!(AE.nil===cc))){break;}if(1===cc.Type){cc=cc.NextSibling;continue;}if(!((40708===cc.DataAtom))){cb=false;break;}cc=cc.NextSibling;}if(cb){$s=110;continue;}$s=111;continue;case 110:cd=J.DomText(c);$s=112;case 112:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ca=(new AD($stringToBytes(cd)));ca=A.ReplaceAll(ca,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 111:ce=F.UnescapeString(($bytesToString(ca)));ca=(new AD($stringToBytes(ce)));cf=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ca,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.Type=27;i.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(cf);i.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=113;case 113:return;case 31:if(33===d.Context.Tip.Type){$s=19;continue;}if(AE.nil===c.NextSibling){$s=19;continue;}if(d.Context.ParseOption.ProtyleWYSIWYG&&e.parentIs(c,new AT([365829]))){i.Type=525;}else{i.Type=31;i.Tokens=J.StrToBytes("\n");}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 32:i.Type=33;cg=J.DomText(c);$s=114;case 114:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;if(""===ch&&!(AE.nil===c.Parent)&&e.parentIs(c,new AT([89090,187906,199938,214274,216834,412930,92931,354311]))){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(""===ch&&AE.nil===c.FirstChild){$s=118;continue;}$s=119;continue;case 118:$s=120;case 120:return;case 119:i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 33:ci=J.DomAttrValue(c,"class");cj=J.DomAttrValue(c,"alt");if("emoji"===ci){$s=121;continue;}$s=122;continue;case 121:i.Type=200;ck=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(cj,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ck.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(":"+cj+":"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(ck);$s=123;continue;case 122:i.Type=34;i.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===cj)){i.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));cl=J.DomAttrValue(c,"src");if(C.HasPrefix(cl,"data:image")){cm=J.DomAttrValue(c,"data-src");if(!(""===cm)){cl=cm;}}if(""===cl){$s=124;continue;}$s=125;continue;case 124:cn=J.DomAttrValue(c,"srcset");if(!(""===cn)){$s=126;continue;}$s=127;continue;case 126:if(C.Contains(cn,",")){$s=128;continue;}$s=129;continue;case 128:cl=(co=C.Split(cn,","),cp=C.Split(cn,",").$length-1>>0,((cp<0||cp>=co.$length)?($throwRuntimeError("index out of range"),undefined):co.$array[co.$offset+cp]));cq=C.TrimSpace(cl);$s=131;case 131:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}cl=cq;if(C.Contains(cl," ")){$s=132;continue;}$s=133;continue;case 132:cs=C.TrimSpace((cr=C.Split(cl," "),(0>=cr.$length?($throwRuntimeError("index out of range"),undefined):cr.$array[cr.$offset+0])));$s=134;case 134:if($c){$c=false;cs=cs.$blk();}if(cs&&cs.$blk!==undefined){break s;}cl=cs;case 133:$s=130;continue;case 129:ct=C.TrimSpace(cl);$s=135;case 135:if($c){$c=false;ct=ct.$blk();}if(ct&&ct.$blk!==undefined){break s;}cl=ct;if(C.Contains(cl," ")){$s=136;continue;}$s=137;continue;case 136:cv=C.TrimSpace((cu=C.Split(cn," "),(0>=cu.$length?($throwRuntimeError("index out of range"),undefined):cu.$array[cu.$offset+0])));$s=138;case 138:if($c){$c=false;cv=cv.$blk();}if(cv&&cv.$blk!==undefined){break s;}cl=cv;case 137:case 130:case 127:case 125:i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cl),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));cw=J.DomAttrValue(c,"title");if(!(""===cw)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cw))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 123:if(0===d.Context.Tip.Type){cx=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(cx);d.Context.Tip=cx;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 34:i.Type=100;i.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(i);if(!(AF.nil===i.Parent.Parent)){if(AL.nil===i.Parent.Parent.ListData){i.Parent.Parent.ListData=new D.ListData.ptr(3,false,0,0,0,0,0,false,AD.nil,0);}else{i.Parent.Parent.ListData.Typ=3;}}$s=53;continue;case 35:i.Type=101;cy="~~";i.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cy),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 36:i.Type=450;cz="==";i.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cz),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 37:i.Type=485;i.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 38:i.Type=490;i.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 39:i.Type=106;da=AM.nil;if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild.FirstChild)){db=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===db))){break;}dc=J.DomAttrValue(db,"align");dd=dc;if(dd===("left")){da=$append(da,1);}else if(dd===("center")){da=$append(da,2);}else if(dd===("right")){da=$append(da,3);}else{da=$append(da,0);}db=db.NextSibling;}}i.TableAligns=da;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 40:if(AE.nil===c.FirstChild){$s=19;continue;}i.Type=107;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 41:$s=53;continue;case 42:if(AE.nil===c.FirstChild){$s=19;continue;}de=c.Parent.Parent;i.Type=108;if(AF.nil===d.Context.Tip.ChildByType(107)&&AE.nil===J.DomChildByType(de,208901)){df=new D.Node.ptr("","","","",107,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(df);d.Context.Tip=df;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 43:i.Type=109;dg=J.DomAttrValue(c,"align");dh=0;di=dg;if(di===("left")){dh=1;}else if(di===("center")){dh=2;}else if(di===("right")){dh=3;}else{dh=0;}i.TableCellAlign=dh;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 44:$s=139;case 139:return;case 45:if(AE.nil===c.FirstChild){$s=140;continue;}$s=141;continue;case 140:$s=142;case 142:return;case 141:if("code"===J.DomAttrValue(c,"data-type")){$s=143;continue;}$s=144;continue;case 143:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}dj=new D.Node.ptr("","","","",27,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");dj.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dk=J.DomText(c);$s=145;case 145:if($c){$c=false;dk=dk.$blk();}if(dk&&dk.$blk!==undefined){break s;}dl=J.StrToBytes(dk);$s=146;case 146:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$r=dj.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,dl,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=147;case 147:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(dj);d.Context.Tip=dj;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=148;case 148:return;case 144:$s=53;continue;case 46:i.Type=16;dm=J.DomText(c);$s=149;case 149:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=(new AD($stringToBytes(dm)));while(true){if(!(C.Contains(($bytesToString(dn)),"\n\n"))){break;}dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n\n"))),(new AD($stringToBytes("\n"))));}while(true){if(!(C.Contains(($bytesToString(dn)),"\n "))){break;}dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n "))),(new AD($stringToBytes("\n "))));}dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n "))),(new AD($stringToBytes("\n"))));dn=A.ReplaceAll(dn,(new AD($stringToBytes("\n"))),(new AD($stringToBytes(" "))));i.Tokens=dn;d.Context.Tip.AppendChild(i);$s=150;case 150:return;case 47:i.Type=9;dp=J.DomHTML(c);$s=151;case 151:if($c){$c=false;dp=dp.$blk();}if(dp&&dp.$blk!==undefined){break s;}i.Tokens=dp;i.Tokens=(dq=A.SplitAfter(i.Tokens,(new AD($stringToBytes("")))),(0>=dq.$length?($throwRuntimeError("index out of range"),undefined):dq.$array[dq.$offset+0]));d.Context.Tip.AppendChild(i);$s=53;continue;case 48:$s=152;case 152:return;case 49:i.Type=9;dr=J.DomHTML(c);$s=153;case 153:if($c){$c=false;dr=dr.$blk();}if(dr&&dr.$blk!==undefined){break s;}i.Tokens=dr;d.Context.Tip.AppendChild(i);$s=154;case 154:return;case 50:$s=155;case 155:return;case 51:i.Type=1;i.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ds=J.DomText(c);$s=156;case 156:if($c){$c=false;ds=ds.$blk();}if(ds&&ds.$blk!==undefined){break s;}dt=J.StrToBytes(ds);$s=157;case 157:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}$r=i.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,dt,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=158;case 158:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip.AppendChild(i);$s=159;case 159:return;case 52:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);case 53:case 19:du=c.FirstChild;case 160:if(!(!(du===AE.nil))){$s=161;continue;}$r=e.genASTByDOM(du,d);$s=162;case 162:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}du=du.NextSibling;$s=160;continue;case 161:dv=c.DataAtom;if((dv===(28162))||(dv===(1537))){$s=164;continue;}if((dv===(449798))||(dv===(257))){$s=165;continue;}if(dv===(1)){$s=166;continue;}if((dv===(283139))||(dv===(9473))||(dv===(53766))){$s=167;continue;}if(dv===(46596)){$s=168;continue;}if(dv===(461571)){$s=169;continue;}if(dv===(421123)){$s=170;continue;}if(dv===(29191)){$s=171;continue;}$s=172;continue;case 164:dw="*";i.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=173;case 173:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 165:dx="**";i.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dx),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=174;case 174:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 166:i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(J.DomAttrValue(c,"href")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dy=J.DomAttrValue(c,"title");if(!(""===dy)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dy),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=172;continue;case 167:dz="~~";i.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(dz),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=175;case 175:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 168:ea="==";i.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ea),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 169:i.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=177;case 177:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 170:i.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=178;case 178:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=172;continue;case 171:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 172:case 163:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByDOM=function(c,d){return this.$val.genASTByDOM(c,d);};AA=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!(AE.nil===c.NextSibling)){$s=1;continue;}$s=2;continue;case 1:f=J.DomText(c.NextSibling);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!(""===g)){$s=4;continue;}$s=5;continue;case 4:h=(new BC($stringToRunes(g)));if(!P.IsSpace((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){$s=6;continue;}$s=7;continue;case 6:if(P.IsPunct((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))||P.IsSymbol((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){d.Context.Tip.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=-1;return;}i=J.DomText(c);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(""===j)){$s=9;continue;}$s=10;continue;case 9:h=(new BC($stringToRunes(j)));l=(k=h.$length-1>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]));if(P.IsPunct(l)||P.IsSymbol(l)){m=d.Context.Tip.ChildByType(16);if(!(AF.nil===m)){m.Tokens=$appendSlice((new AD($stringToBytes("\xE2\x80\x8B"))),m.Tokens);m.Tokens=$appendSlice(m.Tokens,(new AD($stringToBytes("\xE2\x80\x8B"))));}$s=-1;return;}n=e.prefixSpaces(j);if(!(""===n)){o=d.Context.Tip.Previous;if(!(AF.nil===o)){if(16===o.Type){o.Tokens=$appendSlice(o.Tokens,J.StrToBytes(n));}else{o.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}p=d.Context.Tip.ChildByType(16);p.Tokens=A.TrimLeft(p.Tokens," \xC5\xA0");}n=e.suffixSpaces(j);if(!(""===n)){$s=11;continue;}$s=12;continue;case 11:q=d.Context.Tip.ChildrenByType(16);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(0>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));t.Tokens=A.TrimRight(t.Tokens," \xC5\xA0");if(1>t.Tokens.$length){t.Unlink();}}if(!(AE.nil===c.NextSibling)){if(1===c.NextSibling.Type){c.NextSibling.Data=n+c.NextSibling.Data;}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 12:case 10:case 7:case 5:case 2:$s=-1;return;}return;}var $f={$blk:AA,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};AV.methods=[{prop:"Md2HTML",name:"Md2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorDOM",name:"SpinVditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorDOM",name:"HTML2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2HTML",name:"VditorDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorDOM",name:"Md2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2Md",name:"VditorDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderEChartsJSON",name:"RenderEChartsJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderKityMinderJSON",name:"RenderKityMinderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2Md",name:"HTML2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorDOM2Md",name:"vditorDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"parseHTML",name:"parseHTML",pkg:"github.com/88250/lute",typ:$funcType([$String],[AE],false)},{prop:"adjustVditorDOM",name:"adjustVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListList",name:"adjustVditorDOMListList",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeHighlightJSSpans",name:"removeHighlightJSSpans",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"hljsSpans",name:"hljsSpans",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"removeEmptyNodes",name:"removeEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"searchEmptyNodes",name:"searchEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"mergeVditorDOMList0",name:"mergeVditorDOMList0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListTight0",name:"adjustVditorDOMListTight0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListItemInP",name:"adjustVditorDOMListItemInP",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeCodeCode",name:"removeCodeCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMCodeA",name:"adjustVditorDOMCodeA",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"forwardNextBlock",name:"forwardNextBlock",pkg:"github.com/88250/lute",typ:$funcType([AE],[AP,AE],false)},{prop:"listItemEnter",name:"listItemEnter",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isTightList",name:"isTightList",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"genASTByVditorDOM",name:"genASTByVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"hasAttr",name:"hasAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[$Bool],false)},{prop:"domChild",name:"domChild",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"domChild0",name:"domChild0",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"setDOMAttrValue",name:"setDOMAttrValue",pkg:"github.com/88250/lute",typ:$funcType([AE,$String,$String],[],false)},{prop:"removeDOMAttr",name:"removeDOMAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"domCode",name:"domCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"domCode0",name:"domCode0",pkg:"github.com/88250/lute",typ:$funcType([AE,AY],[],false)},{prop:"parentIs",name:"parentIs",pkg:"github.com/88250/lute",typ:$funcType([AE,AT],[$Bool],true)},{prop:"getParent",name:"getParent",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"isCaret",name:"isCaret",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool,$Bool],false)},{prop:"isEmptyText",name:"isEmptyText",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"startsWithNewline",name:"startsWithNewline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isInline",name:"isInline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"prefixSpaces",name:"prefixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"suffixSpaces",name:"suffixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorSVDOM",name:"SpinVditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorSVDOM",name:"HTML2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorSVDOM",name:"Md2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorIRDOM",name:"SpinVditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorIRDOM",name:"HTML2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2HTML",name:"VditorIRDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorIRDOM",name:"Md2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2Md",name:"VditorIRDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorIRDOM2Md",name:"vditorIRDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByVditorIRDOM",name:"genASTByVditorIRDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"SpinBlockDOM",name:"SpinBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2BlockDOM",name:"HTML2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2HTML",name:"BlockDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2InlineBlockDOM",name:"BlockDOM2InlineBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2BlockDOM",name:"Md2BlockDOM",pkg:"",typ:$funcType([$String,$Bool],[$String],false)},{prop:"Md2BlockDOMTree",name:"Md2BlockDOMTree",pkg:"",typ:$funcType([$String,$Bool],[$String,AB],false)},{prop:"InlineMd2BlockDOM",name:"InlineMd2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Md",name:"BlockDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2StdMd",name:"BlockDOM2StdMd",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Text",name:"BlockDOM2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2TextLen",name:"BlockDOM2TextLen",pkg:"",typ:$funcType([$String],[$Int],false)},{prop:"BlockDOM2Content",name:"BlockDOM2Content",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2EscapeMarkerContent",name:"BlockDOM2EscapeMarkerContent",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Tree2BlockDOM",name:"Tree2BlockDOM",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"RenderNodeBlockDOM",name:"RenderNodeBlockDOM",pkg:"",typ:$funcType([AF],[$String],false)},{prop:"BlockDOM2Tree",name:"BlockDOM2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"MergeSameTextMark",name:"MergeSameTextMark",pkg:"",typ:$funcType([AF],[],false)},{prop:"MergeSameSpan",name:"MergeSameSpan",pkg:"",typ:$funcType([AF],[],false)},{prop:"CancelSuperBlock",name:"CancelSuperBlock",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelList",name:"CancelList",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelBlockquote",name:"CancelBlockquote",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Ps",name:"Blocks2Ps",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Hs",name:"Blocks2Hs",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"OL2TL",name:"OL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2TL",name:"UL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2OL",name:"TL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2UL",name:"TL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"OL2UL",name:"OL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2OL",name:"UL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"blockDOM2Md",name:"blockDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByBlockDOM",name:"genASTByBlockDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"genASTContenteditable",name:"genASTContenteditable",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"setBlockIAL",name:"setBlockIAL",pkg:"github.com/88250/lute",typ:$funcType([AE,AF],[AD],false)},{prop:"removeInnerMarker",name:"removeInnerMarker",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeInnerMarker0",name:"removeInnerMarker0",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeTempMark",name:"removeTempMark",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"Markdown",name:"Markdown",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"MarkdownStr",name:"MarkdownStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"FormatStr",name:"FormatStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"TextBundle",name:"TextBundle",pkg:"",typ:$funcType([$String,AD,AJ],[AD,AJ],false)},{prop:"TextBundleStr",name:"TextBundleStr",pkg:"",typ:$funcType([$String,$String,AJ],[$String,AJ],false)},{prop:"HTML2Text",name:"HTML2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderJSON",name:"RenderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"IsValidLinkDest",name:"IsValidLinkDest",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"GetLinkDest",name:"GetLinkDest",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetEmojis",name:"GetEmojis",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutEmojis",name:"PutEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"RemoveEmoji",name:"RemoveEmoji",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetTerms",name:"GetTerms",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutTerms",name:"PutTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"ProtylePreview",name:"ProtylePreview",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"Tree2HTML",name:"Tree2HTML",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"SetGFMTable",name:"SetGFMTable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItem",name:"SetGFMTaskListItem",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItemClass",name:"SetGFMTaskListItemClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetGFMStrikethrough",name:"SetGFMStrikethrough",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMStrikethrough1",name:"SetGFMStrikethrough1",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMAutoLink",name:"SetGFMAutoLink",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSoftBreak2HardBreak",name:"SetSoftBreak2HardBreak",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlight",name:"SetCodeSyntaxHighlight",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightDetectLang",name:"SetCodeSyntaxHighlightDetectLang",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightInlineStyle",name:"SetCodeSyntaxHighlightInlineStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightLineNum",name:"SetCodeSyntaxHighlightLineNum",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightStyleName",name:"SetCodeSyntaxHighlightStyleName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetFootnotes",name:"SetFootnotes",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetToC",name:"SetToC",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHeadingID",name:"SetHeadingID",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetAutoSpace",name:"SetAutoSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFixTermTypo",name:"SetFixTermTypo",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmoji",name:"SetEmoji",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmojis",name:"SetEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetEmojiSite",name:"SetEmojiSite",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetHeadingAnchor",name:"SetHeadingAnchor",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTerms",name:"SetTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetVditorWYSIWYG",name:"SetVditorWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleWYSIWYG",name:"SetProtyleWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorIR",name:"SetVditorIR",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorSV",name:"SetVditorSV",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMath",name:"SetInlineMath",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMathAllowDigitAfterOpenMarker",name:"SetInlineMathAllowDigitAfterOpenMarker",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkPrefix",name:"SetLinkPrefix",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLinkBase",name:"SetLinkBase",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetLinkBase",name:"GetLinkBase",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetVditorCodeBlockPreview",name:"SetVditorCodeBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorMathBlockPreview",name:"SetVditorMathBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorHTMLBlockPreview",name:"SetVditorHTMLBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetRenderListStyle",name:"SetRenderListStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSanitize",name:"SetSanitize",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImageLazyLoading",name:"SetImageLazyLoading",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetChineseParagraphBeginningSpace",name:"SetChineseParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetYamlFrontMatter",name:"SetYamlFrontMatter",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSetext",name:"SetSetext",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetBlockRef",name:"SetBlockRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFileAnnotationRef",name:"SetFileAnnotationRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetMark",name:"SetMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIAL",name:"SetKramdownIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownBlockIAL",name:"SetKramdownBlockIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownSpanIAL",name:"SetKramdownSpanIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIALIDRenderName",name:"SetKramdownIALIDRenderName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTag",name:"SetTag",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImgPathAllowSpace",name:"SetImgPathAllowSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSuperBlock",name:"SetSuperBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSup",name:"SetSup",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSub",name:"SetSub",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGitConflict",name:"SetGitConflict",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkRef",name:"SetLinkRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetIndentCodeBlock",name:"SetIndentCodeBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetDataImage",name:"SetDataImage",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTextMark",name:"SetTextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpin",name:"SetSpin",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHTMLTag2TextMark",name:"SetHTMLTag2TextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetParagraphBeginningSpace",name:"SetParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleMarkNetImg",name:"SetProtyleMarkNetImg",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpellcheck",name:"SetSpellcheck",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetJSRenderers",name:"SetJSRenderers",pkg:"",typ:$funcType([BG],[],false)},{prop:"HTML2Markdown",name:"HTML2Markdown",pkg:"",typ:$funcType([$String],[$String,$error],false)},{prop:"HTML2Tree",name:"HTML2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"genASTByDOM",name:"genASTByDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)}];R.init("",[{prop:"ParseOptions",name:"ParseOptions",embedded:false,exported:true,typ:AO,tag:""},{prop:"RenderOptions",name:"RenderOptions",embedded:false,exported:true,typ:AC,tag:""},{prop:"HTML2MdRendererFuncs",name:"HTML2MdRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorDOMRendererFuncs",name:"HTML2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorIRDOMRendererFuncs",name:"HTML2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2BlockDOMRendererFuncs",name:"HTML2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorSVDOMRendererFuncs",name:"HTML2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2HTMLRendererFuncs",name:"Md2HTMLRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorDOMRendererFuncs",name:"Md2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorIRDOMRendererFuncs",name:"Md2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2BlockDOMRendererFuncs",name:"Md2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorSVDOMRendererFuncs",name:"Md2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""}]);Z.init([AV],[],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=I.NewFormatRenderer(AB.nil,AC.nil);$s=17;case 17:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}T=a;b=I.NewProtyleExportMdRenderer(AB.nil,AC.nil);$s=18;case 18:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}W=b;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/javascript"]=(function(){var $pkg={},$init,A,B,C,D,E,F,J,K,L,M,N,O,P,Q,R,S,G,H,I;A=$packages["github.com/88250/lute"];B=$packages["github.com/88250/lute/ast"];C=$packages["github.com/88250/lute/editor"];D=$packages["github.com/88250/lute/html"];E=$packages["github.com/88250/lute/render"];F=$packages["github.com/gopherjs/gopherjs/js"];J=$ptrType(F.Object);K=$mapType($String,J);L=$mapType($String,K);M=$funcType([L],[J],false);N=$ptrType(B.Node);O=$funcType([N],[$String],false);P=$funcType([],[$String],false);Q=$funcType([$String],[$String],false);R=$mapType($String,$emptyInterface);S=$sliceType(A.ParseOption);G=function(){$global.Lute=$externalize($makeMap($String.keyFor,[{k:"Version",v:new $String("1.7.6")},{k:"New",v:new M(H)},{k:"WalkStop",v:new $Int(0)},{k:"WalkSkipChildren",v:new $Int(1)},{k:"WalkContinue",v:new $Int(2)},{k:"GetHeadingID",v:new O(E.HeadingID)},{k:"Caret",v:new $String("\xE2\x80\xB8")},{k:"NewNodeID",v:new P(B.NewNodeID)},{k:"EscapeHTMLStr",v:new Q(D.EscapeHTMLStr)},{k:"UnEscapeHTMLStr",v:new Q(D.UnescapeHTMLStr)},{k:"EChartsMindmapStr",v:new Q(E.EChartsMindmapStr)},{k:"Sanitize",v:new Q(E.Sanitize)},{k:"BlockDOM2Content",v:new Q(I)}]),R);};H=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.SetJSRenderers(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return F.MakeWrapper(c);}return;}var $f={$blk:H,$c:true,$r,a,b,c,$s};return $f;};$pkg.New=H;I=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;c.SetProtyleWYSIWYG(true);c.SetBlockRef(true);c.SetFileAnnotationRef(true);c.SetKramdownIAL(true);c.SetTag(true);c.SetSuperBlock(true);c.SetImgPathAllowSpace(true);c.SetGitConflict(true);c.SetMark(true);c.SetSup(true);c.SetSub(true);c.SetInlineMathAllowDigitAfterOpenMarker(true);c.SetFootnotes(false);c.SetToC(false);c.SetIndentCodeBlock(false);c.SetParagraphBeginningSpace(true);c.SetAutoSpace(false);c.SetHeadingID(false);c.SetSetext(false);c.SetYamlFrontMatter(false);c.SetLinkRef(false);c.SetCodeSyntaxHighlight(false);c.SetSanitize(true);d=c.BlockDOM2Content(a);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=3;case 3:return e;}return;}var $f={$blk:I,$c:true,$r,a,b,c,d,e,$s};return $f;};$pkg.BlockDOM2Content=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){G();$mainFinished=true;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $synthesizeMethods(); $initAllLinknames(); diff --git a/kernel/go.mod b/kernel/go.mod index dacb17c334e..cdea7cd06a5 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -8,7 +8,7 @@ require ( github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48 github.com/88250/go-humanize v0.0.0-20240424102817-4f78fac47ea7 github.com/88250/gulu v1.2.3-0.20240505150113-bc43bd50f866 - github.com/88250/lute v1.7.7-0.20240516160236-5b37ee0d7d34 + github.com/88250/lute v1.7.7-0.20240518021146-7847ee928e31 github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4 diff --git a/kernel/go.sum b/kernel/go.sum index e742ec339d4..bdc568e3803 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -12,8 +12,8 @@ github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950 h1:Pa5hMiBceT github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/88250/gulu v1.2.3-0.20240505150113-bc43bd50f866 h1:RFfNFS0hv6TbOuwET6xZAfGlV4hNlXiWTnfbLN1eF6k= github.com/88250/gulu v1.2.3-0.20240505150113-bc43bd50f866/go.mod h1:MUfzyfmbPrRDZLqxc7aPrVYveatTHRfoUa5TynPS0i8= -github.com/88250/lute v1.7.7-0.20240516160236-5b37ee0d7d34 h1:GFQwT/644WDTkeSA0AMuCiZleyNusR6AdLX3faxBRJA= -github.com/88250/lute v1.7.7-0.20240516160236-5b37ee0d7d34/go.mod h1:VDAzL8b+oCh+e3NAlmwwLzC53ten0rZlS8NboB7ljtk= +github.com/88250/lute v1.7.7-0.20240518021146-7847ee928e31 h1:fndkUMfcXELViXxEuqS92N3xZhNcSssnhHOvei3zjZc= +github.com/88250/lute v1.7.7-0.20240518021146-7847ee928e31/go.mod h1:VDAzL8b+oCh+e3NAlmwwLzC53ten0rZlS8NboB7ljtk= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c h1:Dl/8S9iLyPMTElnWIBxmjaLiWrkI5P4a21ivwAn5pU0= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4= github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY= From 872180279b74d304ed7e329cc05ac29a410b5561 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 18 May 2024 11:09:30 +0800 Subject: [PATCH 16/44] :art: https://github.com/siyuan-note/siyuan/issues/11357 --- app/src/boot/onGetConfig.ts | 9 ++++++--- app/src/protyle/render/av/col.ts | 8 ++------ app/src/util/functions.ts | 10 ++++++++++ 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/app/src/boot/onGetConfig.ts b/app/src/boot/onGetConfig.ts index 8999ec31580..b4266f3d392 100644 --- a/app/src/boot/onGetConfig.ts +++ b/app/src/boot/onGetConfig.ts @@ -288,14 +288,17 @@ ${response.data.replace("%pages", "").replace("%pa pdfOptions: ipcData.pdfOptions, webContentsId: ipcData.webContentsId }); + const savePath = ipcData.filePaths[0]; + let pdfFilePath = path.join(savePath, replaceLocalPath(ipcData.rootTitle) + ".pdf"); + const responseUnique = await fetchSyncPost("/api/file/getUniqueFilename", {path: pdfFilePath}); + pdfFilePath = responseUnique.data.path; fetchPost("/api/export/exportHTML", { id: ipcData.rootId, pdf: true, removeAssets: ipcData.removeAssets, merge: ipcData.mergeSubdocs, - savePath: ipcData.filePaths[0] + savePath, }, () => { - const pdfFilePath = path.join(ipcData.filePaths[0], replaceLocalPath(ipcData.rootTitle) + ".pdf"); fs.writeFileSync(pdfFilePath, pdfData); ipcRenderer.send(Constants.SIYUAN_CMD, {cmd: "destroy", webContentsId: ipcData.webContentsId}); fetchPost("/api/export/processPDF", { @@ -326,7 +329,7 @@ ${response.data.replace("%pages", "").replace("%pa }); }); }; - removePromise(path.join(ipcData.filePaths[0], "assets")); + removePromise(path.join(savePath, "assets")); } }); }); diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index 35f65c1aeb1..ccc6dc7fdb4 100644 --- a/app/src/protyle/render/av/col.ts +++ b/app/src/protyle/render/av/col.ts @@ -13,6 +13,7 @@ import {bindRollupData, getRollupHTML} from "./rollup"; import {Constants} from "../../../constants"; import * as dayjs from "dayjs"; import {setPosition} from "../../../util/setPosition"; +import {duplicateNameAddOne} from "../../../util/functions"; export const duplicateCol = (options: { protyle: IProtyle, @@ -29,12 +30,7 @@ export const duplicateCol = (options: { return true; } }); - const nameMatch = newColData.name.match(/^(.*) \((\d+)\)$/); - if (nameMatch) { - newColData.name = `${nameMatch[1]} (${parseInt(nameMatch[2]) + 1})`; - } else { - newColData.name = `${newColData.name} (1)`; - } + newColData.name = duplicateNameAddOne(newColData.name); newColData.id = Lute.NewNodeID(); const newUpdated = dayjs().format("YYYYMMDDHHmmss"); const blockId = options.blockElement.getAttribute("data-node-id"); diff --git a/app/src/util/functions.ts b/app/src/util/functions.ts index 0812607f86e..7481193abbe 100644 --- a/app/src/util/functions.ts +++ b/app/src/util/functions.ts @@ -90,3 +90,13 @@ export const objEquals = (a: any, b: any): boolean => { if (keys.length !== Object.keys(b).length) return false; return keys.every(k => objEquals(a[k], b[k])); }; + +export const duplicateNameAddOne = (name:string) => { + const nameMatch = name.match(/^(.*) \((\d+)\)$/); + if (nameMatch) { + name = `${nameMatch[1]} (${parseInt(nameMatch[2]) + 1})`; + } else { + name = `${name} (1)`; + } + return name; +} From 450a538201682a11a4fe03e6c1932d072660d7c9 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 18 May 2024 16:06:27 +0800 Subject: [PATCH 17/44] :art: fix https://github.com/siyuan-note/siyuan/issues/11451 --- app/src/protyle/wysiwyg/keydown.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index 5da9f967f12..c7e636bc78e 100644 --- a/app/src/protyle/wysiwyg/keydown.ts +++ b/app/src/protyle/wysiwyg/keydown.ts @@ -45,7 +45,6 @@ import { alignImgLeft, commonHotkey, downSelect, - duplicateBlock, getStartEndElement, upSelect } from "./commonHotkey"; @@ -1242,7 +1241,8 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => { const id = nodeElement.getAttribute("data-node-id"); const html = nodeElement.outerHTML; const editElement = getContenteditableElement(nodeElement); - editElement.innerHTML = "```" + window.siyuan.storage[Constants.LOCAL_CODELANG] + "\n" + editElement.textContent + "\n```"; + // 需要 EscapeHTMLStr https://github.com/siyuan-note/siyuan/issues/11451 + editElement.innerHTML = "```" + window.siyuan.storage[Constants.LOCAL_CODELANG] + "\n" + Lute.EscapeHTMLStr(editElement.textContent) + "\n```"; const newHTML = protyle.lute.SpinBlockDOM(nodeElement.outerHTML); nodeElement.outerHTML = newHTML; const newNodeElement = protyle.wysiwyg.element.querySelector(`[data-node-id="${id}"]`); From 0dd627fe52c16dc4a7d432772ef61f7bc2ea3ffa Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 18 May 2024 16:19:17 +0800 Subject: [PATCH 18/44] :art: fix https://ld246.com/article/1715909963595 --- app/src/assets/scss/component/_typography.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index e82f7ac28fe..018d8b6729b 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -435,6 +435,8 @@ display: block; font-size: 85%; color: var(--b3-theme-on-surface); + word-break: break-word; + white-space: break-spaces; } } From 84da3069fccbd8ef38d3182bcfa987e4e055d2e3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 11:26:55 +0800 Subject: [PATCH 19/44] :art: fix https://github.com/siyuan-note/siyuan/issues/11459 --- app/src/assets/scss/protyle/_wysiwyg.scss | 33 ++++++++++++++--------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index 2803a98796d..78da728e76a 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -326,10 +326,6 @@ height: 100%; } - &:hover .protyle-action__drag { - display: inline-block; - } - .protyle-action__drag { height: 30%; width: 4px; @@ -382,10 +378,6 @@ } } - & > [contenteditable="false"] > .img:hover .protyle-action__drag { - display: none; - } - &.iframe { // https://ld246.com/article/1644827326901 // https://github.com/siyuan-note/siyuan/issues/4172 @@ -410,10 +402,6 @@ } } - &:hover .protyle-action__drag { - display: inline-block; - } - .protyle-action__drag { height: 32px; width: 4px; @@ -595,12 +583,16 @@ } } +// 在思源中,不论只读模式还是预览点击图片都可以进行预览 +.protyle .img > span:nth-child(2) { + cursor: pointer; +} + // 导出 html 不需要编辑样式 .protyle-wysiwyg[data-readonly="false"] { span[data-type~="inline-math"], span[data-type~="tag"], .protyle-action__language, - .img > span:nth-child(2), .render-node { cursor: pointer; } @@ -609,6 +601,12 @@ background-color: var(--b3-theme-surface-lighter); } + + .img:hover .protyle-action__drag, + .iframe:hover .protyle-action__drag { + display: inline-block; + } + .code-block .protyle-action { -webkit-user-modify: read-only; @@ -671,6 +669,15 @@ background-color: transparent; } + .av__cell { + cursor: inherit; + + &text--url, + &assetimg { + cursor: pointer; + } + } + .av__cell[data-block-id] > .block__icon[data-type="copy"] { display: block; } From b1e0335d833b377e2edaab090d5bb327c7bfbb63 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 11:34:34 +0800 Subject: [PATCH 20/44] :art: fix https://github.com/siyuan-note/siyuan/issues/11454 --- app/src/menus/commonMenuItem.ts | 6 +++--- app/src/protyle/render/av/blockAttr.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts index 5669509388e..25a0768fb5a 100644 --- a/app/src/menus/commonMenuItem.ts +++ b/app/src/menus/commonMenuItem.ts @@ -176,7 +176,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
    - + `; } }); @@ -224,7 +224,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I ${notifyHTML} @@ -335,7 +335,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
    - + `); const valueElement = target.parentElement.previousElementSibling.querySelector(".b3-text-field") as HTMLInputElement; valueElement.focus(); diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index cabcddb711e..48b191103e2 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -56,7 +56,7 @@ export const genAVValueHTML = (value: IAVCellValue) => { html = `
    ${value.block.content}
    `; break; case "text": - html = ``; + html = ``; break; case "number": html = ``; From 0acc84f28518283a1a7c3946ed24ec8f996d0a5d Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 19 May 2024 12:05:41 +0800 Subject: [PATCH 21/44] :bug: Rendering exception in export preview mode when custom attribute value has line breaks https://github.com/siyuan-note/siyuan/issues/11453 --- kernel/model/export.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/kernel/model/export.go b/kernel/model/export.go index 351da7fd4ba..a37e3fb65dc 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -2166,7 +2166,15 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool, if addTitle { if root, _ := getBlock(id, tree); nil != root { root.IAL["type"] = "doc" - title := &ast.Node{Type: ast.NodeHeading, HeadingLevel: 1, KramdownIAL: parse.Map2IAL(root.IAL)} + title := &ast.Node{Type: ast.NodeHeading, HeadingLevel: 1} + for k, v := range root.IAL { + if "type" == k { + continue + } + title.SetIALAttr(k, v) + } + title.InsertAfter(&ast.Node{Type: ast.NodeKramdownBlockIAL, Tokens: parse.IAL2Tokens(title.KramdownIAL)}) + content := html.UnescapeString(root.Content) title.AppendChild(&ast.Node{Type: ast.NodeText, Tokens: []byte(content)}) ret.Root.PrependChild(title) From 0aed0f11f39950d5cce63aea7403beee55e7c761 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 12:53:06 +0800 Subject: [PATCH 22/44] :art: pdf --- app/src/assets/scss/component/_typography.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index 018d8b6729b..c4a9e04d34d 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -255,7 +255,7 @@ display: inline-block !important; position: absolute !important; width: 1px !important; - right: 6px !important; + right: 7px !important; outline: 0 !important; background: 0 0 !important; text-decoration: initial !important; From 29270b4e884cf4c09a1760f036587b757fd64a12 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 17:50:48 +0800 Subject: [PATCH 23/44] :art: pdf --- app/src/protyle/export/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 42ee4b2c4a8..cadc7890daa 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -558,6 +558,13 @@ const renderPDF = async (id: string) => { }); setPadding(); renderPreview(response.data); + window.addEventListener("keydown", (event) => { + if (event.key === "Escape") { + const {ipcRenderer} = require("electron"); + ipcRenderer.send("${Constants.SIYUAN_CMD}", "destroy") + event.preventDefault(); + } + }) }); `; fetchPost("/api/export/exportTempContent", {content: html}, (response) => { From f2c7bf2a262712c13cbebf134eb8caac07147ec8 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 19 May 2024 17:54:35 +0800 Subject: [PATCH 24/44] :arrow_up: Upgrade kernel deps --- kernel/go.mod | 26 +++++++++++------------ kernel/go.sum | 57 ++++++++++++++++++++++++--------------------------- 2 files changed, 40 insertions(+), 43 deletions(-) diff --git a/kernel/go.mod b/kernel/go.mod index cdea7cd06a5..505ba7e06af 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -29,12 +29,12 @@ require ( github.com/getsentry/sentry-go v0.27.0 github.com/gin-contrib/gzip v1.0.1 github.com/gin-contrib/sessions v1.0.1 - github.com/gin-gonic/gin v1.9.1 + github.com/gin-gonic/gin v1.10.0 github.com/go-ole/go-ole v1.3.0 github.com/goccy/go-json v0.10.2 github.com/gofrs/flock v0.8.1 github.com/gorilla/websocket v1.5.1 - github.com/imroc/req/v3 v3.43.4 + github.com/imroc/req/v3 v3.43.5 github.com/jinzhu/copier v0.4.0 github.com/json-iterator/go v1.1.12 github.com/klippa-app/go-pdfium v1.12.0 @@ -48,13 +48,13 @@ require ( github.com/radovskyb/watcher v1.0.7 github.com/rqlite/sql v0.0.0-20240312185922-ffac88a740bd github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 - github.com/sashabaranov/go-openai v1.23.0 + github.com/sashabaranov/go-openai v1.24.0 github.com/shirou/gopsutil/v3 v3.24.4 - github.com/siyuan-note/dejavu v0.0.0-20240508123239-9af3b3980580 + github.com/siyuan-note/dejavu v0.0.0-20240519085955-19e35ecea05e github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 github.com/siyuan-note/eventbus v0.0.0-20240318125243-801c98e8f025 github.com/siyuan-note/filelock v0.0.0-20240505150405-3de3a406d257 - github.com/siyuan-note/httpclient v0.0.0-20240508122621-884dfb6b5eee + github.com/siyuan-note/httpclient v0.0.0-20240519085432-1ac7c16f020c github.com/siyuan-note/logging v0.0.0-20240505035402-6430d57006a2 github.com/siyuan-note/riff v0.0.0-20240502024535-718add51db67 github.com/spf13/cast v1.6.0 @@ -64,7 +64,7 @@ require ( github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 github.com/xuri/excelize/v2 v2.8.1 golang.org/x/image v0.16.0 - golang.org/x/mobile v0.0.0-20230901161150-52620a4a7557 + golang.org/x/mobile v0.0.0-20240506190922-a1a533f289d3 golang.org/x/mod v0.17.0 golang.org/x/text v0.15.0 golang.org/x/time v0.5.0 @@ -80,7 +80,7 @@ require ( github.com/andybalholm/brotli v1.1.0 // indirect github.com/andybalholm/cascadia v1.3.2 // indirect github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef // indirect - github.com/aws/aws-sdk-go v1.52.4 // indirect + github.com/aws/aws-sdk-go v1.53.5 // indirect github.com/bytedance/sonic v1.11.6 // indirect github.com/bytedance/sonic/loader v0.1.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -96,11 +96,11 @@ require ( github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect github.com/go-playground/validator/v10 v10.20.0 // indirect - github.com/go-resty/resty/v2 v2.12.0 // indirect + github.com/go-resty/resty/v2 v2.13.1 // indirect github.com/go-task/slim-sprig/v3 v3.0.0 // indirect github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/golang/glog v1.2.1 // indirect - github.com/google/pprof v0.0.0-20240507183855-6f11f98ebb1c // indirect + github.com/google/pprof v0.0.0-20240509144519-723abb6459b7 // indirect github.com/google/uuid v1.6.0 // indirect github.com/gopherjs/gopherjs v1.17.2 // indirect github.com/gorilla/context v1.1.2 // indirect @@ -120,7 +120,7 @@ require ( github.com/klauspost/cpuid/v2 v2.2.7 // indirect github.com/leodido/go-urn v1.4.0 // indirect github.com/levigross/exp-html v0.0.0-20120902181939-8df60c69a8f5 // indirect - github.com/lufia/plan9stats v0.0.0-20240408141607-282e7b5d6b74 // indirect + github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.15 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect @@ -136,7 +136,7 @@ require ( github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect github.com/qiniu/go-sdk/v7 v7.20.1 // indirect github.com/quic-go/qpack v0.4.0 // indirect - github.com/quic-go/quic-go v0.43.1 // indirect + github.com/quic-go/quic-go v0.44.0 // indirect github.com/refraction-networking/utls v1.6.6 // indirect github.com/restic/chunker v0.4.0 // indirect github.com/richardlehane/mscfb v1.0.4 // indirect @@ -145,7 +145,7 @@ require ( github.com/shoenig/go-m1cpu v0.1.6 // indirect github.com/shopspring/decimal v1.4.0 // indirect github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect - github.com/tetratelabs/wazero v1.7.1 // indirect + github.com/tetratelabs/wazero v1.7.2 // indirect github.com/tklauser/go-sysconf v0.3.14 // indirect github.com/tklauser/numcpus v0.8.0 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect @@ -163,7 +163,7 @@ require ( golang.org/x/sync v0.7.0 // indirect golang.org/x/sys v0.20.0 // indirect golang.org/x/tools v0.21.0 // indirect - google.golang.org/protobuf v1.34.0 // indirect + google.golang.org/protobuf v1.34.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/kernel/go.sum b/kernel/go.sum index bdc568e3803..2c8930aaf3c 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -50,8 +50,8 @@ github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de h1:FxWPpzIjnTlhP github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de/go.mod h1:DCaWoUhZrYW9p1lxo/cm8EmUOOzAPSEZNGF2DK1dJgw= github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef h1:2JGTg6JapxP9/R33ZaagQtAM4EkkSYnIAlOG5EI8gkM= github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef/go.mod h1:JS7hed4L1fj0hXcyEejnW57/7LCetXggd+vwrRnYeII= -github.com/aws/aws-sdk-go v1.52.4 h1:9VsBVJ2TKf8xPP3+yIPGSYcEBIEymXsJzQoFgQuyvA0= -github.com/aws/aws-sdk-go v1.52.4/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.53.5 h1:1OcVWMjGlwt7EU5OWmmEEXqaYfmX581EK317QJZXItM= +github.com/aws/aws-sdk-go v1.53.5/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/bytedance/sonic v1.11.6 h1:oUp34TzMlL+OY1OUWxHqsdkgC/Zfc85zGqw9siXjrc0= github.com/bytedance/sonic v1.11.6/go.mod h1:LysEHSvpvDySVdC2f87zGWf6CIKJcAvqab1ZaiQtds4= github.com/bytedance/sonic/loader v0.1.1 h1:c+e5Pt1k/cy5wMveRDyk2X4B9hF4g7an8N3zCYjJFNM= @@ -115,8 +115,8 @@ github.com/gin-contrib/sessions v1.0.1 h1:3hsJyNs7v7N8OtelFmYXFrulAf6zSR7nW/putc github.com/gin-contrib/sessions v1.0.1/go.mod h1:ouxSFM24/OgIud5MJYQJLpy6AwxQ5EYO9yLhbtObGkM= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= -github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= +github.com/gin-gonic/gin v1.10.0 h1:nTuyha1TYqgedzytsKYqna+DfLos46nTv2ygFy86HFU= +github.com/gin-gonic/gin v1.10.0/go.mod h1:4PMNQiOhvDRa013RKVbsiNwoyezlm2rm0uX/T7kzp5Y= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= @@ -139,8 +139,8 @@ github.com/go-playground/validator/v10 v10.8.0/go.mod h1:9JhgTzTaE31GZDpH/HSvHiR github.com/go-playground/validator/v10 v10.20.0 h1:K9ISHbSaI0lyB2eWMPJo+kOS/FBExVwjEviJTixqxL8= github.com/go-playground/validator/v10 v10.20.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= github.com/go-resty/resty/v2 v2.0.0/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8= -github.com/go-resty/resty/v2 v2.12.0 h1:rsVL8P90LFvkUYq/V5BTVe203WfRIU4gvcf+yfzJzGA= -github.com/go-resty/resty/v2 v2.12.0/go.mod h1:o0yGPrkS3lOe1+eFajk6kBW8ScXzwU3hD69/gt2yB/0= +github.com/go-resty/resty/v2 v2.13.1 h1:x+LHXBI2nMB1vqndymf26quycC4aggYJ7DECYbiz03g= +github.com/go-resty/resty/v2 v2.13.1/go.mod h1:GznXlLxkq6Nh4sU59rPmUw3VtgpO3aS96ORAI6Q7d+0= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/go-test/deep v1.0.8 h1:TDsG77qcSprGbC6vTN8OuXp5g+J+b5Pcguhf7Zt61VM= @@ -161,8 +161,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20240507183855-6f11f98ebb1c h1:GCixZ7sgey01Kjw8pxBzCD0uVrubxl8SRzRgI0jwP+A= -github.com/google/pprof v0.0.0-20240507183855-6f11f98ebb1c/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= +github.com/google/pprof v0.0.0-20240509144519-723abb6459b7 h1:velgFPYr1X9TDwLIfkV7fWqsFlf7TeP11M/7kPd/dVI= +github.com/google/pprof v0.0.0-20240509144519-723abb6459b7/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -193,8 +193,8 @@ github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47 github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4= github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= -github.com/imroc/req/v3 v3.43.4 h1:NSXlB5dELZuxzGEFRWLWEQ9dQmh8d9pUMPa7MevK1K4= -github.com/imroc/req/v3 v3.43.4/go.mod h1:SQIz5iYop16MJxbo8ib+4LnostGCok8NQf8ToyQc2xA= +github.com/imroc/req/v3 v3.43.5 h1:fL7dOEfld+iEv1rwnIxseJz2/Y7JZ/HgbAURLZkat80= +github.com/imroc/req/v3 v3.43.5/go.mod h1:SQIz5iYop16MJxbo8ib+4LnostGCok8NQf8ToyQc2xA= github.com/jaytaylor/html2text v0.0.0-20180606194806-57d518f124b0/go.mod h1:CVKlgaMiht+LXvHG173ujK6JUhZXKb2u/BQtjPDIvyk= github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056 h1:iCHtR9CQyktQ5+f3dMVZfwD2KWJUgm7M0gdL9NGr8KA= github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056/go.mod h1:CVKlgaMiht+LXvHG173ujK6JUhZXKb2u/BQtjPDIvyk= @@ -241,8 +241,8 @@ github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjS github.com/levigross/exp-html v0.0.0-20120902181939-8df60c69a8f5 h1:W7p+m/AECTL3s/YR5RpQ4hz5SjNeKzZBl1q36ws12s0= github.com/levigross/exp-html v0.0.0-20120902181939-8df60c69a8f5/go.mod h1:QMe2wuKJ0o7zIVE8AqiT8rd8epmm6WDIZ2wyuBqYPzM= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/lufia/plan9stats v0.0.0-20240408141607-282e7b5d6b74 h1:1KuuSOy4ZNgW0KA2oYIngXVFhQcXxhLqCVK7cBcldkk= -github.com/lufia/plan9stats v0.0.0-20240408141607-282e7b5d6b74/go.mod h1:ilwx/Dta8jXAgpFYFvSWEMwxmbWXyiUHkd5FwyKhb5k= +github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae h1:dIZY4ULFcto4tAFlj1FYZl8ztUZ13bdq+PLY+NOfbyI= +github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae/go.mod h1:ilwx/Dta8jXAgpFYFvSWEMwxmbWXyiUHkd5FwyKhb5k= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= @@ -305,8 +305,8 @@ github.com/qiniu/go-sdk/v7 v7.20.1/go.mod h1:ZnEP1rOOi7weF+yzM2qZMHI0z1ht+KjVuNA github.com/qiniu/x v1.10.5/go.mod h1:03Ni9tj+N2h2aKnAz+6N0Xfl8FwMEDRC2PAlxekASDs= github.com/quic-go/qpack v0.4.0 h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo= github.com/quic-go/qpack v0.4.0/go.mod h1:UZVnYIfi5GRk+zI9UMaCPsmZ2xKJP7XBUvVyT1Knj9A= -github.com/quic-go/quic-go v0.43.1 h1:fLiMNfQVe9q2JvSsiXo4fXOEguXHGGl9+6gLp4RPeZQ= -github.com/quic-go/quic-go v0.43.1/go.mod h1:132kz4kL3F9vxhW3CtQJLDVwcFe5wdWeJXXijhsO57M= +github.com/quic-go/quic-go v0.44.0 h1:So5wOr7jyO4vzL2sd8/pD9Kesciv91zSk8BoFngItQ0= +github.com/quic-go/quic-go v0.44.0/go.mod h1:z4cx/9Ny9UtGITIPzmPTXh1ULfOyWh4qGQlpnPcWmek= github.com/radovskyb/watcher v1.0.7 h1:AYePLih6dpmS32vlHfhCeli8127LzkIgwJGcwwe8tUE= github.com/radovskyb/watcher v1.0.7/go.mod h1:78okwvY5wPdzcb1UYnip1pvrZNIVEIh/Cm+ZuvsUYIg= github.com/refraction-networking/utls v1.6.6 h1:igFsYBUJPYM8Rno9xUuDoM5GQrVEqY4llzEXOkL43Ig= @@ -330,8 +330,8 @@ github.com/rqlite/sql v0.0.0-20240312185922-ffac88a740bd h1:wW6BtayFoKaaDeIvXRE3 github.com/rqlite/sql v0.0.0-20240312185922-ffac88a740bd/go.mod h1:ib9zVtNgRKiGuoMyUqqL5aNpk+r+++YlyiVIkclVqPg= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/sashabaranov/go-openai v1.23.0 h1:KYW97r5yc35PI2MxeLZ3OofecB/6H+yxvSNqiT9u8is= -github.com/sashabaranov/go-openai v1.23.0/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= +github.com/sashabaranov/go-openai v1.24.0 h1:4H4Pg8Bl2RH/YSnU8DYumZbuHnnkfioor/dtNlB20D4= +github.com/sashabaranov/go-openai v1.24.0/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= github.com/scylladb/termtables v0.0.0-20191203121021-c4c0b6d42ff4/go.mod h1:C1a7PQSMz9NShzorzCiG2fk9+xuCgLkPeCvMHYR2OWg= github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU= github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8= @@ -345,16 +345,16 @@ github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+D github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d h1:lvCTyBbr36+tqMccdGMwuEU+hjux/zL6xSmf5S9ITaA= github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw= github.com/simplereach/timeutils v1.2.0/go.mod h1:VVbQDfN/FHRZa1LSqcwo4kNZ62OOyqLLGQKYB3pB0Q8= -github.com/siyuan-note/dejavu v0.0.0-20240508123239-9af3b3980580 h1:lOR8MwzvSEy9VWY/2GGbZVOzxAUqcBGO548aerFkULw= -github.com/siyuan-note/dejavu v0.0.0-20240508123239-9af3b3980580/go.mod h1:64NLvLojiApi1YtQ41+QG8KpDKLDC53NIWnJKFVI/8s= +github.com/siyuan-note/dejavu v0.0.0-20240519085955-19e35ecea05e h1:ul7HlN7FsRIOTNv3OmI0y+0reXC2bvl1qjKn7XzaER0= +github.com/siyuan-note/dejavu v0.0.0-20240519085955-19e35ecea05e/go.mod h1:IU7DCL04bE0ObACnAQho0zOvwtgQjJwM+3FdvYZ0xJU= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 h1:kJaw5L/evyW6LcB9IQT8PR4ppx8JVqOFP9Ix3rfwSrc= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4/go.mod h1:UYcCCY+0wh+GmUoDOaO63j1sV5lgy7laLAk1XhEiUis= github.com/siyuan-note/eventbus v0.0.0-20240318125243-801c98e8f025 h1:crQmKw5vZz3MljAP/xKMWY/rksMX634jJK9kcsOIbkw= github.com/siyuan-note/eventbus v0.0.0-20240318125243-801c98e8f025/go.mod h1:1/nGgthl89FPA7GzAcEWKl6zRRnfgyTjzLZj9bW7kuw= github.com/siyuan-note/filelock v0.0.0-20240505150405-3de3a406d257 h1:lA6qBehxciYKye8LpP59LHGC8DQkkJkg7AYA4VoF+g8= github.com/siyuan-note/filelock v0.0.0-20240505150405-3de3a406d257/go.mod h1:vUXGLmTVIg5trcnNWGkMCwc3EuIJaXXx3hQzgno1Hn4= -github.com/siyuan-note/httpclient v0.0.0-20240508122621-884dfb6b5eee h1:d+Ess3WhPBgA+sRk5WRNYX9QDgPYcg+TN7O9ij5iER4= -github.com/siyuan-note/httpclient v0.0.0-20240508122621-884dfb6b5eee/go.mod h1:x2emxu7dbNWavPoUCczZmV3J+MyHxCrSDuCzSS8pzro= +github.com/siyuan-note/httpclient v0.0.0-20240519085432-1ac7c16f020c h1:WdHtUBbkhfwvtxjjcKzAofy2pV4c0kJGa1XSfb+dXZM= +github.com/siyuan-note/httpclient v0.0.0-20240519085432-1ac7c16f020c/go.mod h1:fMQbJsVTwpht6abb8GR97D3PEIZeSBgRo3kXSPUGKlY= github.com/siyuan-note/logging v0.0.0-20240505035402-6430d57006a2 h1:/2+tlOThVB86RxSLeW0JFw2ISUrH2ZFRg15ULGAUGAE= github.com/siyuan-note/logging v0.0.0-20240505035402-6430d57006a2/go.mod h1:3Osd2/nwzXZFl6ZcDE4hA0HD83Wyv1fds47nVuapyOM= github.com/siyuan-note/riff v0.0.0-20240502024535-718add51db67 h1:YuBxDIIVBOtvQc/ZLi4SOCY0J+QMRnnco4b1Jh9+SL4= @@ -389,8 +389,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/studio-b12/gowebdav v0.9.0 h1:1j1sc9gQnNxbXXM4M/CebPOX4aXYtr7MojAVcN4dHjU= github.com/studio-b12/gowebdav v0.9.0/go.mod h1:bHA7t77X/QFExdeAnDzK6vKM34kEZAcE1OX4MfiwjkE= -github.com/tetratelabs/wazero v1.7.1 h1:QtSfd6KLc41DIMpDYlJdoMc6k7QTN246DM2+n2Y/Dx8= -github.com/tetratelabs/wazero v1.7.1/go.mod h1:ytl6Zuh20R/eROuyDaGPkp82O9C/DJfXAwJfQ3X6/7Y= +github.com/tetratelabs/wazero v1.7.2 h1:1+z5nXJNwMLPAWaTePFi49SSTL0IMx/i3Fg8Yc25GDc= +github.com/tetratelabs/wazero v1.7.2/go.mod h1:ytl6Zuh20R/eROuyDaGPkp82O9C/DJfXAwJfQ3X6/7Y= github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU= github.com/tklauser/go-sysconf v0.3.14/go.mod h1:1ym4lWMLUOhuBOPGtRcJm7tEGX4SCYNEEEtghGG/8uY= @@ -433,7 +433,6 @@ golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4 golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM= @@ -441,8 +440,8 @@ golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQ golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/image v0.16.0 h1:9kloLAKhUufZhA12l5fwnx2NZW39/we1UhBesW433jw= golang.org/x/image v0.16.0/go.mod h1:ugSZItdV4nOxyqp56HmXwH0Ry0nBCpjnZdpDaIHdoPs= -golang.org/x/mobile v0.0.0-20230901161150-52620a4a7557 h1:mLrcd+qwh23kzD7ej1VxCa+A23UNr+BCjSj2tNX8/NM= -golang.org/x/mobile v0.0.0-20230901161150-52620a4a7557/go.mod h1:f0gjFM6UTH7y1WEZBm/kquBYsogL+NQtllKFy4Rdulc= +golang.org/x/mobile v0.0.0-20240506190922-a1a533f289d3 h1:lXH7reX0gtet9FgdXR0WDs3t1nt0QTjDLt1rrBQ/Qgs= +golang.org/x/mobile v0.0.0-20240506190922-a1a533f289d3/go.mod h1:EiXZlVfUTaAyySFVJb9rsODuiO+WXu8HrUuySb7nYFw= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= @@ -461,7 +460,6 @@ golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -492,7 +490,6 @@ golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= @@ -506,7 +503,7 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= +golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/text v0.0.0-20180302201248-b7ef84aaf62a/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= @@ -532,8 +529,8 @@ golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= -google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= +google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From c79238025cb122c6894234401fc3609f39531c99 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 19 May 2024 17:55:06 +0800 Subject: [PATCH 25/44] :art: If a file with the same name exists during export PDF/Docx, it will be automatically renamed https://github.com/siyuan-note/siyuan/issues/11357 --- app/appearance/langs/en_US.json | 2 +- app/appearance/langs/es_ES.json | 2 +- app/appearance/langs/fr_FR.json | 2 +- app/appearance/langs/ja_JP.json | 2 +- app/appearance/langs/zh_CHT.json | 2 +- app/appearance/langs/zh_CN.json | 2 +- kernel/model/export.go | 31 ++++++++++++++----------------- 7 files changed, 20 insertions(+), 23 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index b1362c1d666..9882ca49e6e 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1484,7 +1484,7 @@ "212": "There are some defects in the current version of cloud data sync, please upgrade to the latest version. Sorry for the inconvenience", "213": "Cloud verification failed, please try to upgrade to the latest version and log in again before syncing", "214": "This function needs to be signed in and purchasing [PRO Features] or [Subscription] to use", - "215": "Save failed: The target file is being used by another program", + "215": "TODO", "216": "Rebuilding asset content data index, please wait...", "217": "[%d/%d] Created asset content data index", "218": "Too many snapshots of the data repo have been detected, which slows down program startup and data sync. Please consider executing [Settings - About - Data repo purge]", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index ee2938cdfee..14b820bd0f8 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1484,7 +1484,7 @@ "212": "Hay algunos defectos en la versi\u00f3n actual de sincronizaci\u00f3n de datos en la nube, actualice a la versi\u00f3n m\u00e1s reciente. Disculpe las molestias", "213": "La verificaci\u00f3n en la nube fall\u00f3, intente actualizar a la versi\u00f3n m\u00e1s reciente e inicie sesi\u00f3n de nuevo antes de sincronizar", "214": "Esta función requiere iniciar sesión en su cuenta y comprar [PRO Features] o [Subscription] antes de poder usarla.", - "215": "Error al guardar: el archivo de destino está siendo utilizado por otro programa", + "215": "TODO", "216": "Reconstruyendo el índice de datos de contenido de recursos, espere...", "217": "[%d/%d] Índice de datos de contenido de activos creado", "218": "Se han detectado demasiadas instantáneas del repositorio de datos, lo que ralentiza el inicio del programa y la sincronización de datos. Considere ejecutar [Configuración - Acerca de - Purga del repositorio de datos]", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 4cd8a857753..6286e2c8d97 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1484,7 +1484,7 @@ "212": "Il y a quelques défauts dans la version actuelle de la synchronisation des données cloud, veuillez mettre à niveau vers la dernière version. Désolé pour le désagrément", "213": "Échec de la vérification cloud, veuillez essayer de mettre à niveau vers la dernière version et de vous reconnecter avant de synchroniser", "214": "Cette fonction nécessite de vous connecter à votre compte et d'acheter des [PRO Features] ou un [Subscription] avant de pouvoir l'utiliser.", - "215": "Échec de l'enregistrement : le fichier de destination est utilisé par un autre programme", + "215": "TODO", "216": "Reconstruction de l'index des données du contenu des ressources, veuillez patienter...", "217": "[%d/%d] Création d'un index de données de contenu d'actif", "218": "Trop d'instantanés du référentiel de données ont été détectés, ce qui ralentit le démarrage du programme et la synchronisation des données. Veuillez envisager d'exécuter [Paramètres - À propos - Purge du référentiel de données]", diff --git a/app/appearance/langs/ja_JP.json b/app/appearance/langs/ja_JP.json index 56b0d1f7deb..8bdfe934d5e 100644 --- a/app/appearance/langs/ja_JP.json +++ b/app/appearance/langs/ja_JP.json @@ -1484,7 +1484,7 @@ "212": "現在のバージョンのクラウドデータ同期にはいくつかの問題があります。最新バージョンにアップグレードしてください", "213": "クラウド認証に失敗しました。最新バージョンにアップグレードしてから再度ログインして同期を試みてください", "214": "この機能を使用するには、ログインして [PRO 機能] または [サブスクリプション] を購入する必要があります", - "215": "保存に失敗しました。対象ファイルが別のプログラムによって使用されています", + "215": "TODO", "216": "アセットコンテンツデータインデックスを再構築しています。お待ちください...", "217": "[%d/%d] アセットコンテンツデータインデックスを作成しました", "218": "検出されたデータリポジトリのスナップショットが多すぎるため、プログラムの起動とデータ同期が遅くなります。[設定] - [情報] - [データリポジトリの消去] の実行を検討してください", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index baf565af416..cbe6dc80019 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1484,7 +1484,7 @@ "212": "當前版本雲端數據同步存在一些缺陷,請升級到最新版,帶來不便,敬請諒解", "213": "雲端校驗失敗,請嘗試升級到最新版並重新登錄後再進行同步", "214": "此功能需要登入帳號併購買 [功能特性] 或 [年付訂閱] 後才能使用", - "215": "保存失敗:目標文件正在被其他程序佔用", + "215": "TODO", "216": "正在重建資源文件內容數據索引,請稍等...", "217": "[%d/%d] 已經創建資源文件內容數據索引", "218": "偵測到資料倉儲快照過多,降低了程式啟動和資料同步速度,請考慮執行 [設定 - 關於 - 資料倉儲清理]", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 3e3c5460a6d..c7b96e27b91 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1484,7 +1484,7 @@ "212": "当前版本云端数据同步存在一些缺陷,请升级到最新版,带来不便,敬请谅解", "213": "云端校验失败,请尝试升级到最新版并重新登录后再进行同步", "214": "该功能需要登录账号并购买 [功能特性] 或者 [年付订阅] 后才能使用", - "215": "保存失败:目标文件并且正在被其他程序占用", + "215": "TODO", "216": "正在重建资源文件内容数据索引,请稍等...", "217": "[%d/%d] 已经创建资源文件内容数据索引", "218": "检测到数据仓库快照过多,降低了程序启动和数据同步速度,请考虑执行 [设置 - 关于 - 数据仓库清理]", diff --git a/kernel/model/export.go b/kernel/model/export.go index a37e3fb65dc..8a3d4d8c7a9 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -557,12 +557,13 @@ func Preview(id string) (retStdHTML string, retOutline []*Path) { return } -func ExportDocx(id, savePath string, removeAssets, merge bool) (err error) { +func ExportDocx(id, savePath string, removeAssets, merge bool) (fullPath string, err error) { if !util.IsValidPandocBin(Conf.Export.PandocBin) { Conf.Export.PandocBin = util.PandocBinPath Conf.Save() if !util.IsValidPandocBin(Conf.Export.PandocBin) { - return errors.New(Conf.Language(115)) + err = errors.New(Conf.Language(115)) + return } } @@ -587,7 +588,8 @@ func ExportDocx(id, savePath string, removeAssets, merge bool) (err error) { if !gulu.File.IsExist(docxTemplate) { logging.LogErrorf("docx template [%s] not found", docxTemplate) msg := fmt.Sprintf(Conf.Language(197), docxTemplate) - return errors.New(msg) + err = errors.New(msg) + return } args = append(args, "--reference-doc", docxTemplate) @@ -600,28 +602,23 @@ func ExportDocx(id, savePath string, removeAssets, merge bool) (err error) { if nil != err { logging.LogErrorf("export docx failed: %s", gulu.Str.FromBytes(output)) msg := fmt.Sprintf(Conf.Language(14), gulu.Str.FromBytes(output)) - return errors.New(msg) - } - - targetPath := filepath.Join(savePath, name+".docx") - if gulu.File.IsExist(targetPath) { - // 先删除目标文件,以检查是否被占用 https://github.com/siyuan-note/siyuan/issues/8822 - if err := os.RemoveAll(targetPath); nil != err { - logging.LogErrorf("export docx failed: %s", err) - msg := fmt.Sprintf(Conf.language(215)) - return errors.New(msg) - } + err = errors.New(msg) + return } - if err = filelock.Copy(tmpDocxPath, targetPath); nil != err { + fullPath = filepath.Join(savePath, name+".docx") + fullPath = util.GetUniqueFilename(fullPath) + if err = filelock.Copy(tmpDocxPath, fullPath); nil != err { logging.LogErrorf("export docx failed: %s", err) - return errors.New(fmt.Sprintf(Conf.Language(14), err)) + err = errors.New(fmt.Sprintf(Conf.Language(14), err)) + return } if tmpAssets := filepath.Join(tmpDir, "assets"); !removeAssets && gulu.File.IsDir(tmpAssets) { if err = filelock.Copy(tmpAssets, filepath.Join(savePath, "assets")); nil != err { logging.LogErrorf("export docx failed: %s", err) - return errors.New(fmt.Sprintf(Conf.Language(14), err)) + err = errors.New(fmt.Sprintf(Conf.Language(14), err)) + return } } return From 2456b3fd076b9cf743e8375838f72d7458199787 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 19 May 2024 17:56:13 +0800 Subject: [PATCH 26/44] :art: If a file with the same name exists during export PDF/Docx, it will be automatically renamed https://github.com/siyuan-note/siyuan/issues/11357 --- kernel/api/export.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/api/export.go b/kernel/api/export.go index 7657b277f74..444a1e09ef3 100644 --- a/kernel/api/export.go +++ b/kernel/api/export.go @@ -412,13 +412,17 @@ func exportDocx(c *gin.Context) { if nil != arg["merge"] { merge = arg["merge"].(bool) } - err := model.ExportDocx(id, savePath, removeAssets, merge) + + fullPath, err := model.ExportDocx(id, savePath, removeAssets, merge) if nil != err { ret.Code = -1 ret.Msg = err.Error() ret.Data = map[string]interface{}{"closeTimeout": 7000} return } + ret.Data = map[string]interface{}{ + "path": fullPath, + } } func exportMdHTML(c *gin.Context) { From b8713f0617ec0b9841a952fa4d508db3fc1e8afd Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 17:59:51 +0800 Subject: [PATCH 27/44] :art: https://github.com/siyuan-note/siyuan/issues/11275 --- app/src/assets/scss/base.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/assets/scss/base.scss b/app/src/assets/scss/base.scss index 9f2d1f34783..55d3a3e53ae 100644 --- a/app/src/assets/scss/base.scss +++ b/app/src/assets/scss/base.scss @@ -48,9 +48,9 @@ Mobile #menu & .side-panel: 7 .fullscreen: 8 - window.siyuan.zIndex: 10 +#windowControls: 9 -#windowControls: 999998 +window.siyuan.zIndex: 10 .b3-tooltips: 1000000 */ @@ -126,7 +126,8 @@ html { #windowControls { top: 0; - z-index: 999998; + // https://github.com/siyuan-note/siyuan/issues/11275#issuecomment-2112416383 + z-index: 9; right: 0; position: relative; margin-left: 2px; From 5988c767570355f3c5bfbf43f928984035ec38b3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 18:01:48 +0800 Subject: [PATCH 28/44] :art: --- app/src/protyle/export/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index cadc7890daa..71fe24372ff 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -624,7 +624,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd hideMessage(msgId); return; } - afterExport(path.join(savePath, replaceLocalPath(response.data.rootTitle)) + ".docx", msgId); + afterExport(exportResponse.data.path, msgId); } else { onExport(exportResponse, savePath, option, removeAssets, msgId); } From 3e5e54bf9ce4533b9ba881474fa4159879810624 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 22:09:47 +0800 Subject: [PATCH 29/44] :recycle: --- app/src/types/index.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts index 3a6d0125f4a..92d21ef83b2 100644 --- a/app/src/types/index.d.ts +++ b/app/src/types/index.d.ts @@ -544,10 +544,7 @@ interface IPluginData { interface IPluginDockTab { position: TPluginDockPosition, - size: { - width: number, - height: number - }, + size: Config.IUILayoutDockPanelSize, icon: string, hotkey?: string, title: string, From 5d637f22875000e551bc8e933c8a475a04b53648 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 19 May 2024 23:08:28 +0800 Subject: [PATCH 30/44] :art: Improve av importing https://github.com/siyuan-note/siyuan/issues/11460 --- kernel/model/import.go | 71 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 2 deletions(-) diff --git a/kernel/model/import.go b/kernel/model/import.go index d97d189c710..3c933a77e2e 100644 --- a/kernel/model/import.go +++ b/kernel/model/import.go @@ -22,8 +22,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/siyuan-note/riff" - "github.com/siyuan-note/siyuan/kernel/av" "image" "image/jpeg" "image/png" @@ -48,6 +46,9 @@ import ( "github.com/88250/lute/render" "github.com/siyuan-note/filelock" "github.com/siyuan-note/logging" + "github.com/siyuan-note/riff" + "github.com/siyuan-note/siyuan/kernel/av" + "github.com/siyuan-note/siyuan/kernel/cache" "github.com/siyuan-note/siyuan/kernel/filesys" "github.com/siyuan-note/siyuan/kernel/sql" "github.com/siyuan-note/siyuan/kernel/treenode" @@ -289,6 +290,72 @@ func ImportSY(zipPath, boxID, toPath string) (err error) { avNodes := tree.Root.ChildrenByType(ast.NodeAttributeView) av.BatchUpsertBlockRel(avNodes) } + + // 如果数据库中绑定的块不在导入的文档中 + cachedTrees, saveTrees := map[string]*parse.Tree{}, map[string]*parse.Tree{} + for _, avID := range avIDs { + attrView, _ := av.ParseAttributeView(avID) + if nil == attrView { + continue + } + + blockKeyValues := attrView.GetBlockKeyValues() + for _, blockValue := range blockKeyValues.Values { + if blockValue.IsDetached { + continue + } + bt := treenode.GetBlockTree(blockValue.BlockID) + if nil == bt { + continue + } + + tree := cachedTrees[bt.RootID] + if nil == tree { + tree, _ = filesys.LoadTree(bt.BoxID, bt.Path, luteEngine) + if nil == tree { + continue + } + cachedTrees[bt.RootID] = tree + } + + node := treenode.GetNodeInTree(tree, blockValue.BlockID) + if nil == node { + continue + } + + attrs := parse.IAL2Map(node.KramdownIAL) + if "" == attrs[av.NodeAttrNameAvs] { + attrs[av.NodeAttrNameAvs] = avID + } else { + nodeAvIDs := strings.Split(attrs[av.NodeAttrNameAvs], ",") + nodeAvIDs = append(nodeAvIDs, avID) + nodeAvIDs = gulu.Str.RemoveDuplicatedElem(nodeAvIDs) + attrs[av.NodeAttrNameAvs] = strings.Join(nodeAvIDs, ",") + saveTrees[bt.RootID] = tree + } + + avNames := getAvNames(attrs[av.NodeAttrNameAvs]) + if "" != avNames { + attrs[av.NodeAttrViewNames] = avNames + } + + oldAttrs, setErr := setNodeAttrs0(node, attrs) + if nil != setErr { + continue + } + cache.PutBlockIAL(node.ID, parse.IAL2Map(node.KramdownIAL)) + pushBroadcastAttrTransactions(oldAttrs, node) + } + } + + for _, saveTree := range saveTrees { + if treeErr := indexWriteTreeUpsertQueue(saveTree); nil != treeErr { + logging.LogErrorf("index write tree upsert queue failed: %s", treeErr) + } + + avNodes := saveTree.Root.ChildrenByType(ast.NodeAttributeView) + av.BatchUpsertBlockRel(avNodes) + } } // 将关联的闪卡数据合并到默认卡包 data/storage/riff/20230218211946-2kw8jgx 中 From 5c761b6a17efb0b3756cf95042f97a8625920dc7 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 23:14:36 +0800 Subject: [PATCH 31/44] :art: fix https://github.com/siyuan-note/siyuan/issues/11409 --- app/src/protyle/render/av/select.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts index 269e915c453..5ac5ce6d9fc 100644 --- a/app/src/protyle/render/av/select.ts +++ b/app/src/protyle/render/av/select.ts @@ -570,6 +570,9 @@ export const mergeAddOption = (column: IAVColumn, cellValue: IAVCellValue, avID: const doOperations: IOperation[] = []; const undoOperations: IOperation[] = []; cellValue.mSelect.forEach((item: IAVCellSelectValue) => { + if (!column.options) { + column.options = []; + } const needAdd = column.options.find((option: { name: string, color: string, From 5c52abc80258d174cbd70a0f7be2d1cdda605a0d Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 20 May 2024 10:11:25 +0800 Subject: [PATCH 32/44] :art: Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761 --- kernel/model/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/repository.go b/kernel/model/repository.go index d3adf9e18c3..a35a5edddd6 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -1338,7 +1338,7 @@ func syncRepo(exit, byHand bool) (dataChanged bool, err error) { if !exit { // 首次数据同步执行完成后再执行索引订正 Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761 - checkIndex() + go checkIndex() } return } From 1bc32c584b60bfd0f5faa06ea653440250abfe31 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 20 May 2024 10:15:50 +0800 Subject: [PATCH 33/44] :art: Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761 --- kernel/model/index_fix.go | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/kernel/model/index_fix.go b/kernel/model/index_fix.go index ef3a867c153..819024a5ab4 100644 --- a/kernel/model/index_fix.go +++ b/kernel/model/index_fix.go @@ -24,7 +24,6 @@ import ( "runtime/debug" "strings" "sync" - "sync/atomic" "time" "github.com/88250/gulu" @@ -42,39 +41,35 @@ import ( ) var ( - checkIndexPerformed = atomic.Bool{} + checkIndexOnce = sync.Once{} ) // checkIndex 自动校验数据库索引,仅在数据同步执行完成后执行一次。 func checkIndex() { - if checkIndexPerformed.Load() { - return - } - - logging.LogInfof("start checking index...") + checkIndexOnce.Do(func() { + logging.LogInfof("start checking index...") - task.AppendTask(task.DatabaseIndexFix, removeDuplicateDatabaseIndex) - sql.WaitForWritingDatabase() + task.AppendTask(task.DatabaseIndexFix, removeDuplicateDatabaseIndex) + sql.WaitForWritingDatabase() - task.AppendTask(task.DatabaseIndexFix, resetDuplicateBlocksOnFileSys) + task.AppendTask(task.DatabaseIndexFix, resetDuplicateBlocksOnFileSys) - task.AppendTask(task.DatabaseIndexFix, fixBlockTreeByFileSys) - sql.WaitForWritingDatabase() + task.AppendTask(task.DatabaseIndexFix, fixBlockTreeByFileSys) + sql.WaitForWritingDatabase() - task.AppendTask(task.DatabaseIndexFix, fixDatabaseIndexByBlockTree) - sql.WaitForWritingDatabase() + task.AppendTask(task.DatabaseIndexFix, fixDatabaseIndexByBlockTree) + sql.WaitForWritingDatabase() - task.AppendTask(task.DatabaseIndexFix, removeDuplicateDatabaseRefs) + task.AppendTask(task.DatabaseIndexFix, removeDuplicateDatabaseRefs) - // 后面要加任务的话记得修改推送任务栏的进度 util.PushStatusBar(fmt.Sprintf(Conf.Language(58), 1, 5)) + // 后面要加任务的话记得修改推送任务栏的进度 util.PushStatusBar(fmt.Sprintf(Conf.Language(58), 1, 5)) - task.AppendTask(task.DatabaseIndexFix, func() { - util.PushStatusBar(Conf.Language(185)) + task.AppendTask(task.DatabaseIndexFix, func() { + util.PushStatusBar(Conf.Language(185)) + }) + debug.FreeOSMemory() + logging.LogInfof("finish checking index") }) - debug.FreeOSMemory() - logging.LogInfof("finish checking index") - - checkIndexPerformed.Store(true) } var autoFixLock = sync.Mutex{} From 5d7c699390db5c1b5cc83d828bd72370c4422cb8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 20 May 2024 10:56:25 +0800 Subject: [PATCH 34/44] :art: fix https://github.com/siyuan-note/siyuan/issues/11468 --- app/src/protyle/render/av/asset.ts | 6 +++--- app/src/protyle/render/av/cell.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/protyle/render/av/asset.ts b/app/src/protyle/render/av/asset.ts index f8e500c9e46..0e74280a94a 100644 --- a/app/src/protyle/render/av/asset.ts +++ b/app/src/protyle/render/av/asset.ts @@ -61,7 +61,7 @@ export const getAssetHTML = (cellElements: HTMLElement[]) => { `; } else { - contentHTML = `${item.name}`; + contentHTML = `${item.name || item.content}`; } html += `