diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index bbd3f4a66..80afc6e7d 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1058,6 +1058,7 @@ "parentRelation": "Parent - Child", "openInNewTab": "Open in New Tab", "help": "Help", + "userGuide": "User Guide", "paragraphBeginningSpace": "Two empty spaces at the beginning of the paragraph", "outline": "Outline", "newFile": "New Doc", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index ab905a416..9c3c65fa3 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1058,6 +1058,7 @@ "parentRelation": "Padre - Hijo", "openInNewTab": "Abrir en una nueva pestaña", "help": "Ayuda", + "userGuide": "User Guide", "paragraphBeginningSpace": "Dos espacios vacíos al principio del párrafo", "outline": "Esquema", "newFile": "Nuevo documento", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 50a88f6f9..aaf039aa3 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1058,6 +1058,7 @@ "parentRelation": "Parent - Enfant", "openInNewTab": "Ouvrir dans un nouvel onglet", "help": "Aide", + "userGuide": "User Guide", "paragraphBeginningSpace": "Deux espaces vides au début du paragraphe", "outline": "Outline", "newFile": "Nouveau Doc", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index 4cdc28f6f..780c181ec 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1058,6 +1058,7 @@ "parentRelation": "父子關係", "openInNewTab": "在新分頁中打開", "help": "幫助", + "userGuide": "用戶指南", "paragraphBeginningSpace": "段落開頭空兩格", "outline": "大綱", "newFile": "新建文檔", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index b5ff1b93c..e41a3897e 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1058,6 +1058,7 @@ "parentRelation": "父子关系", "openInNewTab": "在新页签中打开", "help": "帮助", + "userGuide": "用户指南", "paragraphBeginningSpace": "段落开头空两格", "outline": "大纲", "newFile": "新建文档", diff --git a/app/changelogs/v3.0.8/v3.0.8.md b/app/changelogs/v3.0.8/v3.0.8.md new file mode 100644 index 000000000..ceaa188a4 --- /dev/null +++ b/app/changelogs/v3.0.8/v3.0.8.md @@ -0,0 +1,67 @@ +## Overview + +This version supports the database date field filling the current time by default. + +## Changelogs + +Below are the detailed changes in this version. + +### Enhancement + +* [Database date field supports filling the current time by default](https://github.com/siyuan-note/siyuan/issues/10823) +* [Database primary key supports unbinding block](https://github.com/siyuan-note/siyuan/issues/10849) +* [Improve flashcard menu](https://github.com/siyuan-note/siyuan/issues/10857) +* [Refresh the corresponding rollup after deleting rows from the database](https://github.com/siyuan-note/siyuan/issues/10858) +* [Auto verify the database name when clicking the block superscript icon](https://github.com/siyuan-note/siyuan/issues/10861) +* [Improve doc title `Paste as plain text`](https://github.com/siyuan-note/siyuan/issues/10866) +* [Ignore `*` back mentions and virtual references](https://github.com/siyuan-note/siyuan/issues/10873) +* [Improve performance of importing .sy.zip](https://github.com/siyuan-note/siyuan/issues/10874) +* [Support adding database blocks to a database](https://github.com/siyuan-note/siyuan/issues/10876) +* [Improve interaction of the database table view selected cell content](https://github.com/siyuan-note/siyuan/issues/10877) +* [Improve selection of iframe block](https://github.com/siyuan-note/siyuan/issues/10879) +* [Improve database block ref anchor text display](https://github.com/siyuan-note/siyuan/issues/10880) +* [Database select field filters follow option editing changes](https://github.com/siyuan-note/siyuan/issues/10881) +* [Improve database primary key setting](https://github.com/siyuan-note/siyuan/issues/10882) +* [Improve database table view UI](https://github.com/siyuan-note/siyuan/pull/10886) +* [Improve view tab UI in database table view](https://github.com/siyuan-note/siyuan/issues/10887) +* [Improve the cursor style of the scroll bar at the bottom of the database table view](https://github.com/siyuan-note/siyuan/issues/10888) +* [Improve database block text in breadcrumbs](https://github.com/siyuan-note/siyuan/issues/10891) +* [Improve block attributes panel spellcheck](https://github.com/siyuan-note/siyuan/issues/10897) +* [Clicking the document focus will not switch in read-only mode](https://github.com/siyuan-note/siyuan/issues/10898) +* [Improve cursor position after Esc and Del](https://github.com/siyuan-note/siyuan/issues/10899) +* [Support drag widget block](https://github.com/siyuan-note/siyuan/issues/10900) +* [Improve `Show Database Title` item in database view menu](https://github.com/siyuan-note/siyuan/issues/10908) +* [Support adding the current document in the database](https://github.com/siyuan-note/siyuan/issues/10912) +* [Support floating window to open related database when filling in the database relation field](https://github.com/siyuan-note/siyuan/issues/10915) +* [Improve /widget search](https://github.com/siyuan-note/siyuan/issues/10917) +* [Database blocks are included in document word count](https://github.com/siyuan-note/siyuan/issues/10918) +* [Improve remove and duplication of column menu in database table view](https://github.com/siyuan-note/siyuan/issues/10920) +* [Remove rows in database bound to child blocks when deleting parent block](https://github.com/siyuan-note/siyuan/issues/10923) +* [Improv updateing of outlines, backlinks and charts when switching between doc and pdf](https://github.com/siyuan-note/siyuan/issues/10930) +* [Disable outline item dragging when the doc is read-only](https://github.com/siyuan-note/siyuan/issues/10931) +* [`Add to Database` search on database title only](https://github.com/siyuan-note/siyuan/issues/10934) +* [Improve user guide entry](https://github.com/siyuan-note/siyuan/pull/10939) +* [Improve spaces at the beginning of exported paragraphs](https://github.com/siyuan-note/siyuan/issues/10940) + +### Bugfix + +* [Database relation field `Ctrl+Hover` not open the floating window](https://github.com/siyuan-note/siyuan/issues/10836) +* [Creating a new block may cause the tab to close](https://github.com/siyuan-note/siyuan/issues/10851) +* [Database column width adjustment fails](https://github.com/siyuan-note/siyuan/issues/10865) +* [Database date between filter cannot select the end time](https://github.com/siyuan-note/siyuan/issues/10870) +* [The order after `Enter` at the end of `1\n\n2` is wrong](https://github.com/siyuan-note/siyuan/issues/10901) +* [`Bold+Inline code` causes the content to disappear](https://github.com/siyuan-note/siyuan/issues/10910) +* [Database rollup calculation range anomaly](https://github.com/siyuan-note/siyuan/issues/10913) +* [Cannot open doc via `siyuan://` when startup the application](https://github.com/siyuan-note/siyuan/issues/10937) +* [Unbind the "Hide Window" hotkey exception](https://github.com/siyuan-note/siyuan/issues/10938) +* [`Ctrl+X` followed by `Ctrl+M` cannot call out inline-level formula editing](https://github.com/siyuan-note/siyuan/issues/10941) + +### Refactor + +* [Upgrade to Electron v28.2.10](https://github.com/siyuan-note/siyuan/issues/10869) +* [Improve outline loading mechanism](https://github.com/siyuan-note/siyuan/issues/10884) + +## Download + +* [B3log](https://b3log.org/siyuan/en/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/changelogs/v3.0.8/v3.0.8_zh_CHT.md b/app/changelogs/v3.0.8/v3.0.8_zh_CHT.md new file mode 100644 index 000000000..889b31e39 --- /dev/null +++ b/app/changelogs/v3.0.8/v3.0.8_zh_CHT.md @@ -0,0 +1,67 @@ +## 概述 + +此版本支援了資料庫日期欄位預設填入目前時間。 + +## 變更記錄 + +以下是此版本中的詳細變更。 + +### 改進功能 + +* [資料庫日期欄位支援預設填入目前時間](https://github.com/siyuan-note/siyuan/issues/10823) +* [資料庫主鍵支援解綁區塊](https://github.com/siyuan-note/siyuan/issues/10849) +* [改進閃卡選單](https://github.com/siyuan-note/siyuan/issues/10857) +* [從資料庫刪除行後刷新對應的總和](https://github.com/siyuan-note/siyuan/issues/10858) +* [點選區塊上標圖示時自動校驗資料庫名稱](https://github.com/siyuan-note/siyuan/issues/10861) +* [改進文件標題 `貼上為純文字`](https://github.com/siyuan-note/siyuan/issues/10866) +* [忽略 `*` 提及與虛擬引用](https://github.com/siyuan-note/siyuan/issues/10873) +* [提高導入 .sy.zip 的效能](https://github.com/siyuan-note/siyuan/issues/10874) +* [支援新增資料庫區塊](https://github.com/siyuan-note/siyuan/issues/10876) +* [改進資料庫表格視圖選取儲存格內容的互動](https://github.com/siyuan-note/siyuan/issues/10877) +* [改進 iframe 區塊的選擇](https://github.com/siyuan-note/siyuan/issues/10879) +* [改進資料庫區塊引用錨文本顯示](https://github.com/siyuan-note/siyuan/issues/10880) +* [資料庫選擇欄位過濾器跟隨選項編輯變更](https://github.com/siyuan-note/siyuan/issues/10881) +* [改進資料庫主鍵設定](https://github.com/siyuan-note/siyuan/issues/10882) +* [改進資料庫表格視圖介面](https://github.com/siyuan-note/siyuan/pull/10886) +* [改進資料庫表格檢視中的檢視標籤介面](https://github.com/siyuan-note/siyuan/issues/10887) +* [改進資料庫表格視圖底部捲軸的遊標樣式](https://github.com/siyuan-note/siyuan/issues/10888) +* [改進麵包屑中的資料庫區塊文字](https://github.com/siyuan-note/siyuan/issues/10891) +* [改進塊屬性面板拼字檢查](https://github.com/siyuan-note/siyuan/issues/10897) +* [點選文件重點在唯讀模式下不會切換](https://github.com/siyuan-note/siyuan/issues/10898) +* [改進 Esc 和 Del 後的遊標位置](https://github.com/siyuan-note/siyuan/issues/10899) +* [支援拖曳掛件區塊](https://github.com/siyuan-note/siyuan/issues/10900) +* [改進資料庫檢視選單中的 `顯示資料庫標題` 項](https://github.com/siyuan-note/siyuan/issues/10908) +* [支援在資料庫中新增目前文件](https://github.com/siyuan-note/siyuan/issues/10912) +* [支援填充資料庫關係欄位時開啟浮動視窗以開啟相關資料庫](https://github.com/siyuan-note/siyuan/issues/10915) +* [改進 /widget 搜尋](https://github.com/siyuan-note/siyuan/issues/10917) +* [資料庫區塊包含在文件字數統計中](https://github.com/siyuan-note/siyuan/issues/10918) +* [改進資料庫表格檢視中的列選單的刪除和複製](https://github.com/siyuan-note/siyuan/issues/10920) +* [刪除父區塊時刪除綁定到子區塊的資料庫行](https://github.com/siyuan-note/siyuan/issues/10923) +* [在文件和 PDF 之間切換時,改進大綱、反向連結和圖表的更新](https://github.com/siyuan-note/siyuan/issues/10930) +* [當文件為唯讀時停用大綱項拖曳](https://github.com/siyuan-note/siyuan/issues/10931) +* [`加入資料庫` 只在資料庫標題上搜尋](https://github.com/siyuan-note/siyuan/issues/10934) +* [改進使用者指南入口](https://github.com/siyuan-note/siyuan/pull/10939) +* [改進匯出段落開頭的空格](https://github.com/siyuan-note/siyuan/issues/10940) + +### 修復缺陷 + +* [資料庫關聯欄位 `Ctrl+Hover` 不開啟浮動視窗](https://github.com/siyuan-note/siyuan/issues/10836) +* [建立新的區塊可能會導致頁籤關閉](https://github.com/siyuan-note/siyuan/issues/10851) +* [資料庫列寬調整失效](https://github.com/siyuan-note/siyuan/issues/10865) +* [資料庫日期間隔過濾器無法選擇結束時間](https://github.com/siyuan-note/siyuan/issues/10870) +* [`1\n\n2` 結尾處按 `Enter` 後的順序錯誤](https://github.com/siyuan-note/siyuan/issues/10901) +* [`Bold+Inline code` 導致內容消失](https://github.com/siyuan-note/siyuan/issues/10910) +* [資料庫總結計算極差異常](https://github.com/siyuan-note/siyuan/issues/10913) +* [啟動應用程式時無法透過 `siyuan://` 開啟文件](https://github.com/siyuan-note/siyuan/issues/10937) +* [解綁 "隱藏視窗" 快速鍵異常](https://github.com/siyuan-note/siyuan/issues/10938) +* [`Ctrl+X` 後 `Ctrl+M` 無法召喚出行級公式編輯](https://github.com/siyuan-note/siyuan/issues/10941) + +### 開發重構 + +* [升級至 Electron v28.2.10](https://github.com/siyuan-note/siyuan/issues/10869) +* [改進大綱載入機制](https://github.com/siyuan-note/siyuan/issues/10884) + +## 下載 + +* [B3log](https://b3log.org/siyuan/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/changelogs/v3.0.8/v3.0.8_zh_CN.md b/app/changelogs/v3.0.8/v3.0.8_zh_CN.md new file mode 100644 index 000000000..f3e8c6be9 --- /dev/null +++ b/app/changelogs/v3.0.8/v3.0.8_zh_CN.md @@ -0,0 +1,67 @@ +## 概述 + +该版本支持了数据库日期字段默认填充当前时间。 + +## 变更记录 + +以下是此版本中的详细变更。 + +### 改进功能 + +* [数据库日期字段支持默认填充当前时间](https://github.com/siyuan-note/siyuan/issues/10823) +* [数据库主键支持解绑块](https://github.com/siyuan-note/siyuan/issues/10849) +* [改进闪卡菜单](https://github.com/siyuan-note/siyuan/issues/10857) +* [从数据库删除行后刷新相应的汇总](https://github.com/siyuan-note/siyuan/issues/10858) +* [点击块上标图标时自动校验数据库名称](https://github.com/siyuan-note/siyuan/issues/10861) +* [改进文档标题 `粘贴为纯文本`](https://github.com/siyuan-note/siyuan/issues/10866) +* [忽略 `*` 提及和虚拟引用](https://github.com/siyuan-note/siyuan/issues/10873) +* [提高导入 .sy.zip 的性能](https://github.com/siyuan-note/siyuan/issues/10874) +* [支持向数据库添加数据库块](https://github.com/siyuan-note/siyuan/issues/10876) +* [改进数据库表格视图选中单元格内容的交互](https://github.com/siyuan-note/siyuan/issues/10877) +* [改进 iframe 块的选择](https://github.com/siyuan-note/siyuan/issues/10879) +* [改进数据库块引用锚文本显示](https://github.com/siyuan-note/siyuan/issues/10880) +* [数据库选择字段过滤器跟随选项编辑更改](https://github.com/siyuan-note/siyuan/issues/10881) +* [改进数据库主键设置](https://github.com/siyuan-note/siyuan/issues/10882) +* [改进数据库表格视图界面](https://github.com/siyuan-note/siyuan/pull/10886) +* [改进数据库表格视图中的视图选项卡界面](https://github.com/siyuan-note/siyuan/issues/10887) +* [改进数据库表格视图底部滚动条的光标样式](https://github.com/siyuan-note/siyuan/issues/10888) +* [改进面包屑中的数据库块文本](https://github.com/siyuan-note/siyuan/issues/10891) +* [改进块属性面板拼写检查](https://github.com/siyuan-note/siyuan/issues/10897) +* [点击文档焦点在只读模式下不会切换](https://github.com/siyuan-note/siyuan/issues/10898) +* [改进 Esc 和 Del 后的光标位置](https://github.com/siyuan-note/siyuan/issues/10899) +* [支持拖动挂件块](https://github.com/siyuan-note/siyuan/issues/10900) +* [改进数据库视图菜单中的 `显示数据库标题` 项](https://github.com/siyuan-note/siyuan/issues/10908) +* [支持在数据库中添加当前文档](https://github.com/siyuan-note/siyuan/issues/10912) +* [支持填充数据库关系字段时打开浮动窗口以打开相关数据库](https://github.com/siyuan-note/siyuan/issues/10915) +* [改进 /widget 搜索](https://github.com/siyuan-note/siyuan/issues/10917) +* [数据库块包含在文档字数统计中](https://github.com/siyuan-note/siyuan/issues/10918) +* [改进数据库表格视图中的列菜单的删除和复制](https://github.com/siyuan-note/siyuan/issues/10920) +* [删除父块时删除绑定到子块的数据库行](https://github.com/siyuan-note/siyuan/issues/10923) +* [在文档和 PDF 之间切换时,改进大纲、反向链接和图表的更新](https://github.com/siyuan-note/siyuan/issues/10930) +* [当文档为只读时禁用大纲项拖动](https://github.com/siyuan-note/siyuan/issues/10931) +* [`添加到数据库` 只在数据库标题上搜索](https://github.com/siyuan-note/siyuan/issues/10934) +* [改进用户指南入口](https://github.com/siyuan-note/siyuan/pull/10939) +* [改进导出段落开头的空格](https://github.com/siyuan-note/siyuan/issues/10940) + +### 修复缺陷 + +* [数据库关联字段 `Ctrl+Hover` 不打开浮动窗口](https://github.com/siyuan-note/siyuan/issues/10836) +* [创建新的块可能会导致页签关闭](https://github.com/siyuan-note/siyuan/issues/10851) +* [数据库列宽调整失效](https://github.com/siyuan-note/siyuan/issues/10865) +* [数据库日期间隔过滤器无法选择结束时间](https://github.com/siyuan-note/siyuan/issues/10870) +* [`1\n\n2` 结尾处按 `Enter` 后的顺序错误](https://github.com/siyuan-note/siyuan/issues/10901) +* [`Bold+Inline code` 导致内容消失](https://github.com/siyuan-note/siyuan/issues/10910) +* [数据库汇总计算极差异常](https://github.com/siyuan-note/siyuan/issues/10913) +* [启动应用程序时无法通过 `siyuan://` 打开文档](https://github.com/siyuan-note/siyuan/issues/10937) +* [解绑 "隐藏窗口" 快捷键异常](https://github.com/siyuan-note/siyuan/issues/10938) +* [`Ctrl+X` 后 `Ctrl+M` 无法唤出行级公式编辑](https://github.com/siyuan-note/siyuan/issues/10941) + +### 开发重构 + +* [升级到 Electron v28.2.10](https://github.com/siyuan-note/siyuan/issues/10869) +* [改进大纲加载机制](https://github.com/siyuan-note/siyuan/issues/10884) + +## 下载 + +* [B3log](https://b3log.org/siyuan/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/src/constants.ts b/app/src/constants.ts index 26172471f..f395525e7 100644 --- a/app/src/constants.ts +++ b/app/src/constants.ts @@ -187,6 +187,7 @@ export abstract class Constants { zh_CHT: "20211226090932-5lcq56f", en_US: "20210808180117-6v0mkxr", fr_FR: "20210808180117-6v0mkxr", + es_ES: "20210808180117-6v0mkxr", }; public static readonly QUICK_DECK_ID = "20230218211946-2kw8jgx"; diff --git a/app/src/layout/status.ts b/app/src/layout/status.ts index 4dd577301..49635456e 100644 --- a/app/src/layout/status.ts +++ b/app/src/layout/status.ts @@ -65,7 +65,7 @@ export const initStatus = (isWindow = false) => { window.siyuan.menus.menu.remove(); window.siyuan.menus.menu.element.setAttribute("data-name", "statusHelp"); window.siyuan.menus.menu.append(new MenuItem({ - label: window.siyuan.languages.help, + label: window.siyuan.languages.userGuide, icon: "iconHelp", click: () => { mountHelp(); diff --git a/app/src/layout/tabUtil.ts b/app/src/layout/tabUtil.ts index 796c79bbd..5cb46113d 100644 --- a/app/src/layout/tabUtil.ts +++ b/app/src/layout/tabUtil.ts @@ -194,7 +194,7 @@ export const newCenterEmptyTab = (app: App) => {
q){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}if(((120===p.charCodeAt(2))||(88===p.charCodeAt(2)))&&5>q){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}}r=G.HtmlUnescapeString(p);if(r===p){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}b.pos=b.pos+((l-h>>0))>>0;c=new B.Node.ptr("","","","",44,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,E.StrToBytes(r),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,E.StrToBytes(p),DD.nil,false,"","","","","","","","","","","",0,"");return c;};AC.prototype.parseEntity=function(b){return this.$val.parseEntity(b);};AC.ptr.prototype.parseCloseBracket=function(b){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,b,ba,bb,bc,bd,be,bf,bg,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,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;f=new CW([(d=b.tokens,e=b.pos,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]))]);b.pos=b.pos+(1)>>0;g=b.pos;h=b.brackets;if(DM.nil===h){$s=-1;return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,f,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}if(!h.active){c.removeBracket(b);$s=-1;return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,f,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}i=h.image;j=CW.nil;k=CW.nil;l=CW.nil;m=CW.nil;n=CW.nil;o=j;p=k;q=l;r=m;s=n;t=b.pos;u=false;if((b.pos+1>>0)=v.$length)?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+w])))){$s=1;continue;}$s=2;continue;case 1:b.pos=b.pos+(1)>>0;x=false;y=CW.nil;z=CW.nil;aa=y;ab=z;case 3:ac=D.Spnl($subslice(b.tokens,(b.pos-1>>0)));x=ac[0];aa=ac[1];ab=ac[2];if(!x){$s=4;continue;}b.pos=b.pos+(aa.$length)>>0;ae=c.Context.parseInlineLinkDest(ab);$s=5;case 5:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;aa=ad[0];ab=ad[1];p=ad[2];if(CW.nil===aa){$s=4;continue;}if(c.Context.ParseOption.VditorWYSIWYG||c.Context.ParseOption.VditorIR||c.Context.ParseOption.VditorSV||c.Context.ParseOption.ProtyleWYSIWYG){if(!i&&CY.nil===h.node.Next){$s=4;continue;}}b.pos=b.pos+(aa.$length)>>0;o=$subslice(aa,0,1);s=$subslice(aa,(aa.$length-1>>0));u=41===(af=aa.$length-1>>0,((af<0||af>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+af]));if(u){b.pos=b.pos-(1)>>0;$s=4;continue;}if(1>ab.$length||!D.IsWhitespace((0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]))){$s=4;continue;}ag=D.Spnl(ab);x=ag[0];aa=ag[1];ab=ag[2];if(!x){$s=4;continue;}q=aa;b.pos=b.pos+(aa.$length)>>0;u=41===(0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]);s=$subslice(ab,0,1);if(u){$s=4;continue;}b.pos=b.pos+(1)>>0;ah=false;ai=c.Context.parseLinkTitle(ab);ah=ai[0];aa=ai[1];ab=ai[2];r=ai[3];if(!ah){$s=4;continue;}b.pos=b.pos+(aa.$length)>>0;aj=D.Spnl(ab);x=aj[0];aa=aj[1];ab=aj[2];b.pos=b.pos+(aa.$length)>>0;u=x&&0 >0)),ab);}else{r=C.CaretTokens;ab=$subslice(ab,C.CaretTokens.$length);b.pos=b.pos+(3)>>0;}}else if(A.HasPrefix(ab,(new CW($stringToBytes(")\xE2\x80\xB8"))))){if(0===r.$length){r=C.CaretTokens;ab=A.ReplaceAll(ab,C.CaretTokens,CW.nil);b.pos=b.pos+(3)>>0;}}}u=41===(0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]);}s=$subslice(ab,0);$s=4;continue;case 4:if(!u){b.pos=t;}case 2:ak=CW.nil;al=0;if(!u){$s=6;continue;}$s=7;continue;case 6:am=b.pos;an=c.Context.parseLinkLabel($subslice(b.tokens,am));ao=an[0];ap=an[2];if(2 >0;}else if(!h.bracketAfter){aq=h.index;if(91===(ar=b.tokens,((aq<0||aq>=ar.$length)?($throwRuntimeError("index out of range"),undefined):ar.$array[ar.$offset+aq]))){aq=aq+(1)>>0;}ak=$subslice(b.tokens,aq,(g-1>>0));b.pos=b.pos+(2)>>0;}if(0===ao){b.pos=g;}if(!(CW.nil===ak)){$s=8;continue;}$s=9;continue;case 8:if(c.Context.ParseOption.Footnotes){$s=10;continue;}$s=11;continue;case 10:at=c.FindFootnotesDef(ak);$s=12;case 12:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}as=at;au=as[0];av=as[1];if(!(CY.nil===av)){c.removeBracket(b);if(c.Context.ParseOption.Sup&&!(CY.nil===h.node.Next.Next)){h.node.Next.Next.Unlink();h.node.Next.Unlink();}else{h.node.Next.Unlink();}h.node.Unlink();aw=I.Itoa(au);ax=av.FootnotesRefs.$length;if(0 >0));}ay=new B.Node.ptr("","","","",412,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,ak,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,A.ReplaceAll(ak,C.CaretTokens,CW.nil),aw,CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");av.FootnotesRefs=$append(av.FootnotesRefs,ay);$s=-1;return ay;}case 11:az=c.FindLinkRefDefLink(ak);$s=13;case 13:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(!(CY.nil===ba)){p=ba.ChildByType(41).Tokens;bb=ba.ChildByType(42);if(!(CY.nil===bb)){r=bb.Tokens;}u=true;al=3;}case 9:case 7:if(u){bc=new B.Node.ptr("","","","",33,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,al,ak,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");if(i){bc.Type=34;bc.AppendChild(new B.Node.ptr("","","","",35,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(h.node.Tokens,0,1),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));h.node.Tokens=$subslice(h.node.Tokens,1);}bc.AppendChild(new B.Node.ptr("","","","",36,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,h.node.Tokens,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));bd=CY.nil;be=CY.nil;bf=bd;bg=be;bf=h.node.Next;while(true){if(!(!(CY.nil===bf))){break;}bg=bf.Next;bf.Unlink();if(16===bf.Type){bf.Type=40;}bc.AppendChild(bf);bf=bg;}bc.AppendChild(new B.Node.ptr("","","","",37,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,f,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));bc.AppendChild(new B.Node.ptr("","","","",38,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,o,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));bc.AppendChild(new B.Node.ptr("","","","",41,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,p,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));if(!(CW.nil===q)){bc.AppendChild(new B.Node.ptr("","","","",43,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,q,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));}if(0 >0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,e,b.pos),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.addBracket(c,b.pos-1>>0,false,b);return c;};AC.prototype.parseOpenBracket=function(b){return this.$val.parseOpenBracket(b);};AC.ptr.prototype.addBracket=function(b,c,d,e){var b,c,d,e,f;f=this;if(!(DM.nil===e.brackets)){e.brackets.bracketAfter=true;}e.brackets=new CA.ptr(b,0,0,0,false,false,e.brackets,DM.nil,true,d,false,c,e.delimiters);};AC.prototype.addBracket=function(b,c,d,e){return this.$val.addBracket(b,c,d,e);};AC.ptr.prototype.removeBracket=function(b){var b,c;c=this;b.brackets=b.brackets.previous;};AC.prototype.removeBracket=function(b){return this.$val.removeBracket(b);};AC.ptr.prototype.parseBang=function(b){var b,c,d,e,f,g;c=CY.nil;d=this;e=b.pos;b.pos=b.pos+(1)>>0;if(b.pos =f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g])))){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,e,b.pos),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.addBracket(c,e+2>>0,true,b);return c;}c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,e,b.pos),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;};AC.prototype.parseBang=function(b){return this.$val.parseBang(b);};BI=function(b,c){var{b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(b.Context.indented){$s=-1;return 0;}if(!((60===D.Peek(b.Context.currentLine,b.Context.nextNonspace)))){$s=-1;return 0;}if(b.Context.ParseOption.VditorWYSIWYG){if(A.Contains(b.Context.currentLine,(new CW($stringToBytes("vditor-comment"))))){$s=-1;return 0;}}if(b.Context.ParseOption.ProtyleWYSIWYG){if(A.Contains(b.Context.currentLine,(new CW($stringToBytes(""))))){$s=7;continue;}if(A.HasPrefix(d,(new CW($stringToBytes("