@dooc-dev/dooc 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -18
  3. package/dist/client.global.js +1 -0
  4. package/dist/code-worker.global.js +11 -11
  5. package/dist/code.global.js +75 -75
  6. package/dist/edit.global.js +234 -231
  7. package/dist/{compiler → engine/compiler}/bundle-urls.js +1 -4
  8. package/dist/{compiler → engine/compiler}/check-prose.d.ts +1 -1
  9. package/dist/{compiler → engine/compiler}/check-prose.js +1 -1
  10. package/dist/{compiler → engine/compiler}/check.js +15 -27
  11. package/dist/{compiler → engine/compiler}/code-blocks.js +3 -1
  12. package/dist/{compiler → engine/compiler}/code-languages.js +1 -2
  13. package/dist/{compiler → engine/compiler}/compile.d.ts +5 -4
  14. package/dist/{compiler → engine/compiler}/compile.js +91 -32
  15. package/dist/{compiler → engine/compiler}/config.js +1 -3
  16. package/dist/{compiler → engine/compiler}/dialect.d.ts +1 -3
  17. package/dist/{compiler → engine/compiler}/dialect.js +8 -52
  18. package/dist/{compiler → engine/compiler}/dxf.js +1 -1
  19. package/dist/{compiler → engine/compiler}/export.js +15 -8
  20. package/dist/{compiler → engine/compiler}/figures.js +26 -22
  21. package/dist/{compiler → engine/compiler}/file-cache.d.ts +1 -2
  22. package/dist/{compiler → engine/compiler}/file-cache.js +8 -15
  23. package/dist/{compiler → engine/compiler}/files.js +49 -38
  24. package/dist/{compiler → engine/compiler}/fonts.js +1 -3
  25. package/dist/{compiler → engine/compiler}/from-mdast.js +1 -1
  26. package/dist/engine/compiler/host.d.ts +10 -0
  27. package/dist/engine/compiler/host.js +16 -0
  28. package/dist/{compiler → engine/compiler}/icons.d.ts +3 -0
  29. package/dist/{compiler → engine/compiler}/icons.js +28 -10
  30. package/dist/{compiler → engine/compiler}/ignored-files.d.ts +2 -0
  31. package/dist/{compiler → engine/compiler}/ignored-files.js +12 -3
  32. package/dist/{compiler → engine/compiler}/locales.js +2 -8
  33. package/dist/{compiler → engine/compiler}/manifest.d.ts +3 -2
  34. package/dist/engine/compiler/manifest.js +46 -0
  35. package/dist/{compiler → engine/compiler}/ops.d.ts +4 -1
  36. package/dist/{compiler → engine/compiler}/ops.js +36 -21
  37. package/dist/engine/compiler/schema-file-references.d.ts +2 -0
  38. package/dist/engine/compiler/schema-file-references.js +82 -0
  39. package/dist/engine/compiler/serialize.d.ts +2 -0
  40. package/dist/engine/compiler/serialize.js +5 -0
  41. package/dist/{compiler → engine/compiler}/subformat-schema.js +1 -3
  42. package/dist/{compiler → engine/compiler}/subformats.d.ts +10 -0
  43. package/dist/{compiler → engine/compiler}/subformats.js +122 -18
  44. package/dist/{compiler → engine/compiler}/textfile-remote.js +1 -2
  45. package/dist/{compiler → engine/compiler}/textfile.js +4 -6
  46. package/dist/{compiler → engine/compiler}/theme-variants.js +1 -1
  47. package/dist/{compiler → engine/compiler}/zip.js +1 -1
  48. package/dist/{core → engine/core}/blocks.d.ts +6 -4
  49. package/dist/{core → engine/core}/content-metadata.d.ts +6 -1
  50. package/dist/{core → engine/core}/content-metadata.js +84 -18
  51. package/dist/{core → engine/core}/content-types.d.ts +4 -2
  52. package/dist/{core → engine/core}/html.d.ts +7 -0
  53. package/dist/{core → engine/core}/html.js +44 -3
  54. package/dist/{core → engine/core}/icons.d.ts +3 -0
  55. package/dist/engine/core/icons.js +20 -0
  56. package/dist/{core → engine/core}/routing.d.ts +2 -0
  57. package/dist/{core → engine/core}/routing.js +9 -0
  58. package/dist/{core → engine/core}/schema-refs.d.ts +1 -1
  59. package/dist/{core → engine/core}/schema-refs.js +3 -1
  60. package/dist/engine/core/subformat-references.d.ts +5 -0
  61. package/dist/engine/core/subformat-references.js +33 -0
  62. package/dist/{core → engine/core}/subformats.d.ts +7 -0
  63. package/dist/{core → engine/core}/subformats.js +5 -1
  64. package/dist/{core → engine/core}/taxonomy.d.ts +2 -3
  65. package/dist/{core → engine/core}/taxonomy.js +1 -5
  66. package/dist/flow.global.js +306 -306
  67. package/dist/frontend/application-request.d.ts +14 -0
  68. package/dist/frontend/application-request.js +36 -0
  69. package/dist/frontend/document-application.d.ts +200 -0
  70. package/dist/{viewer/serve.js → frontend/document-application.js} +1611 -1670
  71. package/dist/frontend/figure-preview.d.ts +4 -0
  72. package/dist/{viewer → frontend}/figure-preview.js +4 -4
  73. package/dist/{viewer → frontend}/file-references.d.ts +1 -1
  74. package/dist/{viewer → frontend}/file-references.js +3 -3
  75. package/dist/{viewer → frontend}/font-picker.d.ts +1 -1
  76. package/dist/{viewer → frontend}/font-settings.d.ts +1 -1
  77. package/dist/{viewer → frontend}/language-picker.js +112 -18
  78. package/dist/{viewer → frontend}/locales/eng.json +16 -2
  79. package/dist/{viewer → frontend}/locales/jpn.json +16 -2
  80. package/dist/{viewer → frontend}/locales/zho.json +16 -2
  81. package/dist/{viewer → frontend}/nav-focus.js +2 -0
  82. package/dist/{viewer → frontend}/plugin-blocks.js +2 -2
  83. package/dist/{viewer → frontend}/resize.js +14 -2
  84. package/dist/frontend/resource-download.d.ts +2 -0
  85. package/dist/frontend/resource-download.js +43 -0
  86. package/dist/{viewer → frontend}/resource-library.d.ts +9 -2
  87. package/dist/{viewer → frontend}/resource-library.js +133 -37
  88. package/dist/{core → frontend}/schema-graph-flow.d.ts +1 -1
  89. package/dist/{core → frontend}/schema-graph-flow.js +1 -1
  90. package/dist/{viewer → frontend}/search.d.ts +2 -2
  91. package/dist/{viewer → frontend}/search.js +26 -8
  92. package/dist/graph/schema-graph-global.js +17 -17
  93. package/dist/install.sh +68 -0
  94. package/dist/plugins.global.js +62 -62
  95. package/dist/{viewer → server}/assets.d.ts +2 -0
  96. package/dist/server/assets.js +7 -0
  97. package/dist/{viewer → server}/build-plugins.js +4 -4
  98. package/dist/{viewer → server}/build.d.ts +2 -1
  99. package/dist/{viewer → server}/build.js +31 -15
  100. package/dist/{cli.js → server/cli.js} +199 -66
  101. package/dist/server/editor-tools.d.ts +1 -0
  102. package/dist/server/editor-tools.js +1 -0
  103. package/dist/{viewer → server}/extension-pack.js +2 -2
  104. package/dist/{viewer → server}/extensions.d.ts +1 -1
  105. package/dist/{viewer → server}/extensions.js +3 -3
  106. package/dist/server/git-diff.d.ts +10 -0
  107. package/dist/{viewer → server}/git-diff.js +45 -10
  108. package/dist/server/git-origin.d.ts +4 -0
  109. package/dist/server/git-origin.js +103 -0
  110. package/dist/server/git.d.ts +9 -0
  111. package/dist/{viewer → server}/git.js +50 -6
  112. package/dist/server/history.d.ts +14 -0
  113. package/dist/server/history.js +205 -0
  114. package/dist/{viewer → server}/hmr.d.ts +0 -22
  115. package/dist/server/hmr.js +168 -0
  116. package/dist/server/index.d.ts +17 -0
  117. package/dist/{index.js → server/index.js} +16 -16
  118. package/dist/{viewer → server}/ja-lint.d.ts +1 -1
  119. package/dist/{viewer → server}/languages.d.ts +1 -1
  120. package/dist/{viewer → server}/languages.js +3 -3
  121. package/dist/{mcp.d.ts → server/mcp.d.ts} +2 -2
  122. package/dist/{mcp.js → server/mcp.js} +60 -21
  123. package/dist/{viewer → server}/plugin-config.d.ts +2 -2
  124. package/dist/{viewer → server}/plugin-config.js +2 -2
  125. package/dist/{plugins → server/plugins}/local-storage.d.ts +1 -1
  126. package/dist/{plugins → server/plugins}/local-storage.js +1 -1
  127. package/dist/{plugins → server/plugins}/runtime.d.ts +4 -4
  128. package/dist/{plugins → server/plugins}/runtime.js +4 -4
  129. package/dist/{viewer → server}/plugins.d.ts +3 -3
  130. package/dist/{viewer → server}/plugins.js +14 -13
  131. package/dist/server/resource-library.d.ts +1 -0
  132. package/dist/server/resource-library.js +1 -0
  133. package/dist/server/self.d.ts +5 -0
  134. package/dist/server/self.js +98 -0
  135. package/dist/server/serve.d.ts +61 -0
  136. package/dist/server/serve.js +503 -0
  137. package/dist/server/static-client.d.ts +4 -0
  138. package/dist/server/static-client.js +117 -0
  139. package/dist/server/workspace-server.d.ts +16 -0
  140. package/dist/server/workspace-server.js +266 -0
  141. package/dist/{viewer → server}/workspace.d.ts +6 -1
  142. package/dist/{viewer → server}/workspace.js +46 -0
  143. package/dist/subformats.global.js +92 -6
  144. package/dist/ui.global.js +85 -72
  145. package/dist/workspace/client.d.ts +13 -0
  146. package/dist/workspace/client.js +114 -0
  147. package/dist/{viewer → workspace}/code-file.d.ts +1 -1
  148. package/dist/{viewer → workspace}/code-file.js +7 -7
  149. package/dist/workspace/connection.d.ts +27 -0
  150. package/dist/workspace/connection.js +38 -0
  151. package/dist/{viewer → workspace}/editor-tools.d.ts +7 -1
  152. package/dist/{viewer → workspace}/editor-tools.js +12 -9
  153. package/dist/{viewer → workspace}/git-types.d.ts +7 -0
  154. package/dist/workspace/github.d.ts +4 -0
  155. package/dist/workspace/github.js +99 -0
  156. package/dist/workspace/history.d.ts +46 -0
  157. package/dist/workspace/history.js +86 -0
  158. package/dist/workspace/protocol.d.ts +38 -0
  159. package/dist/workspace/protocol.js +20 -0
  160. package/dist/workspace/resource-download.d.ts +1 -0
  161. package/dist/workspace/resource-download.js +8 -0
  162. package/dist/workspace/server.d.ts +9 -0
  163. package/dist/workspace/server.js +48 -0
  164. package/dist/{viewer → workspace}/site-icon.js +9 -10
  165. package/dist/{viewer → workspace}/site-title.js +6 -7
  166. package/dist/{viewer → workspace}/textfile.d.ts +1 -1
  167. package/dist/{viewer → workspace}/textfile.js +5 -5
  168. package/dist/workspace-worker.global.js +2859 -0
  169. package/package.json +35 -20
  170. package/dist/compiler/manifest.js +0 -37
  171. package/dist/compiler/serialize.d.ts +0 -3
  172. package/dist/compiler/serialize.js +0 -16
  173. package/dist/core/icons.js +0 -5
  174. package/dist/index.d.ts +0 -17
  175. package/dist/viewer/assets.js +0 -3
  176. package/dist/viewer/figure-preview.d.ts +0 -4
  177. package/dist/viewer/git-diff.d.ts +0 -6
  178. package/dist/viewer/git.d.ts +0 -5
  179. package/dist/viewer/hmr.js +0 -341
  180. package/dist/viewer/serve.d.ts +0 -216
  181. /package/dist/{compiler → engine/compiler}/asset-references.d.ts +0 -0
  182. /package/dist/{compiler → engine/compiler}/asset-references.js +0 -0
  183. /package/dist/{compiler → engine/compiler}/bundle-urls.d.ts +0 -0
  184. /package/dist/{compiler → engine/compiler}/check-types.d.ts +0 -0
  185. /package/dist/{compiler → engine/compiler}/check-types.js +0 -0
  186. /package/dist/{compiler → engine/compiler}/check.d.ts +0 -0
  187. /package/dist/{compiler → engine/compiler}/code-blocks.d.ts +0 -0
  188. /package/dist/{compiler → engine/compiler}/code-languages.d.ts +0 -0
  189. /package/dist/{compiler → engine/compiler}/config.d.ts +0 -0
  190. /package/dist/{compiler → engine/compiler}/drawio.d.ts +0 -0
  191. /package/dist/{compiler → engine/compiler}/drawio.js +0 -0
  192. /package/dist/{compiler → engine/compiler}/dxf.d.ts +0 -0
  193. /package/dist/{compiler → engine/compiler}/export.d.ts +0 -0
  194. /package/dist/{compiler → engine/compiler}/figures.d.ts +0 -0
  195. /package/dist/{compiler → engine/compiler}/files.d.ts +0 -0
  196. /package/dist/{compiler → engine/compiler}/fonts.d.ts +0 -0
  197. /package/dist/{compiler → engine/compiler}/format.d.ts +0 -0
  198. /package/dist/{compiler → engine/compiler}/format.js +0 -0
  199. /package/dist/{compiler → engine/compiler}/from-mdast.d.ts +0 -0
  200. /package/dist/{compiler → engine/compiler}/language-codes.d.ts +0 -0
  201. /package/dist/{compiler → engine/compiler}/language-codes.js +0 -0
  202. /package/dist/{compiler → engine/compiler}/locales.d.ts +0 -0
  203. /package/dist/{compiler → engine/compiler}/public-file.d.ts +0 -0
  204. /package/dist/{compiler → engine/compiler}/public-file.js +0 -0
  205. /package/dist/{compiler → engine/compiler}/subformat-schema.d.ts +0 -0
  206. /package/dist/{compiler → engine/compiler}/terms.d.ts +0 -0
  207. /package/dist/{compiler → engine/compiler}/terms.js +0 -0
  208. /package/dist/{compiler → engine/compiler}/textfile-remote.d.ts +0 -0
  209. /package/dist/{compiler → engine/compiler}/textfile.d.ts +0 -0
  210. /package/dist/{compiler → engine/compiler}/theme-variants.d.ts +0 -0
  211. /package/dist/{compiler → engine/compiler}/zip.d.ts +0 -0
  212. /package/dist/{core → engine/core}/blocks.js +0 -0
  213. /package/dist/{core → engine/core}/code-file.d.ts +0 -0
  214. /package/dist/{core → engine/core}/code-file.js +0 -0
  215. /package/dist/{core → engine/core}/code-grammars.d.ts +0 -0
  216. /package/dist/{core → engine/core}/code-grammars.js +0 -0
  217. /package/dist/{core → engine/core}/content-types.js +0 -0
  218. /package/dist/{core → engine/core}/escape-html.d.ts +0 -0
  219. /package/dist/{core → engine/core}/escape-html.js +0 -0
  220. /package/dist/{core → engine/core}/extension-package.d.ts +0 -0
  221. /package/dist/{core → engine/core}/extension-package.js +0 -0
  222. /package/dist/{core → engine/core}/figure-frame.d.ts +0 -0
  223. /package/dist/{core → engine/core}/figure-frame.js +0 -0
  224. /package/dist/{core → engine/core}/file-embed.d.ts +0 -0
  225. /package/dist/{core → engine/core}/file-embed.js +0 -0
  226. /package/dist/{core → engine/core}/files.d.ts +0 -0
  227. /package/dist/{core → engine/core}/files.js +0 -0
  228. /package/dist/{core → engine/core}/graph-common.d.ts +0 -0
  229. /package/dist/{core → engine/core}/graph-common.js +0 -0
  230. /package/dist/{core → engine/core}/graph.d.ts +0 -0
  231. /package/dist/{core → engine/core}/graph.js +0 -0
  232. /package/dist/{core → engine/core}/inline.d.ts +0 -0
  233. /package/dist/{core → engine/core}/inline.js +0 -0
  234. /package/dist/{core → engine/core}/json-tools.d.ts +0 -0
  235. /package/dist/{core → engine/core}/json-tools.js +0 -0
  236. /package/dist/{core → engine/core}/language.d.ts +0 -0
  237. /package/dist/{core → engine/core}/language.js +0 -0
  238. /package/dist/{core → engine/core}/languages/ja.d.ts +0 -0
  239. /package/dist/{core → engine/core}/languages/ja.js +0 -0
  240. /package/dist/{core → engine/core}/markdown.d.ts +0 -0
  241. /package/dist/{core → engine/core}/markdown.js +0 -0
  242. /package/dist/{core → engine/core}/previewers.d.ts +0 -0
  243. /package/dist/{core → engine/core}/previewers.js +0 -0
  244. /package/dist/{core → engine/core}/schema-comments.d.ts +0 -0
  245. /package/dist/{core → engine/core}/schema-comments.js +0 -0
  246. /package/dist/{core → engine/core}/schema-fields.d.ts +0 -0
  247. /package/dist/{core → engine/core}/schema-fields.js +0 -0
  248. /package/dist/{core → engine/core}/schema-graph.d.ts +0 -0
  249. /package/dist/{core → engine/core}/schema-graph.js +0 -0
  250. /package/dist/{core → engine/core}/subformat-record.d.ts +0 -0
  251. /package/dist/{core → engine/core}/subformat-record.js +0 -0
  252. /package/dist/{core → engine/core}/term-reference.d.ts +0 -0
  253. /package/dist/{core → engine/core}/term-reference.js +0 -0
  254. /package/dist/{core → engine/core}/textfile.d.ts +0 -0
  255. /package/dist/{core → engine/core}/textfile.js +0 -0
  256. /package/dist/{core → engine/core}/theme-variants.d.ts +0 -0
  257. /package/dist/{core → engine/core}/theme-variants.js +0 -0
  258. /package/dist/{core → engine/core}/workspace.d.ts +0 -0
  259. /package/dist/{core → engine/core}/workspace.js +0 -0
  260. /package/dist/{viewer → frontend}/bundle-network.d.ts +0 -0
  261. /package/dist/{viewer → frontend}/bundle-network.js +0 -0
  262. /package/dist/{core → frontend}/flow-base-css.generated.d.ts +0 -0
  263. /package/dist/{core → frontend}/flow-base-css.generated.js +0 -0
  264. /package/dist/{core → frontend}/flow-css.d.ts +0 -0
  265. /package/dist/{core → frontend}/flow-css.js +0 -0
  266. /package/dist/{viewer → frontend}/font-picker.js +0 -0
  267. /package/dist/{viewer → frontend}/font-settings.js +0 -0
  268. /package/dist/{viewer → frontend}/i18n.d.ts +0 -0
  269. /package/dist/{viewer → frontend}/i18n.js +0 -0
  270. /package/dist/{viewer → frontend}/language-picker.d.ts +0 -0
  271. /package/dist/{viewer → frontend}/lazy-preview.d.ts +0 -0
  272. /package/dist/{viewer → frontend}/lazy-preview.js +0 -0
  273. /package/dist/{viewer → frontend}/nav-focus.d.ts +0 -0
  274. /package/dist/{viewer → frontend}/nav-update.d.ts +0 -0
  275. /package/dist/{viewer → frontend}/nav-update.js +0 -0
  276. /package/dist/{viewer → frontend}/plugin-blocks.d.ts +0 -0
  277. /package/dist/{viewer → frontend}/plugin-style.d.ts +0 -0
  278. /package/dist/{viewer → frontend}/plugin-style.js +0 -0
  279. /package/dist/{viewer → frontend}/plugin-view.d.ts +0 -0
  280. /package/dist/{viewer → frontend}/plugin-view.js +0 -0
  281. /package/dist/{viewer → frontend}/resize.d.ts +0 -0
  282. /package/dist/{core → frontend}/schema-graph-mount.d.ts +0 -0
  283. /package/dist/{core → frontend}/schema-graph-mount.js +0 -0
  284. /package/dist/{core → frontend}/table-ui.d.ts +0 -0
  285. /package/dist/{core → frontend}/table-ui.js +0 -0
  286. /package/dist/{core → frontend}/terms-ui.d.ts +0 -0
  287. /package/dist/{core → frontend}/terms-ui.js +0 -0
  288. /package/dist/{viewer → frontend}/theme-picker.d.ts +0 -0
  289. /package/dist/{viewer → frontend}/theme-picker.js +0 -0
  290. /package/dist/{core → frontend}/toc-ui.d.ts +0 -0
  291. /package/dist/{core → frontend}/toc-ui.js +0 -0
  292. /package/dist/{core → frontend}/video-ui.d.ts +0 -0
  293. /package/dist/{core → frontend}/video-ui.js +0 -0
  294. /package/dist/{viewer → server}/build-plugins.d.ts +0 -0
  295. /package/dist/{cli.d.ts → server/cli.d.ts} +0 -0
  296. /package/dist/{viewer → server}/extension-pack.d.ts +0 -0
  297. /package/dist/{viewer → server}/fonts/LICENSE.txt +0 -0
  298. /package/dist/{viewer → server}/fonts/udev-gothic-regular.woff2 +0 -0
  299. /package/dist/{viewer → server}/fonts.d.ts +0 -0
  300. /package/dist/{viewer → server}/fonts.js +0 -0
  301. /package/dist/{viewer → server}/ja-lint.js +0 -0
  302. /package/dist/{viewer → workspace}/git-types.js +0 -0
  303. /package/dist/{viewer → workspace}/site-icon.d.ts +0 -0
  304. /package/dist/{viewer → workspace}/site-title.d.ts +0 -0
@@ -1,95 +1,95 @@
1
- "use strict";(()=>{var Da=Object.create;var fr=Object.defineProperty;var _a=Object.getOwnPropertyDescriptor;var $a=Object.getOwnPropertyNames;var za=Object.getPrototypeOf,Ba=Object.prototype.hasOwnProperty;var lo=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},ja=(e,t)=>{for(var n in t)fr(e,n,{get:t[n],enumerable:!0})},qa=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $a(t))!Ba.call(e,i)&&i!==n&&fr(e,i,{get:()=>t[i],enumerable:!(r=_a(t,i))||r.enumerable});return e};var co=(e,t,n)=>(n=e!=null?Da(za(e)):{},qa(t||!e||!e.__esModule?fr(n,"default",{value:e,enumerable:!0}):n,e));var Lo=lo((Vd,gr)=>{(function(){var e;typeof gr<"u"?e=gr.exports=r:e=(function(){return this||(0,eval)("this")})(),e.format=r,e.vsprintf=n,typeof console<"u"&&typeof console.log=="function"&&(e.printf=t);function t(){console.log(r.apply(null,arguments))}function n(i,o){return r.apply(null,[i].concat(o))}function r(i){for(var o=1,s=[].slice.call(arguments),a=0,l=i.length,c="",u,f=!1,p,d,g=!1,b,w=function(){return s[o++]},y=function(){for(var C="";/\d/.test(i[a]);)C+=i[a++],u=i[a];return C.length>0?parseInt(C):null};a<l;++a)if(u=i[a],f)switch(f=!1,u=="."?(g=!1,u=i[++a]):u=="0"&&i[a+1]=="."?(g=!0,a+=2,u=i[a]):g=!0,b=y(),u){case"b":c+=parseInt(w(),10).toString(2);break;case"c":p=w(),typeof p=="string"||p instanceof String?c+=p:c+=String.fromCharCode(parseInt(p,10));break;case"d":c+=parseInt(w(),10);break;case"f":d=String(parseFloat(w()).toFixed(b||6)),c+=g?d:d.replace(/^0/,"");break;case"j":c+=JSON.stringify(w());break;case"o":c+="0"+parseInt(w(),10).toString(8);break;case"s":c+=w();break;case"x":c+="0x"+parseInt(w(),10).toString(16);break;case"X":c+="0x"+parseInt(w(),10).toString(16).toUpperCase();break;default:c+=u;break}else u==="%"?f=!0:c+=u;return c}})()});var ta=lo((Sk,ea)=>{"use strict";var jn=Object.prototype.hasOwnProperty,Zs=Object.prototype.toString,Js=Object.defineProperty,Ws=Object.getOwnPropertyDescriptor,Ys=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Zs.call(t)==="[object Array]"},Gs=function(t){if(!t||Zs.call(t)!=="[object Object]")return!1;var n=jn.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&jn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||jn.call(t,i)},Qs=function(t,n){Js&&n.name==="__proto__"?Js(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Xs=function(t,n){if(n==="__proto__")if(jn.call(t,n)){if(Ws)return Ws(t,n).value}else return;return t[n]};ea.exports=function e(){var t,n,r,i,o,s,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=Xs(a,n),i=Xs(t,n),a!==i&&(u&&i&&(Gs(i)||(o=Ys(i)))?(o?(o=!1,s=r&&Ys(r)?r:[]):s=r&&Gs(r)?r:{},Qs(a,{name:n,newValue:e(u,s,i)})):typeof i<"u"&&Qs(a,{name:n,newValue:i}));return a}});var uo='<svg class="ic-ok" viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m4 10 4 4 8-8"/></svg>';var Vt={aar:"aa",abk:"ab",afr:"af",aka:"ak",amh:"am",ara:"ar",arg:"an",asm:"as",ava:"av",ave:"ae",aym:"ay",aze:"az",bak:"ba",bam:"bm",bel:"be",ben:"bn",bis:"bi",bod:"bo",bos:"bs",bre:"br",bul:"bg",cat:"ca",ces:"cs",cha:"ch",che:"ce",chu:"cu",chv:"cv",cor:"kw",cos:"co",cre:"cr",cym:"cy",dan:"da",deu:"de",div:"dv",dzo:"dz",ell:"el",eng:"en",epo:"eo",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fij:"fj",fin:"fi",fra:"fr",fry:"fy",ful:"ff",gla:"gd",gle:"ga",glg:"gl",glv:"gv",grn:"gn",guj:"gu",hat:"ht",hau:"ha",hbs:"sh",heb:"he",her:"hz",hin:"hi",hmo:"ho",hrv:"hr",hun:"hu",hye:"hy",ibo:"ig",ido:"io",iii:"ii",iku:"iu",ile:"ie",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",jav:"jv",jpn:"ja",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",khm:"km",kik:"ki",kin:"rw",kir:"ky",kom:"kv",kon:"kg",kor:"ko",kua:"kj",kur:"ku",lao:"lo",lat:"la",lav:"lv",lim:"li",lin:"ln",lit:"lt",ltz:"lb",lub:"lu",lug:"lg",mah:"mh",mal:"ml",mar:"mr",mkd:"mk",mlg:"mg",mlt:"mt",mon:"mn",mri:"mi",msa:"ms",mya:"my",nau:"na",nav:"nv",nbl:"nr",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nno:"nn",nob:"nb",nor:"no",nya:"ny",oci:"oc",oji:"oj",ori:"or",orm:"om",oss:"os",pan:"pa",pli:"pi",pol:"pl",por:"pt",pus:"ps",que:"qu",roh:"rm",ron:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sin:"si",slk:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",sqi:"sq",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swe:"sv",tah:"ty",tam:"ta",tat:"tt",tel:"te",tgk:"tg",tgl:"tl",tha:"th",tir:"ti",ton:"to",tsn:"tn",tso:"ts",tuk:"tk",tur:"tr",twi:"tw",uig:"ug",ukr:"uk",urd:"ur",uzb:"uz",ven:"ve",vie:"vi",vol:"vo",wln:"wa",wol:"wo",xho:"xh",yid:"yi",yor:"yo",zha:"za",zho:"zh",zul:"zu"};var dr={"Site title":"Site title","Edit site title":"Edit site title","Editor font":"Editor font","Viewer font":"Viewer font","Default font":"Default font","Loading fonts":"Loading fonts","Font choice applies only to this tab":"Font choice applies only to this tab; browser storage is unavailable.","Invalid font file":"This font file could not be loaded. Choose a valid font supported by your browser.","Preview theme":"Preview theme","Editor theme":"Editor theme","Open link":"Open link","Copy link":"Copy link","Collapse preview":"Collapse preview","Expand preview":"Expand preview","Resize plugin card":"Resize plugin card","Open the local viewer to load plugin data":"Open the local viewer to load plugin data","Load data":"Load data","Connect account":"Connect account","Forget connection":"Forget connection","Load data using your connected account":"Load data using your connected account","Loading plugin data":"Loading plugin data","Continue to service":"Continue to service","Connected as {name}":"Connected as {name}","Connection forgotten in dooc":"Connection forgotten in dooc","Connect this plugin again":"Connect this plugin again","Plugin is not configured":"Plugin is not configured","Plugin request failed":"Plugin request failed","Plugin service request failed":"Plugin service request failed","Access denied by the service":"Access denied by the service","Collapse code":"Collapse code","Expand code":"Expand code",Language:"Editor language",Save:"Save","Save (Ctrl+S)":"Save (Ctrl+S)","View settings":"View settings","Auto save":"Auto save","Wrap lines":"Wrap lines","Front-matter fields":"Front-matter fields",title:"title",desc:"desc",lang:"lang","Remove icon":"Remove icon",icon:"icon",rename:"rename","Enter to save / Esc to cancel":"Enter to save / Esc to cancel","Change doc id":"Change doc id","Delete doc":"Delete doc","Add doc":"Add doc",Resources:"Resources",markdown:"Markdown",figures:"Figures",html:"HTML",icons:"Icons","Resize sidebar":"Resize sidebar","Resize document tree":"Resize document tree","Resize editor":"Resize editor","Close sidebar":"Close sidebar","Open sidebar":"Open sidebar",Create:"Create","Unsaved changes":"Unsaved changes","Modified (waiting for auto-save)":"Modified (waiting for auto-save)","Enter to rename / Esc to cancel (file links follow)":"Enter to rename / Esc to cancel (file links follow)","Icon must be svg":"Icon must be svg","Change site icon":"Change site icon","Icon set (auto-padded to 1:1)":"Icon set (auto-padded to 1:1)","Icon removed":"Icon removed","Only svg / png / webp / jpeg can be added":"Only svg / png / webp / jpeg can be added","Updated externally (keeping unsaved changes)":"Updated externally (keeping unsaved changes)","Changed externally \u2014 keeping your changes (you'll be asked again on save)":"Changed externally \u2014 keeping your changes (you'll be asked again on save)","You have unsaved changes. Discard them and leave?":"You have unsaved changes. Discard them and leave?",Saved:"Saved",Auto:"Auto",Light:"Light",Dark:"Dark",Theme:"Theme","Saved {time}":"Saved {time}","Saved (validation errors: {count})":"Saved (validation errors: {count})","Failed to save: {error}":"Failed to save: {error}",'Delete "{file}"? (this cannot be undone)':'Delete "{file}" and all its translations? (this cannot be undone)',"Failed to delete: {error}":"Failed to delete: {error}","Adding figures\u2026 ({count})":"Adding figures\u2026 ({count})","Added figures: {names}":"Added figures: {names}","Failed to add figures: {error}":"Failed to add figures: {error}","Failed to set icon: {error}":"Failed to set icon: {error}","Failed to update preview: {error}":"Failed to update preview: {error}","Failed to apply external changes: {error}":"Failed to apply external changes: {error}","Can't rename: {error}":"Can't rename: {error}","Applied external changes":"Applied external changes",Contents:"Contents","Copy code":"Copy code","External conflict":`This doc was updated elsewhere. Apply the external changes?
1
+ "use strict";(()=>{var qa=Object.create;var pr=Object.defineProperty;var Ua=Object.getOwnPropertyDescriptor;var Ha=Object.getOwnPropertyNames;var Va=Object.getPrototypeOf,Ka=Object.prototype.hasOwnProperty;var fo=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},Wa=(e,t)=>{for(var n in t)pr(e,n,{get:t[n],enumerable:!0})},Ja=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ha(t))!Ka.call(e,i)&&i!==n&&pr(e,i,{get:()=>t[i],enumerable:!(r=Ua(t,i))||r.enumerable});return e};var po=(e,t,n)=>(n=e!=null?qa(Va(e)):{},Ja(t||!e||!e.__esModule?pr(n,"default",{value:e,enumerable:!0}):n,e));var Mo=fo((ep,wr)=>{(function(){var e;typeof wr<"u"?e=wr.exports=r:e=(function(){return this||(0,eval)("this")})(),e.format=r,e.vsprintf=n,typeof console<"u"&&typeof console.log=="function"&&(e.printf=t);function t(){console.log(r.apply(null,arguments))}function n(i,o){return r.apply(null,[i].concat(o))}function r(i){for(var o=1,s=[].slice.call(arguments),a=0,l=i.length,c="",u,f=!1,p,d,g=!1,y,w=function(){return s[o++]},b=function(){for(var A="";/\d/.test(i[a]);)A+=i[a++],u=i[a];return A.length>0?parseInt(A):null};a<l;++a)if(u=i[a],f)switch(f=!1,u=="."?(g=!1,u=i[++a]):u=="0"&&i[a+1]=="."?(g=!0,a+=2,u=i[a]):g=!0,y=b(),u){case"b":c+=parseInt(w(),10).toString(2);break;case"c":p=w(),typeof p=="string"||p instanceof String?c+=p:c+=String.fromCharCode(parseInt(p,10));break;case"d":c+=parseInt(w(),10);break;case"f":d=String(parseFloat(w()).toFixed(y||6)),c+=g?d:d.replace(/^0/,"");break;case"j":c+=JSON.stringify(w());break;case"o":c+="0"+parseInt(w(),10).toString(8);break;case"s":c+=w();break;case"x":c+="0x"+parseInt(w(),10).toString(16);break;case"X":c+="0x"+parseInt(w(),10).toString(16).toUpperCase();break;default:c+=u;break}else u==="%"?f=!0:c+=u;return c}})()});var sa=fo((Nk,oa)=>{"use strict";var Un=Object.prototype.hasOwnProperty,ia=Object.prototype.toString,Zs=Object.defineProperty,Xs=Object.getOwnPropertyDescriptor,ea=function(t){return typeof Array.isArray=="function"?Array.isArray(t):ia.call(t)==="[object Array]"},ta=function(t){if(!t||ia.call(t)!=="[object Object]")return!1;var n=Un.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Un.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Un.call(t,i)},na=function(t,n){Zs&&n.name==="__proto__"?Zs(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},ra=function(t,n){if(n==="__proto__")if(Un.call(t,n)){if(Xs)return Xs(t,n).value}else return;return t[n]};oa.exports=function e(){var t,n,r,i,o,s,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=ra(a,n),i=ra(t,n),a!==i&&(u&&i&&(ta(i)||(o=ea(i)))?(o?(o=!1,s=r&&ea(r)?r:[]):s=r&&ta(r)?r:{},na(a,{name:n,newValue:e(u,s,i)})):typeof i<"u"&&na(a,{name:n,newValue:i}));return a}});var mo='<svg class="ic-ok" viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m4 10 4 4 8-8"/></svg>';var _e=e=>`<svg class="nav-icon" viewBox="0 0 20 20" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${e}</svg>`,wd={codeblocks:_e('<path d="m7 6-4 4 4 4M13 6l4 4-4 4"/>'),urls:_e('<path d="M8.5 11.5a3 3 0 0 0 4.2 0l3-3a3 3 0 0 0-4.2-4.2l-1 1M11.5 8.5a3 3 0 0 0-4.2 0l-3 3a3 3 0 0 0 4.2 4.2l1-1"/>'),"url-previews":_e('<rect x="3" y="4" width="14" height="12" rx="1.5"/><path d="M3 8h14M6 12.5h5"/>'),csv:_e('<rect x="3" y="4" width="14" height="12" rx="1"/><path d="M3 8h14M3 12h14M8 4v12"/>'),tsv:_e('<path d="M3 6h8M3 10h8M3 14h8M13.5 7l3 3-3 3M17 5v10"/>'),mermaid:_e('<rect x="3" y="3" width="6" height="4" rx="1"/><rect x="11" y="13" width="6" height="4" rx="1"/><path d="M6 7v6a2 2 0 0 0 2 2h3"/>'),callouth:_e('<path d="M4 4h12v9H9l-4 3v-3H4Z"/>'),schemath:_e('<ellipse cx="10" cy="5" rx="6" ry="2.5"/><path d="M4 5v10c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5V5M4 10c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5"/>'),graphth:_e('<circle cx="5" cy="10" r="2"/><circle cx="15" cy="5" r="2"/><circle cx="15" cy="15" r="2"/><path d="m6.8 9.1 6.4-3.2M6.8 10.9l6.4 3.2"/>'),termth:_e('<path d="M5 3h10v14H5Z"/><path d="m8 12 2-5 2 5M8.7 10.5h2.6"/>')};var ho=()=>globalThis.__doocConnections??={active:"local",items:new Map},Ct=()=>ho().active;var go=(e=Ct())=>ho().items.get(e);function mr(e,t,n){let r=globalThis.__doocConnections,i=r?.items.get(n??r.active);return i?i.fetch(e,t):fetch(e,t)}var Wt={aar:"aa",abk:"ab",afr:"af",aka:"ak",amh:"am",ara:"ar",arg:"an",asm:"as",ava:"av",ave:"ae",aym:"ay",aze:"az",bak:"ba",bam:"bm",bel:"be",ben:"bn",bis:"bi",bod:"bo",bos:"bs",bre:"br",bul:"bg",cat:"ca",ces:"cs",cha:"ch",che:"ce",chu:"cu",chv:"cv",cor:"kw",cos:"co",cre:"cr",cym:"cy",dan:"da",deu:"de",div:"dv",dzo:"dz",ell:"el",eng:"en",epo:"eo",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fij:"fj",fin:"fi",fra:"fr",fry:"fy",ful:"ff",gla:"gd",gle:"ga",glg:"gl",glv:"gv",grn:"gn",guj:"gu",hat:"ht",hau:"ha",hbs:"sh",heb:"he",her:"hz",hin:"hi",hmo:"ho",hrv:"hr",hun:"hu",hye:"hy",ibo:"ig",ido:"io",iii:"ii",iku:"iu",ile:"ie",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",jav:"jv",jpn:"ja",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",khm:"km",kik:"ki",kin:"rw",kir:"ky",kom:"kv",kon:"kg",kor:"ko",kua:"kj",kur:"ku",lao:"lo",lat:"la",lav:"lv",lim:"li",lin:"ln",lit:"lt",ltz:"lb",lub:"lu",lug:"lg",mah:"mh",mal:"ml",mar:"mr",mkd:"mk",mlg:"mg",mlt:"mt",mon:"mn",mri:"mi",msa:"ms",mya:"my",nau:"na",nav:"nv",nbl:"nr",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nno:"nn",nob:"nb",nor:"no",nya:"ny",oci:"oc",oji:"oj",ori:"or",orm:"om",oss:"os",pan:"pa",pli:"pi",pol:"pl",por:"pt",pus:"ps",que:"qu",roh:"rm",ron:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sin:"si",slk:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",sqi:"sq",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swe:"sv",tah:"ty",tam:"ta",tat:"tt",tel:"te",tgk:"tg",tgl:"tl",tha:"th",tir:"ti",ton:"to",tsn:"tn",tso:"ts",tuk:"tk",tur:"tr",twi:"tw",uig:"ug",ukr:"uk",urd:"ur",uzb:"uz",ven:"ve",vie:"vi",vol:"vo",wln:"wa",wol:"wo",xho:"xh",yid:"yi",yor:"yo",zha:"za",zho:"zh",zul:"zu"};var hr={"Site title":"Site title","Edit site title":"Edit site title","Editor font":"Editor font","Viewer font":"Viewer font","Default font":"Default font","Loading fonts":"Loading fonts","Font choice applies only to this tab":"Font choice applies only to this tab; browser storage is unavailable.","Invalid font file":"This font file could not be loaded. Choose a valid font supported by your browser.","Preview theme":"Preview theme","Editor theme":"Editor theme","Open link":"Open link","Copy link":"Copy link","Collapse preview":"Collapse preview","Expand preview":"Expand preview","Resize plugin card":"Resize plugin card","Open the local viewer to load plugin data":"Open the local viewer to load plugin data","Load data":"Load data","Connect account":"Connect account","Forget connection":"Forget connection","Load data using your connected account":"Load data using your connected account","Loading plugin data":"Loading plugin data","Continue to service":"Continue to service","Connected as {name}":"Connected as {name}","Connection forgotten in dooc":"Connection forgotten in dooc","Connect this plugin again":"Connect this plugin again","Plugin is not configured":"Plugin is not configured","Plugin request failed":"Plugin request failed","Plugin service request failed":"Plugin service request failed","Access denied by the service":"Access denied by the service","Collapse code":"Collapse code","Expand code":"Expand code",Language:"Editor language",Save:"Save","Save (Ctrl+S)":"Save (Ctrl+S)","View settings":"View settings","Auto save":"Auto save","Wrap lines":"Wrap lines","Front-matter fields":"Front-matter fields",title:"title",desc:"desc",lang:"lang","Remove icon":"Remove icon",icon:"icon",rename:"rename","Enter to save / Esc to cancel":"Enter to save / Esc to cancel","Change doc id":"Change doc id","Delete doc":"Delete doc","Add doc":"Add doc",Resources:"Resources",markdown:"Markdown",figures:"Figures",html:"HTML",icons:"Icons","Resize sidebar":"Resize sidebar","Resize document tree":"Resize document tree","Resize editor":"Resize editor","Close sidebar":"Close sidebar","Open sidebar":"Open sidebar",Create:"Create","Unsaved changes":"Unsaved changes","Modified (waiting for auto-save)":"Modified (waiting for auto-save)","Enter to rename / Esc to cancel (file links follow)":"Enter to rename / Esc to cancel (file links follow)","Icon must be svg":"Icon must be svg","Change site icon":"Change site icon","Icon set (auto-padded to 1:1)":"Icon set (auto-padded to 1:1)","Icon removed":"Icon removed","Only svg / png / webp / jpeg can be added":"Only svg / png / webp / jpeg can be added","Updated externally (keeping unsaved changes)":"Updated externally (keeping unsaved changes)","Changed externally \u2014 keeping your changes (you'll be asked again on save)":"Changed externally \u2014 keeping your changes (you'll be asked again on save)","You have unsaved changes. Discard them and leave?":"You have unsaved changes. Discard them and leave?",Saved:"Saved",Auto:"Auto",Light:"Light",Dark:"Dark",Theme:"Theme","Saved {time}":"Saved {time}","Saved (validation errors: {count})":"Saved (validation errors: {count})","Failed to save: {error}":"Failed to save: {error}",'Delete "{file}"? (this cannot be undone)':'Delete "{file}" and all its translations? (this cannot be undone)',"Failed to delete: {error}":"Failed to delete: {error}","Adding figures\u2026 ({count})":"Adding figures\u2026 ({count})","Added figures: {names}":"Added figures: {names}","Failed to add figures: {error}":"Failed to add figures: {error}","Failed to set icon: {error}":"Failed to set icon: {error}","Failed to update preview: {error}":"Failed to update preview: {error}","Failed to apply external changes: {error}":"Failed to apply external changes: {error}","Can't rename: {error}":"Can't rename: {error}","Applied external changes":"Applied external changes",Contents:"Contents","Copy code":"Copy code","External conflict":`This doc was updated elsewhere. Apply the external changes?
2
2
 
3
3
  OK: discard unsaved edits and apply external changes
4
4
  Cancel: keep your edits and skip this save`,"Referenced documents: {list}":`Referenced by these documents:
5
5
  {list}
6
6
 
7
- Delete anyway? (links will be left dangling)`,heading:"heading",subheading:"subheading","code fence":"code fence","figure reference":"figure reference",Templates:"Templates",Figures:"Figures","Doc links":"Doc links",Terms:"Terms","Custom syntax":"Custom syntax",path:"path",size:"size",kind:"kind",syntax:"syntax",doc:"doc","used in":"used in",none:"none","Split view":"Split view","Change language":"Change language","Active pane":"Active pane","Activate pane":"Activate pane","Failed to load pane":"Failed to load pane","Close pane and discard its unsaved changes?":"Close pane and discard its unsaved changes?","Validate and apply":"Validate and apply","Auto validate":"Auto validate","Source mapping":"Source mapping","Validation pending":"Validation pending",Validating:"Validating","Validation passed":"Validation passed","Validation errors":"Validation errors",Saving:"Saving","Save failed":"Save failed","Expand section":"Expand section","Collapse section":"Collapse section",terms:"Terms","Edit text file":"Edit text file","Create file":"Create file","Reload file":"Reload file","Working\u2026":"Working\u2026","File not found \u2014 save to create it.":"File not found \u2014 save to create it.","Discard file edits and reload?":"Discard file edits and reload?","File changed externally. Reload it before saving.":"File changed externally. Reload it before saving.","Edits made while reloading were kept. Reload again when ready.":"Edits made while reloading were kept. Reload again when ready.","File not found":"File not found","File has not been loaded":"File has not been loaded","File could not be loaded":"File could not be loaded","View remote text file":"View remote text file","Remote files are read-only":"Remote files are read-only","Edits made while validating were kept. Validate again when ready.":"Edits made while validating were kept. Validate again when ready.","Updating preview":"Updating preview","Preview is up to date":"Preview is up to date","Preview could not be updated":"Preview could not be updated","Conflicting changes":"Conflicting changes","Use my edits":"Use my edits","Use external changes":"Use external changes","File was deleted":"File was deleted",Cancel:"Cancel","Search documents":"Search documents","No results":"No results","Searching\u2026":"Searching\u2026","Could not load search. Press Ctrl+F to retry.":"Could not load search. Press Ctrl+F to retry.","{count} results":"{count} results","Showing {shown} of {count} results":"Showing {shown} of {count} results","Add translation":"Add translation","Move search":"Move search","Resize search":"Resize search","Matches text":"Matches text","Matches file name":"Matches file name","Matches folder name":"Matches folder name","Close search":"Close search","Move search to sidebar":"Move search to sidebar","Float search":"Float search",Notice:"Notice",OK:"OK","Discard changes":"Discard changes","Copy section URL":"Copy section URL",Copied:"Copied","Could not copy URL":"Could not copy URL","Search languages":"Search languages","Remove translation":"Remove translation","Source language cannot be removed":"Source language cannot be removed","Enter to edit; Ctrl+Enter to add or remove translation":"Enter to edit; Ctrl+Enter to add or remove translation","Preview has not been updated":"Preview has not been updated",Table:"Table",Image:"Image",HTML:"HTML",Markdown:"Markdown",Code:"Code",Video:"Video",Loading:"Loading",Retry:"Retry",Reload:"Reload",Close:"Close","File preview":"File preview",Files:"Files","Search files":"Search files",Plugin:"Plugin","Default folder layout":"Default folder layout","Folder restructure":"Folder restructure",Move:"Move","Move up":"Move up","Move down":"Move down","Move to root":"Move to root",Name:"Name",Size:"Size",Select:"Select","Copy path":"Copy path","File path":"File path","File created":"File created","Copy failed":"Copy failed","Place new files in files/<extension>/":"Place new files in files/<extension>/","Document changed. Retry from the current block.":"Document changed. Retry from the current block.","Document changed. Insert the file from Files.":"Document changed. Insert the file from Files.","File name":"File name","Renamed to {filename}":"Renamed to {filename}","Enter a file name ending in .md":"Enter a file name ending in .md","Upload files":"Upload files","Uploading {count}/{total}":"Uploading {count}/{total}","Files uploaded":"Files uploaded","File exceeds 64 MiB":"File exceeds 64 MiB","Choose files inside the folder":"Choose files inside the folder","Click a column to sort; row numbers refer to the source":"Click a column to sort; row numbers refer to the source",Column:"Column","Resize table":"Resize table","Back to document":"Back to document","File details":"File details","Show Git changes":"Show Git changes","Resource views":"Resource views",Default:"Default","Set as default":"Set as default","Group by":"Group by","Sort by":"Sort by","Newest first":"Newest first","Oldest first":"Oldest first",Unassigned:"Unassigned",Records:"Records",Codeblocks:"Codeblocks",Format:"Format",URLs:"URLs","URL previews":"URL previews",Domain:"Domain",All:"All",references:"references","Search resources":"Search resources","Files with errors":"Files with errors","No matching resources":"No matching resources","Organize files":"Organize files","Auto-save paused":"Auto-save paused","Reload failed":"Reload failed","Waiting for auto-save":"Waiting for auto-save","Conflict unresolved. Auto-save is paused; your edits are kept.":"Conflict unresolved. Auto-save is paused; your edits are kept.","File not found \u2014 editing will create it automatically.":"File not found \u2014 editing will create it automatically.",Play:"Play",Pause:"Pause",Seek:"Seek",Mute:"Mute",Unmute:"Unmute",Volume:"Volume","Video settings":"Video settings","Playback speed":"Playback speed",Fullscreen:"Fullscreen","Video could not be played":"Video could not be played","Fullscreen is unavailable":"Fullscreen is unavailable","Some registered fonts could not be loaded":"Some registered fonts could not be loaded",Done:"Done","Git operation failed":"Git operation failed","Create pull request":"Create pull request","Base branch":"Base branch",Draft:"Draft","Open pull request":"Open pull request","Merge method":"Merge method","Merge pull request":"Merge pull request","Merge #{number} into {base} using {method}?":"Merge #{number} into {base} using {method}?","Reset edits":"Reset edits","Discard these pull request edits?":"Discard these pull request edits?",Branch:"Branch","Switch branch":"Switch branch","New branch":"New branch","Create branch":"Create branch",Changes:"Changes","Git uses saved files.":"Git uses saved files.",Stage:"Stage",Unstage:"Unstage","Working tree clean":"Working tree clean","Commit message":"Commit message","Commit staged changes":"Commit staged changes",Fetch:"Fetch","Pull (fast-forward)":"Pull (fast-forward)",Push:"Push","Connect an origin provider from the viewer module to enable remote operations.":"Connect an origin provider from the viewer module to enable remote operations.","Pull requests":"Pull requests","No open pull requests":"No open pull requests",Description:"Description","Operation completed, but reload failed: {error}":"Operation completed, but reload failed: {error}","Stash is occupied. Commit the current changes before switching branches.":"Stash is occupied. Commit the current changes before switching branches.","Stash saved changes and switch to {branch}?":"Stash saved changes and switch to {branch}?","Stash and switch":"Stash and switch","Create the first commit to switch branches.":"Create the first commit to switch branches.","Stash \xB7 empty":"Stash \xB7 empty","Restore stash":"Restore stash","Stash changes":"Stash changes",Statics:"Statics",Subformats:"Subformats","Expand card":"Expand card","Collapse card":"Collapse card","View details":"View details","Click for details; double-click to edit":"Click for details; double-click to edit","No grouping":"No grouping",Ascending:"Ascending",Descending:"Descending","No subformats configured. Add subformats to dooc.yaml.":"No subformats configured. Add subformats to dooc.yaml.","Workspace tools":"Workspace tools","Git controls":"Git controls",Actions:"Actions",Updated:"Updated",Copy:"Copy",Edit:"Edit","Reload actions before saving again.":"Reload actions before saving again.","Saved, but refresh failed. Reload actions before saving again.":"Saved, but refresh failed. Reload actions before saving again.","Actions could not be loaded.":"Actions could not be loaded.","An open draft is no longer editable. Copy or cancel it before reloading.":"An open draft is no longer editable. Copy or cancel it before reloading.","Changed elsewhere. Your input is kept; edit again to apply it.":"Changed elsewhere. Your input is kept; edit again to apply it.",Plugins:"Plugins","Add plugins":"Add plugins","Plugins are saved in this browser. Run server plugins in a local dooc editor.":"Plugins are saved in this browser. Run server plugins in a local dooc editor.","Drag and drop here, or click to browse.":"Drag and drop here, or click to browse.","Invalid package":"Invalid package","Browser storage":"Browser storage",Enabled:"Enabled",Disabled:"Disabled",Enable:"Enable",Disable:"Disable","Delete plugin {name}?":"Delete plugin {name}?","Replace plugin {name}?":"Replace plugin {name}?","Discard plugin changes?":"Discard plugin changes?","Plugin file":"Plugin file","Apply changes":"Apply changes","Binary asset \u2014 replace it by importing a new ZIP.":"Binary asset \u2014 replace it by importing a new ZIP.","Choose a ZIP smaller than 16 MiB":"Choose a ZIP smaller than 16 MiB","Sign in":"Sign in","Sign out":"Sign out","Not signed in":"Not signed in","Continue login":"Continue login","Provided by viewer":"Provided by viewer",Added:"Added",Modified:"Modified","Add subformat\u2026":"Add subformat\u2026",Delete:"Delete","Delete subformat {ext} and its sidebar page? Records and schema files will be kept.":"Delete subformat {ext} and its sidebar page? Records and schema files will be kept.","Subformat changed externally. Reload and try again.":"Subformat changed externally. Reload and try again.","Move or remove this subformat page's child pages before deleting it.":"Move or remove this subformat page's child pages before deleting it.","Add subformat":"Add subformat",Extension:"Extension","Storage format":"Storage format","Schema file (optional)":"Schema file (optional)","Create automatically":"Create automatically",Form:"Form","Enter a valid number.":"Enter a valid number.","Value editing mode":"Value editing mode","{format} text":"{format} text","Schema editing mode":"Schema editing mode","JSON text":"JSON text","Build kit":"Build kit","Field settings":"Field settings","Field name":"Field name","New field name":"New field name","New field type":"New field type","Remove field":"Remove field","Add field":"Add field",Required:"Required","Allow extra fields":"Allow extra fields","Schema settings":"Schema settings","Remove nested fields before changing the type.":"Remove nested fields before changing the type.","Any type":"Any type",'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.':'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.',"Enter at least one choice.":"Enter at least one choice.","Enter a non-empty JSON array of schemas.":"Enter a non-empty JSON array of schemas.","Enter a JSON schema object or boolean.":"Enter a JSON schema object or boolean.","Enter an object containing named schemas.":"Enter an object containing named schemas.","The constant must match the field type.":"The constant must match the field type.","Change existing choices or defaults before changing the type.":"Change existing choices or defaults before changing the type.","Choices (one per line)":"Choices (one per line)","Item type":"Item type","Rename linked fields in JSON text.":"Rename linked fields in JSON text.","Additional rules are preserved in JSON text.":"Additional rules are preserved in JSON text.","Enter a field name.":"Enter a field name.","Enter a unique field name.":"Enter a unique field name.","A field with this name already exists.":"A field with this name already exists.","Each choice must match the field type.":"Each choice must match the field type.","Choices must be unique.":"Choices must be unique.","Enter a value greater than {minimum}.":"Enter a value greater than {minimum}.","Page type":"Page type","Markdown page":"Markdown page","No subformats available to add.":"No subformats available to add.","Add page":"Add page","Remove page":"Remove page","Rename page":"Rename page","Remove this page from the sidebar? The records will be kept.":"Remove this page from the sidebar? The records will be kept.",Parameters:"Parameters",Items:"Items","Remove parameter":"Remove parameter","Check the parameter value.":"Check the parameter value.","Download PDF":"Download PDF","Choose date":"Choose date","Previous month":"Previous month","Next month":"Next month",Today:"Today",Clear:"Clear","Enter a valid date (YYYY-MM-DD).":"Enter a valid date (YYYY-MM-DD).","Load preview":"Load preview","Preview unavailable":"Preview unavailable"};var fo={"Site title":"\u30B5\u30A4\u30C8\u540D","Edit site title":"\u30B5\u30A4\u30C8\u540D\u3092\u7DE8\u96C6","Editor font":"\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30D5\u30A9\u30F3\u30C8","Viewer font":"\u30D3\u30E5\u30FC\u30A2\u30FC\u306E\u30D5\u30A9\u30F3\u30C8","Default font":"\u6A19\u6E96\u30D5\u30A9\u30F3\u30C8","Loading fonts":"\u30D5\u30A9\u30F3\u30C8\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D","Font choice applies only to this tab":"\u9078\u629E\u306F\u3053\u306E\u30BF\u30D6\u3060\u3051\u306B\u53CD\u6620\u3055\u308C\u307E\u3059\u3002\u30D6\u30E9\u30A6\u30B6\u306B\u8A2D\u5B9A\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002","Invalid font file":"\u3053\u306E\u30D5\u30A9\u30F3\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30D6\u30E9\u30A6\u30B6\u304C\u5BFE\u5FDC\u3059\u308B\u6709\u52B9\u306A\u30D5\u30A9\u30F3\u30C8\u3092\u9078\u3093\u3067\u304F\u3060\u3055\u3044\u3002","Preview theme":"\u30D7\u30EC\u30D3\u30E5\u30FC\u306E\u914D\u8272","Editor theme":"\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u914D\u8272","Open link":"\u30EA\u30F3\u30AF\u3092\u958B\u304F","Copy link":"\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","Collapse preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u6298\u308A\u7573\u3080","Expand preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u5C55\u958B\u3059\u308B","Resize plugin card":"\u30D7\u30E9\u30B0\u30A4\u30F3\u30AB\u30FC\u30C9\u306E\u9AD8\u3055\u3092\u5909\u66F4","Open the local viewer to load plugin data":"\u30ED\u30FC\u30AB\u30EB\u30D3\u30E5\u30FC\u30A2\u30FC\u3067\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30C7\u30FC\u30BF\u3092\u53D6\u5F97\u3057\u3066\u304F\u3060\u3055\u3044","Load data":"\u30C7\u30FC\u30BF\u3092\u53D6\u5F97","Connect account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u63A5\u7D9A","Forget connection":"\u63A5\u7D9A\u60C5\u5831\u3092\u524A\u9664","Load data using your connected account":"\u63A5\u7D9A\u3057\u305F\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30C7\u30FC\u30BF\u3092\u53D6\u5F97\u3057\u307E\u3059","Loading plugin data":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30C7\u30FC\u30BF\u3092\u53D6\u5F97\u4E2D","Continue to service":"\u30B5\u30FC\u30D3\u30B9\u306E\u8A8D\u53EF\u753B\u9762\u3078","Connected as {name}":"\u63A5\u7D9A\u30E6\u30FC\u30B6\u30FC: {name}","Connection forgotten in dooc":"dooc \u5185\u306E\u63A5\u7D9A\u60C5\u5831\u3092\u524A\u9664\u3057\u307E\u3057\u305F","Connect this plugin again":"\u3053\u306E\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044","Plugin is not configured":"\u3053\u306E\u30D7\u30E9\u30B0\u30A4\u30F3\u306F\u672A\u8A2D\u5B9A\u3067\u3059","Plugin request failed":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u51E6\u7406\u306B\u5931\u6557\u3057\u307E\u3057\u305F","Plugin service request failed":"\u9023\u643A\u30B5\u30FC\u30D3\u30B9\u3078\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F","Access denied by the service":"\u30B5\u30FC\u30D3\u30B9\u3067\u30A2\u30AF\u30BB\u30B9\u304C\u62D2\u5426\u3055\u308C\u307E\u3057\u305F","Collapse code":"\u30B3\u30FC\u30C9\u3092\u6298\u308A\u7573\u3080","Expand code":"\u30B3\u30FC\u30C9\u3092\u5C55\u958B\u3059\u308B",Language:"\u7DE8\u96C6\u753B\u9762\u306E\u8A00\u8A9E",Save:"\u4FDD\u5B58","Save (Ctrl+S)":"\u4FDD\u5B58\uFF08Ctrl+S\uFF09","View settings":"\u8868\u793A\u8A2D\u5B9A","Auto save":"\u81EA\u52D5\u4FDD\u5B58","Wrap lines":"\u6298\u308A\u8FD4\u3059","Front-matter fields":"\u6587\u66F8\u306E\u5C5E\u6027\u3092\u8868\u793A",title:"\u30BF\u30A4\u30C8\u30EB",desc:"\u8AAC\u660E",lang:"\u6587\u66F8\u306E\u8A00\u8A9E","Remove icon":"\u30A2\u30A4\u30B3\u30F3\u3092\u524A\u9664",icon:"\u30A2\u30A4\u30B3\u30F3",rename:"\u540D\u524D\u3092\u5909\u66F4","Enter to save / Esc to cancel":"Enter\u3067\u4FDD\u5B58 / Esc\u3067\u30AD\u30E3\u30F3\u30BB\u30EB","Change doc id":"\u6587\u66F8ID\u3092\u5909\u66F4","Delete doc":"\u6587\u66F8\u3092\u524A\u9664","Add doc":"\u6587\u66F8\u3092\u8FFD\u52A0",Resources:"\u30EA\u30BD\u30FC\u30B9",markdown:"Markdown",figures:"\u56F3",html:"HTML",icons:"\u30A2\u30A4\u30B3\u30F3","Resize sidebar":"\u30B5\u30A4\u30C9\u30D0\u30FC\u306E\u5E45\u3092\u5909\u66F4","Resize document tree":"\u6587\u66F8\u30C4\u30EA\u30FC\u306E\u9AD8\u3055\u3092\u5909\u66F4","Resize editor":"\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5E45\u3092\u5909\u66F4","Close sidebar":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u9589\u3058\u308B","Open sidebar":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u958B\u304F",Create:"\u4F5C\u6210","Unsaved changes":"\u672A\u4FDD\u5B58\u306E\u5909\u66F4","Modified (waiting for auto-save)":"\u5909\u66F4\u3042\u308A\uFF08\u81EA\u52D5\u4FDD\u5B58\u5F85\u3061\uFF09","Enter to rename / Esc to cancel (file links follow)":"Enter\u3067\u540D\u524D\u3092\u5909\u66F4 / Esc\u3067\u30AD\u30E3\u30F3\u30BB\u30EB\uFF08\u6587\u66F8\u30EA\u30F3\u30AF\u3082\u66F4\u65B0\uFF09","Icon must be svg":"\u30A2\u30A4\u30B3\u30F3\u306B\u306FSVG\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044","Change site icon":"\u30B5\u30A4\u30C8\u30A2\u30A4\u30B3\u30F3\u3092\u5909\u66F4","Icon set (auto-padded to 1:1)":"\u30A2\u30A4\u30B3\u30F3\u3092\u8A2D\u5B9A\u3057\u307E\u3057\u305F\uFF08\u6B63\u65B9\u5F62\u306B\u8ABF\u6574\u6E08\u307F\uFF09","Icon removed":"\u30A2\u30A4\u30B3\u30F3\u3092\u524A\u9664\u3057\u307E\u3057\u305F","Only svg / png / webp / jpeg can be added":"\u8FFD\u52A0\u3067\u304D\u308B\u5F62\u5F0F\u306FSVG\u30FBPNG\u30FBWebP\u30FBJPEG\u3067\u3059","Updated externally (keeping unsaved changes)":"\u5916\u90E8\u3067\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F\uFF08\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u3092\u4FDD\u6301\uFF09","Changed externally \u2014 keeping your changes (you'll be asked again on save)":"\u5916\u90E8\u3067\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F\u3002\u7DE8\u96C6\u5185\u5BB9\u3092\u4FDD\u6301\u3057\u3066\u3044\u307E\u3059\uFF08\u4FDD\u5B58\u6642\u306B\u518D\u78BA\u8A8D\uFF09","You have unsaved changes. Discard them and leave?":"\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u304C\u3042\u308A\u307E\u3059\u3002\u7834\u68C4\u3057\u3066\u79FB\u52D5\u3057\u307E\u3059\u304B\uFF1F",Saved:"\u4FDD\u5B58\u6E08\u307F",Auto:"\u81EA\u52D5",Light:"\u30E9\u30A4\u30C8",Dark:"\u30C0\u30FC\u30AF",Theme:"\u30C6\u30FC\u30DE","Saved {time}":"\u4FDD\u5B58\u3057\u307E\u3057\u305F {time}","Saved (validation errors: {count})":"\u4FDD\u5B58\u3057\u307E\u3057\u305F\uFF08\u691C\u8A3C\u30A8\u30E9\u30FC: {count}\u4EF6\uFF09","Failed to save: {error}":"\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}",'Delete "{file}"? (this cannot be undone)':"\u300C{file}\u300D\u3068\u3059\u3079\u3066\u306E\u8A00\u8A9E\u7248\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F\uFF08\u5143\u306B\u623B\u305B\u307E\u305B\u3093\uFF09","Failed to delete: {error}":"\u524A\u9664\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Adding figures\u2026 ({count})":"\u56F3\u3092\u8FFD\u52A0\u4E2D\u2026\uFF08{count}\u4EF6\uFF09","Added figures: {names}":"\u56F3\u3092\u8FFD\u52A0\u3057\u307E\u3057\u305F: {names}","Failed to add figures: {error}":"\u56F3\u3092\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Failed to set icon: {error}":"\u30A2\u30A4\u30B3\u30F3\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Failed to update preview: {error}":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Failed to apply external changes: {error}":"\u5916\u90E8\u306E\u5909\u66F4\u3092\u53CD\u6620\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Can't rename: {error}":"\u540D\u524D\u3092\u5909\u66F4\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Applied external changes":"\u5916\u90E8\u306E\u5909\u66F4\u3092\u53CD\u6620\u3057\u307E\u3057\u305F",Contents:"\u76EE\u6B21","Copy code":"\u30B3\u30FC\u30C9\u3092\u30B3\u30D4\u30FC","External conflict":`\u3053\u306E\u6587\u66F8\u306F\u5916\u90E8\u3067\u66F4\u65B0\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5916\u90E8\u306E\u5909\u66F4\u3092\u53CD\u6620\u3057\u307E\u3059\u304B\uFF1F
7
+ Delete anyway? (links will be left dangling)`,heading:"heading",subheading:"subheading","code fence":"code fence","figure reference":"figure reference",Templates:"Templates",Figures:"Figures","Doc links":"Doc links",Terms:"Terms","Custom syntax":"Custom syntax",path:"path",size:"size",kind:"kind",syntax:"syntax",doc:"doc","used in":"used in",none:"none","Split view":"Split view","Change language":"Change language","Active pane":"Active pane","Activate pane":"Activate pane","Failed to load pane":"Failed to load pane","Close pane and discard its unsaved changes?":"Close pane and discard its unsaved changes?","Validate and apply":"Validate and apply","Auto validate":"Auto validate","Source mapping":"Source mapping","Validation pending":"Validation pending",Validating:"Validating","Validation passed":"Validation passed","Validation errors":"Validation errors",Saving:"Saving","Save failed":"Save failed","Expand section":"Expand section","Collapse section":"Collapse section",terms:"Terms","Edit text file":"Edit text file","Create file":"Create file","Reload file":"Reload file","Working\u2026":"Working\u2026","File not found \u2014 save to create it.":"File not found \u2014 save to create it.","Discard file edits and reload?":"Discard file edits and reload?","File changed externally. Reload it before saving.":"File changed externally. Reload it before saving.","Edits made while reloading were kept. Reload again when ready.":"Edits made while reloading were kept. Reload again when ready.","File not found":"File not found","File has not been loaded":"File has not been loaded","File could not be loaded":"File could not be loaded","View remote text file":"View remote text file","Remote files are read-only":"Remote files are read-only","Edits made while validating were kept. Validate again when ready.":"Edits made while validating were kept. Validate again when ready.","Updating preview":"Updating preview","Preview is up to date":"Preview is up to date","Preview could not be updated":"Preview could not be updated","Conflicting changes":"Conflicting changes","Use my edits":"Use my edits","Use external changes":"Use external changes","File was deleted":"File was deleted",Cancel:"Cancel","Search documents":"Search documents","No results":"No results","Searching\u2026":"Searching\u2026","Could not load search. Press Ctrl+F to retry.":"Could not load search. Press Ctrl+F to retry.","{count} results":"{count} results","Showing {shown} of {count} results":"Showing {shown} of {count} results","Add translation":"Add translation","Move search":"Move search","Resize search":"Resize search","Matches text":"Matches text","Matches file name":"Matches file name","Matches folder name":"Matches folder name","Close search":"Close search","Move search to sidebar":"Move search to sidebar","Float search":"Float search",Notice:"Notice",OK:"OK","Discard changes":"Discard changes","Copy section URL":"Copy section URL",Copied:"Copied","Could not copy URL":"Could not copy URL","Search languages":"Search languages","Remove translation":"Remove translation","Source language cannot be removed":"Source language cannot be removed","Enter to edit; Ctrl+Enter to add or remove translation":"Enter to edit; Ctrl+Enter to add or remove translation","Preview has not been updated":"Preview has not been updated",Table:"Table",Image:"Image",HTML:"HTML",Markdown:"Markdown",Code:"Code",Video:"Video",Loading:"Loading",Retry:"Retry",Reload:"Reload",Close:"Close","File preview":"File preview",Files:"Files","Search files":"Search files",Plugin:"Plugin","Default folder layout":"Default folder layout","Folder restructure":"Folder restructure",Move:"Move","Move up":"Move up","Move down":"Move down","Move to root":"Move to root",Name:"Name",Size:"Size",Select:"Select","Copy path":"Copy path","File path":"File path","File created":"File created","Copy failed":"Copy failed","Place new files in files/<extension>/":"Place new files in files/<extension>/","Document changed. Retry from the current block.":"Document changed. Retry from the current block.","Document changed. Insert the file from Files.":"Document changed. Insert the file from Files.","File name":"File name","Renamed to {filename}":"Renamed to {filename}","Enter a file name ending in .md":"Enter a file name ending in .md","Upload files":"Upload files","Uploading {count}/{total}":"Uploading {count}/{total}","Files uploaded":"Files uploaded","File exceeds 64 MiB":"File exceeds 64 MiB","Choose files inside the folder":"Choose files inside the folder","Click a column to sort; row numbers refer to the source":"Click a column to sort; row numbers refer to the source",Column:"Column","Resize table":"Resize table","Back to document":"Back to document","File details":"File details","Show Git changes":"Show Git changes","Resource views":"Resource views",Default:"Default","Set as default":"Set as default","Group by":"Group by","Sort by":"Sort by","Newest first":"Newest first","Oldest first":"Oldest first",Unassigned:"Unassigned",Records:"Records",Codeblocks:"Codeblocks",Format:"Format",URLs:"URLs","URL previews":"URL previews",Domain:"Domain",All:"All",references:"references","Search resources":"Search resources","Files with errors":"Files with errors","No matching resources":"No matching resources","Organize files":"Organize files","Auto-save paused":"Auto-save paused","Reload failed":"Reload failed","Waiting for auto-save":"Waiting for auto-save","Conflict unresolved. Auto-save is paused; your edits are kept.":"Conflict unresolved. Auto-save is paused; your edits are kept.","File not found \u2014 editing will create it automatically.":"File not found \u2014 editing will create it automatically.",Play:"Play",Pause:"Pause",Seek:"Seek",Mute:"Mute",Unmute:"Unmute",Volume:"Volume","Video settings":"Video settings","Playback speed":"Playback speed",Fullscreen:"Fullscreen","Video could not be played":"Video could not be played","Fullscreen is unavailable":"Fullscreen is unavailable","Some registered fonts could not be loaded":"Some registered fonts could not be loaded",Done:"Done","Git operation failed":"Git operation failed","Create pull request":"Create pull request","Base branch":"Base branch",Draft:"Draft","Open pull request":"Open pull request","Merge method":"Merge method","Merge pull request":"Merge pull request","Merge #{number} into {base} using {method}?":"Merge #{number} into {base} using {method}?","Reset edits":"Reset edits","Discard these pull request edits?":"Discard these pull request edits?",Branch:"Branch","Switch branch":"Switch branch","New branch":"New branch","Create branch":"Create branch","Commit {manifest} before creating a branch.":"Commit {manifest} before creating a branch.","This branch does not contain {manifest} at the same path.":"This branch does not contain {manifest} at the same path.","New branches start from the latest commit. Unsaved changes stay in the current workspace.":"New branches start from the latest commit. Unsaved changes stay in the current workspace.",Changes:"Changes","Git uses saved files.":"Git uses saved files.",Stage:"Stage",Unstage:"Unstage","Working tree clean":"Working tree clean","Commit message":"Commit message","Commit staged changes":"Commit staged changes",Fetch:"Fetch","Pull (fast-forward)":"Pull (fast-forward)",Push:"Push","Connect an origin provider from the viewer module to enable remote operations.":"Connect an origin provider from the viewer module to enable remote operations.","Pull requests":"Pull requests","No open pull requests":"No open pull requests",Description:"Description","Operation completed, but reload failed: {error}":"Operation completed, but reload failed: {error}","Stash is occupied. Commit the current changes before switching branches.":"Stash is occupied. Commit the current changes before switching branches.","Stash saved changes and switch to {branch}?":"Stash saved changes and switch to {branch}?","Stash and switch":"Stash and switch","Create the first commit to switch branches.":"Create the first commit to switch branches.","Stash \xB7 empty":"Stash \xB7 empty","Restore stash":"Restore stash","Stash changes":"Stash changes",Library:"Library",Subformats:"Subformats","Expand card":"Expand card","Collapse card":"Collapse card","View details":"View details","Click for details; double-click to edit":"Click for details; double-click to edit","No grouping":"No grouping",Ascending:"Ascending",Descending:"Descending","No subformats configured. Add subformats to dooc.yaml.":"No subformats configured. Add subformats to dooc.yaml.","Workspace tools":"Workspace tools","Git controls":"Git controls",Actions:"Actions",Updated:"Updated",Copy:"Copy",Edit:"Edit","Reload actions before saving again.":"Reload actions before saving again.","Saved, but refresh failed. Reload actions before saving again.":"Saved, but refresh failed. Reload actions before saving again.","Actions could not be loaded.":"Actions could not be loaded.","An open draft is no longer editable. Copy or cancel it before reloading.":"An open draft is no longer editable. Copy or cancel it before reloading.","Changed elsewhere. Your input is kept; edit again to apply it.":"Changed elsewhere. Your input is kept; edit again to apply it.",Plugins:"Plugins","Add plugins":"Add plugins","Plugins are saved in this browser. Run server plugins in a local dooc editor.":"Plugins are saved in this browser. Run server plugins in a local dooc editor.","Drag and drop here, or click to browse.":"Drag and drop here, or click to browse.","Invalid package":"Invalid package","Browser storage":"Browser storage",Enabled:"Enabled",Disabled:"Disabled",Enable:"Enable",Disable:"Disable","Delete plugin {name}?":"Delete plugin {name}?","Replace plugin {name}?":"Replace plugin {name}?","Discard plugin changes?":"Discard plugin changes?","Plugin file":"Plugin file","Apply changes":"Apply changes","Binary asset \u2014 replace it by importing a new ZIP.":"Binary asset \u2014 replace it by importing a new ZIP.","Choose a ZIP smaller than 16 MiB":"Choose a ZIP smaller than 16 MiB","Sign in":"Sign in","Sign out":"Sign out","Not signed in":"Not signed in","Continue login":"Continue login","Provided by viewer":"Provided by viewer",Added:"Added",Modified:"Modified",Relations:"Relations","Add subformat\u2026":"Add subformat\u2026",Delete:"Delete","Delete subformat {ext} and its sidebar page? Records and schema files will be kept.":"Delete subformat {ext} and its sidebar page? Records and schema files will be kept.","Subformat changed externally. Reload and try again.":"Subformat changed externally. Reload and try again.","Move or remove this subformat page's child pages before deleting it.":"Move or remove this subformat page's child pages before deleting it.","Add subformat":"Add subformat",Extension:"Extension","Storage format":"Storage format","Schema file (optional)":"Schema file (optional)","Create automatically":"Create automatically",Form:"Form","Enter a valid number.":"Enter a valid number.","Value editing mode":"Value editing mode","{format} text":"{format} text","Schema editing mode":"Schema editing mode","JSON text":"JSON text","Build kit":"Build kit","Field settings":"Field settings","Field name":"Field name","New field name":"New field name","New field type":"New field type","Remove field":"Remove field","Add field":"Add field",Required:"Required","Allow extra fields":"Allow extra fields","Schema settings":"Schema settings","Remove nested fields before changing the type.":"Remove nested fields before changing the type.","Any type":"Any type",'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.':'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.',"Enter at least one choice.":"Enter at least one choice.","Enter a non-empty JSON array of schemas.":"Enter a non-empty JSON array of schemas.","Enter a JSON schema object or boolean.":"Enter a JSON schema object or boolean.","Enter an object containing named schemas.":"Enter an object containing named schemas.","The constant must match the field type.":"The constant must match the field type.","Change existing choices or defaults before changing the type.":"Change existing choices or defaults before changing the type.","Choices (one per line)":"Choices (one per line)","Item type":"Item type","Rename linked fields in JSON text.":"Rename linked fields in JSON text.","Additional rules are preserved in JSON text.":"Additional rules are preserved in JSON text.","Enter a field name.":"Enter a field name.","Enter a unique field name.":"Enter a unique field name.","A field with this name already exists.":"A field with this name already exists.","Each choice must match the field type.":"Each choice must match the field type.","Choices must be unique.":"Choices must be unique.","Enter a value greater than {minimum}.":"Enter a value greater than {minimum}.","Page type":"Page type","Markdown page":"Markdown page","No subformats available to add.":"No subformats available to add.","Add page":"Add page","Remove page":"Remove page","Rename page":"Rename page","Remove this page from the sidebar? The records will be kept.":"Remove this page from the sidebar? The records will be kept.",Parameters:"Parameters",Items:"Items","Remove parameter":"Remove parameter","Check the parameter value.":"Check the parameter value.","Download PDF":"Download PDF","Choose date":"Choose date","Previous month":"Previous month","Next month":"Next month",Today:"Today",Clear:"Clear","Enter a valid date (YYYY-MM-DD).":"Enter a valid date (YYYY-MM-DD).","Load preview":"Load preview","Preview unavailable":"Preview unavailable",History:"History","Snapshot message":"Snapshot message",Restore:"Restore","No snapshots yet":"No snapshots yet","Save snapshot":"Save snapshot","Restore every file to this snapshot?":"Restore every file to this snapshot?","Your name":"Your name","Email (optional)":"Email (optional)","Shared workspace":"Shared workspace",Join:"Join"};var yo={"Site title":"\u30B5\u30A4\u30C8\u540D","Edit site title":"\u30B5\u30A4\u30C8\u540D\u3092\u7DE8\u96C6","Editor font":"\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30D5\u30A9\u30F3\u30C8","Viewer font":"\u30D3\u30E5\u30FC\u30A2\u30FC\u306E\u30D5\u30A9\u30F3\u30C8","Default font":"\u6A19\u6E96\u30D5\u30A9\u30F3\u30C8","Loading fonts":"\u30D5\u30A9\u30F3\u30C8\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D","Font choice applies only to this tab":"\u9078\u629E\u306F\u3053\u306E\u30BF\u30D6\u3060\u3051\u306B\u53CD\u6620\u3055\u308C\u307E\u3059\u3002\u30D6\u30E9\u30A6\u30B6\u306B\u8A2D\u5B9A\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002","Invalid font file":"\u3053\u306E\u30D5\u30A9\u30F3\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30D6\u30E9\u30A6\u30B6\u304C\u5BFE\u5FDC\u3059\u308B\u6709\u52B9\u306A\u30D5\u30A9\u30F3\u30C8\u3092\u9078\u3093\u3067\u304F\u3060\u3055\u3044\u3002","Preview theme":"\u30D7\u30EC\u30D3\u30E5\u30FC\u306E\u914D\u8272","Editor theme":"\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u914D\u8272","Open link":"\u30EA\u30F3\u30AF\u3092\u958B\u304F","Copy link":"\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","Collapse preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u6298\u308A\u7573\u3080","Expand preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u5C55\u958B\u3059\u308B","Resize plugin card":"\u30D7\u30E9\u30B0\u30A4\u30F3\u30AB\u30FC\u30C9\u306E\u9AD8\u3055\u3092\u5909\u66F4","Open the local viewer to load plugin data":"\u30ED\u30FC\u30AB\u30EB\u30D3\u30E5\u30FC\u30A2\u30FC\u3067\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30C7\u30FC\u30BF\u3092\u53D6\u5F97\u3057\u3066\u304F\u3060\u3055\u3044","Load data":"\u30C7\u30FC\u30BF\u3092\u53D6\u5F97","Connect account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u63A5\u7D9A","Forget connection":"\u63A5\u7D9A\u60C5\u5831\u3092\u524A\u9664","Load data using your connected account":"\u63A5\u7D9A\u3057\u305F\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30C7\u30FC\u30BF\u3092\u53D6\u5F97\u3057\u307E\u3059","Loading plugin data":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30C7\u30FC\u30BF\u3092\u53D6\u5F97\u4E2D","Continue to service":"\u30B5\u30FC\u30D3\u30B9\u306E\u8A8D\u53EF\u753B\u9762\u3078","Connected as {name}":"\u63A5\u7D9A\u30E6\u30FC\u30B6\u30FC: {name}","Connection forgotten in dooc":"dooc \u5185\u306E\u63A5\u7D9A\u60C5\u5831\u3092\u524A\u9664\u3057\u307E\u3057\u305F","Connect this plugin again":"\u3053\u306E\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044","Plugin is not configured":"\u3053\u306E\u30D7\u30E9\u30B0\u30A4\u30F3\u306F\u672A\u8A2D\u5B9A\u3067\u3059","Plugin request failed":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u51E6\u7406\u306B\u5931\u6557\u3057\u307E\u3057\u305F","Plugin service request failed":"\u9023\u643A\u30B5\u30FC\u30D3\u30B9\u3078\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F","Access denied by the service":"\u30B5\u30FC\u30D3\u30B9\u3067\u30A2\u30AF\u30BB\u30B9\u304C\u62D2\u5426\u3055\u308C\u307E\u3057\u305F","Collapse code":"\u30B3\u30FC\u30C9\u3092\u6298\u308A\u7573\u3080","Expand code":"\u30B3\u30FC\u30C9\u3092\u5C55\u958B\u3059\u308B",Language:"\u7DE8\u96C6\u753B\u9762\u306E\u8A00\u8A9E",Save:"\u4FDD\u5B58","Save (Ctrl+S)":"\u4FDD\u5B58\uFF08Ctrl+S\uFF09","View settings":"\u8868\u793A\u8A2D\u5B9A","Auto save":"\u81EA\u52D5\u4FDD\u5B58","Wrap lines":"\u6298\u308A\u8FD4\u3059","Front-matter fields":"\u6587\u66F8\u306E\u5C5E\u6027\u3092\u8868\u793A",title:"\u30BF\u30A4\u30C8\u30EB",desc:"\u8AAC\u660E",lang:"\u6587\u66F8\u306E\u8A00\u8A9E","Remove icon":"\u30A2\u30A4\u30B3\u30F3\u3092\u524A\u9664",icon:"\u30A2\u30A4\u30B3\u30F3",rename:"\u540D\u524D\u3092\u5909\u66F4","Enter to save / Esc to cancel":"Enter\u3067\u4FDD\u5B58 / Esc\u3067\u30AD\u30E3\u30F3\u30BB\u30EB","Change doc id":"\u6587\u66F8ID\u3092\u5909\u66F4","Delete doc":"\u6587\u66F8\u3092\u524A\u9664","Add doc":"\u6587\u66F8\u3092\u8FFD\u52A0",Resources:"\u30EA\u30BD\u30FC\u30B9",markdown:"Markdown",figures:"\u56F3",html:"HTML",icons:"\u30A2\u30A4\u30B3\u30F3","Resize sidebar":"\u30B5\u30A4\u30C9\u30D0\u30FC\u306E\u5E45\u3092\u5909\u66F4","Resize document tree":"\u6587\u66F8\u30C4\u30EA\u30FC\u306E\u9AD8\u3055\u3092\u5909\u66F4","Resize editor":"\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5E45\u3092\u5909\u66F4","Close sidebar":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u9589\u3058\u308B","Open sidebar":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u958B\u304F",Create:"\u4F5C\u6210","Unsaved changes":"\u672A\u4FDD\u5B58\u306E\u5909\u66F4","Modified (waiting for auto-save)":"\u5909\u66F4\u3042\u308A\uFF08\u81EA\u52D5\u4FDD\u5B58\u5F85\u3061\uFF09","Enter to rename / Esc to cancel (file links follow)":"Enter\u3067\u540D\u524D\u3092\u5909\u66F4 / Esc\u3067\u30AD\u30E3\u30F3\u30BB\u30EB\uFF08\u6587\u66F8\u30EA\u30F3\u30AF\u3082\u66F4\u65B0\uFF09","Icon must be svg":"\u30A2\u30A4\u30B3\u30F3\u306B\u306FSVG\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044","Change site icon":"\u30B5\u30A4\u30C8\u30A2\u30A4\u30B3\u30F3\u3092\u5909\u66F4","Icon set (auto-padded to 1:1)":"\u30A2\u30A4\u30B3\u30F3\u3092\u8A2D\u5B9A\u3057\u307E\u3057\u305F\uFF08\u6B63\u65B9\u5F62\u306B\u8ABF\u6574\u6E08\u307F\uFF09","Icon removed":"\u30A2\u30A4\u30B3\u30F3\u3092\u524A\u9664\u3057\u307E\u3057\u305F","Only svg / png / webp / jpeg can be added":"\u8FFD\u52A0\u3067\u304D\u308B\u5F62\u5F0F\u306FSVG\u30FBPNG\u30FBWebP\u30FBJPEG\u3067\u3059","Updated externally (keeping unsaved changes)":"\u5916\u90E8\u3067\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F\uFF08\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u3092\u4FDD\u6301\uFF09","Changed externally \u2014 keeping your changes (you'll be asked again on save)":"\u5916\u90E8\u3067\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F\u3002\u7DE8\u96C6\u5185\u5BB9\u3092\u4FDD\u6301\u3057\u3066\u3044\u307E\u3059\uFF08\u4FDD\u5B58\u6642\u306B\u518D\u78BA\u8A8D\uFF09","You have unsaved changes. Discard them and leave?":"\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u304C\u3042\u308A\u307E\u3059\u3002\u7834\u68C4\u3057\u3066\u79FB\u52D5\u3057\u307E\u3059\u304B\uFF1F",Saved:"\u4FDD\u5B58\u6E08\u307F",Auto:"\u81EA\u52D5",Light:"\u30E9\u30A4\u30C8",Dark:"\u30C0\u30FC\u30AF",Theme:"\u30C6\u30FC\u30DE","Saved {time}":"\u4FDD\u5B58\u3057\u307E\u3057\u305F {time}","Saved (validation errors: {count})":"\u4FDD\u5B58\u3057\u307E\u3057\u305F\uFF08\u691C\u8A3C\u30A8\u30E9\u30FC: {count}\u4EF6\uFF09","Failed to save: {error}":"\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}",'Delete "{file}"? (this cannot be undone)':"\u300C{file}\u300D\u3068\u3059\u3079\u3066\u306E\u8A00\u8A9E\u7248\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F\uFF08\u5143\u306B\u623B\u305B\u307E\u305B\u3093\uFF09","Failed to delete: {error}":"\u524A\u9664\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Adding figures\u2026 ({count})":"\u56F3\u3092\u8FFD\u52A0\u4E2D\u2026\uFF08{count}\u4EF6\uFF09","Added figures: {names}":"\u56F3\u3092\u8FFD\u52A0\u3057\u307E\u3057\u305F: {names}","Failed to add figures: {error}":"\u56F3\u3092\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Failed to set icon: {error}":"\u30A2\u30A4\u30B3\u30F3\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Failed to update preview: {error}":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Failed to apply external changes: {error}":"\u5916\u90E8\u306E\u5909\u66F4\u3092\u53CD\u6620\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Can't rename: {error}":"\u540D\u524D\u3092\u5909\u66F4\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {error}","Applied external changes":"\u5916\u90E8\u306E\u5909\u66F4\u3092\u53CD\u6620\u3057\u307E\u3057\u305F",Contents:"\u76EE\u6B21","Copy code":"\u30B3\u30FC\u30C9\u3092\u30B3\u30D4\u30FC","External conflict":`\u3053\u306E\u6587\u66F8\u306F\u5916\u90E8\u3067\u66F4\u65B0\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5916\u90E8\u306E\u5909\u66F4\u3092\u53CD\u6620\u3057\u307E\u3059\u304B\uFF1F
8
8
 
9
9
  OK\uFF1A\u672A\u4FDD\u5B58\u306E\u7DE8\u96C6\u3092\u7834\u68C4\u3057\u3066\u5916\u90E8\u306E\u5909\u66F4\u3092\u53CD\u6620
10
10
  \u30AD\u30E3\u30F3\u30BB\u30EB\uFF1A\u7DE8\u96C6\u5185\u5BB9\u3092\u4FDD\u6301\u3057\u3001\u4ECA\u56DE\u306E\u4FDD\u5B58\u3092\u4E2D\u6B62`,"Referenced documents: {list}":`\u6B21\u306E\u6587\u66F8\u304B\u3089\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059\uFF1A
11
11
  {list}
12
12
 
13
- \u524A\u9664\u3057\u307E\u3059\u304B\uFF1F\uFF08\u30EA\u30F3\u30AF\u304C\u5207\u308C\u307E\u3059\uFF09`,heading:"\u898B\u51FA\u3057",subheading:"\u5C0F\u898B\u51FA\u3057","code fence":"\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF","figure reference":"\u56F3\u306E\u53C2\u7167",Templates:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",Figures:"\u56F3","Doc links":"\u6587\u66F8\u30EA\u30F3\u30AF",Terms:"\u7528\u8A9E","Custom syntax":"\u62E1\u5F35\u8A18\u6CD5",path:"\u30D1\u30B9",size:"\u30B5\u30A4\u30BA",kind:"\u7A2E\u985E",syntax:"\u8A18\u6CD5",doc:"\u6587\u66F8","used in":"\u4F7F\u7528\u7B87\u6240",none:"\u306A\u3057","Split view":"2\u5206\u5272\u3092\u5207\u308A\u66FF\u3048","Change language":"\u8A00\u8A9E\u3092\u5909\u66F4","Active pane":"\u7DE8\u96C6\u4E2D\u306E\u30DA\u30A4\u30F3","Activate pane":"\u3053\u306E\u30DA\u30A4\u30F3\u3092\u7DE8\u96C6","Failed to load pane":"\u30DA\u30A4\u30F3\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F","Close pane and discard its unsaved changes?":"\u3082\u3046\u4E00\u65B9\u306E\u30DA\u30A4\u30F3\u306E\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u3092\u7834\u68C4\u3057\u3066\u9589\u3058\u307E\u3059\u304B\uFF1F","Validate and apply":"\u691C\u8A3C\u3057\u3066\u9069\u7528","Auto validate":"\u81EA\u52D5\u691C\u8A3C","Source mapping":"\u672C\u6587\u3068\u30BD\u30FC\u30B9\u306E\u5BFE\u5FDC\u3092\u8868\u793A","Validation pending":"\u672A\u9069\u7528\u306E\u5909\u66F4\u3042\u308A",Validating:"\u691C\u8A3C\u4E2D","Validation passed":"\u554F\u984C\u306A\u3057","Validation errors":"\u691C\u8A3C\u30A8\u30E9\u30FC",Saving:"\u4FDD\u5B58\u4E2D","Save failed":"\u4FDD\u5B58\u30A8\u30E9\u30FC","Expand section":"\u5C55\u958B","Collapse section":"\u6298\u308A\u7573\u3080",terms:"\u7528\u8A9E","Edit text file":"\u30C6\u30AD\u30B9\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u7DE8\u96C6","Create file":"\u30D5\u30A1\u30A4\u30EB\u5316","Reload file":"\u30D5\u30A1\u30A4\u30EB\u3092\u518D\u8AAD\u307F\u8FBC\u307F","Working\u2026":"\u51E6\u7406\u4E2D\u2026","File not found \u2014 save to create it.":"\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u4FDD\u5B58\u3059\u308B\u3068\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002","Discard file edits and reload?":"\u30D5\u30A1\u30A4\u30EB\u306E\u672A\u4FDD\u5B58\u306E\u7DE8\u96C6\u3092\u7834\u68C4\u3057\u3066\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u307E\u3059\u304B\uFF1F","File changed externally. Reload it before saving.":"\u30D5\u30A1\u30A4\u30EB\u304C\u5916\u90E8\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F\u3002\u4FDD\u5B58\u3059\u308B\u524D\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Edits made while reloading were kept. Reload again when ready.":"\u518D\u8AAD\u307F\u8FBC\u307F\u4E2D\u306E\u7DE8\u96C6\u306F\u4FDD\u6301\u3057\u307E\u3057\u305F\u3002\u6E96\u5099\u304C\u3067\u304D\u305F\u3089\u518D\u5EA6\u8AAD\u307F\u8FBC\u3093\u3067\u304F\u3060\u3055\u3044\u3002","File not found":"\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","File has not been loaded":"\u30D5\u30A1\u30A4\u30EB\u306F\u307E\u3060\u8AAD\u307F\u8FBC\u307E\u308C\u3066\u3044\u307E\u305B\u3093","File could not be loaded":"\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093","View remote text file":"\u53C2\u7167\u30D5\u30A1\u30A4\u30EB\u3092\u8868\u793A","Remote files are read-only":"URL\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u3067\u3059","Edits made while validating were kept. Validate again when ready.":"\u6574\u5F62\u4E2D\u306E\u7DE8\u96C6\u3092\u4FDD\u6301\u3057\u307E\u3057\u305F\u3002\u6E96\u5099\u304C\u3067\u304D\u305F\u3089\u518D\u5EA6\u6574\u5F62\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Updating preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u66F4\u65B0\u4E2D","Preview is up to date":"\u30D7\u30EC\u30D3\u30E5\u30FC\u306F\u6B63\u5E38\u3067\u3059","Preview could not be updated":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","Conflicting changes":"\u5909\u66F4\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059","Use my edits":"\u81EA\u5206\u306E\u7DE8\u96C6\u3092\u4F7F\u3046","Use external changes":"\u5916\u90E8\u306E\u5909\u66F4\u3092\u4F7F\u3046","File was deleted":"\u30D5\u30A1\u30A4\u30EB\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F",Cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB","Search documents":"\u6587\u66F8\u3092\u691C\u7D22","No results":"\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F","Searching\u2026":"\u691C\u7D22\u4E2D\u2026","Could not load search. Press Ctrl+F to retry.":"\u691C\u7D22\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002Ctrl+F \u3067\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002","{count} results":"{count} \u4EF6","Showing {shown} of {count} results":"{count} \u4EF6\u4E2D {shown} \u4EF6\u3092\u8868\u793A","Add translation":"\u7FFB\u8A33\u7528\u306E\u6587\u66F8\u3092\u8FFD\u52A0","Move search":"\u691C\u7D22\u7A93\u3092\u79FB\u52D5","Resize search":"\u691C\u7D22\u7A93\u306E\u30B5\u30A4\u30BA\u3092\u5909\u66F4","Matches text":"\u672C\u6587\u306B\u4E00\u81F4","Matches file name":"\u30D5\u30A1\u30A4\u30EB\u540D\u306B\u4E00\u81F4","Matches folder name":"\u30D5\u30A9\u30EB\u30C0\u30FC\u540D\u306B\u4E00\u81F4","Close search":"\u691C\u7D22\u7A93\u3092\u9589\u3058\u308B","Move search to sidebar":"\u691C\u7D22\u7A93\u3092\u30B5\u30A4\u30C9\u30D0\u30FC\u306B\u7F6E\u304F","Float search":"\u691C\u7D22\u7A93\u3092\u30D5\u30ED\u30FC\u30C8\u306B\u3059\u308B",Notice:"\u304A\u77E5\u3089\u305B",OK:"\u9589\u3058\u308B","Discard changes":"\u5909\u66F4\u3092\u7834\u68C4","Copy section URL":"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306EURL\u3092\u30B3\u30D4\u30FC",Copied:"\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","Could not copy URL":"URL\u3092\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","Search languages":"\u8A00\u8A9E\u3092\u691C\u7D22","Remove translation":"\u7FFB\u8A33\u3092\u524A\u9664","Source language cannot be removed":"\u5143\u306E\u8A00\u8A9E\u306F\u524A\u9664\u3067\u304D\u307E\u305B\u3093","Enter to edit; Ctrl+Enter to add or remove translation":"Enter\u3067\u7DE8\u96C6\u3001Ctrl+Enter\u3067\u7FFB\u8A33\u3092\u8FFD\u52A0\u30FB\u524A\u9664","Preview has not been updated":"\u30D7\u30EC\u30D3\u30E5\u30FC\u306F\u307E\u3060\u66F4\u65B0\u3055\u308C\u3066\u3044\u307E\u305B\u3093",Table:"\u8868",Image:"\u753B\u50CF",HTML:"HTML",Markdown:"Markdown",Code:"\u30B3\u30FC\u30C9",Video:"\u52D5\u753B",Loading:"\u8AAD\u8FBC\u4E2D",Retry:"\u518D\u8A66\u884C",Reload:"\u518D\u8AAD\u8FBC",Close:"\u9589\u3058\u308B","File preview":"\u30D5\u30A1\u30A4\u30EB\u30D7\u30EC\u30D3\u30E5\u30FC",Files:"\u30D5\u30A1\u30A4\u30EB","Search files":"\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22",Plugin:"\u62E1\u5F35\u5B50","Default folder layout":"\u65E2\u5B9A\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u914D\u7F6E","Folder restructure":"\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u6574\u7406",Move:"\u79FB\u52D5","Move up":"\u4E0A\u3078\u79FB\u52D5","Move down":"\u4E0B\u3078\u79FB\u52D5","Move to root":"\u30EB\u30FC\u30C8\u3078\u79FB\u52D5",Name:"\u540D\u524D",Size:"\u30B5\u30A4\u30BA",Select:"\u9078\u629E","Copy path":"\u30D1\u30B9\u3092\u30B3\u30D4\u30FC","File path":"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9","File created":"\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F","Copy failed":"\u30B3\u30D4\u30FC\u5931\u6557","Place new files in files/<extension>/":"\u65B0\u898F\u30D5\u30A1\u30A4\u30EB\u3092 files/<\u62E1\u5F35\u5B50>/ \u306B\u914D\u7F6E\u3057\u307E\u3059","Document changed. Retry from the current block.":"\u672C\u6587\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u73FE\u5728\u306E\u30D6\u30ED\u30C3\u30AF\u304B\u3089\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Document changed. Insert the file from Files.":"\u672C\u6587\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002Files\u304B\u3089\u53C2\u7167\u3092\u633F\u5165\u3057\u3066\u304F\u3060\u3055\u3044\u3002","File name":"\u30D5\u30A1\u30A4\u30EB\u540D","Renamed to {filename}":"{filename} \u306B\u5909\u66F4\u3057\u307E\u3057\u305F","Enter a file name ending in .md":".md \u3067\u7D42\u308F\u308B\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044","Upload files":"\u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0","Uploading {count}/{total}":"\u8FFD\u52A0\u4E2D {count}/{total}","Files uploaded":"\u8FFD\u52A0\u6E08\u307F","File exceeds 64 MiB":"\u30D5\u30A1\u30A4\u30EB\u306E\u4E0A\u9650\u306F64 MiB\u3067\u3059","Choose files inside the folder":"\u30D5\u30A9\u30EB\u30C0\u5185\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044","Click a column to sort; row numbers refer to the source":"\u5217\u540D\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u4E26\u3079\u66FF\u3048\u3002\u884C\u756A\u53F7\u306F\u5143\u30C7\u30FC\u30BF\u306E\u884C\u3067\u3059",Column:"\u5217","Resize table":"\u8868\u306E\u9AD8\u3055\u3092\u5909\u66F4","Back to document":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u623B\u308B","File details":"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831","Show Git changes":"Git\u5DEE\u5206\u3092\u8868\u793A","Resource views":"\u30EA\u30BD\u30FC\u30B9\u306E\u8868\u793A",Default:"\u65E2\u5B9A\u5024","Set as default":"\u65E2\u5B9A\u5024\u306B\u3059\u308B","Group by":"\u30B0\u30EB\u30FC\u30D7\u5316","Sort by":"\u4E26\u3079\u66FF\u3048","Newest first":"\u65B0\u3057\u3044\u9806","Oldest first":"\u53E4\u3044\u9806",Unassigned:"\u672A\u8A2D\u5B9A",Records:"\u30EC\u30B3\u30FC\u30C9",Codeblocks:"\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF",Format:"\u5F62\u5F0F",URLs:"URL","URL previews":"URL\u30D7\u30EC\u30D3\u30E5\u30FC",Domain:"\u30C9\u30E1\u30A4\u30F3",All:"\u3059\u3079\u3066",references:"\u304B\u6240\u3067\u4F7F\u7528","Search resources":"\u30EA\u30BD\u30FC\u30B9\u3092\u691C\u7D22","Files with errors":"\u8AAD\u307F\u53D6\u308A\u30FB\u89E3\u6790\u30A8\u30E9\u30FC","No matching resources":"\u8A72\u5F53\u3059\u308B\u30EA\u30BD\u30FC\u30B9\u306F\u3042\u308A\u307E\u305B\u3093","Organize files":"\u30D5\u30A1\u30A4\u30EB\u3092\u6574\u7406","Auto-save paused":"\u81EA\u52D5\u4FDD\u5B58\u3092\u505C\u6B62\u4E2D","Reload failed":"\u518D\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557","Waiting for auto-save":"\u81EA\u52D5\u4FDD\u5B58\u3092\u5F85\u6A5F\u4E2D","Conflict unresolved. Auto-save is paused; your edits are kept.":"\u7AF6\u5408\u304C\u672A\u89E3\u6C7A\u306E\u305F\u3081\u81EA\u52D5\u4FDD\u5B58\u3092\u505C\u6B62\u3057\u3066\u3044\u307E\u3059\u3002\u7DE8\u96C6\u5185\u5BB9\u306F\u4FDD\u6301\u3055\u308C\u3066\u3044\u307E\u3059\u3002","File not found \u2014 editing will create it automatically.":"\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u7DE8\u96C6\u3059\u308B\u3068\u81EA\u52D5\u7684\u306B\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002",Play:"\u518D\u751F",Pause:"\u4E00\u6642\u505C\u6B62",Seek:"\u518D\u751F\u4F4D\u7F6E",Mute:"\u30DF\u30E5\u30FC\u30C8",Unmute:"\u30DF\u30E5\u30FC\u30C8\u3092\u89E3\u9664",Volume:"\u97F3\u91CF","Video settings":"\u52D5\u753B\u306E\u8A2D\u5B9A","Playback speed":"\u518D\u751F\u901F\u5EA6",Fullscreen:"\u5168\u753B\u9762\u8868\u793A","Video could not be played":"\u52D5\u753B\u3092\u518D\u751F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","Fullscreen is unavailable":"\u5168\u753B\u9762\u8868\u793A\u3092\u5229\u7528\u3067\u304D\u307E\u305B\u3093","Some registered fonts could not be loaded":"\u4E00\u90E8\u306E\u767B\u9332\u6E08\u307F\u30D5\u30A9\u30F3\u30C8\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",Done:"\u5B8C\u4E86","Git operation failed":"Git\u64CD\u4F5C\u306B\u5931\u6557\u3057\u307E\u3057\u305F","Create pull request":"PR\u3092\u4F5C\u6210","Base branch":"\u5BFE\u8C61\u30D6\u30E9\u30F3\u30C1",Draft:"\u30C9\u30E9\u30D5\u30C8","Open pull request":"PR\u3092\u958B\u304F","Merge method":"\u30DE\u30FC\u30B8\u65B9\u5F0F","Merge pull request":"PR\u3092\u30DE\u30FC\u30B8","Merge #{number} into {base} using {method}?":"PR #{number} \u3092 {method} \u65B9\u5F0F\u3067 {base} \u306B\u30DE\u30FC\u30B8\u3057\u307E\u3059\u304B\uFF1F","Reset edits":"\u7DE8\u96C6\u3092\u30EA\u30BB\u30C3\u30C8","Discard these pull request edits?":"\u3053\u306EPR\u306E\u672A\u4FDD\u5B58\u306E\u7DE8\u96C6\u3092\u7834\u68C4\u3057\u307E\u3059\u304B\uFF1F",Branch:"\u30D6\u30E9\u30F3\u30C1","Switch branch":"\u5207\u308A\u66FF\u3048","New branch":"\u65B0\u3057\u3044\u30D6\u30E9\u30F3\u30C1","Create branch":"\u30D6\u30E9\u30F3\u30C1\u3092\u4F5C\u6210",Changes:"\u5909\u66F4","Git uses saved files.":"\u4FDD\u5B58\u6E08\u307F\u30D5\u30A1\u30A4\u30EB\u306E\u5909\u66F4\u3092\u8868\u793A\u3057\u3066\u3044\u307E\u3059\u3002",Stage:"\u30B9\u30C6\u30FC\u30B8",Unstage:"\u30B9\u30C6\u30FC\u30B8\u3092\u89E3\u9664","Working tree clean":"\u672A\u30B3\u30DF\u30C3\u30C8\u306E\u5909\u66F4\u306F\u3042\u308A\u307E\u305B\u3093","Commit message":"\u30B3\u30DF\u30C3\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8","Commit staged changes":"\u30B9\u30C6\u30FC\u30B8\u6E08\u307F\u306E\u5909\u66F4\u3092\u30B3\u30DF\u30C3\u30C8",Fetch:"\u53D6\u5F97","Pull (fast-forward)":"\u53D6\u308A\u8FBC\u3080 (fast-forward)",Push:"Push","Connect an origin provider from the viewer module to enable remote operations.":"\u30EA\u30E2\u30FC\u30C8\u64CD\u4F5C\u306B\u306F\u3001\u5916\u90E8viewer\u30E2\u30B8\u30E5\u30FC\u30EB\u304B\u3089origin\u3092\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Pull requests":"\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8","No open pull requests":"\u30AA\u30FC\u30D7\u30F3\u306APR\u306F\u3042\u308A\u307E\u305B\u3093",Description:"\u8AAC\u660E","Operation completed, but reload failed: {error}":"\u64CD\u4F5C\u306F\u5B8C\u4E86\u3057\u307E\u3057\u305F\u304C\u3001\u518D\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {error}","Stash is occupied. Commit the current changes before switching branches.":"stash\u306F\u4F7F\u7528\u4E2D\u3067\u3059\u3002\u73FE\u5728\u306E\u5909\u66F4\u3092\u30B3\u30DF\u30C3\u30C8\u3057\u3066\u304B\u3089\u30D6\u30E9\u30F3\u30C1\u3092\u5207\u308A\u66FF\u3048\u3066\u304F\u3060\u3055\u3044\u3002","Stash saved changes and switch to {branch}?":"\u4FDD\u5B58\u6E08\u307F\u30D5\u30A1\u30A4\u30EB\u306E\u5909\u66F4\u3092stash\u3078\u9000\u907F\u3057\u3066\u3001{branch} \u306B\u5207\u308A\u66FF\u3048\u307E\u3059\u304B\uFF1F","Stash and switch":"\u9000\u907F\u3057\u3066\u5207\u308A\u66FF\u3048","Create the first commit to switch branches.":"\u6700\u521D\u306E\u30B3\u30DF\u30C3\u30C8\u5F8C\u306B\u30D6\u30E9\u30F3\u30C1\u3092\u5207\u308A\u66FF\u3048\u3089\u308C\u307E\u3059\u3002","Stash \xB7 empty":"Stash \xB7 \u7A7A","Restore stash":"stash\u3092\u5FA9\u5143","Stash changes":"\u5909\u66F4\u3092stash\u3078\u9000\u907F",Statics:"Statics",Subformats:"Subformats","Expand card":"\u30AB\u30FC\u30C9\u3092\u5C55\u958B","Collapse card":"\u30AB\u30FC\u30C9\u3092\u6298\u308A\u305F\u305F\u3080","View details":"\u8A73\u7D30\u3092\u8868\u793A","Click for details; double-click to edit":"\u30AF\u30EA\u30C3\u30AF\u3067\u8A73\u7D30\u3001\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u3067\u7DE8\u96C6","No grouping":"\u30B0\u30EB\u30FC\u30D7\u5316\u306A\u3057",Ascending:"\u6607\u9806",Descending:"\u964D\u9806","No subformats configured. Add subformats to dooc.yaml.":"subformat \u304C\u672A\u8A2D\u5B9A\u3067\u3059\u3002dooc.yaml \u306B subformats \u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Workspace tools":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u64CD\u4F5C","Git controls":"Git\u64CD\u4F5C",Actions:"\u64CD\u4F5C",Updated:"\u66F4\u65B0\u3057\u307E\u3057\u305F",Copy:"\u30B3\u30D4\u30FC",Edit:"\u7DE8\u96C6","Reload actions before saving again.":"\u518D\u4FDD\u5B58\u3059\u308B\u524D\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Saved, but refresh failed. Reload actions before saving again.":"\u4FDD\u5B58\u306F\u5B8C\u4E86\u3057\u307E\u3057\u305F\u304C\u3001\u518D\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u4FDD\u5B58\u3059\u308B\u524D\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Actions could not be loaded.":"\u64CD\u4F5C\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002","An open draft is no longer editable. Copy or cancel it before reloading.":"\u7DE8\u96C6\u4E2D\u306E\u9805\u76EE\u3092\u66F4\u65B0\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u518D\u8AAD\u307F\u8FBC\u307F\u306E\u524D\u306B\u5165\u529B\u3092\u30B3\u30D4\u30FC\u3059\u308B\u304B\u3001\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Changed elsewhere. Your input is kept; edit again to apply it.":"\u5916\u90E8\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F\u3002\u5165\u529B\u306F\u4FDD\u6301\u3057\u3066\u3044\u307E\u3059\u3002\u518D\u5EA6\u7DE8\u96C6\u3059\u308B\u3068\u53CD\u6620\u3057\u307E\u3059\u3002",Plugins:"Plugins","Add plugins":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u8FFD\u52A0","Plugins are saved in this browser. Run server plugins in a local dooc editor.":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306F\u3053\u306E\u30D6\u30E9\u30A6\u30B6\u30FC\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002\u30B5\u30FC\u30D0\u30FC\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u5B9F\u884C\u306B\u306F\u30ED\u30FC\u30AB\u30EB\u306E dooc \u3092\u4F7F\u3044\u307E\u3059\u3002","Drag and drop here, or click to browse.":"\u3053\u3053\u306B\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7\u3001\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9078\u629E","Invalid package":"\u7121\u52B9\u306A\u30D1\u30C3\u30B1\u30FC\u30B8","Browser storage":"\u30D6\u30E9\u30A6\u30B6\u30FC\u306B\u4FDD\u5B58",Enabled:"\u6709\u52B9",Disabled:"\u7121\u52B9",Enable:"\u6709\u52B9\u306B\u3059\u308B",Disable:"\u7121\u52B9\u306B\u3059\u308B","Delete plugin {name}?":"\u30D7\u30E9\u30B0\u30A4\u30F3\u300C{name}\u300D\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F","Replace plugin {name}?":"\u30D7\u30E9\u30B0\u30A4\u30F3\u300C{name}\u300D\u3092\u7F6E\u304D\u63DB\u3048\u307E\u3059\u304B\uFF1F","Discard plugin changes?":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u672A\u9069\u7528\u306E\u5909\u66F4\u3092\u7834\u68C4\u3057\u307E\u3059\u304B\uFF1F","Plugin file":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30D5\u30A1\u30A4\u30EB","Apply changes":"\u5909\u66F4\u3092\u9069\u7528","Binary asset \u2014 replace it by importing a new ZIP.":"\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002\u65B0\u3057\u3044 ZIP \u3092\u8AAD\u307F\u8FBC\u3080\u3068\u7F6E\u304D\u63DB\u3048\u3089\u308C\u307E\u3059\u3002","Choose a ZIP smaller than 16 MiB":"16 MiB \u4EE5\u4E0B\u306E ZIP \u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044","Sign in":"\u30ED\u30B0\u30A4\u30F3","Sign out":"\u30ED\u30B0\u30A2\u30A6\u30C8","Not signed in":"\u672A\u30ED\u30B0\u30A4\u30F3","Continue login":"\u30ED\u30B0\u30A4\u30F3\u3092\u7D9A\u3051\u308B","Provided by viewer":"\u958B\u767A\u7528\u30D7\u30E9\u30B0\u30A4\u30F3",Added:"\u65B0\u898F",Modified:"\u5909\u66F4","Add subformat\u2026":"subformat\u3092\u8FFD\u52A0\u2026",Delete:"\u524A\u9664","Delete subformat {ext} and its sidebar page? Records and schema files will be kept.":"subformat {ext} \u3068\u30B5\u30A4\u30C9\u30D0\u30FC\u306E\u30DA\u30FC\u30B8\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F \u30EC\u30B3\u30FC\u30C9\u3068\u30B9\u30AD\u30FC\u30DE\u30D5\u30A1\u30A4\u30EB\u306F\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002","Subformat changed externally. Reload and try again.":"subformat\u304C\u5916\u90E8\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F\u3002\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Move or remove this subformat page's child pages before deleting it.":"\u524A\u9664\u3059\u308B\u524D\u306B\u3001\u3053\u306Esubformat\u30DA\u30FC\u30B8\u306E\u5B50\u30DA\u30FC\u30B8\u3092\u79FB\u52D5\u307E\u305F\u306F\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Add subformat":"subformat\u3092\u8FFD\u52A0",Extension:"\u62E1\u5F35\u5B50","Storage format":"\u4FDD\u5B58\u5F62\u5F0F","Schema file (optional)":"\u30B9\u30AD\u30FC\u30DE\u30D5\u30A1\u30A4\u30EB\uFF08\u4EFB\u610F\uFF09","Create automatically":"\u81EA\u52D5\u4F5C\u6210",Form:"\u30D5\u30A9\u30FC\u30E0","Enter a valid number.":"\u6709\u52B9\u306A\u6570\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Value editing mode":"\u5024\u306E\u7DE8\u96C6\u30E2\u30FC\u30C9","{format} text":"{format}\u30C6\u30AD\u30B9\u30C8","Schema editing mode":"\u30B9\u30AD\u30FC\u30DE\u7DE8\u96C6\u30E2\u30FC\u30C9","JSON text":"JSON text","Build kit":"Build kit","Field settings":"\u30D5\u30A3\u30FC\u30EB\u30C9\u8A2D\u5B9A","Field name":"\u30D5\u30A3\u30FC\u30EB\u30C9\u540D","New field name":"\u65B0\u3057\u3044\u30D5\u30A3\u30FC\u30EB\u30C9\u540D","New field type":"\u65B0\u3057\u3044\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u578B","Remove field":"\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u524A\u9664","Add field":"\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8FFD\u52A0",Required:"\u5FC5\u9808","Allow extra fields":"\u672A\u5B9A\u7FA9\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8A31\u53EF","Schema settings":"\u30B9\u30AD\u30FC\u30DE\u5168\u4F53\u306E\u8A2D\u5B9A","Remove nested fields before changing the type.":"\u578B\u3092\u5909\u3048\u308B\u524D\u306B\u5165\u308C\u5B50\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Any type":"\u4EFB\u610F\u306E\u578B",'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.':'\u9078\u629E\u80A2\u306F1\u884C\u306B1\u3064\u3002\u7A7A\u6587\u5B57\u306F ""\u3001\u6539\u884C\u5165\u308A\u306F "a\\nb"\u3001\u305D\u306E\u4ED6\u306E\u578B\u306FJSON\u3067\u5165\u529B\u3057\u307E\u3059\u3002',"Enter at least one choice.":"\u9078\u629E\u80A2\u30921\u3064\u4EE5\u4E0A\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter a non-empty JSON array of schemas.":"\u30B9\u30AD\u30FC\u30DE\u30921\u3064\u4EE5\u4E0A\u542B\u3080JSON\u914D\u5217\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter a JSON schema object or boolean.":"JSON Schema\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u307E\u305F\u306F\u771F\u507D\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter an object containing named schemas.":"\u540D\u524D\u4ED8\u304D\u30B9\u30AD\u30FC\u30DE\u3092\u542B\u3080\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","The constant must match the field type.":"\u56FA\u5B9A\u5024\u3092\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u578B\u306B\u5408\u308F\u305B\u3066\u304F\u3060\u3055\u3044\u3002","Change existing choices or defaults before changing the type.":"\u578B\u3092\u5909\u3048\u308B\u524D\u306B\u65E2\u5B58\u306E\u9078\u629E\u80A2\u3084\u65E2\u5B9A\u5024\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Choices (one per line)":"\u9078\u629E\u80A2\uFF081\u884C\u306B1\u3064\uFF09","Item type":"\u914D\u5217\u8981\u7D20\u306E\u578B","Rename linked fields in JSON text.":"\u53C2\u7167\u3055\u308C\u308B\u30D5\u30A3\u30FC\u30EB\u30C9\u540D\u306FJSON text\u3067\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Additional rules are preserved in JSON text.":"\u305D\u306E\u4ED6\u306E\u30EB\u30FC\u30EB\u306FJSON text\u306B\u4FDD\u6301\u3055\u308C\u3066\u3044\u307E\u3059\u3002","Enter a field name.":"\u30D5\u30A3\u30FC\u30EB\u30C9\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter a unique field name.":"\u91CD\u8907\u3057\u306A\u3044\u30D5\u30A3\u30FC\u30EB\u30C9\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","A field with this name already exists.":"\u540C\u3058\u540D\u524D\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u65E2\u306B\u3042\u308A\u307E\u3059\u3002","Each choice must match the field type.":"\u9078\u629E\u80A2\u306E\u5024\u3092\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u578B\u306B\u5408\u308F\u305B\u3066\u304F\u3060\u3055\u3044\u3002","Choices must be unique.":"\u9078\u629E\u80A2\u3092\u91CD\u8907\u3055\u305B\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","Enter a value greater than {minimum}.":"{minimum}\u3088\u308A\u5927\u304D\u3044\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Page type":"\u30DA\u30FC\u30B8\u306E\u7A2E\u985E","Markdown page":"Markdown \u30DA\u30FC\u30B8","No subformats available to add.":"\u8FFD\u52A0\u3067\u304D\u308B subformat \u306F\u3042\u308A\u307E\u305B\u3093\u3002","Add page":"\u30DA\u30FC\u30B8\u3092\u8FFD\u52A0","Remove page":"\u30DA\u30FC\u30B8\u3092\u524A\u9664","Rename page":"\u30DA\u30FC\u30B8\u540D\u3092\u5909\u66F4","Remove this page from the sidebar? The records will be kept.":"\u30B5\u30A4\u30C9\u30D0\u30FC\u304B\u3089\u3053\u306E\u30DA\u30FC\u30B8\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F \u30EC\u30B3\u30FC\u30C9\u306F\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002",Parameters:"\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",Items:"\u914D\u5217\u8981\u7D20","Remove parameter":"\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u524A\u9664","Check the parameter value.":"\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5024\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Download PDF":"PDF\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9","Choose date":"\u65E5\u4ED8\u3092\u9078\u629E","Previous month":"\u524D\u306E\u6708","Next month":"\u6B21\u306E\u6708",Today:"\u4ECA\u65E5",Clear:"\u30AF\u30EA\u30A2","Enter a valid date (YYYY-MM-DD).":"\u6709\u52B9\u306A\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\uFF08YYYY-MM-DD\uFF09\u3002","Load preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8AAD\u307F\u8FBC\u3080","Preview unavailable":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093"};var po={"Site title":"\u7AD9\u70B9\u540D\u79F0","Edit site title":"\u7F16\u8F91\u7AD9\u70B9\u540D\u79F0","Editor font":"\u7F16\u8F91\u5668\u5B57\u4F53","Viewer font":"\u67E5\u770B\u5668\u5B57\u4F53","Default font":"\u9ED8\u8BA4\u5B57\u4F53","Loading fonts":"\u6B63\u5728\u52A0\u8F7D\u5B57\u4F53","Font choice applies only to this tab":"\u9009\u62E9\u4EC5\u5E94\u7528\u4E8E\u6B64\u6807\u7B7E\u9875\uFF0C\u65E0\u6CD5\u4FDD\u5B58\u5230\u6D4F\u89C8\u5668\u3002","Invalid font file":"\u65E0\u6CD5\u52A0\u8F7D\u6B64\u5B57\u4F53\u6587\u4EF6\u3002\u8BF7\u9009\u62E9\u6D4F\u89C8\u5668\u652F\u6301\u7684\u6709\u6548\u5B57\u4F53\u3002","Preview theme":"\u9884\u89C8\u914D\u8272","Editor theme":"\u7F16\u8F91\u5668\u914D\u8272","Open link":"\u6253\u5F00\u94FE\u63A5","Copy link":"\u590D\u5236\u94FE\u63A5","Collapse preview":"\u6298\u53E0\u9884\u89C8","Expand preview":"\u5C55\u5F00\u9884\u89C8","Resize plugin card":"\u8C03\u6574\u63D2\u4EF6\u5361\u7247\u9AD8\u5EA6","Open the local viewer to load plugin data":"\u8BF7\u5728\u672C\u5730\u67E5\u770B\u5668\u4E2D\u52A0\u8F7D\u63D2\u4EF6\u6570\u636E","Load data":"\u52A0\u8F7D\u6570\u636E","Connect account":"\u8FDE\u63A5\u8D26\u53F7","Forget connection":"\u6E05\u9664\u8FDE\u63A5","Load data using your connected account":"\u4F7F\u7528\u5DF2\u8FDE\u63A5\u7684\u8D26\u53F7\u52A0\u8F7D\u6570\u636E","Loading plugin data":"\u6B63\u5728\u52A0\u8F7D\u63D2\u4EF6\u6570\u636E","Continue to service":"\u524D\u5F80\u670D\u52A1\u6388\u6743","Connected as {name}":"\u5DF2\u8FDE\u63A5\u4E3A {name}","Connection forgotten in dooc":"\u5DF2\u6E05\u9664 dooc \u4E2D\u7684\u8FDE\u63A5","Connect this plugin again":"\u8BF7\u91CD\u65B0\u8FDE\u63A5\u6B64\u63D2\u4EF6","Plugin is not configured":"\u5C1A\u672A\u914D\u7F6E\u6B64\u63D2\u4EF6","Plugin request failed":"\u63D2\u4EF6\u8BF7\u6C42\u5931\u8D25","Plugin service request failed":"\u670D\u52A1\u8BF7\u6C42\u5931\u8D25","Access denied by the service":"\u670D\u52A1\u62D2\u7EDD\u4E86\u8BBF\u95EE","Collapse code":"\u6298\u53E0\u4EE3\u7801","Expand code":"\u5C55\u5F00\u4EE3\u7801",Language:"\u7F16\u8F91\u5668\u8BED\u8A00",Save:"\u4FDD\u5B58","Save (Ctrl+S)":"\u4FDD\u5B58\uFF08Ctrl+S\uFF09","View settings":"\u663E\u793A\u8BBE\u7F6E","Auto save":"\u81EA\u52A8\u4FDD\u5B58","Wrap lines":"\u81EA\u52A8\u6362\u884C","Front-matter fields":"\u663E\u793A\u6587\u6863\u5C5E\u6027",title:"\u6807\u9898",desc:"\u63CF\u8FF0",lang:"\u6587\u6863\u8BED\u8A00","Remove icon":"\u79FB\u9664\u56FE\u6807",icon:"\u56FE\u6807",rename:"\u91CD\u547D\u540D","Enter to save / Esc to cancel":"Enter \u4FDD\u5B58 / Esc \u53D6\u6D88","Change doc id":"\u66F4\u6539\u6587\u6863ID","Delete doc":"\u5220\u9664\u6587\u6863","Add doc":"\u6DFB\u52A0\u6587\u6863",Resources:"\u8D44\u6E90",markdown:"Markdown",figures:"\u56FE\u7247",html:"HTML",icons:"\u56FE\u6807","Resize sidebar":"\u8C03\u6574\u4FA7\u680F\u5BBD\u5EA6","Resize document tree":"\u8C03\u6574\u6587\u6863\u6811\u9AD8\u5EA6","Resize editor":"\u8C03\u6574\u7F16\u8F91\u5668\u5BBD\u5EA6","Close sidebar":"\u6536\u8D77\u4FA7\u8FB9\u680F","Open sidebar":"\u5C55\u5F00\u4FA7\u8FB9\u680F",Create:"\u521B\u5EFA","Unsaved changes":"\u672A\u4FDD\u5B58\u7684\u66F4\u6539","Modified (waiting for auto-save)":"\u5DF2\u4FEE\u6539\uFF08\u7B49\u5F85\u81EA\u52A8\u4FDD\u5B58\uFF09","Enter to rename / Esc to cancel (file links follow)":"Enter\u91CD\u547D\u540D / Esc\u53D6\u6D88\uFF08\u6587\u6863\u94FE\u63A5\u5C06\u540C\u6B65\u66F4\u65B0\uFF09","Icon must be svg":"\u56FE\u6807\u5FC5\u987B\u4E3ASVG\u683C\u5F0F","Change site icon":"\u66F4\u6362\u7AD9\u70B9\u56FE\u6807","Icon set (auto-padded to 1:1)":"\u5DF2\u8BBE\u7F6E\u56FE\u6807\uFF08\u5DF2\u8C03\u6574\u4E3A\u6B63\u65B9\u5F62\uFF09","Icon removed":"\u5DF2\u79FB\u9664\u56FE\u6807","Only svg / png / webp / jpeg can be added":"\u4EC5\u53EF\u6DFB\u52A0SVG\u3001PNG\u3001WebP\u6216JPEG","Updated externally (keeping unsaved changes)":"\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u66F4\u65B0\uFF08\u4FDD\u7559\u672A\u4FDD\u5B58\u7684\u66F4\u6539\uFF09","Changed externally \u2014 keeping your changes (you'll be asked again on save)":"\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u66F4\u65B0\uFF0C\u4FDD\u7559\u5F53\u524D\u66F4\u6539\uFF08\u4FDD\u5B58\u65F6\u518D\u6B21\u786E\u8BA4\uFF09","You have unsaved changes. Discard them and leave?":"\u5B58\u5728\u672A\u4FDD\u5B58\u7684\u66F4\u6539\u3002\u653E\u5F03\u66F4\u6539\u5E76\u79BB\u5F00\uFF1F",Saved:"\u5DF2\u4FDD\u5B58",Auto:"\u81EA\u52A8",Light:"\u6D45\u8272",Dark:"\u6DF1\u8272",Theme:"\u4E3B\u9898","Saved {time}":"\u5DF2\u4FDD\u5B58 {time}","Saved (validation errors: {count})":"\u5DF2\u4FDD\u5B58\uFF08\u9A8C\u8BC1\u9519\u8BEF\uFF1A{count}\uFF09","Failed to save: {error}":"\u4FDD\u5B58\u5931\u8D25\uFF1A{error}",'Delete "{file}"? (this cannot be undone)':"\u5220\u9664\u201C{file}\u201D\u53CA\u5176\u6240\u6709\u7FFB\u8BD1\uFF1F\uFF08\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\uFF09","Failed to delete: {error}":"\u5220\u9664\u5931\u8D25\uFF1A{error}","Adding figures\u2026 ({count})":"\u6B63\u5728\u6DFB\u52A0\u56FE\u7247\u2026\uFF08{count}\uFF09","Added figures: {names}":"\u5DF2\u6DFB\u52A0\u56FE\u7247\uFF1A{names}","Failed to add figures: {error}":"\u6DFB\u52A0\u56FE\u7247\u5931\u8D25\uFF1A{error}","Failed to set icon: {error}":"\u8BBE\u7F6E\u56FE\u6807\u5931\u8D25\uFF1A{error}","Failed to update preview: {error}":"\u66F4\u65B0\u9884\u89C8\u5931\u8D25\uFF1A{error}","Failed to apply external changes: {error}":"\u5E94\u7528\u5916\u90E8\u66F4\u6539\u5931\u8D25\uFF1A{error}","Can't rename: {error}":"\u91CD\u547D\u540D\u5931\u8D25\uFF1A{error}","Applied external changes":"\u5DF2\u5E94\u7528\u5916\u90E8\u66F4\u6539",Contents:"\u76EE\u5F55","Copy code":"\u590D\u5236\u4EE3\u7801","External conflict":`\u6B64\u6587\u6863\u5DF2\u88AB\u5916\u90E8\u66F4\u65B0\u3002\u5E94\u7528\u5916\u90E8\u66F4\u6539\uFF1F
13
+ \u524A\u9664\u3057\u307E\u3059\u304B\uFF1F\uFF08\u30EA\u30F3\u30AF\u304C\u5207\u308C\u307E\u3059\uFF09`,heading:"\u898B\u51FA\u3057",subheading:"\u5C0F\u898B\u51FA\u3057","code fence":"\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF","figure reference":"\u56F3\u306E\u53C2\u7167",Templates:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",Figures:"\u56F3","Doc links":"\u6587\u66F8\u30EA\u30F3\u30AF",Terms:"\u7528\u8A9E","Custom syntax":"\u62E1\u5F35\u8A18\u6CD5",path:"\u30D1\u30B9",size:"\u30B5\u30A4\u30BA",kind:"\u7A2E\u985E",syntax:"\u8A18\u6CD5",doc:"\u6587\u66F8","used in":"\u4F7F\u7528\u7B87\u6240",none:"\u306A\u3057","Split view":"2\u5206\u5272\u3092\u5207\u308A\u66FF\u3048","Change language":"\u8A00\u8A9E\u3092\u5909\u66F4","Active pane":"\u7DE8\u96C6\u4E2D\u306E\u30DA\u30A4\u30F3","Activate pane":"\u3053\u306E\u30DA\u30A4\u30F3\u3092\u7DE8\u96C6","Failed to load pane":"\u30DA\u30A4\u30F3\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F","Close pane and discard its unsaved changes?":"\u3082\u3046\u4E00\u65B9\u306E\u30DA\u30A4\u30F3\u306E\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u3092\u7834\u68C4\u3057\u3066\u9589\u3058\u307E\u3059\u304B\uFF1F","Validate and apply":"\u691C\u8A3C\u3057\u3066\u9069\u7528","Auto validate":"\u81EA\u52D5\u691C\u8A3C","Source mapping":"\u672C\u6587\u3068\u30BD\u30FC\u30B9\u306E\u5BFE\u5FDC\u3092\u8868\u793A","Validation pending":"\u672A\u9069\u7528\u306E\u5909\u66F4\u3042\u308A",Validating:"\u691C\u8A3C\u4E2D","Validation passed":"\u554F\u984C\u306A\u3057","Validation errors":"\u691C\u8A3C\u30A8\u30E9\u30FC",Saving:"\u4FDD\u5B58\u4E2D","Save failed":"\u4FDD\u5B58\u30A8\u30E9\u30FC","Expand section":"\u5C55\u958B","Collapse section":"\u6298\u308A\u7573\u3080",terms:"\u7528\u8A9E","Edit text file":"\u30C6\u30AD\u30B9\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u7DE8\u96C6","Create file":"\u30D5\u30A1\u30A4\u30EB\u5316","Reload file":"\u30D5\u30A1\u30A4\u30EB\u3092\u518D\u8AAD\u307F\u8FBC\u307F","Working\u2026":"\u51E6\u7406\u4E2D\u2026","File not found \u2014 save to create it.":"\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u4FDD\u5B58\u3059\u308B\u3068\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002","Discard file edits and reload?":"\u30D5\u30A1\u30A4\u30EB\u306E\u672A\u4FDD\u5B58\u306E\u7DE8\u96C6\u3092\u7834\u68C4\u3057\u3066\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u307E\u3059\u304B\uFF1F","File changed externally. Reload it before saving.":"\u30D5\u30A1\u30A4\u30EB\u304C\u5916\u90E8\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F\u3002\u4FDD\u5B58\u3059\u308B\u524D\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Edits made while reloading were kept. Reload again when ready.":"\u518D\u8AAD\u307F\u8FBC\u307F\u4E2D\u306E\u7DE8\u96C6\u306F\u4FDD\u6301\u3057\u307E\u3057\u305F\u3002\u6E96\u5099\u304C\u3067\u304D\u305F\u3089\u518D\u5EA6\u8AAD\u307F\u8FBC\u3093\u3067\u304F\u3060\u3055\u3044\u3002","File not found":"\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","File has not been loaded":"\u30D5\u30A1\u30A4\u30EB\u306F\u307E\u3060\u8AAD\u307F\u8FBC\u307E\u308C\u3066\u3044\u307E\u305B\u3093","File could not be loaded":"\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093","View remote text file":"\u53C2\u7167\u30D5\u30A1\u30A4\u30EB\u3092\u8868\u793A","Remote files are read-only":"URL\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u3067\u3059","Edits made while validating were kept. Validate again when ready.":"\u6574\u5F62\u4E2D\u306E\u7DE8\u96C6\u3092\u4FDD\u6301\u3057\u307E\u3057\u305F\u3002\u6E96\u5099\u304C\u3067\u304D\u305F\u3089\u518D\u5EA6\u6574\u5F62\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Updating preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u66F4\u65B0\u4E2D","Preview is up to date":"\u30D7\u30EC\u30D3\u30E5\u30FC\u306F\u6B63\u5E38\u3067\u3059","Preview could not be updated":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","Conflicting changes":"\u5909\u66F4\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059","Use my edits":"\u81EA\u5206\u306E\u7DE8\u96C6\u3092\u4F7F\u3046","Use external changes":"\u5916\u90E8\u306E\u5909\u66F4\u3092\u4F7F\u3046","File was deleted":"\u30D5\u30A1\u30A4\u30EB\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F",Cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB","Search documents":"\u6587\u66F8\u3092\u691C\u7D22","No results":"\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F","Searching\u2026":"\u691C\u7D22\u4E2D\u2026","Could not load search. Press Ctrl+F to retry.":"\u691C\u7D22\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002Ctrl+F \u3067\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002","{count} results":"{count} \u4EF6","Showing {shown} of {count} results":"{count} \u4EF6\u4E2D {shown} \u4EF6\u3092\u8868\u793A","Add translation":"\u7FFB\u8A33\u7528\u306E\u6587\u66F8\u3092\u8FFD\u52A0","Move search":"\u691C\u7D22\u7A93\u3092\u79FB\u52D5","Resize search":"\u691C\u7D22\u7A93\u306E\u30B5\u30A4\u30BA\u3092\u5909\u66F4","Matches text":"\u672C\u6587\u306B\u4E00\u81F4","Matches file name":"\u30D5\u30A1\u30A4\u30EB\u540D\u306B\u4E00\u81F4","Matches folder name":"\u30D5\u30A9\u30EB\u30C0\u30FC\u540D\u306B\u4E00\u81F4","Close search":"\u691C\u7D22\u7A93\u3092\u9589\u3058\u308B","Move search to sidebar":"\u691C\u7D22\u7A93\u3092\u30B5\u30A4\u30C9\u30D0\u30FC\u306B\u7F6E\u304F","Float search":"\u691C\u7D22\u7A93\u3092\u30D5\u30ED\u30FC\u30C8\u306B\u3059\u308B",Notice:"\u304A\u77E5\u3089\u305B",OK:"\u9589\u3058\u308B","Discard changes":"\u5909\u66F4\u3092\u7834\u68C4","Copy section URL":"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306EURL\u3092\u30B3\u30D4\u30FC",Copied:"\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","Could not copy URL":"URL\u3092\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","Search languages":"\u8A00\u8A9E\u3092\u691C\u7D22","Remove translation":"\u7FFB\u8A33\u3092\u524A\u9664","Source language cannot be removed":"\u5143\u306E\u8A00\u8A9E\u306F\u524A\u9664\u3067\u304D\u307E\u305B\u3093","Enter to edit; Ctrl+Enter to add or remove translation":"Enter\u3067\u7DE8\u96C6\u3001Ctrl+Enter\u3067\u7FFB\u8A33\u3092\u8FFD\u52A0\u30FB\u524A\u9664","Preview has not been updated":"\u30D7\u30EC\u30D3\u30E5\u30FC\u306F\u307E\u3060\u66F4\u65B0\u3055\u308C\u3066\u3044\u307E\u305B\u3093",Table:"\u8868",Image:"\u753B\u50CF",HTML:"HTML",Markdown:"Markdown",Code:"\u30B3\u30FC\u30C9",Video:"\u52D5\u753B",Loading:"\u8AAD\u8FBC\u4E2D",Retry:"\u518D\u8A66\u884C",Reload:"\u518D\u8AAD\u8FBC",Close:"\u9589\u3058\u308B","File preview":"\u30D5\u30A1\u30A4\u30EB\u30D7\u30EC\u30D3\u30E5\u30FC",Files:"\u30D5\u30A1\u30A4\u30EB","Search files":"\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22",Plugin:"\u62E1\u5F35\u5B50","Default folder layout":"\u65E2\u5B9A\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u914D\u7F6E","Folder restructure":"\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u6574\u7406",Move:"\u79FB\u52D5","Move up":"\u4E0A\u3078\u79FB\u52D5","Move down":"\u4E0B\u3078\u79FB\u52D5","Move to root":"\u30EB\u30FC\u30C8\u3078\u79FB\u52D5",Name:"\u540D\u524D",Size:"\u30B5\u30A4\u30BA",Select:"\u9078\u629E","Copy path":"\u30D1\u30B9\u3092\u30B3\u30D4\u30FC","File path":"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9","File created":"\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F","Copy failed":"\u30B3\u30D4\u30FC\u5931\u6557","Place new files in files/<extension>/":"\u65B0\u898F\u30D5\u30A1\u30A4\u30EB\u3092 files/<\u62E1\u5F35\u5B50>/ \u306B\u914D\u7F6E\u3057\u307E\u3059","Document changed. Retry from the current block.":"\u672C\u6587\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u73FE\u5728\u306E\u30D6\u30ED\u30C3\u30AF\u304B\u3089\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Document changed. Insert the file from Files.":"\u672C\u6587\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002Files\u304B\u3089\u53C2\u7167\u3092\u633F\u5165\u3057\u3066\u304F\u3060\u3055\u3044\u3002","File name":"\u30D5\u30A1\u30A4\u30EB\u540D","Renamed to {filename}":"{filename} \u306B\u5909\u66F4\u3057\u307E\u3057\u305F","Enter a file name ending in .md":".md \u3067\u7D42\u308F\u308B\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044","Upload files":"\u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0","Uploading {count}/{total}":"\u8FFD\u52A0\u4E2D {count}/{total}","Files uploaded":"\u8FFD\u52A0\u6E08\u307F","File exceeds 64 MiB":"\u30D5\u30A1\u30A4\u30EB\u306E\u4E0A\u9650\u306F64 MiB\u3067\u3059","Choose files inside the folder":"\u30D5\u30A9\u30EB\u30C0\u5185\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044","Click a column to sort; row numbers refer to the source":"\u5217\u540D\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u4E26\u3079\u66FF\u3048\u3002\u884C\u756A\u53F7\u306F\u5143\u30C7\u30FC\u30BF\u306E\u884C\u3067\u3059",Column:"\u5217","Resize table":"\u8868\u306E\u9AD8\u3055\u3092\u5909\u66F4","Back to document":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u623B\u308B","File details":"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831","Show Git changes":"Git\u5DEE\u5206\u3092\u8868\u793A","Resource views":"\u30EA\u30BD\u30FC\u30B9\u306E\u8868\u793A",Default:"\u65E2\u5B9A\u5024","Set as default":"\u65E2\u5B9A\u5024\u306B\u3059\u308B","Group by":"\u30B0\u30EB\u30FC\u30D7\u5316","Sort by":"\u4E26\u3079\u66FF\u3048","Newest first":"\u65B0\u3057\u3044\u9806","Oldest first":"\u53E4\u3044\u9806",Unassigned:"\u672A\u8A2D\u5B9A",Records:"\u30EC\u30B3\u30FC\u30C9",Codeblocks:"\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF",Format:"\u5F62\u5F0F",URLs:"URL","URL previews":"URL\u30D7\u30EC\u30D3\u30E5\u30FC",Domain:"\u30C9\u30E1\u30A4\u30F3",All:"\u3059\u3079\u3066",references:"\u304B\u6240\u3067\u4F7F\u7528","Search resources":"\u30EA\u30BD\u30FC\u30B9\u3092\u691C\u7D22","Files with errors":"\u8AAD\u307F\u53D6\u308A\u30FB\u89E3\u6790\u30A8\u30E9\u30FC","No matching resources":"\u8A72\u5F53\u3059\u308B\u30EA\u30BD\u30FC\u30B9\u306F\u3042\u308A\u307E\u305B\u3093","Organize files":"\u30D5\u30A1\u30A4\u30EB\u3092\u6574\u7406","Auto-save paused":"\u81EA\u52D5\u4FDD\u5B58\u3092\u505C\u6B62\u4E2D","Reload failed":"\u518D\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557","Waiting for auto-save":"\u81EA\u52D5\u4FDD\u5B58\u3092\u5F85\u6A5F\u4E2D","Conflict unresolved. Auto-save is paused; your edits are kept.":"\u7AF6\u5408\u304C\u672A\u89E3\u6C7A\u306E\u305F\u3081\u81EA\u52D5\u4FDD\u5B58\u3092\u505C\u6B62\u3057\u3066\u3044\u307E\u3059\u3002\u7DE8\u96C6\u5185\u5BB9\u306F\u4FDD\u6301\u3055\u308C\u3066\u3044\u307E\u3059\u3002","File not found \u2014 editing will create it automatically.":"\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u7DE8\u96C6\u3059\u308B\u3068\u81EA\u52D5\u7684\u306B\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002",Play:"\u518D\u751F",Pause:"\u4E00\u6642\u505C\u6B62",Seek:"\u518D\u751F\u4F4D\u7F6E",Mute:"\u30DF\u30E5\u30FC\u30C8",Unmute:"\u30DF\u30E5\u30FC\u30C8\u3092\u89E3\u9664",Volume:"\u97F3\u91CF","Video settings":"\u52D5\u753B\u306E\u8A2D\u5B9A","Playback speed":"\u518D\u751F\u901F\u5EA6",Fullscreen:"\u5168\u753B\u9762\u8868\u793A","Video could not be played":"\u52D5\u753B\u3092\u518D\u751F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","Fullscreen is unavailable":"\u5168\u753B\u9762\u8868\u793A\u3092\u5229\u7528\u3067\u304D\u307E\u305B\u3093","Some registered fonts could not be loaded":"\u4E00\u90E8\u306E\u767B\u9332\u6E08\u307F\u30D5\u30A9\u30F3\u30C8\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",Done:"\u5B8C\u4E86","Git operation failed":"Git\u64CD\u4F5C\u306B\u5931\u6557\u3057\u307E\u3057\u305F","Create pull request":"PR\u3092\u4F5C\u6210","Base branch":"\u5BFE\u8C61\u30D6\u30E9\u30F3\u30C1",Draft:"\u30C9\u30E9\u30D5\u30C8","Open pull request":"PR\u3092\u958B\u304F","Merge method":"\u30DE\u30FC\u30B8\u65B9\u5F0F","Merge pull request":"PR\u3092\u30DE\u30FC\u30B8","Merge #{number} into {base} using {method}?":"PR #{number} \u3092 {method} \u65B9\u5F0F\u3067 {base} \u306B\u30DE\u30FC\u30B8\u3057\u307E\u3059\u304B\uFF1F","Reset edits":"\u7DE8\u96C6\u3092\u30EA\u30BB\u30C3\u30C8","Discard these pull request edits?":"\u3053\u306EPR\u306E\u672A\u4FDD\u5B58\u306E\u7DE8\u96C6\u3092\u7834\u68C4\u3057\u307E\u3059\u304B\uFF1F",Branch:"\u30D6\u30E9\u30F3\u30C1","Switch branch":"\u5207\u308A\u66FF\u3048","New branch":"\u65B0\u3057\u3044\u30D6\u30E9\u30F3\u30C1","Create branch":"\u30D6\u30E9\u30F3\u30C1\u3092\u4F5C\u6210","Commit {manifest} before creating a branch.":"\u30D6\u30E9\u30F3\u30C1\u3092\u4F5C\u6210\u3059\u308B\u524D\u306B\u3001{manifest} \u3092\u30B3\u30DF\u30C3\u30C8\u3057\u3066\u304F\u3060\u3055\u3044\u3002","This branch does not contain {manifest} at the same path.":"\u3053\u306E\u30D6\u30E9\u30F3\u30C1\u306B\u306F\u3001\u540C\u3058\u5834\u6240\u306B {manifest} \u304C\u3042\u308A\u307E\u305B\u3093\u3002","New branches start from the latest commit. Unsaved changes stay in the current workspace.":"\u65B0\u3057\u3044\u30D6\u30E9\u30F3\u30C1\u306F\u6700\u65B0\u306E\u30B3\u30DF\u30C3\u30C8\u304B\u3089\u4F5C\u6210\u3057\u307E\u3059\u3002\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u306F\u73FE\u5728\u306E\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002",Changes:"\u5909\u66F4","Git uses saved files.":"\u4FDD\u5B58\u6E08\u307F\u30D5\u30A1\u30A4\u30EB\u306E\u5909\u66F4\u3092\u8868\u793A\u3057\u3066\u3044\u307E\u3059\u3002",Stage:"\u30B9\u30C6\u30FC\u30B8",Unstage:"\u30B9\u30C6\u30FC\u30B8\u3092\u89E3\u9664","Working tree clean":"\u672A\u30B3\u30DF\u30C3\u30C8\u306E\u5909\u66F4\u306F\u3042\u308A\u307E\u305B\u3093","Commit message":"\u30B3\u30DF\u30C3\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8","Commit staged changes":"\u30B9\u30C6\u30FC\u30B8\u6E08\u307F\u306E\u5909\u66F4\u3092\u30B3\u30DF\u30C3\u30C8",Fetch:"\u53D6\u5F97","Pull (fast-forward)":"\u53D6\u308A\u8FBC\u3080 (fast-forward)",Push:"Push","Connect an origin provider from the viewer module to enable remote operations.":"\u30EA\u30E2\u30FC\u30C8\u64CD\u4F5C\u306B\u306F\u3001\u5916\u90E8viewer\u30E2\u30B8\u30E5\u30FC\u30EB\u304B\u3089origin\u3092\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Pull requests":"\u30D7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8","No open pull requests":"\u30AA\u30FC\u30D7\u30F3\u306APR\u306F\u3042\u308A\u307E\u305B\u3093",Description:"\u8AAC\u660E","Operation completed, but reload failed: {error}":"\u64CD\u4F5C\u306F\u5B8C\u4E86\u3057\u307E\u3057\u305F\u304C\u3001\u518D\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {error}","Stash is occupied. Commit the current changes before switching branches.":"stash\u306F\u4F7F\u7528\u4E2D\u3067\u3059\u3002\u73FE\u5728\u306E\u5909\u66F4\u3092\u30B3\u30DF\u30C3\u30C8\u3057\u3066\u304B\u3089\u30D6\u30E9\u30F3\u30C1\u3092\u5207\u308A\u66FF\u3048\u3066\u304F\u3060\u3055\u3044\u3002","Stash saved changes and switch to {branch}?":"\u4FDD\u5B58\u6E08\u307F\u30D5\u30A1\u30A4\u30EB\u306E\u5909\u66F4\u3092stash\u3078\u9000\u907F\u3057\u3066\u3001{branch} \u306B\u5207\u308A\u66FF\u3048\u307E\u3059\u304B\uFF1F","Stash and switch":"\u9000\u907F\u3057\u3066\u5207\u308A\u66FF\u3048","Create the first commit to switch branches.":"\u6700\u521D\u306E\u30B3\u30DF\u30C3\u30C8\u5F8C\u306B\u30D6\u30E9\u30F3\u30C1\u3092\u5207\u308A\u66FF\u3048\u3089\u308C\u307E\u3059\u3002","Stash \xB7 empty":"Stash \xB7 \u7A7A","Restore stash":"stash\u3092\u5FA9\u5143","Stash changes":"\u5909\u66F4\u3092stash\u3078\u9000\u907F",Library:"\u30E9\u30A4\u30D6\u30E9\u30EA",Subformats:"Subformats","Expand card":"\u30AB\u30FC\u30C9\u3092\u5C55\u958B","Collapse card":"\u30AB\u30FC\u30C9\u3092\u6298\u308A\u305F\u305F\u3080","View details":"\u8A73\u7D30\u3092\u8868\u793A","Click for details; double-click to edit":"\u30AF\u30EA\u30C3\u30AF\u3067\u8A73\u7D30\u3001\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u3067\u7DE8\u96C6","No grouping":"\u30B0\u30EB\u30FC\u30D7\u5316\u306A\u3057",Ascending:"\u6607\u9806",Descending:"\u964D\u9806","No subformats configured. Add subformats to dooc.yaml.":"subformat \u304C\u672A\u8A2D\u5B9A\u3067\u3059\u3002dooc.yaml \u306B subformats \u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Workspace tools":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u64CD\u4F5C","Git controls":"Git\u64CD\u4F5C",Actions:"\u64CD\u4F5C",Updated:"\u66F4\u65B0\u3057\u307E\u3057\u305F",Copy:"\u30B3\u30D4\u30FC",Edit:"\u7DE8\u96C6","Reload actions before saving again.":"\u518D\u4FDD\u5B58\u3059\u308B\u524D\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Saved, but refresh failed. Reload actions before saving again.":"\u4FDD\u5B58\u306F\u5B8C\u4E86\u3057\u307E\u3057\u305F\u304C\u3001\u518D\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u4FDD\u5B58\u3059\u308B\u524D\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Actions could not be loaded.":"\u64CD\u4F5C\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002","An open draft is no longer editable. Copy or cancel it before reloading.":"\u7DE8\u96C6\u4E2D\u306E\u9805\u76EE\u3092\u66F4\u65B0\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u518D\u8AAD\u307F\u8FBC\u307F\u306E\u524D\u306B\u5165\u529B\u3092\u30B3\u30D4\u30FC\u3059\u308B\u304B\u3001\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Changed elsewhere. Your input is kept; edit again to apply it.":"\u5916\u90E8\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F\u3002\u5165\u529B\u306F\u4FDD\u6301\u3057\u3066\u3044\u307E\u3059\u3002\u518D\u5EA6\u7DE8\u96C6\u3059\u308B\u3068\u53CD\u6620\u3057\u307E\u3059\u3002",Plugins:"Plugins","Add plugins":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u8FFD\u52A0","Plugins are saved in this browser. Run server plugins in a local dooc editor.":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306F\u3053\u306E\u30D6\u30E9\u30A6\u30B6\u30FC\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002\u30B5\u30FC\u30D0\u30FC\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u5B9F\u884C\u306B\u306F\u30ED\u30FC\u30AB\u30EB\u306E dooc \u3092\u4F7F\u3044\u307E\u3059\u3002","Drag and drop here, or click to browse.":"\u3053\u3053\u306B\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7\u3001\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9078\u629E","Invalid package":"\u7121\u52B9\u306A\u30D1\u30C3\u30B1\u30FC\u30B8","Browser storage":"\u30D6\u30E9\u30A6\u30B6\u30FC\u306B\u4FDD\u5B58",Enabled:"\u6709\u52B9",Disabled:"\u7121\u52B9",Enable:"\u6709\u52B9\u306B\u3059\u308B",Disable:"\u7121\u52B9\u306B\u3059\u308B","Delete plugin {name}?":"\u30D7\u30E9\u30B0\u30A4\u30F3\u300C{name}\u300D\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F","Replace plugin {name}?":"\u30D7\u30E9\u30B0\u30A4\u30F3\u300C{name}\u300D\u3092\u7F6E\u304D\u63DB\u3048\u307E\u3059\u304B\uFF1F","Discard plugin changes?":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u672A\u9069\u7528\u306E\u5909\u66F4\u3092\u7834\u68C4\u3057\u307E\u3059\u304B\uFF1F","Plugin file":"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30D5\u30A1\u30A4\u30EB","Apply changes":"\u5909\u66F4\u3092\u9069\u7528","Binary asset \u2014 replace it by importing a new ZIP.":"\u30D0\u30A4\u30CA\u30EA\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002\u65B0\u3057\u3044 ZIP \u3092\u8AAD\u307F\u8FBC\u3080\u3068\u7F6E\u304D\u63DB\u3048\u3089\u308C\u307E\u3059\u3002","Choose a ZIP smaller than 16 MiB":"16 MiB \u4EE5\u4E0B\u306E ZIP \u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044","Sign in":"\u30ED\u30B0\u30A4\u30F3","Sign out":"\u30ED\u30B0\u30A2\u30A6\u30C8","Not signed in":"\u672A\u30ED\u30B0\u30A4\u30F3","Continue login":"\u30ED\u30B0\u30A4\u30F3\u3092\u7D9A\u3051\u308B","Provided by viewer":"\u958B\u767A\u7528\u30D7\u30E9\u30B0\u30A4\u30F3",Added:"\u65B0\u898F",Modified:"\u5909\u66F4",Relations:"\u95A2\u4FC2\u56F3","Add subformat\u2026":"subformat\u3092\u8FFD\u52A0\u2026",Delete:"\u524A\u9664","Delete subformat {ext} and its sidebar page? Records and schema files will be kept.":"subformat {ext} \u3068\u30B5\u30A4\u30C9\u30D0\u30FC\u306E\u30DA\u30FC\u30B8\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F \u30EC\u30B3\u30FC\u30C9\u3068\u30B9\u30AD\u30FC\u30DE\u30D5\u30A1\u30A4\u30EB\u306F\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002","Subformat changed externally. Reload and try again.":"subformat\u304C\u5916\u90E8\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F\u3002\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Move or remove this subformat page's child pages before deleting it.":"\u524A\u9664\u3059\u308B\u524D\u306B\u3001\u3053\u306Esubformat\u30DA\u30FC\u30B8\u306E\u5B50\u30DA\u30FC\u30B8\u3092\u79FB\u52D5\u307E\u305F\u306F\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Add subformat":"subformat\u3092\u8FFD\u52A0",Extension:"\u62E1\u5F35\u5B50","Storage format":"\u4FDD\u5B58\u5F62\u5F0F","Schema file (optional)":"\u30B9\u30AD\u30FC\u30DE\u30D5\u30A1\u30A4\u30EB\uFF08\u4EFB\u610F\uFF09","Create automatically":"\u81EA\u52D5\u4F5C\u6210",Form:"\u30D5\u30A9\u30FC\u30E0","Enter a valid number.":"\u6709\u52B9\u306A\u6570\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Value editing mode":"\u5024\u306E\u7DE8\u96C6\u30E2\u30FC\u30C9","{format} text":"{format}\u30C6\u30AD\u30B9\u30C8","Schema editing mode":"\u30B9\u30AD\u30FC\u30DE\u7DE8\u96C6\u30E2\u30FC\u30C9","JSON text":"JSON text","Build kit":"Build kit","Field settings":"\u30D5\u30A3\u30FC\u30EB\u30C9\u8A2D\u5B9A","Field name":"\u30D5\u30A3\u30FC\u30EB\u30C9\u540D","New field name":"\u65B0\u3057\u3044\u30D5\u30A3\u30FC\u30EB\u30C9\u540D","New field type":"\u65B0\u3057\u3044\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u578B","Remove field":"\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u524A\u9664","Add field":"\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8FFD\u52A0",Required:"\u5FC5\u9808","Allow extra fields":"\u672A\u5B9A\u7FA9\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8A31\u53EF","Schema settings":"\u30B9\u30AD\u30FC\u30DE\u5168\u4F53\u306E\u8A2D\u5B9A","Remove nested fields before changing the type.":"\u578B\u3092\u5909\u3048\u308B\u524D\u306B\u5165\u308C\u5B50\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Any type":"\u4EFB\u610F\u306E\u578B",'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.':'\u9078\u629E\u80A2\u306F1\u884C\u306B1\u3064\u3002\u7A7A\u6587\u5B57\u306F ""\u3001\u6539\u884C\u5165\u308A\u306F "a\\nb"\u3001\u305D\u306E\u4ED6\u306E\u578B\u306FJSON\u3067\u5165\u529B\u3057\u307E\u3059\u3002',"Enter at least one choice.":"\u9078\u629E\u80A2\u30921\u3064\u4EE5\u4E0A\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter a non-empty JSON array of schemas.":"\u30B9\u30AD\u30FC\u30DE\u30921\u3064\u4EE5\u4E0A\u542B\u3080JSON\u914D\u5217\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter a JSON schema object or boolean.":"JSON Schema\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u307E\u305F\u306F\u771F\u507D\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter an object containing named schemas.":"\u540D\u524D\u4ED8\u304D\u30B9\u30AD\u30FC\u30DE\u3092\u542B\u3080\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","The constant must match the field type.":"\u56FA\u5B9A\u5024\u3092\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u578B\u306B\u5408\u308F\u305B\u3066\u304F\u3060\u3055\u3044\u3002","Change existing choices or defaults before changing the type.":"\u578B\u3092\u5909\u3048\u308B\u524D\u306B\u65E2\u5B58\u306E\u9078\u629E\u80A2\u3084\u65E2\u5B9A\u5024\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Choices (one per line)":"\u9078\u629E\u80A2\uFF081\u884C\u306B1\u3064\uFF09","Item type":"\u914D\u5217\u8981\u7D20\u306E\u578B","Rename linked fields in JSON text.":"\u53C2\u7167\u3055\u308C\u308B\u30D5\u30A3\u30FC\u30EB\u30C9\u540D\u306FJSON text\u3067\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Additional rules are preserved in JSON text.":"\u305D\u306E\u4ED6\u306E\u30EB\u30FC\u30EB\u306FJSON text\u306B\u4FDD\u6301\u3055\u308C\u3066\u3044\u307E\u3059\u3002","Enter a field name.":"\u30D5\u30A3\u30FC\u30EB\u30C9\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enter a unique field name.":"\u91CD\u8907\u3057\u306A\u3044\u30D5\u30A3\u30FC\u30EB\u30C9\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","A field with this name already exists.":"\u540C\u3058\u540D\u524D\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u65E2\u306B\u3042\u308A\u307E\u3059\u3002","Each choice must match the field type.":"\u9078\u629E\u80A2\u306E\u5024\u3092\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u578B\u306B\u5408\u308F\u305B\u3066\u304F\u3060\u3055\u3044\u3002","Choices must be unique.":"\u9078\u629E\u80A2\u3092\u91CD\u8907\u3055\u305B\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","Enter a value greater than {minimum}.":"{minimum}\u3088\u308A\u5927\u304D\u3044\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Page type":"\u30DA\u30FC\u30B8\u306E\u7A2E\u985E","Markdown page":"Markdown \u30DA\u30FC\u30B8","No subformats available to add.":"\u8FFD\u52A0\u3067\u304D\u308B subformat \u306F\u3042\u308A\u307E\u305B\u3093\u3002","Add page":"\u30DA\u30FC\u30B8\u3092\u8FFD\u52A0","Remove page":"\u30DA\u30FC\u30B8\u3092\u524A\u9664","Rename page":"\u30DA\u30FC\u30B8\u540D\u3092\u5909\u66F4","Remove this page from the sidebar? The records will be kept.":"\u30B5\u30A4\u30C9\u30D0\u30FC\u304B\u3089\u3053\u306E\u30DA\u30FC\u30B8\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F \u30EC\u30B3\u30FC\u30C9\u306F\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002",Parameters:"\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",Items:"\u914D\u5217\u8981\u7D20","Remove parameter":"\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u524A\u9664","Check the parameter value.":"\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5024\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Download PDF":"PDF\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9","Choose date":"\u65E5\u4ED8\u3092\u9078\u629E","Previous month":"\u524D\u306E\u6708","Next month":"\u6B21\u306E\u6708",Today:"\u4ECA\u65E5",Clear:"\u30AF\u30EA\u30A2","Enter a valid date (YYYY-MM-DD).":"\u6709\u52B9\u306A\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\uFF08YYYY-MM-DD\uFF09\u3002","Load preview":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8AAD\u307F\u8FBC\u3080","Preview unavailable":"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093",History:"\u5C65\u6B74","Snapshot message":"\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8\u306E\u8AAC\u660E",Restore:"\u5FA9\u5143","No snapshots yet":"\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093","Save snapshot":"\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8\u3092\u4FDD\u5B58","Restore every file to this snapshot?":"\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u3053\u306E\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8\u306E\u72B6\u614B\u306B\u623B\u3057\u307E\u3059\u304B?","Your name":"\u540D\u524D","Email (optional)":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9(\u4EFB\u610F)","Shared workspace":"\u5171\u6709\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9",Join:"\u53C2\u52A0"};var bo={"Site title":"\u7AD9\u70B9\u540D\u79F0","Edit site title":"\u7F16\u8F91\u7AD9\u70B9\u540D\u79F0","Editor font":"\u7F16\u8F91\u5668\u5B57\u4F53","Viewer font":"\u67E5\u770B\u5668\u5B57\u4F53","Default font":"\u9ED8\u8BA4\u5B57\u4F53","Loading fonts":"\u6B63\u5728\u52A0\u8F7D\u5B57\u4F53","Font choice applies only to this tab":"\u9009\u62E9\u4EC5\u5E94\u7528\u4E8E\u6B64\u6807\u7B7E\u9875\uFF0C\u65E0\u6CD5\u4FDD\u5B58\u5230\u6D4F\u89C8\u5668\u3002","Invalid font file":"\u65E0\u6CD5\u52A0\u8F7D\u6B64\u5B57\u4F53\u6587\u4EF6\u3002\u8BF7\u9009\u62E9\u6D4F\u89C8\u5668\u652F\u6301\u7684\u6709\u6548\u5B57\u4F53\u3002","Preview theme":"\u9884\u89C8\u914D\u8272","Editor theme":"\u7F16\u8F91\u5668\u914D\u8272","Open link":"\u6253\u5F00\u94FE\u63A5","Copy link":"\u590D\u5236\u94FE\u63A5","Collapse preview":"\u6298\u53E0\u9884\u89C8","Expand preview":"\u5C55\u5F00\u9884\u89C8","Resize plugin card":"\u8C03\u6574\u63D2\u4EF6\u5361\u7247\u9AD8\u5EA6","Open the local viewer to load plugin data":"\u8BF7\u5728\u672C\u5730\u67E5\u770B\u5668\u4E2D\u52A0\u8F7D\u63D2\u4EF6\u6570\u636E","Load data":"\u52A0\u8F7D\u6570\u636E","Connect account":"\u8FDE\u63A5\u8D26\u53F7","Forget connection":"\u6E05\u9664\u8FDE\u63A5","Load data using your connected account":"\u4F7F\u7528\u5DF2\u8FDE\u63A5\u7684\u8D26\u53F7\u52A0\u8F7D\u6570\u636E","Loading plugin data":"\u6B63\u5728\u52A0\u8F7D\u63D2\u4EF6\u6570\u636E","Continue to service":"\u524D\u5F80\u670D\u52A1\u6388\u6743","Connected as {name}":"\u5DF2\u8FDE\u63A5\u4E3A {name}","Connection forgotten in dooc":"\u5DF2\u6E05\u9664 dooc \u4E2D\u7684\u8FDE\u63A5","Connect this plugin again":"\u8BF7\u91CD\u65B0\u8FDE\u63A5\u6B64\u63D2\u4EF6","Plugin is not configured":"\u5C1A\u672A\u914D\u7F6E\u6B64\u63D2\u4EF6","Plugin request failed":"\u63D2\u4EF6\u8BF7\u6C42\u5931\u8D25","Plugin service request failed":"\u670D\u52A1\u8BF7\u6C42\u5931\u8D25","Access denied by the service":"\u670D\u52A1\u62D2\u7EDD\u4E86\u8BBF\u95EE","Collapse code":"\u6298\u53E0\u4EE3\u7801","Expand code":"\u5C55\u5F00\u4EE3\u7801",Language:"\u7F16\u8F91\u5668\u8BED\u8A00",Save:"\u4FDD\u5B58","Save (Ctrl+S)":"\u4FDD\u5B58\uFF08Ctrl+S\uFF09","View settings":"\u663E\u793A\u8BBE\u7F6E","Auto save":"\u81EA\u52A8\u4FDD\u5B58","Wrap lines":"\u81EA\u52A8\u6362\u884C","Front-matter fields":"\u663E\u793A\u6587\u6863\u5C5E\u6027",title:"\u6807\u9898",desc:"\u63CF\u8FF0",lang:"\u6587\u6863\u8BED\u8A00","Remove icon":"\u79FB\u9664\u56FE\u6807",icon:"\u56FE\u6807",rename:"\u91CD\u547D\u540D","Enter to save / Esc to cancel":"Enter \u4FDD\u5B58 / Esc \u53D6\u6D88","Change doc id":"\u66F4\u6539\u6587\u6863ID","Delete doc":"\u5220\u9664\u6587\u6863","Add doc":"\u6DFB\u52A0\u6587\u6863",Resources:"\u8D44\u6E90",markdown:"Markdown",figures:"\u56FE\u7247",html:"HTML",icons:"\u56FE\u6807","Resize sidebar":"\u8C03\u6574\u4FA7\u680F\u5BBD\u5EA6","Resize document tree":"\u8C03\u6574\u6587\u6863\u6811\u9AD8\u5EA6","Resize editor":"\u8C03\u6574\u7F16\u8F91\u5668\u5BBD\u5EA6","Close sidebar":"\u6536\u8D77\u4FA7\u8FB9\u680F","Open sidebar":"\u5C55\u5F00\u4FA7\u8FB9\u680F",Create:"\u521B\u5EFA","Unsaved changes":"\u672A\u4FDD\u5B58\u7684\u66F4\u6539","Modified (waiting for auto-save)":"\u5DF2\u4FEE\u6539\uFF08\u7B49\u5F85\u81EA\u52A8\u4FDD\u5B58\uFF09","Enter to rename / Esc to cancel (file links follow)":"Enter\u91CD\u547D\u540D / Esc\u53D6\u6D88\uFF08\u6587\u6863\u94FE\u63A5\u5C06\u540C\u6B65\u66F4\u65B0\uFF09","Icon must be svg":"\u56FE\u6807\u5FC5\u987B\u4E3ASVG\u683C\u5F0F","Change site icon":"\u66F4\u6362\u7AD9\u70B9\u56FE\u6807","Icon set (auto-padded to 1:1)":"\u5DF2\u8BBE\u7F6E\u56FE\u6807\uFF08\u5DF2\u8C03\u6574\u4E3A\u6B63\u65B9\u5F62\uFF09","Icon removed":"\u5DF2\u79FB\u9664\u56FE\u6807","Only svg / png / webp / jpeg can be added":"\u4EC5\u53EF\u6DFB\u52A0SVG\u3001PNG\u3001WebP\u6216JPEG","Updated externally (keeping unsaved changes)":"\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u66F4\u65B0\uFF08\u4FDD\u7559\u672A\u4FDD\u5B58\u7684\u66F4\u6539\uFF09","Changed externally \u2014 keeping your changes (you'll be asked again on save)":"\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u66F4\u65B0\uFF0C\u4FDD\u7559\u5F53\u524D\u66F4\u6539\uFF08\u4FDD\u5B58\u65F6\u518D\u6B21\u786E\u8BA4\uFF09","You have unsaved changes. Discard them and leave?":"\u5B58\u5728\u672A\u4FDD\u5B58\u7684\u66F4\u6539\u3002\u653E\u5F03\u66F4\u6539\u5E76\u79BB\u5F00\uFF1F",Saved:"\u5DF2\u4FDD\u5B58",Auto:"\u81EA\u52A8",Light:"\u6D45\u8272",Dark:"\u6DF1\u8272",Theme:"\u4E3B\u9898","Saved {time}":"\u5DF2\u4FDD\u5B58 {time}","Saved (validation errors: {count})":"\u5DF2\u4FDD\u5B58\uFF08\u9A8C\u8BC1\u9519\u8BEF\uFF1A{count}\uFF09","Failed to save: {error}":"\u4FDD\u5B58\u5931\u8D25\uFF1A{error}",'Delete "{file}"? (this cannot be undone)':"\u5220\u9664\u201C{file}\u201D\u53CA\u5176\u6240\u6709\u7FFB\u8BD1\uFF1F\uFF08\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\uFF09","Failed to delete: {error}":"\u5220\u9664\u5931\u8D25\uFF1A{error}","Adding figures\u2026 ({count})":"\u6B63\u5728\u6DFB\u52A0\u56FE\u7247\u2026\uFF08{count}\uFF09","Added figures: {names}":"\u5DF2\u6DFB\u52A0\u56FE\u7247\uFF1A{names}","Failed to add figures: {error}":"\u6DFB\u52A0\u56FE\u7247\u5931\u8D25\uFF1A{error}","Failed to set icon: {error}":"\u8BBE\u7F6E\u56FE\u6807\u5931\u8D25\uFF1A{error}","Failed to update preview: {error}":"\u66F4\u65B0\u9884\u89C8\u5931\u8D25\uFF1A{error}","Failed to apply external changes: {error}":"\u5E94\u7528\u5916\u90E8\u66F4\u6539\u5931\u8D25\uFF1A{error}","Can't rename: {error}":"\u91CD\u547D\u540D\u5931\u8D25\uFF1A{error}","Applied external changes":"\u5DF2\u5E94\u7528\u5916\u90E8\u66F4\u6539",Contents:"\u76EE\u5F55","Copy code":"\u590D\u5236\u4EE3\u7801","External conflict":`\u6B64\u6587\u6863\u5DF2\u88AB\u5916\u90E8\u66F4\u65B0\u3002\u5E94\u7528\u5916\u90E8\u66F4\u6539\uFF1F
14
14
 
15
15
  \u786E\u5B9A\uFF1A\u653E\u5F03\u672A\u4FDD\u5B58\u7684\u7F16\u8F91\u5E76\u5E94\u7528\u5916\u90E8\u66F4\u6539
16
16
  \u53D6\u6D88\uFF1A\u4FDD\u7559\u7F16\u8F91\u5185\u5BB9\u5E76\u53D6\u6D88\u672C\u6B21\u4FDD\u5B58`,"Referenced documents: {list}":`\u4EE5\u4E0B\u6587\u6863\u5305\u542B\u5BF9\u6B64\u6587\u6863\u7684\u5F15\u7528\uFF1A
17
17
  {list}
18
18
 
19
- \u4ECD\u8981\u5220\u9664\uFF1F\uFF08\u94FE\u63A5\u5C06\u5931\u6548\uFF09`,heading:"\u6807\u9898",subheading:"\u5B50\u6807\u9898","code fence":"\u4EE3\u7801\u5757","figure reference":"\u56FE\u7247\u5F15\u7528",Templates:"\u6A21\u677F",Figures:"\u56FE\u7247","Doc links":"\u6587\u6863\u94FE\u63A5",Terms:"\u672F\u8BED","Custom syntax":"\u6269\u5C55\u8BED\u6CD5",path:"\u8DEF\u5F84",size:"\u5927\u5C0F",kind:"\u7C7B\u578B",syntax:"\u8BED\u6CD5",doc:"\u6587\u6863","used in":"\u4F7F\u7528\u4F4D\u7F6E",none:"\u65E0","Split view":"\u5207\u6362\u53CC\u680F\u89C6\u56FE","Change language":"\u66F4\u6539\u8BED\u8A00","Active pane":"\u5F53\u524D\u7F16\u8F91\u7A97\u683C","Activate pane":"\u7F16\u8F91\u6B64\u7A97\u683C","Failed to load pane":"\u65E0\u6CD5\u52A0\u8F7D\u7A97\u683C","Close pane and discard its unsaved changes?":"\u653E\u5F03\u53E6\u4E00\u7A97\u683C\u672A\u4FDD\u5B58\u7684\u66F4\u6539\u5E76\u5173\u95ED\uFF1F","Validate and apply":"\u9A8C\u8BC1\u5E76\u5E94\u7528","Auto validate":"\u81EA\u52A8\u9A8C\u8BC1","Source mapping":"\u663E\u793A\u6B63\u6587\u4E0E\u6E90\u4EE3\u7801\u7684\u5BF9\u5E94\u5173\u7CFB","Validation pending":"\u5B58\u5728\u672A\u5E94\u7528\u7684\u66F4\u6539",Validating:"\u6B63\u5728\u9A8C\u8BC1","Validation passed":"\u9A8C\u8BC1\u901A\u8FC7","Validation errors":"\u9A8C\u8BC1\u9519\u8BEF",Saving:"\u6B63\u5728\u4FDD\u5B58","Save failed":"\u4FDD\u5B58\u5931\u8D25","Expand section":"\u5C55\u5F00","Collapse section":"\u6298\u53E0",terms:"\u672F\u8BED","Edit text file":"\u7F16\u8F91\u6587\u672C\u6587\u4EF6","Create file":"\u8F6C\u4E3A\u6587\u4EF6","Reload file":"\u91CD\u65B0\u8F7D\u5165\u6587\u4EF6","Working\u2026":"\u5904\u7406\u4E2D\u2026","File not found \u2014 save to create it.":"\u6587\u4EF6\u4E0D\u5B58\u5728\uFF0C\u4FDD\u5B58\u5373\u53EF\u521B\u5EFA\u3002","Discard file edits and reload?":"\u653E\u5F03\u6587\u4EF6\u4E2D\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u5E76\u91CD\u65B0\u8F7D\u5165\uFF1F","File changed externally. Reload it before saving.":"\u6587\u4EF6\u5DF2\u5728\u5916\u90E8\u4FEE\u6539\uFF0C\u8BF7\u91CD\u65B0\u8F7D\u5165\u540E\u518D\u4FDD\u5B58\u3002","Edits made while reloading were kept. Reload again when ready.":"\u5DF2\u4FDD\u7559\u91CD\u65B0\u8F7D\u5165\u671F\u95F4\u7684\u4FEE\u6539\uFF0C\u8BF7\u51C6\u5907\u597D\u540E\u518D\u6B21\u8F7D\u5165\u3002","File not found":"\u627E\u4E0D\u5230\u6587\u4EF6","File has not been loaded":"\u5C1A\u672A\u52A0\u8F7D\u6587\u4EF6","File could not be loaded":"\u65E0\u6CD5\u52A0\u8F7D\u6587\u4EF6","View remote text file":"\u67E5\u770B\u8FDC\u7A0B\u6587\u672C\u6587\u4EF6","Remote files are read-only":"\u8FDC\u7A0B\u6587\u4EF6\u4E3A\u53EA\u8BFB","Edits made while validating were kept. Validate again when ready.":"\u5DF2\u4FDD\u7559\u9A8C\u8BC1\u671F\u95F4\u7684\u7F16\u8F91\u3002\u51C6\u5907\u597D\u540E\u8BF7\u91CD\u65B0\u9A8C\u8BC1\u3002","Updating preview":"\u6B63\u5728\u66F4\u65B0\u9884\u89C8","Preview is up to date":"\u9884\u89C8\u6B63\u5E38","Preview could not be updated":"\u65E0\u6CD5\u66F4\u65B0\u9884\u89C8","Conflicting changes":"\u66F4\u6539\u53D1\u751F\u51B2\u7A81","Use my edits":"\u4F7F\u7528\u6211\u7684\u7F16\u8F91","Use external changes":"\u4F7F\u7528\u5916\u90E8\u66F4\u6539","File was deleted":"\u6587\u4EF6\u5DF2\u5220\u9664",Cancel:"\u53D6\u6D88","Search documents":"\u641C\u7D22\u6587\u6863","No results":"\u65E0\u641C\u7D22\u7ED3\u679C","Searching\u2026":"\u641C\u7D22\u4E2D\u2026","Could not load search. Press Ctrl+F to retry.":"\u65E0\u6CD5\u52A0\u8F7D\u641C\u7D22\u3002\u6309 Ctrl+F \u91CD\u8BD5\u3002","{count} results":"{count} \u6761\u7ED3\u679C","Showing {shown} of {count} results":"\u663E\u793A {count} \u6761\u7ED3\u679C\u4E2D\u7684 {shown} \u6761","Add translation":"\u6DFB\u52A0\u7FFB\u8BD1\u6587\u6863","Move search":"\u79FB\u52A8\u641C\u7D22\u7A97\u53E3","Resize search":"\u8C03\u6574\u641C\u7D22\u7A97\u53E3\u5927\u5C0F","Matches text":"\u5339\u914D\u6B63\u6587","Matches file name":"\u5339\u914D\u6587\u4EF6\u540D","Matches folder name":"\u5339\u914D\u6587\u4EF6\u5939\u540D","Close search":"\u5173\u95ED\u641C\u7D22\u7A97\u53E3","Move search to sidebar":"\u5C06\u641C\u7D22\u7A97\u53E3\u653E\u5230\u4FA7\u8FB9\u680F","Float search":"\u8BA9\u641C\u7D22\u7A97\u53E3\u6D6E\u52A8",Notice:"\u63D0\u793A",OK:"\u5173\u95ED","Discard changes":"\u653E\u5F03\u66F4\u6539","Copy section URL":"\u590D\u5236\u6B64\u7AE0\u8282\u94FE\u63A5",Copied:"\u5DF2\u590D\u5236","Could not copy URL":"\u65E0\u6CD5\u590D\u5236\u94FE\u63A5","Search languages":"\u641C\u7D22\u8BED\u8A00","Remove translation":"\u5220\u9664\u7FFB\u8BD1","Source language cannot be removed":"\u65E0\u6CD5\u5220\u9664\u6E90\u8BED\u8A00","Enter to edit; Ctrl+Enter to add or remove translation":"\u6309Enter\u7F16\u8F91\uFF0C\u6309Ctrl+Enter\u6DFB\u52A0\u6216\u5220\u9664\u7FFB\u8BD1","Preview has not been updated":"\u9884\u89C8\u5C1A\u672A\u66F4\u65B0",Table:"\u8868\u683C",Image:"\u56FE\u7247",HTML:"HTML",Markdown:"Markdown",Code:"\u4EE3\u7801",Video:"\u89C6\u9891",Loading:"\u52A0\u8F7D\u4E2D",Retry:"\u91CD\u8BD5",Reload:"\u91CD\u65B0\u52A0\u8F7D",Close:"\u5173\u95ED","File preview":"\u6587\u4EF6\u9884\u89C8",Files:"\u6587\u4EF6","Search files":"\u641C\u7D22\u6587\u4EF6",Plugin:"\u63D2\u4EF6\u540D","Default folder layout":"\u9ED8\u8BA4\u6587\u4EF6\u5939\u5E03\u5C40","Folder restructure":"\u6574\u7406\u6587\u4EF6\u5939",Move:"\u79FB\u52A8","Move up":"\u4E0A\u79FB","Move down":"\u4E0B\u79FB","Move to root":"\u79FB\u5230\u6839\u76EE\u5F55",Name:"\u540D\u79F0",Size:"\u5927\u5C0F",Select:"\u9009\u62E9","Copy path":"\u590D\u5236\u8DEF\u5F84","File path":"\u6587\u4EF6\u8DEF\u5F84","File created":"\u6587\u4EF6\u5DF2\u521B\u5EFA","Copy failed":"\u590D\u5236\u5931\u8D25","Place new files in files/<extension>/":"\u5C06\u65B0\u6587\u4EF6\u653E\u5165 files/<\u6269\u5C55\u540D>/","Document changed. Retry from the current block.":"\u6587\u6863\u5DF2\u66F4\u6539\u3002\u8BF7\u4ECE\u5F53\u524D\u4EE3\u7801\u5757\u91CD\u8BD5\u3002","Document changed. Insert the file from Files.":"\u6587\u6863\u5DF2\u66F4\u6539\u3002\u8BF7\u4ECE\u6587\u4EF6\u9875\u9762\u63D2\u5165\u5F15\u7528\u3002","File name":"\u6587\u4EF6\u540D","Renamed to {filename}":"\u5DF2\u91CD\u547D\u540D\u4E3A {filename}","Enter a file name ending in .md":"\u8BF7\u8F93\u5165\u4EE5 .md \u7ED3\u5C3E\u7684\u6587\u4EF6\u540D","Upload files":"\u4E0A\u4F20\u6587\u4EF6","Uploading {count}/{total}":"\u4E0A\u4F20\u4E2D {count}/{total}","Files uploaded":"\u6587\u4EF6\u5DF2\u4E0A\u4F20","File exceeds 64 MiB":"\u6587\u4EF6\u8D85\u8FC764 MiB","Choose files inside the folder":"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939\u4E2D\u7684\u6587\u4EF6","Click a column to sort; row numbers refer to the source":"\u70B9\u51FB\u5217\u540D\u6392\u5E8F\uFF1B\u884C\u53F7\u5BF9\u5E94\u539F\u59CB\u6570\u636E",Column:"\u5217","Resize table":"\u8C03\u6574\u8868\u683C\u9AD8\u5EA6","Back to document":"\u8FD4\u56DE\u6587\u6863","File details":"\u6587\u4EF6\u4FE1\u606F","Show Git changes":"\u663E\u793A Git \u5DEE\u5F02","Resource views":"\u8D44\u6E90\u89C6\u56FE",Default:"\u9ED8\u8BA4\u503C","Set as default":"\u8BBE\u4E3A\u9ED8\u8BA4\u503C","Group by":"\u5206\u7EC4\u4F9D\u636E","Sort by":"\u6392\u5E8F\u4F9D\u636E","Newest first":"\u4ECE\u65B0\u5230\u65E7","Oldest first":"\u4ECE\u65E7\u5230\u65B0",Unassigned:"\u672A\u8BBE\u7F6E",Records:"\u8BB0\u5F55",Codeblocks:"\u4EE3\u7801\u5757",Format:"\u683C\u5F0F",URLs:"URL","URL previews":"URL \u9884\u89C8",Domain:"\u57DF\u540D",All:"\u5168\u90E8",references:"\u5904\u5F15\u7528","Search resources":"\u641C\u7D22\u8D44\u6E90","Files with errors":"\u8BFB\u53D6\u6216\u89E3\u6790\u9519\u8BEF","No matching resources":"\u6CA1\u6709\u5339\u914D\u7684\u8D44\u6E90","Organize files":"\u6574\u7406\u6587\u4EF6","Auto-save paused":"\u81EA\u52A8\u4FDD\u5B58\u5DF2\u6682\u505C","Reload failed":"\u91CD\u65B0\u52A0\u8F7D\u5931\u8D25","Waiting for auto-save":"\u7B49\u5F85\u81EA\u52A8\u4FDD\u5B58","Conflict unresolved. Auto-save is paused; your edits are kept.":"\u51B2\u7A81\u5C1A\u672A\u89E3\u51B3\uFF0C\u81EA\u52A8\u4FDD\u5B58\u5DF2\u6682\u505C\uFF1B\u60A8\u7684\u7F16\u8F91\u5DF2\u4FDD\u7559\u3002","File not found \u2014 editing will create it automatically.":"\u6587\u4EF6\u4E0D\u5B58\u5728\uFF1B\u7F16\u8F91\u540E\u4F1A\u81EA\u52A8\u521B\u5EFA\u3002",Play:"\u64AD\u653E",Pause:"\u6682\u505C",Seek:"\u64AD\u653E\u4F4D\u7F6E",Mute:"\u9759\u97F3",Unmute:"\u53D6\u6D88\u9759\u97F3",Volume:"\u97F3\u91CF","Video settings":"\u89C6\u9891\u8BBE\u7F6E","Playback speed":"\u64AD\u653E\u901F\u5EA6",Fullscreen:"\u5168\u5C4F","Video could not be played":"\u65E0\u6CD5\u64AD\u653E\u89C6\u9891","Fullscreen is unavailable":"\u65E0\u6CD5\u8FDB\u5165\u5168\u5C4F","Some registered fonts could not be loaded":"\u90E8\u5206\u5DF2\u6CE8\u518C\u5B57\u4F53\u65E0\u6CD5\u52A0\u8F7D",Done:"\u5B8C\u6210","Git operation failed":"Git \u64CD\u4F5C\u5931\u8D25","Create pull request":"\u521B\u5EFA\u62C9\u53D6\u8BF7\u6C42","Base branch":"\u76EE\u6807\u5206\u652F",Draft:"\u8349\u7A3F","Open pull request":"\u6253\u5F00\u62C9\u53D6\u8BF7\u6C42","Merge method":"\u5408\u5E76\u65B9\u5F0F","Merge pull request":"\u5408\u5E76\u62C9\u53D6\u8BF7\u6C42","Merge #{number} into {base} using {method}?":"\u5C06 #{number} \u4EE5 {method} \u65B9\u5F0F\u5408\u5E76\u5230 {base}\uFF1F","Reset edits":"\u91CD\u7F6E\u7F16\u8F91","Discard these pull request edits?":"\u653E\u5F03\u6B64\u62C9\u53D6\u8BF7\u6C42\u7684\u672A\u4FDD\u5B58\u7F16\u8F91\uFF1F",Branch:"\u5206\u652F","Switch branch":"\u5207\u6362\u5206\u652F","New branch":"\u65B0\u5206\u652F","Create branch":"\u521B\u5EFA\u5206\u652F",Changes:"\u66F4\u6539","Git uses saved files.":"\u663E\u793A\u5DF2\u4FDD\u5B58\u6587\u4EF6\u7684\u66F4\u6539\u3002",Stage:"\u6682\u5B58",Unstage:"\u53D6\u6D88\u6682\u5B58","Working tree clean":"\u5DE5\u4F5C\u533A\u65E0\u66F4\u6539","Commit message":"\u63D0\u4EA4\u8BF4\u660E","Commit staged changes":"\u63D0\u4EA4\u6682\u5B58\u7684\u66F4\u6539",Fetch:"\u83B7\u53D6","Pull (fast-forward)":"\u62C9\u53D6 (fast-forward)",Push:"\u63A8\u9001","Connect an origin provider from the viewer module to enable remote operations.":"\u901A\u8FC7\u5916\u90E8 viewer \u6A21\u5757\u8FDE\u63A5 origin \u4EE5\u542F\u7528\u8FDC\u7A0B\u64CD\u4F5C\u3002","Pull requests":"\u62C9\u53D6\u8BF7\u6C42","No open pull requests":"\u6CA1\u6709\u5F85\u5904\u7406\u7684\u62C9\u53D6\u8BF7\u6C42",Description:"\u8BF4\u660E","Operation completed, but reload failed: {error}":"\u64CD\u4F5C\u5DF2\u5B8C\u6210\uFF0C\u4F46\u91CD\u65B0\u52A0\u8F7D\u5931\u8D25\uFF1A{error}","Stash is occupied. Commit the current changes before switching branches.":"\u6682\u5B58\u69FD\u5DF2\u5360\u7528\uFF0C\u8BF7\u5148\u63D0\u4EA4\u5F53\u524D\u66F4\u6539\u518D\u5207\u6362\u5206\u652F\u3002","Stash saved changes and switch to {branch}?":"\u5C06\u5DF2\u4FDD\u5B58\u6587\u4EF6\u7684\u66F4\u6539\u5B58\u5165 stash \u5E76\u5207\u6362\u5230 {branch}\uFF1F","Stash and switch":"\u6682\u5B58\u5E76\u5207\u6362","Create the first commit to switch branches.":"\u521B\u5EFA\u9996\u6B21\u63D0\u4EA4\u540E\u5373\u53EF\u5207\u6362\u5206\u652F\u3002","Stash \xB7 empty":"Stash \xB7 \u7A7A","Restore stash":"\u6062\u590D stash","Stash changes":"\u6682\u5B58\u66F4\u6539",Statics:"Statics",Subformats:"Subformats","Expand card":"\u5C55\u5F00\u5361\u7247","Collapse card":"\u6298\u53E0\u5361\u7247","View details":"\u67E5\u770B\u8BE6\u60C5","Click for details; double-click to edit":"\u5355\u51FB\u67E5\u770B\u8BE6\u60C5\uFF1B\u53CC\u51FB\u7F16\u8F91","No grouping":"\u4E0D\u5206\u7EC4",Ascending:"\u5347\u5E8F",Descending:"\u964D\u5E8F","No subformats configured. Add subformats to dooc.yaml.":"\u5C1A\u672A\u914D\u7F6E\u5B50\u683C\u5F0F\u3002\u8BF7\u5728 dooc.yaml \u4E2D\u6DFB\u52A0 subformats\u3002","Workspace tools":"\u5DE5\u4F5C\u533A\u5DE5\u5177","Git controls":"Git \u64CD\u4F5C",Actions:"\u64CD\u4F5C",Updated:"\u5DF2\u66F4\u65B0",Copy:"\u590D\u5236",Edit:"\u7F16\u8F91","Reload actions before saving again.":"\u518D\u6B21\u4FDD\u5B58\u524D\u8BF7\u91CD\u65B0\u52A0\u8F7D\u3002","Saved, but refresh failed. Reload actions before saving again.":"\u4FDD\u5B58\u5DF2\u5B8C\u6210\uFF0C\u4F46\u5237\u65B0\u5931\u8D25\u3002\u518D\u6B21\u4FDD\u5B58\u524D\u8BF7\u91CD\u65B0\u52A0\u8F7D\u3002","Actions could not be loaded.":"\u65E0\u6CD5\u52A0\u8F7D\u64CD\u4F5C\u3002","An open draft is no longer editable. Copy or cancel it before reloading.":"\u6B63\u5728\u7F16\u8F91\u7684\u8349\u7A3F\u5DF2\u65E0\u6CD5\u4FEE\u6539\u3002\u91CD\u65B0\u52A0\u8F7D\u524D\u8BF7\u590D\u5236\u6216\u53D6\u6D88\u8349\u7A3F\u3002","Changed elsewhere. Your input is kept; edit again to apply it.":"\u5185\u5BB9\u5DF2\u5728\u5176\u4ED6\u4F4D\u7F6E\u66F4\u6539\u3002\u5DF2\u4FDD\u7559\u8F93\u5165\uFF0C\u518D\u6B21\u7F16\u8F91\u5373\u53EF\u5E94\u7528\u3002",Plugins:"\u63D2\u4EF6","Add plugins":"\u6DFB\u52A0\u63D2\u4EF6","Plugins are saved in this browser. Run server plugins in a local dooc editor.":"\u63D2\u4EF6\u4FDD\u5B58\u5728\u6B64\u6D4F\u89C8\u5668\u4E2D\u3002\u670D\u52A1\u5668\u63D2\u4EF6\u9700\u5728\u672C\u5730 dooc \u7F16\u8F91\u5668\u4E2D\u8FD0\u884C\u3002","Drag and drop here, or click to browse.":"\u62D6\u653E\u5230\u6B64\u5904\uFF0C\u6216\u70B9\u51FB\u9009\u62E9\u3002","Invalid package":"\u65E0\u6548\u5305","Browser storage":"\u6D4F\u89C8\u5668\u5B58\u50A8",Enabled:"\u5DF2\u542F\u7528",Disabled:"\u5DF2\u7981\u7528",Enable:"\u542F\u7528",Disable:"\u7981\u7528","Delete plugin {name}?":"\u5220\u9664\u63D2\u4EF6 {name}\uFF1F","Replace plugin {name}?":"\u66FF\u6362\u63D2\u4EF6 {name}\uFF1F","Discard plugin changes?":"\u653E\u5F03\u672A\u5E94\u7528\u7684\u63D2\u4EF6\u66F4\u6539\uFF1F","Plugin file":"\u63D2\u4EF6\u6587\u4EF6","Apply changes":"\u5E94\u7528\u66F4\u6539","Binary asset \u2014 replace it by importing a new ZIP.":"\u4E8C\u8FDB\u5236\u8D44\u6E90\u3002\u5BFC\u5165\u65B0 ZIP \u4EE5\u66FF\u6362\u3002","Choose a ZIP smaller than 16 MiB":"\u8BF7\u9009\u62E9\u4E0D\u8D85\u8FC7 16 MiB \u7684 ZIP","Sign in":"\u767B\u5F55","Sign out":"\u9000\u51FA\u767B\u5F55","Not signed in":"\u672A\u767B\u5F55","Continue login":"\u7EE7\u7EED\u767B\u5F55","Provided by viewer":"\u7531\u67E5\u770B\u5668\u63D0\u4F9B",Added:"\u65B0\u589E",Modified:"\u4FEE\u6539","Add subformat\u2026":"\u6DFB\u52A0\u5B50\u683C\u5F0F\u2026",Delete:"\u5220\u9664","Delete subformat {ext} and its sidebar page? Records and schema files will be kept.":"\u5220\u9664\u5B50\u683C\u5F0F {ext} \u53CA\u5176\u4FA7\u8FB9\u680F\u9875\u9762\uFF1F\u8BB0\u5F55\u548C\u6A21\u5F0F\u6587\u4EF6\u5C06\u4FDD\u7559\u3002","Subformat changed externally. Reload and try again.":"\u5B50\u683C\u5F0F\u5DF2\u88AB\u5916\u90E8\u4FEE\u6539\u3002\u8BF7\u91CD\u65B0\u52A0\u8F7D\u540E\u91CD\u8BD5\u3002","Move or remove this subformat page's child pages before deleting it.":"\u5220\u9664\u524D\uFF0C\u8BF7\u5148\u79FB\u52A8\u6216\u5220\u9664\u6B64\u5B50\u683C\u5F0F\u9875\u9762\u7684\u5B50\u9875\u9762\u3002","Add subformat":"\u6DFB\u52A0\u5B50\u683C\u5F0F",Extension:"\u6269\u5C55\u540D","Storage format":"\u5B58\u50A8\u683C\u5F0F","Schema file (optional)":"\u6A21\u5F0F\u6587\u4EF6\uFF08\u53EF\u9009\uFF09","Create automatically":"\u81EA\u52A8\u521B\u5EFA",Form:"\u8868\u5355","Enter a valid number.":"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u6570\u503C\u3002","Value editing mode":"\u503C\u7F16\u8F91\u6A21\u5F0F","{format} text":"{format}\u6587\u672C","Schema editing mode":"\u6A21\u5F0F\u7F16\u8F91\u65B9\u5F0F","JSON text":"JSON text","Build kit":"Build kit","Field settings":"\u5B57\u6BB5\u8BBE\u7F6E","Field name":"\u5B57\u6BB5\u540D\u79F0","New field name":"\u65B0\u5B57\u6BB5\u540D\u79F0","New field type":"\u65B0\u5B57\u6BB5\u7C7B\u578B","Remove field":"\u5220\u9664\u5B57\u6BB5","Add field":"\u6DFB\u52A0\u5B57\u6BB5",Required:"\u5FC5\u586B","Allow extra fields":"\u5141\u8BB8\u989D\u5916\u5B57\u6BB5","Schema settings":"\u6A21\u5F0F\u8BBE\u7F6E","Remove nested fields before changing the type.":"\u66F4\u6539\u7C7B\u578B\u524D\uFF0C\u8BF7\u5148\u5220\u9664\u5D4C\u5957\u5B57\u6BB5\u3002","Any type":"\u4EFB\u610F\u7C7B\u578B",'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.':'\u6BCF\u884C\u4E00\u4E2A\u9009\u9879\u3002\u7A7A\u6587\u672C\u7528 ""\uFF0C\u591A\u884C\u6587\u672C\u7528 "a\\nb"\uFF0C\u5176\u4ED6\u7C7B\u578B\u7528JSON\u3002',"Enter at least one choice.":"\u8BF7\u81F3\u5C11\u8F93\u5165\u4E00\u4E2A\u9009\u9879\u3002","Enter a non-empty JSON array of schemas.":"\u8BF7\u8F93\u5165\u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u6A21\u5F0F\u7684JSON\u6570\u7EC4\u3002","Enter a JSON schema object or boolean.":"\u8BF7\u8F93\u5165JSON\u6A21\u5F0F\u5BF9\u8C61\u6216\u5E03\u5C14\u503C\u3002","Enter an object containing named schemas.":"\u8BF7\u8F93\u5165\u5305\u542B\u547D\u540D\u6A21\u5F0F\u7684\u5BF9\u8C61\u3002","The constant must match the field type.":"\u5E38\u91CF\u5FC5\u987B\u7B26\u5408\u5B57\u6BB5\u7C7B\u578B\u3002","Change existing choices or defaults before changing the type.":"\u66F4\u6539\u7C7B\u578B\u524D\uFF0C\u8BF7\u5148\u4FEE\u6539\u73B0\u6709\u9009\u9879\u6216\u9ED8\u8BA4\u503C\u3002","Choices (one per line)":"\u9009\u9879\uFF08\u6BCF\u884C\u4E00\u4E2A\uFF09","Item type":"\u6570\u7EC4\u9879\u7C7B\u578B","Rename linked fields in JSON text.":"\u8BF7\u5728JSON text\u4E2D\u91CD\u547D\u540D\u5173\u8054\u5B57\u6BB5\u3002","Additional rules are preserved in JSON text.":"\u5176\u4ED6\u89C4\u5219\u4FDD\u7559\u5728JSON text\u4E2D\u3002","Enter a field name.":"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\u79F0\u3002","Enter a unique field name.":"\u8BF7\u8F93\u5165\u552F\u4E00\u7684\u5B57\u6BB5\u540D\u79F0\u3002","A field with this name already exists.":"\u5DF2\u5B58\u5728\u540C\u540D\u5B57\u6BB5\u3002","Each choice must match the field type.":"\u6BCF\u4E2A\u9009\u9879\u5FC5\u987B\u7B26\u5408\u5B57\u6BB5\u7C7B\u578B\u3002","Choices must be unique.":"\u9009\u9879\u4E0D\u80FD\u91CD\u590D\u3002","Enter a value greater than {minimum}.":"\u8BF7\u8F93\u5165\u5927\u4E8E{minimum}\u7684\u503C\u3002","Page type":"\u9875\u9762\u7C7B\u578B","Markdown page":"Markdown \u9875\u9762","No subformats available to add.":"\u6CA1\u6709\u53EF\u6DFB\u52A0\u7684\u5B50\u683C\u5F0F\u3002","Add page":"\u6DFB\u52A0\u9875\u9762","Remove page":"\u79FB\u9664\u9875\u9762","Rename page":"\u91CD\u547D\u540D\u9875\u9762","Remove this page from the sidebar? The records will be kept.":"\u4ECE\u4FA7\u8FB9\u680F\u79FB\u9664\u6B64\u9875\u9762\uFF1F\u8BB0\u5F55\u5C06\u88AB\u4FDD\u7559\u3002",Parameters:"\u53C2\u6570",Items:"\u6570\u7EC4\u5143\u7D20","Remove parameter":"\u79FB\u9664\u53C2\u6570","Check the parameter value.":"\u8BF7\u68C0\u67E5\u53C2\u6570\u503C\u3002","Download PDF":"\u4E0B\u8F7D PDF","Choose date":"\u9009\u62E9\u65E5\u671F","Previous month":"\u4E0A\u4E2A\u6708","Next month":"\u4E0B\u4E2A\u6708",Today:"\u4ECA\u5929",Clear:"\u6E05\u9664","Enter a valid date (YYYY-MM-DD).":"\u8BF7\u8F93\u5165\u6709\u6548\u65E5\u671F\uFF08YYYY-MM-DD\uFF09\u3002","Load preview":"\u52A0\u8F7D\u9884\u89C8","Preview unavailable":"\u65E0\u6CD5\u52A0\u8F7D\u9884\u89C8"};var mo={eng:dr,jpn:fo,zho:po},Ka=e=>{let t=e.toLowerCase().split("-")[0]??"en";return Object.keys(mo).find(n=>n===t||Vt[n]===t)??"eng"},Ja=(e,t,n={})=>(mo[Ka(e)]?.[t]??dr[t]??t).replace(/\{(\w+)\}/g,(i,o)=>Object.hasOwn(n,o)?String(n[o]):i);var Wa="eng",Z=(e,t)=>Ja(Wa,e,t);var Oe=e=>!!e&&typeof e=="object"&&!Array.isArray(e),ue=e=>typeof e=="string"&&e.length<=6e4,le=(e,t)=>e===void 0||t(e),at=e=>typeof e=="boolean",De=(e,t,n=200)=>Array.isArray(e)&&e.length<=n&&e.every(t),pr=e=>{if(typeof e!="string"||e.length>4096||/[\s\\\p{Cc}]/u.test(e))return!1;try{let t=new URL(e);return/^https?:$/.test(t.protocol)&&!t.username&&!t.password}catch{return!1}},ho=e=>typeof e=="string"&&e.length<=1e5&&/^data:image\/(?:svg\+xml|png|webp);base64,[A-Za-z0-9+/]+={0,2}$/.test(e),yo=e=>Oe(e)&&ho(e.light)&&le(e.dark,ho),bo=e=>Oe(e)&&ue(e.action)&&le(e.field,ue),wo=e=>De(e,t=>ue(t)||Oe(t)&&ue(t.text)&&le(t.url,pr)&&le(t.code,at)&&le(t.strong,at)&&le(t.copy,ue)&&le(t.tone,n=>["neutral","accent","success","warning","danger"].includes(String(n)))),go=e=>Oe(e)&&wo(e.items)&&le(e.edit,bo),mr=e=>{let t=0,n=(r,i)=>i<=8&&De(r,o=>{if(++t>2e3||!Oe(o)||!le(o.edit,bo))return!1;switch(o.type){case"heading":case"text":return ue(o.text)&&le(o.markdown,at);case"context":return wo(o.items);case"fields":return De(o.items,s=>go(s)&&Oe(s)&&ue(s.label));case"section":return ue(o.title)&&n(o.blocks,i+1)&&le(o.collapsed,at)&&le(o.note,ue);case"columns":return n(o.main,i+1)&&n(o.aside,i+1);case"table":return De(o.headers,ue,40)&&De(o.rows,s=>Oe(s)&&De(s.cells,go,40)&&s.cells.length===o.headers.length&&le(s.actions,a=>De(a,ue)));case"code":return ue(o.text)&&le(o.diff,at);case"message":return ue(o.author)&&ue(o.text)&&le(o.time,ue)&&le(o.actions,s=>De(s,ue))&&le(o.reactions,s=>De(s,a=>Oe(a)&&ue(a.label)&&typeof a.count=="number"&&Number.isInteger(a.count)&&a.count>=0&&le(a.active,at)&&le(a.action,ue)&&le(a.values,l=>Oe(l)&&Object.keys(l).length<=40&&Object.values(l).every(ue))));case"actions":return De(o.ids,ue)&&le(o.composer,at);case"progress":return ue(o.label)&&typeof o.value=="number"&&Number.isFinite(o.value)&&o.value>=0&&o.value<=100;case"divider":return!0;default:return!1}});return Oe(e)&&!("format"in e)&&n(e.blocks,0)&&le(e.header,r=>Oe(r)&&ue(r.title)&&le(r.context,ue)&&le(r.reference,ue)&&le(r.icon,yo))};var ko=e=>{if(new TextEncoder().encode(JSON.stringify(e)).length>2*1024*1024||!Array.isArray(e)||e.length>500)throw new Error("Invalid plugin actions");let t=new Set,n=i=>typeof i=="string"&&i.length<=6e4,r=i=>i===void 0||typeof i=="boolean";for(let i of e){if(!i||!n(i.id)||!i.id||t.has(i.id)||!n(i.label)||!n(i.target)||!Array.isArray(i.fields)||i.fields.length>40||!r(i.destructive)||!r(i.confirm)||!r(i.partial)||i.version!==void 0&&!n(i.version))throw new Error("Invalid plugin actions");t.add(i.id);let o=new Set;for(let s of i.fields){if(!s||!n(s.name)||!/^[a-zA-Z][\w.:-]{0,199}$/.test(s.name)||o.has(s.name)||!n(s.label)||!["text","textarea","select","multiselect","date","number"].includes(s.type)||!r(s.required)||s.value!==void 0&&!n(s.value)||s.maxLength!==void 0&&(!Number.isInteger(s.maxLength)||s.maxLength<1||s.maxLength>6e4)||[s.min,s.max].some(a=>a!==void 0&&(typeof a!="number"||!Number.isFinite(a)))||s.min!==void 0&&s.max!==void 0&&s.min>s.max||["select","multiselect"].includes(s.type)&&(!Array.isArray(s.options)||s.options.length>1e3||s.options.some(a=>!a||!n(a.value)||!n(a.label))))throw new Error("Invalid plugin action field");if(s.type==="multiselect"&&s.value!==void 0){let a;try{a=JSON.parse(s.value)}catch{throw new Error("Invalid plugin action selection")}if(!Array.isArray(a)||a.some(l=>typeof l!="string"))throw new Error("Invalid plugin action selection")}o.add(s.name)}}return e};var Ya=(e,t,n)=>new Promise(r=>{let i=document.activeElement,o=document.createElement("dialog");o.className="app-dialog",o.setAttribute("aria-label",e);let s=document.createElement("h2");s.textContent=e;let a=typeof t=="string"?document.createElement("p"):t;typeof t=="string"&&(a.textContent=t);let l=document.createElement("div");l.className="dialog-actions";for(let c of n){let u=document.createElement("button");u.type="button",u.textContent=c.label,u.autofocus=c.value==="",u.classList.toggle("danger",!!c.danger),u.addEventListener("click",()=>o.close(c.value)),l.append(u)}o.append(s,a,l),o.addEventListener("close",()=>{o.remove(),i instanceof HTMLElement&&i.isConnected&&i.focus(),r(o.returnValue)},{once:!0}),document.body.append(o),o.showModal()}),xo=async(e,t,n=!1)=>await Ya(t,e,[{value:"",label:Z("Cancel")},{value:"confirm",label:t,danger:n}])==="confirm";var Te=(e,t="",n="")=>{let r=document.createElement(e);return r.textContent=t,r.className=n,r},Ga=(e,t,n="plugin-block-button")=>{let r=Te("button",e,n);return r.type="button",r.addEventListener("click",t),r},hr=e=>e?.value??(e?.type==="multiselect"?"[]":""),So=(e,t,n,r)=>{let i=[],o=!1,s=!1,a=!1,l=!1,c,u=()=>!l&&r(),f=new Map,p=new Set,d=new Map,g=e.querySelector(".plugin-toolbar"),b=e.querySelector("[data-plugin-status]"),w=e.querySelector("[data-plugin-result]");if(!g||!b||!w)throw new Error(Z("Plugin request failed"));let y=g.querySelector('[data-plugin-action="edit"]');if(!y)throw new Error(Z("Plugin request failed"));let C=(m,R=!1)=>{b.textContent=m,e.dataset.operationError=String(R)},k=m=>{let R={};for(let j of m.querySelectorAll("input[name],select[name],textarea[name]"))R[j.name]=j instanceof HTMLSelectElement&&j.multiple?JSON.stringify([...j.selectedOptions].map(T=>T.value)):j.value;return R},P=m=>Object.entries(k(m.form)).some(([R,j])=>j!==m.original[R]),O=()=>[...f.values()].some(m=>P(m)||m.composing),S=m=>i.find(R=>R.id===m),L=()=>{e.dataset.editing=String(s),y.setAttribute("aria-pressed",String(s)),y.disabled=o||!s&&!i.length;for(let m of w.querySelectorAll("[data-plugin-edit-trigger]"))m.tabIndex=s?0:-1,s?m.setAttribute("role","button"):m.removeAttribute("role");for(let m of w.querySelectorAll("[data-block-action] button,button[data-block-action],.plugin-submit"))m.disabled=!s||o||!S(m.closest("[data-block-action]")?.dataset.blockAction??"")},E=m=>{(d.size||O())&&m.preventDefault()};window.addEventListener("beforeunload",E);let A=async()=>{let m=await t("actions");if(!u())return;let R=ko(m.actions??[]);a||=JSON.stringify(R)!==JSON.stringify(i),i=R;for(let[j,T]of f){if(d.has(j))continue;let $=S(T.id);$&&Object.entries(T.original).every(([M,q])=>q===hr($.fields.find(ce=>ce.name===M)))&&(T.version=$.version)}L()},x=()=>u()&&!O()&&![...f.values()].some(m=>m.form.contains(document.activeElement)),D=()=>{if(!(o||c||!u()||document.hidden))return c=(async()=>{let m=[...w.querySelectorAll(".plugin-block-section")].map(j=>j.open),R=w.scrollTop;try{if(await A(),!u())return;let j=!1;if(await n(()=>{if(!x())return!1;for(let T of f.values())T.close();return j=!0,!0},a),!u())return;j&&(V(),[...w.querySelectorAll(".plugin-block-section")].forEach((T,$)=>{m[$]!==void 0&&(T.open=m[$])}),w.scrollTop=R),!O()&&!d.size&&C("")}catch(j){u()&&C(j instanceof Error?j.message:Z("Plugin request failed"),!0)}finally{c=void 0,u()&&(L(),I())}})(),c},B=async(m,R,j,T)=>{if(c&&await c,o||!s||!u())return;o=!0,L();let $=!1;try{if((m.destructive||m.confirm)&&!await xo(m.target,m.label,m.destructive)||!u())return;let M={id:m.id,values:R,version:T?T.version:m.version,...m.destructive||m.confirm?{confirmed:!0}:{}},q=JSON.stringify(M),ce=d.get(j),K=ce?.fingerprint===q?ce.requestId:crypto.randomUUID();d.set(j,{fingerprint:q,requestId:K}),e.setAttribute("aria-busy","true");let be=await t("act",{operation:M,requestId:K});if(!u())return;if($=!0,d.delete(j),T?.auto?(Object.assign(T.original,R),T.notice.textContent="",!P(T)&&!T.form.contains(document.activeElement)&&T.close()):T?.close(),C(""),be.result?.deleted){for(let G of f.values())G.close();w.replaceChildren(Te("p",be.result.message)),e.querySelector("[data-plugin-collapsed]")?.replaceChildren(),i=[],s=!1,ee();return}await A()}catch(M){if(!u())return;let q=M instanceof Error?M.message:Z("Plugin request failed");if(!$&&T&&(T.failed=!0,T.notice.textContent=q,p.delete(j)),!$&&T&&M instanceof Error&&"status"in M&&M.status===409){T.conflicted=!0,T.notice.textContent=Z("Changed elsewhere. Your input is kept; edit again to apply it.");try{await A()}catch{}}!$&&M instanceof Error&&"status"in M&&[400,401,403,404,409,422,429].includes(Number(M.status))&&d.delete(j),C(q,!0)}finally{o=!1,u()&&(e.removeAttribute("aria-busy"),L(),I(),$&&x()&&D())}},I=async()=>{if(!(o||c||!u()||!s))for(let m of p){if(o||c)return;p.delete(m);let R=f.get(m),j=R&&S(R.id);if(!R||!j||R.composing||R.failed||!P(R)||!R.form.reportValidity())continue;let T=k(R.form);if(j.partial&&(T=Object.fromEntries(Object.entries(T).filter(([$,M])=>M!==R.original[$]))),await B(j,T,m,R),!u())return}},H=(m,R)=>{let j=Te("label",m.label),T;if(m.type==="select"||m.type==="multiselect"){let $=Te("select");$.multiple=m.type==="multiselect";let M=$.multiple?JSON.parse(R||"[]"):[R];for(let q of m.options??[]){let ce=Te("option",q.label);ce.value=q.value,ce.selected=M.includes(q.value),$.append(ce)}T=$}else m.type==="textarea"?(T=Te("textarea"),T.rows=3,T.value=R,T.maxLength=m.maxLength??4e3):(T=Te("input"),T.type=m.type,T.value=R,T.maxLength=m.maxLength??4e3,m.min!==void 0&&(T.min=String(m.min)),m.max!==void 0&&(T.max=String(m.max)),m.type==="number"&&(T.step="any"));return T.name=m.name,T.required=!!m.required,j.append(T),j},_=(m,R,j,T,$)=>{if(!s||f.has(T))return;let M=Te("form","","plugin-editor");M.dataset.pluginForm=T;let q=Object.fromEntries(R.map(G=>[G.name,hr(G)]));for(let G of R)M.append(H(G,q[G.name]??""));let ce=Te("p","","plugin-editor-notice");ce.setAttribute("role","status");let K={id:m.id,original:q,version:m.version,form:M,notice:ce,auto:!!$,composing:!1,failed:!1,conflicted:!1,close:()=>{clearTimeout(K.timer),p.delete(T),M.remove(),f.delete(T),$&&($.hidden=!1)}};if(f.set(T,K),M.append(ce),$)$.hidden=!0;else{let G=Te("button",m.label,"plugin-block-button plugin-submit");G.type="submit",M.append(G)}j.append(M);let be=G=>{clearTimeout(K.timer),!(!K.auto||K.composing)&&(K.timer=setTimeout(()=>{p.add(T),I()},G))};M.addEventListener("input",()=>{if(K.conflicted){let G=S(K.id);G&&(K.original=Object.fromEntries(Object.keys(K.original).map(St=>[St,hr(G.fields.find(cr=>cr.name===St))])),K.version=G.version,K.conflicted=!1)}K.failed=!1,be(600)}),M.addEventListener("change",()=>{K.failed||be(0)}),M.addEventListener("focusout",()=>{setTimeout(()=>{!u()||M.contains(document.activeElement)||K.composing||(!P(K)&&!o?(K.close(),D()):K.auto&&!K.failed&&(clearTimeout(K.timer),p.add(T),I()))},0)}),M.addEventListener("compositionstart",()=>{K.composing=!0,clearTimeout(K.timer),p.delete(T)}),M.addEventListener("compositionend",()=>{K.composing=!1,K.failed=!1,be(600)}),M.addEventListener("submit",G=>{G.preventDefault(),!(K.composing||!M.reportValidity())&&(K.auto?(p.add(T),I()):B(S(m.id)??m,k(M),T,K))}),M.addEventListener("keydown",G=>{G.isComposing||G.key==="Enter"&&(G.ctrlKey||G.metaKey)&&(G.preventDefault(),M.requestSubmit())}),M.querySelector("input,textarea,select")?.focus({preventScroll:!0})},V=()=>{a=!1,e.dataset.actionsReady="true";let m=new Set;for(let T of w.querySelectorAll("[data-block-edit]")){let $=JSON.parse(T.dataset.blockEdit??"{}"),M=S($.action);if(!M)continue;let q=$.field?M.fields.filter(G=>G.name===$.field):M.fields;if(!q.length||$.field&&!M.partial&&M.fields.length!==1)continue;m.add(M.id);let ce=`${M.id}@${$.field??"*"}`,K=Te("div");K.dataset.pluginEditTrigger="",K.setAttribute("aria-label",`${Z("Edit")} ${q[0]?.label}`),K.append(...T.childNodes),T.append(K);let be=()=>_(S(M.id)??M,q.map(G=>S(M.id)?.fields.find(St=>St.name===G.name)??G),T,ce,K);K.addEventListener("dblclick",G=>{G.target.closest("a,button")||be()}),K.addEventListener("keydown",G=>{G.target===K&&!G.isComposing&&["Enter","F2"].includes(G.key)&&(G.preventDefault(),be())})}let R=[...w.querySelectorAll("[data-block-action]")];for(let T of R)m.add(T.dataset.blockAction??"");let j=Te("div","","plugin-block-actions plugin-extra-actions");for(let T of i){if(m.has(T.id))continue;let $=Te("span");$.dataset.blockAction=T.id,j.append($),R.push($)}j.childElementCount&&w.append(j);for(let T of R){let $=S(T.dataset.blockAction??"");if(!$){T instanceof HTMLButtonElement&&(T.disabled=!0);continue}let M=async()=>{if(c&&await c,!u()||!s||o)return;let q=S($.id);q&&(T.dataset.blockValues?B(q,JSON.parse(T.dataset.blockValues),$.id):q.fields.length?_(q,q.fields,T,$.id):B(q,{},$.id))};if(T instanceof HTMLButtonElement)T.addEventListener("click",M);else{let q=Ga($.label,M);$.destructive&&q.classList.add("plugin-danger"),$.destructive&&T.closest(".plugin-message-actions")&&(q.title=$.label,q.setAttribute("aria-label",$.label),q.innerHTML='<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M4 5h12M8 5V3h4v2M6 5l1 12h6l1-12M9 8v6m2-6v6"/></svg>'),T.append(q)}}L()},ie=async()=>{if(c&&await c,!(o||!u())){if(s){for(let[m,R]of f)R.auto&&(clearTimeout(R.timer),p.add(m));if(await I(),!u()||O())return;for(let m of f.values())m.close()}s=!s,L(),s||D()}},Y=async m=>{let R=m.target instanceof Element?m.target.closest("[data-block-copy]"):null;if(R)try{await navigator.clipboard.writeText(R.dataset.blockCopy??""),R.title=Z("Copied")}catch{R.title=Z("Copy failed")}},se=()=>{document.hidden||D()},h=setInterval(()=>{D()},5e3),ee=()=>{clearInterval(h),window.removeEventListener("focus",se),document.removeEventListener("visibilitychange",se)};return window.addEventListener("focus",se),document.addEventListener("visibilitychange",se),e.addEventListener("click",Y),y.addEventListener("click",ie),(async()=>{o=!0;try{await A(),u()&&V()}catch(m){u()&&C(m instanceof Error?m.message:Z("Plugin request failed"),!0)}finally{o=!1,u()&&L()}})(),()=>{l=!0,ee();for(let m of f.values())m.close();delete e.dataset.actionsReady,delete e.dataset.editing,y.disabled=!0,y.setAttribute("aria-pressed","false"),y.removeEventListener("click",ie),window.removeEventListener("beforeunload",E),e.removeEventListener("click",Y)}};var Eo=e=>{let t=document.createElement("div");t.className="plugin-resize",t.tabIndex=0,t.setAttribute("role","separator"),t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-controls",e.id),t.setAttribute("aria-valuemin","32"),t.dataset.i18nTitle=t.dataset.i18nAriaLabel="Resize plugin card",t.title=Z("Resize plugin card"),t.setAttribute("aria-label",t.title);let n=()=>e.getBoundingClientRect().height,r=()=>{let u=e.style.height,f=e.scrollTop;e.style.height="auto";let p=e.scrollHeight+e.offsetHeight-e.clientHeight;e.style.height=u,e.scrollTop=f;let d=Math.max(32,Math.ceil(p));return t.setAttribute("aria-valuemax",String(d)),d},i=u=>{let f=Math.round(Math.max(32,Math.min(r(),u)));e.dataset.resized="",e.style.height=`${f}px`,t.setAttribute("aria-valuenow",String(f))};t.addEventListener("focus",()=>{r(),t.setAttribute("aria-valuenow",String(Math.round(n())))});let o=()=>{if(!e.isConnected){s.disconnect(),a.disconnect();return}n()&&e.hasAttribute("data-resized")&&i(n())},s=new MutationObserver(()=>{a.disconnect(),a.observe(e);for(let u of e.children)a.observe(u);o()});s.observe(e,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["open"]});let a=new ResizeObserver(o);a.observe(e);let l;t.addEventListener("pointerdown",u=>{u.button!==0||l||(u.preventDefault(),t.focus({preventScroll:!0}),l={id:u.pointerId,y:u.clientY,height:n()},t.setPointerCapture(u.pointerId),t.classList.add("drag"))}),t.addEventListener("pointermove",u=>{l?.id===u.pointerId&&i(l.height+u.clientY-l.y)});let c=u=>{l?.id===u.pointerId&&(l=void 0,t.classList.remove("drag"))};for(let u of["pointerup","pointercancel","lostpointercapture"])t.addEventListener(u,c);return t.addEventListener("keydown",u=>{if(u.key==="ArrowDown")i(n()+32);else if(u.key==="ArrowUp")i(n()-32);else if(u.key==="Home")i(32);else if(u.key==="End")i(r());else return;u.preventDefault(),u.stopPropagation()}),t};var vo=e=>{let t=JSON.stringify(e);if(typeof t!="string")throw new Error("Invalid plugin view");if(new TextEncoder().encode(t).length>2*1024*1024)throw new Error("Plugin view is too large");let n=JSON.parse(t);if(!mr(n)||n.collapsed!==void 0&&!mr(n.collapsed))throw new Error("Invalid plugin view");return n};var oe=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");var de=Ge(/[A-Za-z]/),pe=Ge(/[\dA-Za-z]/),Co=Ge(/[#-'*+\--9=?A-Z^-~]/);function lt(e){return e!==null&&(e<32||e===127)}var Kt=Ge(/\d/),Ao=Ge(/[\dA-Fa-f]/),mn=Ge(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function X(e){return e!==null&&(e<0||e===32)}function z(e){return e===-2||e===-1||e===32}var ct=Ge(/\p{P}|\p{S}/u),_e=Ge(/\s/);function Ge(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}var To=co(Lo(),1),Jt=Object.assign(ut(Error),{eval:ut(EvalError),range:ut(RangeError),reference:ut(ReferenceError),syntax:ut(SyntaxError),type:ut(TypeError),uri:ut(URIError)});function ut(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){let i=n&&(0,To.default)(n,...r);return new e(i)}}var hn={}.hasOwnProperty,Io={yaml:"-",toml:"+"};function vt(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=Qa(r[n]);return t}function Qa(e){let t=e;if(typeof t=="string"){if(!hn.call(Io,t))throw Jt("Missing matter definition for `%s`",t);t={type:t,marker:Io[t]}}else if(typeof t!="object")throw Jt("Expected matter to be an object, not `%j`",t);if(!hn.call(t,"type"))throw Jt("Missing `type` in matter `%j`",t);if(!hn.call(t,"fence")&&!hn.call(t,"marker"))throw Jt("Missing `marker` or `fence` in matter `%j`",t);return t}function br(e){let t=vt(e),n={},r=-1;for(;++r<t.length;){let i=t[r],o=yr(i,"open").charCodeAt(0),s=Xa(i),a=n[o];Array.isArray(a)?a.push(s):n[o]=[s]}return{flow:n}}function Xa(e){let t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",o=n+"Value",s={tokenize:u,partial:!0},a,l=0;return{tokenize:c,concrete:!0};function c(f,p,d){let g=this;return b;function b(L){let E=g.now();return E.column===1&&(E.line===1||t)&&(a=yr(e,"open"),l=0,L===a.charCodeAt(l))?(f.enter(n),f.enter(r),f.enter(i),w(L)):d(L)}function w(L){return l===a.length?(f.exit(i),z(L)?(f.enter("whitespace"),y(L)):C(L)):L===a.charCodeAt(l++)?(f.consume(L),w):d(L)}function y(L){return z(L)?(f.consume(L),y):(f.exit("whitespace"),C(L))}function C(L){return F(L)?(f.exit(r),f.enter("lineEnding"),f.consume(L),f.exit("lineEnding"),a=yr(e,"close"),l=0,f.attempt(s,S,k)):d(L)}function k(L){return L===null||F(L)?O(L):(f.enter(o),P(L))}function P(L){return L===null||F(L)?(f.exit(o),O(L)):(f.consume(L),P)}function O(L){return L===null?d(L):(f.enter("lineEnding"),f.consume(L),f.exit("lineEnding"),f.attempt(s,S,k))}function S(L){return f.exit(n),p(L)}}function u(f,p,d){let g=0;return b;function b(k){return k===a.charCodeAt(g)?(f.enter(r),f.enter(i),w(k)):d(k)}function w(k){return g===a.length?(f.exit(i),z(k)?(f.enter("whitespace"),y(k)):C(k)):k===a.charCodeAt(g++)?(f.consume(k),w):d(k)}function y(k){return z(k)?(f.consume(k),y):(f.exit("whitespace"),C(k))}function C(k){return k===null||F(k)?(f.exit(r),p(k)):d(k)}}}function yr(e,t){return e.marker?Po(e.marker,t).repeat(3):Po(e.fence,t)}function Po(e,t){return typeof e=="string"?e:e[t]}function Wt(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function kr(e){let t=vt(e),n={},r={},i=-1;for(;++i<t.length;){let o=t[i];n[o.type]=Za(o),r[o.type]=el,r[o.type+"Value"]=tl}return{enter:n,exit:r}}function Za(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}function el(e){let t=this.resume(),n=this.stack[this.stack.length-1];"value"in n,this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function tl(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function xr(e){let t=[],n={},r=vt(e),i=-1;for(;++i<r.length;){let o=r[i];n[o.type]=nl(o);let s=wr(o,"open");t.push({atBreak:!0,character:s.charAt(0),after:Wt(s.charAt(1))})}return{unsafe:t,handlers:n}}function nl(e){let t=wr(e,"open"),n=wr(e,"close");return r;function r(i){return t+(i.value?`
19
+ \u4ECD\u8981\u5220\u9664\uFF1F\uFF08\u94FE\u63A5\u5C06\u5931\u6548\uFF09`,heading:"\u6807\u9898",subheading:"\u5B50\u6807\u9898","code fence":"\u4EE3\u7801\u5757","figure reference":"\u56FE\u7247\u5F15\u7528",Templates:"\u6A21\u677F",Figures:"\u56FE\u7247","Doc links":"\u6587\u6863\u94FE\u63A5",Terms:"\u672F\u8BED","Custom syntax":"\u6269\u5C55\u8BED\u6CD5",path:"\u8DEF\u5F84",size:"\u5927\u5C0F",kind:"\u7C7B\u578B",syntax:"\u8BED\u6CD5",doc:"\u6587\u6863","used in":"\u4F7F\u7528\u4F4D\u7F6E",none:"\u65E0","Split view":"\u5207\u6362\u53CC\u680F\u89C6\u56FE","Change language":"\u66F4\u6539\u8BED\u8A00","Active pane":"\u5F53\u524D\u7F16\u8F91\u7A97\u683C","Activate pane":"\u7F16\u8F91\u6B64\u7A97\u683C","Failed to load pane":"\u65E0\u6CD5\u52A0\u8F7D\u7A97\u683C","Close pane and discard its unsaved changes?":"\u653E\u5F03\u53E6\u4E00\u7A97\u683C\u672A\u4FDD\u5B58\u7684\u66F4\u6539\u5E76\u5173\u95ED\uFF1F","Validate and apply":"\u9A8C\u8BC1\u5E76\u5E94\u7528","Auto validate":"\u81EA\u52A8\u9A8C\u8BC1","Source mapping":"\u663E\u793A\u6B63\u6587\u4E0E\u6E90\u4EE3\u7801\u7684\u5BF9\u5E94\u5173\u7CFB","Validation pending":"\u5B58\u5728\u672A\u5E94\u7528\u7684\u66F4\u6539",Validating:"\u6B63\u5728\u9A8C\u8BC1","Validation passed":"\u9A8C\u8BC1\u901A\u8FC7","Validation errors":"\u9A8C\u8BC1\u9519\u8BEF",Saving:"\u6B63\u5728\u4FDD\u5B58","Save failed":"\u4FDD\u5B58\u5931\u8D25","Expand section":"\u5C55\u5F00","Collapse section":"\u6298\u53E0",terms:"\u672F\u8BED","Edit text file":"\u7F16\u8F91\u6587\u672C\u6587\u4EF6","Create file":"\u8F6C\u4E3A\u6587\u4EF6","Reload file":"\u91CD\u65B0\u8F7D\u5165\u6587\u4EF6","Working\u2026":"\u5904\u7406\u4E2D\u2026","File not found \u2014 save to create it.":"\u6587\u4EF6\u4E0D\u5B58\u5728\uFF0C\u4FDD\u5B58\u5373\u53EF\u521B\u5EFA\u3002","Discard file edits and reload?":"\u653E\u5F03\u6587\u4EF6\u4E2D\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u5E76\u91CD\u65B0\u8F7D\u5165\uFF1F","File changed externally. Reload it before saving.":"\u6587\u4EF6\u5DF2\u5728\u5916\u90E8\u4FEE\u6539\uFF0C\u8BF7\u91CD\u65B0\u8F7D\u5165\u540E\u518D\u4FDD\u5B58\u3002","Edits made while reloading were kept. Reload again when ready.":"\u5DF2\u4FDD\u7559\u91CD\u65B0\u8F7D\u5165\u671F\u95F4\u7684\u4FEE\u6539\uFF0C\u8BF7\u51C6\u5907\u597D\u540E\u518D\u6B21\u8F7D\u5165\u3002","File not found":"\u627E\u4E0D\u5230\u6587\u4EF6","File has not been loaded":"\u5C1A\u672A\u52A0\u8F7D\u6587\u4EF6","File could not be loaded":"\u65E0\u6CD5\u52A0\u8F7D\u6587\u4EF6","View remote text file":"\u67E5\u770B\u8FDC\u7A0B\u6587\u672C\u6587\u4EF6","Remote files are read-only":"\u8FDC\u7A0B\u6587\u4EF6\u4E3A\u53EA\u8BFB","Edits made while validating were kept. Validate again when ready.":"\u5DF2\u4FDD\u7559\u9A8C\u8BC1\u671F\u95F4\u7684\u7F16\u8F91\u3002\u51C6\u5907\u597D\u540E\u8BF7\u91CD\u65B0\u9A8C\u8BC1\u3002","Updating preview":"\u6B63\u5728\u66F4\u65B0\u9884\u89C8","Preview is up to date":"\u9884\u89C8\u6B63\u5E38","Preview could not be updated":"\u65E0\u6CD5\u66F4\u65B0\u9884\u89C8","Conflicting changes":"\u66F4\u6539\u53D1\u751F\u51B2\u7A81","Use my edits":"\u4F7F\u7528\u6211\u7684\u7F16\u8F91","Use external changes":"\u4F7F\u7528\u5916\u90E8\u66F4\u6539","File was deleted":"\u6587\u4EF6\u5DF2\u5220\u9664",Cancel:"\u53D6\u6D88","Search documents":"\u641C\u7D22\u6587\u6863","No results":"\u65E0\u641C\u7D22\u7ED3\u679C","Searching\u2026":"\u641C\u7D22\u4E2D\u2026","Could not load search. Press Ctrl+F to retry.":"\u65E0\u6CD5\u52A0\u8F7D\u641C\u7D22\u3002\u6309 Ctrl+F \u91CD\u8BD5\u3002","{count} results":"{count} \u6761\u7ED3\u679C","Showing {shown} of {count} results":"\u663E\u793A {count} \u6761\u7ED3\u679C\u4E2D\u7684 {shown} \u6761","Add translation":"\u6DFB\u52A0\u7FFB\u8BD1\u6587\u6863","Move search":"\u79FB\u52A8\u641C\u7D22\u7A97\u53E3","Resize search":"\u8C03\u6574\u641C\u7D22\u7A97\u53E3\u5927\u5C0F","Matches text":"\u5339\u914D\u6B63\u6587","Matches file name":"\u5339\u914D\u6587\u4EF6\u540D","Matches folder name":"\u5339\u914D\u6587\u4EF6\u5939\u540D","Close search":"\u5173\u95ED\u641C\u7D22\u7A97\u53E3","Move search to sidebar":"\u5C06\u641C\u7D22\u7A97\u53E3\u653E\u5230\u4FA7\u8FB9\u680F","Float search":"\u8BA9\u641C\u7D22\u7A97\u53E3\u6D6E\u52A8",Notice:"\u63D0\u793A",OK:"\u5173\u95ED","Discard changes":"\u653E\u5F03\u66F4\u6539","Copy section URL":"\u590D\u5236\u6B64\u7AE0\u8282\u94FE\u63A5",Copied:"\u5DF2\u590D\u5236","Could not copy URL":"\u65E0\u6CD5\u590D\u5236\u94FE\u63A5","Search languages":"\u641C\u7D22\u8BED\u8A00","Remove translation":"\u5220\u9664\u7FFB\u8BD1","Source language cannot be removed":"\u65E0\u6CD5\u5220\u9664\u6E90\u8BED\u8A00","Enter to edit; Ctrl+Enter to add or remove translation":"\u6309Enter\u7F16\u8F91\uFF0C\u6309Ctrl+Enter\u6DFB\u52A0\u6216\u5220\u9664\u7FFB\u8BD1","Preview has not been updated":"\u9884\u89C8\u5C1A\u672A\u66F4\u65B0",Table:"\u8868\u683C",Image:"\u56FE\u7247",HTML:"HTML",Markdown:"Markdown",Code:"\u4EE3\u7801",Video:"\u89C6\u9891",Loading:"\u52A0\u8F7D\u4E2D",Retry:"\u91CD\u8BD5",Reload:"\u91CD\u65B0\u52A0\u8F7D",Close:"\u5173\u95ED","File preview":"\u6587\u4EF6\u9884\u89C8",Files:"\u6587\u4EF6","Search files":"\u641C\u7D22\u6587\u4EF6",Plugin:"\u63D2\u4EF6\u540D","Default folder layout":"\u9ED8\u8BA4\u6587\u4EF6\u5939\u5E03\u5C40","Folder restructure":"\u6574\u7406\u6587\u4EF6\u5939",Move:"\u79FB\u52A8","Move up":"\u4E0A\u79FB","Move down":"\u4E0B\u79FB","Move to root":"\u79FB\u5230\u6839\u76EE\u5F55",Name:"\u540D\u79F0",Size:"\u5927\u5C0F",Select:"\u9009\u62E9","Copy path":"\u590D\u5236\u8DEF\u5F84","File path":"\u6587\u4EF6\u8DEF\u5F84","File created":"\u6587\u4EF6\u5DF2\u521B\u5EFA","Copy failed":"\u590D\u5236\u5931\u8D25","Place new files in files/<extension>/":"\u5C06\u65B0\u6587\u4EF6\u653E\u5165 files/<\u6269\u5C55\u540D>/","Document changed. Retry from the current block.":"\u6587\u6863\u5DF2\u66F4\u6539\u3002\u8BF7\u4ECE\u5F53\u524D\u4EE3\u7801\u5757\u91CD\u8BD5\u3002","Document changed. Insert the file from Files.":"\u6587\u6863\u5DF2\u66F4\u6539\u3002\u8BF7\u4ECE\u6587\u4EF6\u9875\u9762\u63D2\u5165\u5F15\u7528\u3002","File name":"\u6587\u4EF6\u540D","Renamed to {filename}":"\u5DF2\u91CD\u547D\u540D\u4E3A {filename}","Enter a file name ending in .md":"\u8BF7\u8F93\u5165\u4EE5 .md \u7ED3\u5C3E\u7684\u6587\u4EF6\u540D","Upload files":"\u4E0A\u4F20\u6587\u4EF6","Uploading {count}/{total}":"\u4E0A\u4F20\u4E2D {count}/{total}","Files uploaded":"\u6587\u4EF6\u5DF2\u4E0A\u4F20","File exceeds 64 MiB":"\u6587\u4EF6\u8D85\u8FC764 MiB","Choose files inside the folder":"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939\u4E2D\u7684\u6587\u4EF6","Click a column to sort; row numbers refer to the source":"\u70B9\u51FB\u5217\u540D\u6392\u5E8F\uFF1B\u884C\u53F7\u5BF9\u5E94\u539F\u59CB\u6570\u636E",Column:"\u5217","Resize table":"\u8C03\u6574\u8868\u683C\u9AD8\u5EA6","Back to document":"\u8FD4\u56DE\u6587\u6863","File details":"\u6587\u4EF6\u4FE1\u606F","Show Git changes":"\u663E\u793A Git \u5DEE\u5F02","Resource views":"\u8D44\u6E90\u89C6\u56FE",Default:"\u9ED8\u8BA4\u503C","Set as default":"\u8BBE\u4E3A\u9ED8\u8BA4\u503C","Group by":"\u5206\u7EC4\u4F9D\u636E","Sort by":"\u6392\u5E8F\u4F9D\u636E","Newest first":"\u4ECE\u65B0\u5230\u65E7","Oldest first":"\u4ECE\u65E7\u5230\u65B0",Unassigned:"\u672A\u8BBE\u7F6E",Records:"\u8BB0\u5F55",Codeblocks:"\u4EE3\u7801\u5757",Format:"\u683C\u5F0F",URLs:"URL","URL previews":"URL \u9884\u89C8",Domain:"\u57DF\u540D",All:"\u5168\u90E8",references:"\u5904\u5F15\u7528","Search resources":"\u641C\u7D22\u8D44\u6E90","Files with errors":"\u8BFB\u53D6\u6216\u89E3\u6790\u9519\u8BEF","No matching resources":"\u6CA1\u6709\u5339\u914D\u7684\u8D44\u6E90","Organize files":"\u6574\u7406\u6587\u4EF6","Auto-save paused":"\u81EA\u52A8\u4FDD\u5B58\u5DF2\u6682\u505C","Reload failed":"\u91CD\u65B0\u52A0\u8F7D\u5931\u8D25","Waiting for auto-save":"\u7B49\u5F85\u81EA\u52A8\u4FDD\u5B58","Conflict unresolved. Auto-save is paused; your edits are kept.":"\u51B2\u7A81\u5C1A\u672A\u89E3\u51B3\uFF0C\u81EA\u52A8\u4FDD\u5B58\u5DF2\u6682\u505C\uFF1B\u60A8\u7684\u7F16\u8F91\u5DF2\u4FDD\u7559\u3002","File not found \u2014 editing will create it automatically.":"\u6587\u4EF6\u4E0D\u5B58\u5728\uFF1B\u7F16\u8F91\u540E\u4F1A\u81EA\u52A8\u521B\u5EFA\u3002",Play:"\u64AD\u653E",Pause:"\u6682\u505C",Seek:"\u64AD\u653E\u4F4D\u7F6E",Mute:"\u9759\u97F3",Unmute:"\u53D6\u6D88\u9759\u97F3",Volume:"\u97F3\u91CF","Video settings":"\u89C6\u9891\u8BBE\u7F6E","Playback speed":"\u64AD\u653E\u901F\u5EA6",Fullscreen:"\u5168\u5C4F","Video could not be played":"\u65E0\u6CD5\u64AD\u653E\u89C6\u9891","Fullscreen is unavailable":"\u65E0\u6CD5\u8FDB\u5165\u5168\u5C4F","Some registered fonts could not be loaded":"\u90E8\u5206\u5DF2\u6CE8\u518C\u5B57\u4F53\u65E0\u6CD5\u52A0\u8F7D",Done:"\u5B8C\u6210","Git operation failed":"Git \u64CD\u4F5C\u5931\u8D25","Create pull request":"\u521B\u5EFA\u62C9\u53D6\u8BF7\u6C42","Base branch":"\u76EE\u6807\u5206\u652F",Draft:"\u8349\u7A3F","Open pull request":"\u6253\u5F00\u62C9\u53D6\u8BF7\u6C42","Merge method":"\u5408\u5E76\u65B9\u5F0F","Merge pull request":"\u5408\u5E76\u62C9\u53D6\u8BF7\u6C42","Merge #{number} into {base} using {method}?":"\u5C06 #{number} \u4EE5 {method} \u65B9\u5F0F\u5408\u5E76\u5230 {base}\uFF1F","Reset edits":"\u91CD\u7F6E\u7F16\u8F91","Discard these pull request edits?":"\u653E\u5F03\u6B64\u62C9\u53D6\u8BF7\u6C42\u7684\u672A\u4FDD\u5B58\u7F16\u8F91\uFF1F",Branch:"\u5206\u652F","Switch branch":"\u5207\u6362\u5206\u652F","New branch":"\u65B0\u5206\u652F","Create branch":"\u521B\u5EFA\u5206\u652F","Commit {manifest} before creating a branch.":"\u521B\u5EFA\u5206\u652F\u524D\uFF0C\u8BF7\u5148\u63D0\u4EA4 {manifest}\u3002","This branch does not contain {manifest} at the same path.":"\u6B64\u5206\u652F\u7684\u76F8\u540C\u8DEF\u5F84\u4E0B\u6CA1\u6709 {manifest}\u3002","New branches start from the latest commit. Unsaved changes stay in the current workspace.":"\u65B0\u5206\u652F\u4ECE\u6700\u65B0\u63D0\u4EA4\u521B\u5EFA\u3002\u672A\u4FDD\u5B58\u7684\u66F4\u6539\u4F1A\u4FDD\u7559\u5728\u5F53\u524D\u5DE5\u4F5C\u533A\u3002",Changes:"\u66F4\u6539","Git uses saved files.":"\u663E\u793A\u5DF2\u4FDD\u5B58\u6587\u4EF6\u7684\u66F4\u6539\u3002",Stage:"\u6682\u5B58",Unstage:"\u53D6\u6D88\u6682\u5B58","Working tree clean":"\u5DE5\u4F5C\u533A\u65E0\u66F4\u6539","Commit message":"\u63D0\u4EA4\u8BF4\u660E","Commit staged changes":"\u63D0\u4EA4\u6682\u5B58\u7684\u66F4\u6539",Fetch:"\u83B7\u53D6","Pull (fast-forward)":"\u62C9\u53D6 (fast-forward)",Push:"\u63A8\u9001","Connect an origin provider from the viewer module to enable remote operations.":"\u901A\u8FC7\u5916\u90E8 viewer \u6A21\u5757\u8FDE\u63A5 origin \u4EE5\u542F\u7528\u8FDC\u7A0B\u64CD\u4F5C\u3002","Pull requests":"\u62C9\u53D6\u8BF7\u6C42","No open pull requests":"\u6CA1\u6709\u5F85\u5904\u7406\u7684\u62C9\u53D6\u8BF7\u6C42",Description:"\u8BF4\u660E","Operation completed, but reload failed: {error}":"\u64CD\u4F5C\u5DF2\u5B8C\u6210\uFF0C\u4F46\u91CD\u65B0\u52A0\u8F7D\u5931\u8D25\uFF1A{error}","Stash is occupied. Commit the current changes before switching branches.":"\u6682\u5B58\u69FD\u5DF2\u5360\u7528\uFF0C\u8BF7\u5148\u63D0\u4EA4\u5F53\u524D\u66F4\u6539\u518D\u5207\u6362\u5206\u652F\u3002","Stash saved changes and switch to {branch}?":"\u5C06\u5DF2\u4FDD\u5B58\u6587\u4EF6\u7684\u66F4\u6539\u5B58\u5165 stash \u5E76\u5207\u6362\u5230 {branch}\uFF1F","Stash and switch":"\u6682\u5B58\u5E76\u5207\u6362","Create the first commit to switch branches.":"\u521B\u5EFA\u9996\u6B21\u63D0\u4EA4\u540E\u5373\u53EF\u5207\u6362\u5206\u652F\u3002","Stash \xB7 empty":"Stash \xB7 \u7A7A","Restore stash":"\u6062\u590D stash","Stash changes":"\u6682\u5B58\u66F4\u6539",Library:"\u8D44\u6599\u5E93",Subformats:"Subformats","Expand card":"\u5C55\u5F00\u5361\u7247","Collapse card":"\u6298\u53E0\u5361\u7247","View details":"\u67E5\u770B\u8BE6\u60C5","Click for details; double-click to edit":"\u5355\u51FB\u67E5\u770B\u8BE6\u60C5\uFF1B\u53CC\u51FB\u7F16\u8F91","No grouping":"\u4E0D\u5206\u7EC4",Ascending:"\u5347\u5E8F",Descending:"\u964D\u5E8F","No subformats configured. Add subformats to dooc.yaml.":"\u5C1A\u672A\u914D\u7F6E\u5B50\u683C\u5F0F\u3002\u8BF7\u5728 dooc.yaml \u4E2D\u6DFB\u52A0 subformats\u3002","Workspace tools":"\u5DE5\u4F5C\u533A\u5DE5\u5177","Git controls":"Git \u64CD\u4F5C",Actions:"\u64CD\u4F5C",Updated:"\u5DF2\u66F4\u65B0",Copy:"\u590D\u5236",Edit:"\u7F16\u8F91","Reload actions before saving again.":"\u518D\u6B21\u4FDD\u5B58\u524D\u8BF7\u91CD\u65B0\u52A0\u8F7D\u3002","Saved, but refresh failed. Reload actions before saving again.":"\u4FDD\u5B58\u5DF2\u5B8C\u6210\uFF0C\u4F46\u5237\u65B0\u5931\u8D25\u3002\u518D\u6B21\u4FDD\u5B58\u524D\u8BF7\u91CD\u65B0\u52A0\u8F7D\u3002","Actions could not be loaded.":"\u65E0\u6CD5\u52A0\u8F7D\u64CD\u4F5C\u3002","An open draft is no longer editable. Copy or cancel it before reloading.":"\u6B63\u5728\u7F16\u8F91\u7684\u8349\u7A3F\u5DF2\u65E0\u6CD5\u4FEE\u6539\u3002\u91CD\u65B0\u52A0\u8F7D\u524D\u8BF7\u590D\u5236\u6216\u53D6\u6D88\u8349\u7A3F\u3002","Changed elsewhere. Your input is kept; edit again to apply it.":"\u5185\u5BB9\u5DF2\u5728\u5176\u4ED6\u4F4D\u7F6E\u66F4\u6539\u3002\u5DF2\u4FDD\u7559\u8F93\u5165\uFF0C\u518D\u6B21\u7F16\u8F91\u5373\u53EF\u5E94\u7528\u3002",Plugins:"\u63D2\u4EF6","Add plugins":"\u6DFB\u52A0\u63D2\u4EF6","Plugins are saved in this browser. Run server plugins in a local dooc editor.":"\u63D2\u4EF6\u4FDD\u5B58\u5728\u6B64\u6D4F\u89C8\u5668\u4E2D\u3002\u670D\u52A1\u5668\u63D2\u4EF6\u9700\u5728\u672C\u5730 dooc \u7F16\u8F91\u5668\u4E2D\u8FD0\u884C\u3002","Drag and drop here, or click to browse.":"\u62D6\u653E\u5230\u6B64\u5904\uFF0C\u6216\u70B9\u51FB\u9009\u62E9\u3002","Invalid package":"\u65E0\u6548\u5305","Browser storage":"\u6D4F\u89C8\u5668\u5B58\u50A8",Enabled:"\u5DF2\u542F\u7528",Disabled:"\u5DF2\u7981\u7528",Enable:"\u542F\u7528",Disable:"\u7981\u7528","Delete plugin {name}?":"\u5220\u9664\u63D2\u4EF6 {name}\uFF1F","Replace plugin {name}?":"\u66FF\u6362\u63D2\u4EF6 {name}\uFF1F","Discard plugin changes?":"\u653E\u5F03\u672A\u5E94\u7528\u7684\u63D2\u4EF6\u66F4\u6539\uFF1F","Plugin file":"\u63D2\u4EF6\u6587\u4EF6","Apply changes":"\u5E94\u7528\u66F4\u6539","Binary asset \u2014 replace it by importing a new ZIP.":"\u4E8C\u8FDB\u5236\u8D44\u6E90\u3002\u5BFC\u5165\u65B0 ZIP \u4EE5\u66FF\u6362\u3002","Choose a ZIP smaller than 16 MiB":"\u8BF7\u9009\u62E9\u4E0D\u8D85\u8FC7 16 MiB \u7684 ZIP","Sign in":"\u767B\u5F55","Sign out":"\u9000\u51FA\u767B\u5F55","Not signed in":"\u672A\u767B\u5F55","Continue login":"\u7EE7\u7EED\u767B\u5F55","Provided by viewer":"\u7531\u67E5\u770B\u5668\u63D0\u4F9B",Added:"\u65B0\u589E",Modified:"\u4FEE\u6539",Relations:"\u5173\u7CFB\u56FE","Add subformat\u2026":"\u6DFB\u52A0\u5B50\u683C\u5F0F\u2026",Delete:"\u5220\u9664","Delete subformat {ext} and its sidebar page? Records and schema files will be kept.":"\u5220\u9664\u5B50\u683C\u5F0F {ext} \u53CA\u5176\u4FA7\u8FB9\u680F\u9875\u9762\uFF1F\u8BB0\u5F55\u548C\u6A21\u5F0F\u6587\u4EF6\u5C06\u4FDD\u7559\u3002","Subformat changed externally. Reload and try again.":"\u5B50\u683C\u5F0F\u5DF2\u88AB\u5916\u90E8\u4FEE\u6539\u3002\u8BF7\u91CD\u65B0\u52A0\u8F7D\u540E\u91CD\u8BD5\u3002","Move or remove this subformat page's child pages before deleting it.":"\u5220\u9664\u524D\uFF0C\u8BF7\u5148\u79FB\u52A8\u6216\u5220\u9664\u6B64\u5B50\u683C\u5F0F\u9875\u9762\u7684\u5B50\u9875\u9762\u3002","Add subformat":"\u6DFB\u52A0\u5B50\u683C\u5F0F",Extension:"\u6269\u5C55\u540D","Storage format":"\u5B58\u50A8\u683C\u5F0F","Schema file (optional)":"\u6A21\u5F0F\u6587\u4EF6\uFF08\u53EF\u9009\uFF09","Create automatically":"\u81EA\u52A8\u521B\u5EFA",Form:"\u8868\u5355","Enter a valid number.":"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u6570\u503C\u3002","Value editing mode":"\u503C\u7F16\u8F91\u6A21\u5F0F","{format} text":"{format}\u6587\u672C","Schema editing mode":"\u6A21\u5F0F\u7F16\u8F91\u65B9\u5F0F","JSON text":"JSON text","Build kit":"Build kit","Field settings":"\u5B57\u6BB5\u8BBE\u7F6E","Field name":"\u5B57\u6BB5\u540D\u79F0","New field name":"\u65B0\u5B57\u6BB5\u540D\u79F0","New field type":"\u65B0\u5B57\u6BB5\u7C7B\u578B","Remove field":"\u5220\u9664\u5B57\u6BB5","Add field":"\u6DFB\u52A0\u5B57\u6BB5",Required:"\u5FC5\u586B","Allow extra fields":"\u5141\u8BB8\u989D\u5916\u5B57\u6BB5","Schema settings":"\u6A21\u5F0F\u8BBE\u7F6E","Remove nested fields before changing the type.":"\u66F4\u6539\u7C7B\u578B\u524D\uFF0C\u8BF7\u5148\u5220\u9664\u5D4C\u5957\u5B57\u6BB5\u3002","Any type":"\u4EFB\u610F\u7C7B\u578B",'One choice per line. Use "" for empty text, "a\\nb" for multiline text, and JSON for other types.':'\u6BCF\u884C\u4E00\u4E2A\u9009\u9879\u3002\u7A7A\u6587\u672C\u7528 ""\uFF0C\u591A\u884C\u6587\u672C\u7528 "a\\nb"\uFF0C\u5176\u4ED6\u7C7B\u578B\u7528JSON\u3002',"Enter at least one choice.":"\u8BF7\u81F3\u5C11\u8F93\u5165\u4E00\u4E2A\u9009\u9879\u3002","Enter a non-empty JSON array of schemas.":"\u8BF7\u8F93\u5165\u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u6A21\u5F0F\u7684JSON\u6570\u7EC4\u3002","Enter a JSON schema object or boolean.":"\u8BF7\u8F93\u5165JSON\u6A21\u5F0F\u5BF9\u8C61\u6216\u5E03\u5C14\u503C\u3002","Enter an object containing named schemas.":"\u8BF7\u8F93\u5165\u5305\u542B\u547D\u540D\u6A21\u5F0F\u7684\u5BF9\u8C61\u3002","The constant must match the field type.":"\u5E38\u91CF\u5FC5\u987B\u7B26\u5408\u5B57\u6BB5\u7C7B\u578B\u3002","Change existing choices or defaults before changing the type.":"\u66F4\u6539\u7C7B\u578B\u524D\uFF0C\u8BF7\u5148\u4FEE\u6539\u73B0\u6709\u9009\u9879\u6216\u9ED8\u8BA4\u503C\u3002","Choices (one per line)":"\u9009\u9879\uFF08\u6BCF\u884C\u4E00\u4E2A\uFF09","Item type":"\u6570\u7EC4\u9879\u7C7B\u578B","Rename linked fields in JSON text.":"\u8BF7\u5728JSON text\u4E2D\u91CD\u547D\u540D\u5173\u8054\u5B57\u6BB5\u3002","Additional rules are preserved in JSON text.":"\u5176\u4ED6\u89C4\u5219\u4FDD\u7559\u5728JSON text\u4E2D\u3002","Enter a field name.":"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\u79F0\u3002","Enter a unique field name.":"\u8BF7\u8F93\u5165\u552F\u4E00\u7684\u5B57\u6BB5\u540D\u79F0\u3002","A field with this name already exists.":"\u5DF2\u5B58\u5728\u540C\u540D\u5B57\u6BB5\u3002","Each choice must match the field type.":"\u6BCF\u4E2A\u9009\u9879\u5FC5\u987B\u7B26\u5408\u5B57\u6BB5\u7C7B\u578B\u3002","Choices must be unique.":"\u9009\u9879\u4E0D\u80FD\u91CD\u590D\u3002","Enter a value greater than {minimum}.":"\u8BF7\u8F93\u5165\u5927\u4E8E{minimum}\u7684\u503C\u3002","Page type":"\u9875\u9762\u7C7B\u578B","Markdown page":"Markdown \u9875\u9762","No subformats available to add.":"\u6CA1\u6709\u53EF\u6DFB\u52A0\u7684\u5B50\u683C\u5F0F\u3002","Add page":"\u6DFB\u52A0\u9875\u9762","Remove page":"\u79FB\u9664\u9875\u9762","Rename page":"\u91CD\u547D\u540D\u9875\u9762","Remove this page from the sidebar? The records will be kept.":"\u4ECE\u4FA7\u8FB9\u680F\u79FB\u9664\u6B64\u9875\u9762\uFF1F\u8BB0\u5F55\u5C06\u88AB\u4FDD\u7559\u3002",Parameters:"\u53C2\u6570",Items:"\u6570\u7EC4\u5143\u7D20","Remove parameter":"\u79FB\u9664\u53C2\u6570","Check the parameter value.":"\u8BF7\u68C0\u67E5\u53C2\u6570\u503C\u3002","Download PDF":"\u4E0B\u8F7D PDF","Choose date":"\u9009\u62E9\u65E5\u671F","Previous month":"\u4E0A\u4E2A\u6708","Next month":"\u4E0B\u4E2A\u6708",Today:"\u4ECA\u5929",Clear:"\u6E05\u9664","Enter a valid date (YYYY-MM-DD).":"\u8BF7\u8F93\u5165\u6709\u6548\u65E5\u671F\uFF08YYYY-MM-DD\uFF09\u3002","Load preview":"\u52A0\u8F7D\u9884\u89C8","Preview unavailable":"\u65E0\u6CD5\u52A0\u8F7D\u9884\u89C8",History:"\u5386\u53F2","Snapshot message":"\u5FEB\u7167\u8BF4\u660E",Restore:"\u6062\u590D","No snapshots yet":"\u6682\u65E0\u5FEB\u7167","Save snapshot":"\u4FDD\u5B58\u5FEB\u7167","Restore every file to this snapshot?":"\u5C06\u6240\u6709\u6587\u4EF6\u6062\u590D\u5230\u6B64\u5FEB\u7167\u7684\u72B6\u6001\u5417\uFF1F","Your name":"\u60A8\u7684\u59D3\u540D","Email (optional)":"\u7535\u5B50\u90AE\u4EF6\uFF08\u53EF\u9009\uFF09","Shared workspace":"\u5171\u4EAB\u5DE5\u4F5C\u533A",Join:"\u52A0\u5165"};var wo={eng:hr,jpn:yo,zho:bo},Za=e=>{let t=e.toLowerCase().split("-")[0]??"en";return Object.keys(wo).find(n=>n===t||Wt[n]===t)??"eng"},Xa=(e,t,n={})=>(wo[Za(e)]?.[t]??hr[t]??t).replace(/\{(\w+)\}/g,(i,o)=>Object.hasOwn(n,o)?String(n[o]):i);var el="eng",Z=(e,t)=>Xa(el,e,t);var Oe=e=>!!e&&typeof e=="object"&&!Array.isArray(e),pe=e=>typeof e=="string"&&e.length<=6e4,fe=(e,t)=>e===void 0||t(e),ct=e=>typeof e=="boolean",$e=(e,t,n=200)=>Array.isArray(e)&&e.length<=n&&e.every(t),gr=e=>{if(typeof e!="string"||e.length>4096||/[\s\\\p{Cc}]/u.test(e))return!1;try{let t=new URL(e);return/^https?:$/.test(t.protocol)&&!t.username&&!t.password}catch{return!1}},ko=e=>typeof e=="string"&&e.length<=1e5&&/^data:image\/(?:svg\+xml|png|webp);base64,[A-Za-z0-9+/]+={0,2}$/.test(e),So=e=>Oe(e)&&ko(e.light)&&fe(e.dark,ko),vo=e=>Oe(e)&&pe(e.action)&&fe(e.field,pe),Eo=e=>$e(e,t=>pe(t)||Oe(t)&&pe(t.text)&&fe(t.url,gr)&&fe(t.code,ct)&&fe(t.strong,ct)&&fe(t.copy,pe)&&fe(t.tone,n=>["neutral","accent","success","warning","danger"].includes(String(n)))),xo=e=>Oe(e)&&Eo(e.items)&&fe(e.edit,vo),yr=e=>{let t=0,n=(r,i)=>i<=8&&$e(r,o=>{if(++t>2e3||!Oe(o)||!fe(o.edit,vo))return!1;switch(o.type){case"heading":case"text":return pe(o.text)&&fe(o.markdown,ct);case"context":return Eo(o.items);case"fields":return $e(o.items,s=>xo(s)&&Oe(s)&&pe(s.label));case"section":return pe(o.title)&&n(o.blocks,i+1)&&fe(o.collapsed,ct)&&fe(o.note,pe);case"columns":return n(o.main,i+1)&&n(o.aside,i+1);case"table":return $e(o.headers,pe,40)&&$e(o.rows,s=>Oe(s)&&$e(s.cells,xo,40)&&s.cells.length===o.headers.length&&fe(s.actions,a=>$e(a,pe)));case"code":return pe(o.text)&&fe(o.diff,ct);case"message":return pe(o.author)&&pe(o.text)&&fe(o.time,pe)&&fe(o.actions,s=>$e(s,pe))&&fe(o.reactions,s=>$e(s,a=>Oe(a)&&pe(a.label)&&typeof a.count=="number"&&Number.isInteger(a.count)&&a.count>=0&&fe(a.active,ct)&&fe(a.action,pe)&&fe(a.values,l=>Oe(l)&&Object.keys(l).length<=40&&Object.values(l).every(pe))));case"actions":return $e(o.ids,pe)&&fe(o.composer,ct);case"progress":return pe(o.label)&&typeof o.value=="number"&&Number.isFinite(o.value)&&o.value>=0&&o.value<=100;case"divider":return!0;default:return!1}});return Oe(e)&&!("format"in e)&&n(e.blocks,0)&&fe(e.header,r=>Oe(r)&&pe(r.title)&&fe(r.context,pe)&&fe(r.reference,pe)&&fe(r.icon,So))};var Co=e=>{if(new TextEncoder().encode(JSON.stringify(e)).length>2*1024*1024||!Array.isArray(e)||e.length>500)throw new Error("Invalid plugin actions");let t=new Set,n=i=>typeof i=="string"&&i.length<=6e4,r=i=>i===void 0||typeof i=="boolean";for(let i of e){if(!i||!n(i.id)||!i.id||t.has(i.id)||!n(i.label)||!n(i.target)||!Array.isArray(i.fields)||i.fields.length>40||!r(i.destructive)||!r(i.confirm)||!r(i.partial)||i.version!==void 0&&!n(i.version))throw new Error("Invalid plugin actions");t.add(i.id);let o=new Set;for(let s of i.fields){if(!s||!n(s.name)||!/^[a-zA-Z][\w.:-]{0,199}$/.test(s.name)||o.has(s.name)||!n(s.label)||!["text","textarea","select","multiselect","date","number"].includes(s.type)||!r(s.required)||s.value!==void 0&&!n(s.value)||s.maxLength!==void 0&&(!Number.isInteger(s.maxLength)||s.maxLength<1||s.maxLength>6e4)||[s.min,s.max].some(a=>a!==void 0&&(typeof a!="number"||!Number.isFinite(a)))||s.min!==void 0&&s.max!==void 0&&s.min>s.max||["select","multiselect"].includes(s.type)&&(!Array.isArray(s.options)||s.options.length>1e3||s.options.some(a=>!a||!n(a.value)||!n(a.label))))throw new Error("Invalid plugin action field");if(s.type==="multiselect"&&s.value!==void 0){let a;try{a=JSON.parse(s.value)}catch{throw new Error("Invalid plugin action selection")}if(!Array.isArray(a)||a.some(l=>typeof l!="string"))throw new Error("Invalid plugin action selection")}o.add(s.name)}}return e};var tl=(e,t,n)=>new Promise(r=>{let i=document.activeElement,o=document.createElement("dialog");o.className="app-dialog",o.setAttribute("aria-label",e);let s=document.createElement("h2");s.textContent=e;let a=typeof t=="string"?document.createElement("p"):t;typeof t=="string"&&(a.textContent=t);let l=document.createElement("div");l.className="dialog-actions";for(let c of n){let u=document.createElement("button");u.type="button",u.textContent=c.label,u.autofocus=c.value==="",u.classList.toggle("danger",!!c.danger),u.addEventListener("click",()=>o.close(c.value)),l.append(u)}o.append(s,a,l),o.addEventListener("close",()=>{o.remove(),i instanceof HTMLElement&&i.isConnected&&i.focus(),r(o.returnValue)},{once:!0}),document.body.append(o),o.showModal()}),Ao=async(e,t,n=!1)=>await tl(t,e,[{value:"",label:Z("Cancel")},{value:"confirm",label:t,danger:n}])==="confirm";var Ie=(e,t="",n="")=>{let r=document.createElement(e);return r.textContent=t,r.className=n,r},nl=(e,t,n="plugin-block-button")=>{let r=Ie("button",e,n);return r.type="button",r.addEventListener("click",t),r},br=e=>e?.value??(e?.type==="multiselect"?"[]":""),Lo=(e,t,n,r)=>{let i=[],o=!1,s=!1,a=!1,l=!1,c,u=()=>!l&&r(),f=new Map,p=new Set,d=new Map,g=e.querySelector(".plugin-toolbar"),y=e.querySelector("[data-plugin-status]"),w=e.querySelector("[data-plugin-result]");if(!g||!y||!w)throw new Error(Z("Plugin request failed"));let b=g.querySelector('[data-plugin-action="edit"]');if(!b)throw new Error(Z("Plugin request failed"));let A=(m,O=!1)=>{y.textContent=m,e.dataset.operationError=String(O)},x=m=>{let O={};for(let $ of m.querySelectorAll("input[name],select[name],textarea[name]"))O[$.name]=$ instanceof HTMLSelectElement&&$.multiple?JSON.stringify([...$.selectedOptions].map(T=>T.value)):$.value;return O},I=m=>Object.entries(x(m.form)).some(([O,$])=>$!==m.original[O]),M=()=>[...f.values()].some(m=>I(m)||m.composing),v=m=>i.find(O=>O.id===m),L=()=>{e.dataset.editing=String(s),b.setAttribute("aria-pressed",String(s)),b.disabled=o||!s&&!i.length;for(let m of w.querySelectorAll("[data-plugin-edit-trigger]"))m.tabIndex=s?0:-1,s?m.setAttribute("role","button"):m.removeAttribute("role");for(let m of w.querySelectorAll("[data-block-action] button,button[data-block-action],.plugin-submit"))m.disabled=!s||o||!v(m.closest("[data-block-action]")?.dataset.blockAction??"")},V=m=>{(d.size||M())&&m.preventDefault()};window.addEventListener("beforeunload",V);let X=async()=>{let m=await t("actions");if(!u())return;let O=Co(m.actions??[]);a||=JSON.stringify(O)!==JSON.stringify(i),i=O;for(let[$,T]of f){if(d.has($))continue;let _=v(T.id);_&&Object.entries(T.original).every(([N,q])=>q===br(_.fields.find(oe=>oe.name===N)))&&(T.version=_.version)}L()},E=()=>u()&&!M()&&![...f.values()].some(m=>m.form.contains(document.activeElement)),W=()=>{if(!(o||c||!u()||document.hidden))return c=(async()=>{let m=[...w.querySelectorAll(".plugin-block-section")].map($=>$.open),O=w.scrollTop;try{if(await X(),!u())return;let $=!1;if(await n(()=>{if(!E())return!1;for(let T of f.values())T.close();return $=!0,!0},a),!u())return;$&&(Y(),[...w.querySelectorAll(".plugin-block-section")].forEach((T,_)=>{m[_]!==void 0&&(T.open=m[_])}),w.scrollTop=O),!M()&&!d.size&&A("")}catch($){u()&&A($ instanceof Error?$.message:Z("Plugin request failed"),!0)}finally{c=void 0,u()&&(L(),k())}})(),c},S=async(m,O,$,T)=>{if(c&&await c,o||!s||!u())return;o=!0,L();let _=!1;try{if((m.destructive||m.confirm)&&!await Ao(m.target,m.label,m.destructive)||!u())return;let N={id:m.id,values:O,version:T?T.version:m.version,...m.destructive||m.confirm?{confirmed:!0}:{}},q=JSON.stringify(N),oe=d.get($),B=oe?.fingerprint===q?oe.requestId:crypto.randomUUID();d.set($,{fingerprint:q,requestId:B}),e.setAttribute("aria-busy","true");let ce=await t("act",{operation:N,requestId:B});if(!u())return;if(_=!0,d.delete($),T?.auto?(Object.assign(T.original,O),T.notice.textContent="",!I(T)&&!T.form.contains(document.activeElement)&&T.close()):T?.close(),A(""),ce.result?.deleted){for(let H of f.values())H.close();w.replaceChildren(Ie("p",ce.result.message)),e.querySelector("[data-plugin-collapsed]")?.replaceChildren(),i=[],s=!1,de();return}await X()}catch(N){if(!u())return;let q=N instanceof Error?N.message:Z("Plugin request failed");if(!_&&T&&(T.failed=!0,T.notice.textContent=q,p.delete($)),!_&&T&&N instanceof Error&&"status"in N&&N.status===409){T.conflicted=!0,T.notice.textContent=Z("Changed elsewhere. Your input is kept; edit again to apply it.");try{await X()}catch{}}!_&&N instanceof Error&&"status"in N&&[400,401,403,404,409,422,429].includes(Number(N.status))&&d.delete($),A(q,!0)}finally{o=!1,u()&&(e.removeAttribute("aria-busy"),L(),k(),_&&E()&&W())}},k=async()=>{if(!(o||c||!u()||!s))for(let m of p){if(o||c)return;p.delete(m);let O=f.get(m),$=O&&v(O.id);if(!O||!$||O.composing||O.failed||!I(O)||!O.form.reportValidity())continue;let T=x(O.form);if($.partial&&(T=Object.fromEntries(Object.entries(T).filter(([_,N])=>N!==O.original[_]))),await S($,T,m,O),!u())return}},D=(m,O)=>{let $=Ie("label",m.label),T;if(m.type==="select"||m.type==="multiselect"){let _=Ie("select");_.multiple=m.type==="multiselect";let N=_.multiple?JSON.parse(O||"[]"):[O];for(let q of m.options??[]){let oe=Ie("option",q.label);oe.value=q.value,oe.selected=N.includes(q.value),_.append(oe)}T=_}else m.type==="textarea"?(T=Ie("textarea"),T.rows=3,T.value=O,T.maxLength=m.maxLength??4e3):(T=Ie("input"),T.type=m.type,T.value=O,T.maxLength=m.maxLength??4e3,m.min!==void 0&&(T.min=String(m.min)),m.max!==void 0&&(T.max=String(m.max)),m.type==="number"&&(T.step="any"));return T.name=m.name,T.required=!!m.required,$.append(T),$},R=(m,O,$,T,_)=>{if(!s||f.has(T))return;let N=Ie("form","","plugin-editor");N.dataset.pluginForm=T;let q=Object.fromEntries(O.map(H=>[H.name,br(H)]));for(let H of O)N.append(D(H,q[H.name]??""));let oe=Ie("p","","plugin-editor-notice");oe.setAttribute("role","status");let B={id:m.id,original:q,version:m.version,form:N,notice:oe,auto:!!_,composing:!1,failed:!1,conflicted:!1,close:()=>{clearTimeout(B.timer),p.delete(T),N.remove(),f.delete(T),_&&(_.hidden=!1)}};if(f.set(T,B),N.append(oe),_)_.hidden=!0;else{let H=Ie("button",m.label,"plugin-block-button plugin-submit");H.type="submit",N.append(H)}$.append(N);let ce=H=>{clearTimeout(B.timer),!(!B.auto||B.composing)&&(B.timer=setTimeout(()=>{p.add(T),k()},H))};N.addEventListener("input",()=>{if(B.conflicted){let H=v(B.id);H&&(B.original=Object.fromEntries(Object.keys(B.original).map(ae=>[ae,br(H.fields.find(fr=>fr.name===ae))])),B.version=H.version,B.conflicted=!1)}B.failed=!1,ce(600)}),N.addEventListener("change",()=>{B.failed||ce(0)}),N.addEventListener("focusout",()=>{setTimeout(()=>{!u()||N.contains(document.activeElement)||B.composing||(!I(B)&&!o?(B.close(),W()):B.auto&&!B.failed&&(clearTimeout(B.timer),p.add(T),k()))},0)}),N.addEventListener("compositionstart",()=>{B.composing=!0,clearTimeout(B.timer),p.delete(T)}),N.addEventListener("compositionend",()=>{B.composing=!1,B.failed=!1,ce(600)}),N.addEventListener("submit",H=>{H.preventDefault(),!(B.composing||!N.reportValidity())&&(B.auto?(p.add(T),k()):S(v(m.id)??m,x(N),T,B))}),N.addEventListener("keydown",H=>{H.isComposing||H.key==="Enter"&&(H.ctrlKey||H.metaKey)&&(H.preventDefault(),N.requestSubmit())}),N.querySelector("input,textarea,select")?.focus({preventScroll:!0})},Y=()=>{a=!1,e.dataset.actionsReady="true";let m=new Set;for(let T of w.querySelectorAll("[data-block-edit]")){let _=JSON.parse(T.dataset.blockEdit??"{}"),N=v(_.action);if(!N)continue;let q=_.field?N.fields.filter(H=>H.name===_.field):N.fields;if(!q.length||_.field&&!N.partial&&N.fields.length!==1)continue;m.add(N.id);let oe=`${N.id}@${_.field??"*"}`,B=Ie("div");B.dataset.pluginEditTrigger="",B.setAttribute("aria-label",`${Z("Edit")} ${q[0]?.label}`),B.append(...T.childNodes),T.append(B);let ce=()=>R(v(N.id)??N,q.map(H=>v(N.id)?.fields.find(ae=>ae.name===H.name)??H),T,oe,B);B.addEventListener("dblclick",H=>{H.target.closest("a,button")||ce()}),B.addEventListener("keydown",H=>{H.target===B&&!H.isComposing&&["Enter","F2"].includes(H.key)&&(H.preventDefault(),ce())})}let O=[...w.querySelectorAll("[data-block-action]")];for(let T of O)m.add(T.dataset.blockAction??"");let $=Ie("div","","plugin-block-actions plugin-extra-actions");for(let T of i){if(m.has(T.id))continue;let _=Ie("span");_.dataset.blockAction=T.id,$.append(_),O.push(_)}$.childElementCount&&w.append($);for(let T of O){let _=v(T.dataset.blockAction??"");if(!_){T instanceof HTMLButtonElement&&(T.disabled=!0);continue}let N=async()=>{if(c&&await c,!u()||!s||o)return;let q=v(_.id);q&&(T.dataset.blockValues?S(q,JSON.parse(T.dataset.blockValues),_.id):q.fields.length?R(q,q.fields,T,_.id):S(q,{},_.id))};if(T instanceof HTMLButtonElement)T.addEventListener("click",N);else{let q=nl(_.label,N);_.destructive&&q.classList.add("plugin-danger"),_.destructive&&T.closest(".plugin-message-actions")&&(q.title=_.label,q.setAttribute("aria-label",_.label),q.innerHTML='<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M4 5h12M8 5V3h4v2M6 5l1 12h6l1-12M9 8v6m2-6v6"/></svg>'),T.append(q)}}L()},U=async()=>{if(c&&await c,!(o||!u())){if(s){for(let[m,O]of f)O.auto&&(clearTimeout(O.timer),p.add(m));if(await k(),!u()||M())return;for(let m of f.values())m.close()}s=!s,L(),s||W()}},le=async m=>{let O=m.target instanceof Element?m.target.closest("[data-block-copy]"):null;if(O)try{await navigator.clipboard.writeText(O.dataset.blockCopy??""),O.title=Z("Copied")}catch{O.title=Z("Copy failed")}},te=()=>{document.hidden||W()},h=setInterval(()=>{W()},5e3),de=()=>{clearInterval(h),window.removeEventListener("focus",te),document.removeEventListener("visibilitychange",te)};return window.addEventListener("focus",te),document.addEventListener("visibilitychange",te),e.addEventListener("click",le),b.addEventListener("click",U),(async()=>{o=!0;try{await X(),u()&&Y()}catch(m){u()&&A(m instanceof Error?m.message:Z("Plugin request failed"),!0)}finally{o=!1,u()&&L()}})(),()=>{l=!0,de();for(let m of f.values())m.close();delete e.dataset.actionsReady,delete e.dataset.editing,b.disabled=!0,b.setAttribute("aria-pressed","false"),b.removeEventListener("click",U),window.removeEventListener("beforeunload",V),e.removeEventListener("click",le)}};var To=e=>{let t=document.createElement("div");t.className="plugin-resize",t.tabIndex=0,t.setAttribute("role","separator"),t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-controls",e.id),t.setAttribute("aria-valuemin","32"),t.dataset.i18nTitle=t.dataset.i18nAriaLabel="Resize plugin card",t.title=Z("Resize plugin card"),t.setAttribute("aria-label",t.title);let n=()=>e.getBoundingClientRect().height,r=()=>{let u=e.style.height,f=e.scrollTop;e.style.height="auto";let p=e.scrollHeight+e.offsetHeight-e.clientHeight;e.style.height=u,e.scrollTop=f;let d=Math.max(32,Math.ceil(p));return t.setAttribute("aria-valuemax",String(d)),d},i=u=>{let f=Math.round(Math.max(32,Math.min(r(),u)));e.dataset.resized="",e.style.height=`${f}px`,t.setAttribute("aria-valuenow",String(f))};t.addEventListener("focus",()=>{r(),t.setAttribute("aria-valuenow",String(Math.round(n())))});let o=()=>{if(!e.isConnected){s.disconnect(),a.disconnect();return}n()&&e.hasAttribute("data-resized")&&i(n())},s=new MutationObserver(()=>{a.disconnect(),a.observe(e);for(let u of e.children)a.observe(u);o()});s.observe(e,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["open"]});let a=new ResizeObserver(o);a.observe(e);let l;t.addEventListener("pointerdown",u=>{u.button!==0||l||(u.preventDefault(),t.focus({preventScroll:!0}),l={id:u.pointerId,y:u.clientY,height:n()},t.setPointerCapture(u.pointerId),t.classList.add("drag"))}),t.addEventListener("pointermove",u=>{l?.id===u.pointerId&&i(l.height+u.clientY-l.y)});let c=u=>{l?.id===u.pointerId&&(l=void 0,t.classList.remove("drag"))};for(let u of["pointerup","pointercancel","lostpointercapture"])t.addEventListener(u,c);return t.addEventListener("keydown",u=>{if(u.key==="ArrowDown")i(n()+32);else if(u.key==="ArrowUp")i(n()-32);else if(u.key==="Home")i(32);else if(u.key==="End")i(r());else return;u.preventDefault(),u.stopPropagation()}),t};var Io=e=>{let t=JSON.stringify(e);if(typeof t!="string")throw new Error("Invalid plugin view");if(new TextEncoder().encode(t).length>2*1024*1024)throw new Error("Plugin view is too large");let n=JSON.parse(t);if(!yr(n)||n.collapsed!==void 0&&!yr(n.collapsed))throw new Error("Invalid plugin view");return n};var se=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");var he=Ze(/[A-Za-z]/),ge=Ze(/[\dA-Za-z]/),Po=Ze(/[#-'*+\--9=?A-Z^-~]/);function ut(e){return e!==null&&(e<32||e===127)}var Jt=Ze(/\d/),No=Ze(/[\dA-Fa-f]/),gn=Ze(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function Q(e){return e!==null&&(e<0||e===32)}function z(e){return e===-2||e===-1||e===32}var ft=Ze(/\p{P}|\p{S}/u),ze=Ze(/\s/);function Ze(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}var Oo=po(Mo(),1),Yt=Object.assign(dt(Error),{eval:dt(EvalError),range:dt(RangeError),reference:dt(ReferenceError),syntax:dt(SyntaxError),type:dt(TypeError),uri:dt(URIError)});function dt(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){let i=n&&(0,Oo.default)(n,...r);return new e(i)}}var yn={}.hasOwnProperty,Fo={yaml:"-",toml:"+"};function At(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=rl(r[n]);return t}function rl(e){let t=e;if(typeof t=="string"){if(!yn.call(Fo,t))throw Yt("Missing matter definition for `%s`",t);t={type:t,marker:Fo[t]}}else if(typeof t!="object")throw Yt("Expected matter to be an object, not `%j`",t);if(!yn.call(t,"type"))throw Yt("Missing `type` in matter `%j`",t);if(!yn.call(t,"fence")&&!yn.call(t,"marker"))throw Yt("Missing `marker` or `fence` in matter `%j`",t);return t}function xr(e){let t=At(e),n={},r=-1;for(;++r<t.length;){let i=t[r],o=kr(i,"open").charCodeAt(0),s=il(i),a=n[o];Array.isArray(a)?a.push(s):n[o]=[s]}return{flow:n}}function il(e){let t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",o=n+"Value",s={tokenize:u,partial:!0},a,l=0;return{tokenize:c,concrete:!0};function c(f,p,d){let g=this;return y;function y(L){let V=g.now();return V.column===1&&(V.line===1||t)&&(a=kr(e,"open"),l=0,L===a.charCodeAt(l))?(f.enter(n),f.enter(r),f.enter(i),w(L)):d(L)}function w(L){return l===a.length?(f.exit(i),z(L)?(f.enter("whitespace"),b(L)):A(L)):L===a.charCodeAt(l++)?(f.consume(L),w):d(L)}function b(L){return z(L)?(f.consume(L),b):(f.exit("whitespace"),A(L))}function A(L){return F(L)?(f.exit(r),f.enter("lineEnding"),f.consume(L),f.exit("lineEnding"),a=kr(e,"close"),l=0,f.attempt(s,v,x)):d(L)}function x(L){return L===null||F(L)?M(L):(f.enter(o),I(L))}function I(L){return L===null||F(L)?(f.exit(o),M(L)):(f.consume(L),I)}function M(L){return L===null?d(L):(f.enter("lineEnding"),f.consume(L),f.exit("lineEnding"),f.attempt(s,v,x))}function v(L){return f.exit(n),p(L)}}function u(f,p,d){let g=0;return y;function y(x){return x===a.charCodeAt(g)?(f.enter(r),f.enter(i),w(x)):d(x)}function w(x){return g===a.length?(f.exit(i),z(x)?(f.enter("whitespace"),b(x)):A(x)):x===a.charCodeAt(g++)?(f.consume(x),w):d(x)}function b(x){return z(x)?(f.consume(x),b):(f.exit("whitespace"),A(x))}function A(x){return x===null||F(x)?(f.exit(r),p(x)):d(x)}}}function kr(e,t){return e.marker?Ro(e.marker,t).repeat(3):Ro(e.fence,t)}function Ro(e,t){return typeof e=="string"?e:e[t]}function Gt(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function vr(e){let t=At(e),n={},r={},i=-1;for(;++i<t.length;){let o=t[i];n[o.type]=ol(o),r[o.type]=sl,r[o.type+"Value"]=al}return{enter:n,exit:r}}function ol(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}function sl(e){let t=this.resume(),n=this.stack[this.stack.length-1];"value"in n,this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function al(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Er(e){let t=[],n={},r=At(e),i=-1;for(;++i<r.length;){let o=r[i];n[o.type]=ll(o);let s=Sr(o,"open");t.push({atBreak:!0,character:s.charAt(0),after:Gt(s.charAt(1))})}return{unsafe:t,handlers:n}}function ll(e){let t=Sr(e,"open"),n=Sr(e,"close");return r;function r(i){return t+(i.value?`
20
20
  `+i.value:"")+`
21
- `+n}}function wr(e,t){return e.marker?No(e.marker,t).repeat(3):No(e.fence,t)}function No(e,t){return typeof e=="string"?e:e[t]}var rl="yaml";function gn(e){let t=this,n=e||rl,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(br(n)),o.push(kr(n)),s.push(xr(n))}function Sr(e,t){let n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var Qe=(function(e){if(e==null)return al;if(typeof e=="function")return yn(e);if(typeof e=="object")return Array.isArray(e)?il(e):ol(e);if(typeof e=="string")return sl(e);throw new Error("Expected function, string, or object as test")});function il(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Qe(e[n]);return yn(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function ol(e){let t=e;return yn(n);function n(r){let i=r,o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function sl(e){return yn(t);function t(n){return n&&n.type===e}}function yn(e){return t;function t(n,r,i){return!!(ll(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function al(){return!0}function ll(e){return e!==null&&typeof e=="object"&&"type"in e}var Mo=[],bn=!0,Xe=!1,ft="skip";function Ct(e,t,n,r){if(!e||typeof e!="object")throw new Error("Unexpected value `"+e+"` for `tree`, expected node");let i=!0,o,s,a,l;if(typeof n=="function"||n&&typeof n=="object"?(o=t,s=n,r&&(i=!1)):(s=t,n&&(i=!1)),typeof s=="function")a=s;else if(s&&typeof s=="object"){if(!(s.enter===null||s.enter===void 0))if(typeof s.enter=="function")a=s.enter;else throw new Error("Unexpected value `"+s.enter+"` for `visitors.enter`, expected optional visitor");if(typeof s.exit=="function")l=s.exit;else throw new Error("Unexpected value `"+s.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)")}else throw new Error("Unexpected value `"+s+"` for `enter` or `visitors`, expected visitor or object with visitors");let c=Qe(o),u=i?1:-1;f(e,void 0,[])();function f(p,d,g){let b=p&&typeof p=="object"?p:{};if(typeof b.type=="string"){let y=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(w,"name",{value:"node ("+(p.type+(y?"<"+y+">":""))+")"})}return w;function w(){let y=!o||c(p,d,g[g.length-1]||void 0),C=Mo;if(a&&y&&(C=Oo(a(p,g,d)),C[0]===Xe))return C;if("children"in p&&p.children){let k=p;if(k.children&&C[0]!==ft){let P=(i?-1:k.children.length)+u,O=[...g,k];for(;P>-1&&P<k.children.length;){let S=k.children[P],L=f(S,P,O)();if(L[0]===Xe)return L;P=typeof L[1]=="number"?L[1]:P+u}}}if(l&&y){let k=Oo(l(p,g,d));if(k[0]===ft)throw new Error("Unexpected value `"+k[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if(k[0]===Xe||typeof k[1]=="number")return k}return C}}}function Oo(e){return Array.isArray(e)?e:typeof e=="number"?[bn,e]:e==null?Mo:[e]}function Er(e,t,n){let i=Qe((n||{}).ignore||[]),o=cl(t),s=-1;for(;++s<o.length;)Ct(e,a);function a(c,u,f){if(c.type==="text"&&typeof f=="number")return l(c,u,f);if(i(c,f,u[u.length-1]))return ft}function l(c,u,f){let p=u[u.length-1],d=o[s][0],g=o[s][1],b=0,w=!1,y=[];d.lastIndex=0;let C=d.exec(c.value);for(;C;){let P=C.index,O={index:C.index,input:C.input,stack:[...u,c]},S=g(...C,O);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1)d.lastIndex=P+1;else{if(b!==P&&k({type:"text",value:c.value.slice(b,P)}),Array.isArray(S))for(let L of S)k(L);else S&&k(S);b=P+C[0].length,w=!0}if(!d.global)break;C=d.exec(c.value)}return w?(b<c.value.length&&k({type:"text",value:c.value.slice(b)}),p.children.splice(f,1,...y)):y=[c],f+y.length;function k(P){let O=y[y.length-1];O&&O.type==="text"&&P.type==="text"?O.value+=P.value:y.push(P)}}}function cl(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let t=[],n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let i=n[r];t.push([ul(i[0]),fl(i[1])])}return t}function ul(e){return typeof e=="string"?new RegExp(Wt(e),"g"):e}function fl(e){return typeof e=="function"?e:function(){return e}}var vr="phrasing",Cr=["autolink","link","image","label"];function Lr(){return{transforms:[yl],enter:{literalAutolink:dl,literalAutolinkEmail:Ar,literalAutolinkHttp:Ar,literalAutolinkWww:Ar},exit:{literalAutolink:gl,literalAutolinkEmail:hl,literalAutolinkHttp:pl,literalAutolinkWww:ml}}}function Tr(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:vr,notInConstruct:Cr},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:vr,notInConstruct:Cr},{character:":",before:"[ps]",after:"\\/",inConstruct:vr,notInConstruct:Cr}]}}function dl(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ar(e){this.config.enter.autolinkProtocol.call(this,e)}function pl(e){this.config.exit.autolinkProtocol.call(this,e)}function ml(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function hl(e){this.config.exit.autolinkEmail.call(this,e)}function gl(e){this.exit(e)}function yl(e){Er(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,bl],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,wl]],{ignore:["link","linkReference"]})}function bl(e,t,n,r,i){let o="";if(!Fo(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!kl(n)))return!1;let s=xl(n+r);if(!s[0])return!1;let a={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function wl(e,t,n,r){return!Fo(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function kl(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function xl(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=Sr(e,"("),o=Sr(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function Fo(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||_e(n)||ct(n))&&(!t||n!==47)}function ke(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}Ro.peek=Pl;function Sl(){this.buffer()}function El(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function vl(){this.buffer()}function Cl(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Al(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ke(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Ll(e){this.exit(e)}function Tl(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ke(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Il(e){this.exit(e)}function Pl(){return"["}function Ro(e,t,n,r){let i=n.createTracker(r),o=i.move("[^"),s=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),s(),o+=i.move("]"),o}function Ir(){return{enter:{gfmFootnoteCallString:Sl,gfmFootnoteCall:El,gfmFootnoteDefinitionLabelString:vl,gfmFootnoteDefinition:Cl},exit:{gfmFootnoteCallString:Al,gfmFootnoteCall:Ll,gfmFootnoteDefinitionLabelString:Tl,gfmFootnoteDefinition:Il}}}function Pr(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Ro},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,s){let a=o.createTracker(s),l=a.move("[^"),c=o.enter("footnoteDefinition"),u=o.enter("label");return l+=a.move(o.safe(o.associationId(r),{before:l,after:"]"})),u(),l+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),l+=a.move((t?`
22
- `:" ")+o.indentLines(o.containerFlow(r,a.current()),t?Do:Nl))),c(),l}}function Nl(e,t,n){return t===0?e:Do(e,t,n)}function Do(e,t,n){return(n?"":" ")+e}var Ol=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Mr.attention=Rl;Mr.peek=Dl;function Nr(){return{canContainEols:["delete"],enter:{strikethrough:Ml},exit:{strikethrough:Fl}}}function Or(){return{handlers:{delete:Mr},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ol}]}}function Ml(e){this.enter({type:"delete",children:[],position:void 0},e)}function Fl(e){this.exit(e)}function Mr(e,t,n,r){let i=n.createTracker(r),o=n.stack.includes("strikethrough")?"~":"~~",s=n.enter("strikethrough"),a=i.move(o);return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move(o),s(),a}function Rl(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function Dl(){return"~"}function _l(e){return e.length}function $o(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||_l,o=[],s=[],a=[],l=[],c=0,u=-1;for(;++u<e.length;){let b=[],w=[],y=-1;for(e[u].length>c&&(c=e[u].length);++y<e[u].length;){let C=$l(e[u][y]);if(n.alignDelimiters!==!1){let k=i(C);w[y]=k,(l[y]===void 0||k>l[y])&&(l[y]=k)}b.push(C)}s[u]=b,a[u]=w}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)o[f]=_o(r[f]);else{let b=_o(r);for(;++f<c;)o[f]=b}f=-1;let p=[],d=[];for(;++f<c;){let b=o[f],w="",y="";b===99?(w=":",y=":"):b===108?w=":":b===114&&(y=":");let C=n.alignDelimiters===!1?1:Math.max(1,l[f]-w.length-y.length),k=w+"-".repeat(C)+y;n.alignDelimiters!==!1&&(C=w.length+C+y.length,C>l[f]&&(l[f]=C),d[f]=C),p[f]=k}s.splice(1,0,p),a.splice(1,0,d),u=-1;let g=[];for(;++u<s.length;){let b=s[u],w=a[u];f=-1;let y=[];for(;++f<c;){let C=b[f]||"",k="",P="";if(n.alignDelimiters!==!1){let O=l[f]-(w[f]||0),S=o[f];S===114?k=" ".repeat(O):S===99?O%2?(k=" ".repeat(O/2+.5),P=" ".repeat(O/2-.5)):(k=" ".repeat(O/2),P=k):P=" ".repeat(O)}n.delimiterStart!==!1&&!f&&y.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&C==="")&&(n.delimiterStart!==!1||f)&&y.push(" "),n.alignDelimiters!==!1&&y.push(k),y.push(C),n.alignDelimiters!==!1&&y.push(P),n.padding!==!1&&y.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&y.push("|")}g.push(n.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return g.join(`
23
- `)}function $l(e){return e==null?"":String(e)}function _o(e){let t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var Fr=Qe(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function zo(e,t,n,r){let i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);let s=n.indentLines(n.containerFlow(e,o.current()),zl);return i(),s}function zl(e,t,n){return">"+(n?"":" ")+e}function jo(e,t){return Bo(e,t.inConstruct,!0)&&!Bo(e,t.notInConstruct,!1)}function Bo(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Rr(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;){let o=n.unsafe[i];if(o.character===`
24
- `&&!o.before&&!o.after&&jo(n.stack,o))return/[\t ]/.test(r.before)?"":" "}return`\\
25
- `}function qo(e,t){let n=String(e),r=n.indexOf(t),i=r,o=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>s&&(s=o):o=1,i=r+t.length,r=n.indexOf(t,i);return s}function Uo(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}function Ho(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Vo(e,t,n,r){let i=Ho(n),o=e.value||"";if(Uo(e,n)){let f=n.enter("codeIndented"),p=n.indentLines(o,Bl);return f(),p}let s=n.createTracker(r),a=i.repeat(Math.max(qo(o,i)+1,3)),l=n.enter("codeFenced"),c=i==="`"?"GraveAccent":"Tilde",u=s.move(a);if(e.lang){let f=n.enter(`codeFencedLang${c}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),f()}if(e.lang&&e.meta){let f=n.enter(`codeFencedMeta${c}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:`
21
+ `+n}}function Sr(e,t){return e.marker?Do(e.marker,t).repeat(3):Do(e.fence,t)}function Do(e,t){return typeof e=="string"?e:e[t]}var cl="yaml";function bn(e){let t=this,n=e||cl,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(xr(n)),o.push(vr(n)),s.push(Er(n))}function Cr(e,t){let n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var Xe=(function(e){if(e==null)return pl;if(typeof e=="function")return wn(e);if(typeof e=="object")return Array.isArray(e)?ul(e):fl(e);if(typeof e=="string")return dl(e);throw new Error("Expected function, string, or object as test")});function ul(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Xe(e[n]);return wn(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function fl(e){let t=e;return wn(n);function n(r){let i=r,o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function dl(e){return wn(t);function t(n){return n&&n.type===e}}function wn(e){return t;function t(n,r,i){return!!(ml(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function pl(){return!0}function ml(e){return e!==null&&typeof e=="object"&&"type"in e}var $o=[],kn=!0,et=!1,pt="skip";function Lt(e,t,n,r){if(!e||typeof e!="object")throw new Error("Unexpected value `"+e+"` for `tree`, expected node");let i=!0,o,s,a,l;if(typeof n=="function"||n&&typeof n=="object"?(o=t,s=n,r&&(i=!1)):(s=t,n&&(i=!1)),typeof s=="function")a=s;else if(s&&typeof s=="object"){if(!(s.enter===null||s.enter===void 0))if(typeof s.enter=="function")a=s.enter;else throw new Error("Unexpected value `"+s.enter+"` for `visitors.enter`, expected optional visitor");if(typeof s.exit=="function")l=s.exit;else throw new Error("Unexpected value `"+s.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)")}else throw new Error("Unexpected value `"+s+"` for `enter` or `visitors`, expected visitor or object with visitors");let c=Xe(o),u=i?1:-1;f(e,void 0,[])();function f(p,d,g){let y=p&&typeof p=="object"?p:{};if(typeof y.type=="string"){let b=typeof y.tagName=="string"?y.tagName:typeof y.name=="string"?y.name:void 0;Object.defineProperty(w,"name",{value:"node ("+(p.type+(b?"<"+b+">":""))+")"})}return w;function w(){let b=!o||c(p,d,g[g.length-1]||void 0),A=$o;if(a&&b&&(A=_o(a(p,g,d)),A[0]===et))return A;if("children"in p&&p.children){let x=p;if(x.children&&A[0]!==pt){let I=(i?-1:x.children.length)+u,M=[...g,x];for(;I>-1&&I<x.children.length;){let v=x.children[I],L=f(v,I,M)();if(L[0]===et)return L;I=typeof L[1]=="number"?L[1]:I+u}}}if(l&&b){let x=_o(l(p,g,d));if(x[0]===pt)throw new Error("Unexpected value `"+x[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if(x[0]===et||typeof x[1]=="number")return x}return A}}}function _o(e){return Array.isArray(e)?e:typeof e=="number"?[kn,e]:e==null?$o:[e]}function Ar(e,t,n){let i=Xe((n||{}).ignore||[]),o=hl(t),s=-1;for(;++s<o.length;)Lt(e,a);function a(c,u,f){if(c.type==="text"&&typeof f=="number")return l(c,u,f);if(i(c,f,u[u.length-1]))return pt}function l(c,u,f){let p=u[u.length-1],d=o[s][0],g=o[s][1],y=0,w=!1,b=[];d.lastIndex=0;let A=d.exec(c.value);for(;A;){let I=A.index,M={index:A.index,input:A.input,stack:[...u,c]},v=g(...A,M);if(typeof v=="string"&&(v=v.length>0?{type:"text",value:v}:void 0),v===!1)d.lastIndex=I+1;else{if(y!==I&&x({type:"text",value:c.value.slice(y,I)}),Array.isArray(v))for(let L of v)x(L);else v&&x(v);y=I+A[0].length,w=!0}if(!d.global)break;A=d.exec(c.value)}return w?(y<c.value.length&&x({type:"text",value:c.value.slice(y)}),p.children.splice(f,1,...b)):b=[c],f+b.length;function x(I){let M=b[b.length-1];M&&M.type==="text"&&I.type==="text"?M.value+=I.value:b.push(I)}}}function hl(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let t=[],n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let i=n[r];t.push([gl(i[0]),yl(i[1])])}return t}function gl(e){return typeof e=="string"?new RegExp(Gt(e),"g"):e}function yl(e){return typeof e=="function"?e:function(){return e}}var Lr="phrasing",Tr=["autolink","link","image","label"];function Pr(){return{transforms:[vl],enter:{literalAutolink:bl,literalAutolinkEmail:Ir,literalAutolinkHttp:Ir,literalAutolinkWww:Ir},exit:{literalAutolink:Sl,literalAutolinkEmail:xl,literalAutolinkHttp:wl,literalAutolinkWww:kl}}}function Nr(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Lr,notInConstruct:Tr},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Lr,notInConstruct:Tr},{character:":",before:"[ps]",after:"\\/",inConstruct:Lr,notInConstruct:Tr}]}}function bl(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ir(e){this.config.enter.autolinkProtocol.call(this,e)}function wl(e){this.config.exit.autolinkProtocol.call(this,e)}function kl(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function xl(e){this.config.exit.autolinkEmail.call(this,e)}function Sl(e){this.exit(e)}function vl(e){Ar(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,El],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Cl]],{ignore:["link","linkReference"]})}function El(e,t,n,r,i){let o="";if(!zo(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!Al(n)))return!1;let s=Ll(n+r);if(!s[0])return!1;let a={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function Cl(e,t,n,r){return!zo(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Al(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Ll(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=Cr(e,"("),o=Cr(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function zo(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||ze(n)||ft(n))&&(!t||n!==47)}function xe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}Bo.peek=Dl;function Tl(){this.buffer()}function Il(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Pl(){this.buffer()}function Nl(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ml(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=xe(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Ol(e){this.exit(e)}function Fl(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=xe(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Rl(e){this.exit(e)}function Dl(){return"["}function Bo(e,t,n,r){let i=n.createTracker(r),o=i.move("[^"),s=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),s(),o+=i.move("]"),o}function Mr(){return{enter:{gfmFootnoteCallString:Tl,gfmFootnoteCall:Il,gfmFootnoteDefinitionLabelString:Pl,gfmFootnoteDefinition:Nl},exit:{gfmFootnoteCallString:Ml,gfmFootnoteCall:Ol,gfmFootnoteDefinitionLabelString:Fl,gfmFootnoteDefinition:Rl}}}function Or(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Bo},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,s){let a=o.createTracker(s),l=a.move("[^"),c=o.enter("footnoteDefinition"),u=o.enter("label");return l+=a.move(o.safe(o.associationId(r),{before:l,after:"]"})),u(),l+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),l+=a.move((t?`
22
+ `:" ")+o.indentLines(o.containerFlow(r,a.current()),t?jo:_l))),c(),l}}function _l(e,t,n){return t===0?e:jo(e,t,n)}function jo(e,t,n){return(n?"":" ")+e}var $l=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Dr.attention=jl;Dr.peek=ql;function Fr(){return{canContainEols:["delete"],enter:{strikethrough:zl},exit:{strikethrough:Bl}}}function Rr(){return{handlers:{delete:Dr},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:$l}]}}function zl(e){this.enter({type:"delete",children:[],position:void 0},e)}function Bl(e){this.exit(e)}function Dr(e,t,n,r){let i=n.createTracker(r),o=n.stack.includes("strikethrough")?"~":"~~",s=n.enter("strikethrough"),a=i.move(o);return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move(o),s(),a}function jl(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function ql(){return"~"}function Ul(e){return e.length}function Uo(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Ul,o=[],s=[],a=[],l=[],c=0,u=-1;for(;++u<e.length;){let y=[],w=[],b=-1;for(e[u].length>c&&(c=e[u].length);++b<e[u].length;){let A=Hl(e[u][b]);if(n.alignDelimiters!==!1){let x=i(A);w[b]=x,(l[b]===void 0||x>l[b])&&(l[b]=x)}y.push(A)}s[u]=y,a[u]=w}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)o[f]=qo(r[f]);else{let y=qo(r);for(;++f<c;)o[f]=y}f=-1;let p=[],d=[];for(;++f<c;){let y=o[f],w="",b="";y===99?(w=":",b=":"):y===108?w=":":y===114&&(b=":");let A=n.alignDelimiters===!1?1:Math.max(1,l[f]-w.length-b.length),x=w+"-".repeat(A)+b;n.alignDelimiters!==!1&&(A=w.length+A+b.length,A>l[f]&&(l[f]=A),d[f]=A),p[f]=x}s.splice(1,0,p),a.splice(1,0,d),u=-1;let g=[];for(;++u<s.length;){let y=s[u],w=a[u];f=-1;let b=[];for(;++f<c;){let A=y[f]||"",x="",I="";if(n.alignDelimiters!==!1){let M=l[f]-(w[f]||0),v=o[f];v===114?x=" ".repeat(M):v===99?M%2?(x=" ".repeat(M/2+.5),I=" ".repeat(M/2-.5)):(x=" ".repeat(M/2),I=x):I=" ".repeat(M)}n.delimiterStart!==!1&&!f&&b.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&A==="")&&(n.delimiterStart!==!1||f)&&b.push(" "),n.alignDelimiters!==!1&&b.push(x),b.push(A),n.alignDelimiters!==!1&&b.push(I),n.padding!==!1&&b.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&b.push("|")}g.push(n.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return g.join(`
23
+ `)}function Hl(e){return e==null?"":String(e)}function qo(e){let t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var _r=Xe(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ho(e,t,n,r){let i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);let s=n.indentLines(n.containerFlow(e,o.current()),Vl);return i(),s}function Vl(e,t,n){return">"+(n?"":" ")+e}function Ko(e,t){return Vo(e,t.inConstruct,!0)&&!Vo(e,t.notInConstruct,!1)}function Vo(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function $r(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;){let o=n.unsafe[i];if(o.character===`
24
+ `&&!o.before&&!o.after&&Ko(n.stack,o))return/[\t ]/.test(r.before)?"":" "}return`\\
25
+ `}function Wo(e,t){let n=String(e),r=n.indexOf(t),i=r,o=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>s&&(s=o):o=1,i=r+t.length,r=n.indexOf(t,i);return s}function Jo(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}function Yo(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Go(e,t,n,r){let i=Yo(n),o=e.value||"";if(Jo(e,n)){let f=n.enter("codeIndented"),p=n.indentLines(o,Kl);return f(),p}let s=n.createTracker(r),a=i.repeat(Math.max(Wo(o,i)+1,3)),l=n.enter("codeFenced"),c=i==="`"?"GraveAccent":"Tilde",u=s.move(a);if(e.lang){let f=n.enter(`codeFencedLang${c}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),f()}if(e.lang&&e.meta){let f=n.enter(`codeFencedMeta${c}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:`
26
26
  `,encode:["`"],...s.current()})),f()}return u+=s.move(`
27
27
  `),o&&(u+=s.move(o+`
28
- `)),u+=s.move(a),l(),u}function Bl(e,t,n){return(n?"":" ")+e}function At(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Ko(e,t,n,r){let i=At(n),o=i==='"'?"Quote":"Apostrophe",s=n.enter("definition"),a=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
29
- `,...l.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),a()),s(),c}function Jo(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ne(e){if(e===null||X(e)||_e(e))return 1;if(ct(e))return 2}function Yt(e){let t=e.codePointAt(0);return t===void 0?"":String.fromCodePoint(t)}function dt(e){let t=e.codePointAt(e.length-2);return t!==void 0&&t>65535?e.slice(-2):e.slice(-1)}function wn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Dr(e,t,n){let r=Ne(e),i=Ne(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}var kn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Gt=["pre","script","style","textarea"];function Wo(e){if(e.charCodeAt(0)!==60)return;let t=e.charCodeAt(1);if(t===33){let a=e.charCodeAt(2);return a===45?2:a===91?5:de(a)?4:void 0}if(t===63)return 3;let n=t===47,r=n?2:1,i=r,o=e.charCodeAt(i);if(!de(o))return;for(;o===45||pe(o);)o=e.charCodeAt(++i);let s=e.slice(r,i).toLowerCase();return!n&&o!==47&&Gt.includes(s)?1:kn.includes(s)?6:7}var jl=new Map([["*",!1],["_",!0]]);function ql(e,t,n){let r=new Set;for(let o of e){let s=n.get(o);if(s&&o.attention&&t.some(a=>a.attention===o.attention))for(let a of s.tokens)r.add(a.attention)}let i=[];for(let o of e)o.attention&&r.delete(o.attention)&&i.push(o.attention);return i.reverse(),i}function Yo(e,t,n){let r=[],i=new Map,o=new Map,s=0;for(;s<e.length;){if(!e[s].attention){s++;continue}let a=e[s].value.charAt(0),l=jl.get(a),c=s+1;for(;c<e.length&&e[c].attention&&e[c].value.charAt(0)===a;)c++;let u=s?e[s-1].value:t,f=Ne(u.charCodeAt(u.length-1)),p=Ne((c<e.length?e[c].value:n).charCodeAt(0)),d=!p||p===2&&!!f,g=!f||f===2&&!!p,b={tokens:e.slice(s,c),markers:[],start:0,end:0,open:l?d&&(!!f||!g):d,close:l?g&&(!!p||!d):g,split:l!==void 0};for(let w of b.tokens){i.set(w,[...b.tokens]),o.set(w,b);let y=w.value.length;for(;y--;)b.markers.push(w)}b.end=b.markers.length,r.push(b),s=c}for(Hl(r,i),s=-1;++s<e.length;){let a=i.get(e[s]);if(a)return{attention:ql(e,a,o),index:s}}}function xn(e,t){let n=e[t?0:e.length-1];if(!n||n.attention)return;let r=t?Yt(n.value):dt(n.value),i=wn(r.codePointAt(0));if(t)n.value=i+n.value.slice(r.length);else{let o=n.value.slice(0,n.value.length-r.length),s=0;for(;o.charCodeAt(o.length-1-s)===92;)s++;s%2&&(o+="\\"),n.value=o+i}}function Ul(e,t,n,r,i){for(let o of n.attention){let s=t.get(o)||o.sequences[0];for(let a of o.sequences){if(a===s)continue;let l=new Map(t);l.set(o,a);let c=_r(e,l,r,i),u=Yo(c,r,i);if(!u||u.index>n.index)return{chosen:l,mistake:u,tokens:c}}}}function Hl(e,t){let n=new Map;for(let r of e){let i=r.tokens[0].value.charAt(0),o=n.get(i);o||(o=[],n.set(i,o));let s=r.close?o.length:0;for(;s--&&r.start<r.end;){let a=o[s],l=a.end-a.start,c=r.end-r.start;if(r.split?(a.close||r.open)&&c%3&&!((l+c)%3):l!==a.markers.length||l!==c)continue;let u=r.split?l>1&&c>1?2:1:c,f=a.markers.slice(a.end-u,a.end),p=r.markers.slice(r.start,r.start+u),d=f[0],g=p[0];if(d===f[u-1]&&d.value.length===u&&g===p[u-1]&&g.value.length===u&&d.attention===g.attention)t.delete(d),t.delete(g);else{let b=[...new Set([...f,...p])];for(let w of b){let y=t.get(w);y&&y.push(...b)}}a.end-=u,r.start+=u,a.start===a.end&&o.splice(s,1),s=o.length}r.open&&r.start<r.end&&o.push(r)}}function Vl(e,t,n){if(t.length===0)throw new Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(n.length===0)throw new Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(let i of n)if(!Number.isSafeInteger(i)||i<1)throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as size, expected positive integer");let r=[];for(let i of t){if(i.length!==1)throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected a single ascii character");if(!mn(i.charCodeAt(0)))throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected ascii punctuation");for(let o of n)r.push(i.repeat(o))}return r}function Kl(e,t,n){let r=t.indexStack,i=e.children||[],o=[],s=-1,a=n.before;r.push(-1);let l=t.createTracker(n);for(;++s<i.length;){let c=i[s],u;if(r[r.length-1]=s,s+1<i.length){let d=t.handle.handlers[i[s+1].type];d&&d.peek&&(d=d.peek),u=d?Yt(d(i[s+1],e,t,{before:"",after:"",...l.current()})):""}else u=n.after;let f=o[o.length-1];typeof f=="string"&&(a==="\r"||a===`
30
- `)&&c.type==="html"&&Wo(c.value)!==7&&(o[o.length-1]=f.replace(/(\r?\n|\r)$/," "),a=" ",l=t.createTracker(n),l.move(Lt(o,n.before,n.after)));let p=t.handle.handlers[c.type];if(p&&p.attention){let d=Qt(c,p.attention,t,l);o.push(d),a=dt(d.sequences[0])}else{let d=t.handle(c,e,t,{...l.current(),after:u,before:a});if(!d)continue;l.move(d),o.push(d),a=dt(d)}}return r.pop(),o}function Qt(e,t,n,r){let{construct:i,markers:o,sizes:s}=t(e,n),a=Vl(e.type,o,s),l=a[0],c=n.enter(i);r.move(l);let u=Kl(e,n,{...r.current(),before:l,after:l});return r.move(Lt(u,l,l)),r.move(l),c(),{children:u,sequences:a}}function _r(e,t,n,r){let i=[],o,s=dt(n),a=-1;for(;++a<e.length;){let l=e[a];if(typeof l=="string"){let k={value:l,attention:void 0};o&&o===Yt(l)&&xn([k],!0),o=void 0,i.push(k),k.value&&(s=dt(k.value));continue}let c=t.get(l)||l.sequences[0],u=c.charAt(0),f=e[a+1],p=s,d=Yt(f===void 0?r:typeof f=="string"?f:t.get(f)||f.sequences[0]),g=_r(l.children,t,c,c),b=g.length>0?g[0].value:"",w=Dr(p.charCodeAt(p.length-1),b.charCodeAt(0),u);w.inside&&xn(g,!0);let y=g.length>0?dt(g[g.length-1].value):"",C=Dr(d.charCodeAt(0),y.charCodeAt(y.length-1),u);C.inside&&xn(g,!1),w.outside&&p!==`
31
- `&&p!=="\r"&&xn(i,!1),C.outside&&(o=d),i.push({value:c,attention:l},...g,{value:c,attention:l}),s=c.charAt(c.length-1)}return i}function Lt(e,t,n){let r=new Map,i=_r(e,r,t,n),o=i,s=Yo(o,t,n);for(;s;){let l=Ul(e,r,s,t,n);if(!l){o=i;break}r=l.chosen,o=l.tokens,s=l.mistake}let a="";for(let l of o)a+=l.value;return a}Sn.attention=Go;Sn.peek=Jl;function Sn(e,t,n,r){let i=n.enter("phrasing"),o=Qt(e,Go,n,n.createTracker(r)),s=Lt([o],r.before,r.after);return i(),s}function Go(e,t){return{construct:"emphasis",markers:Jo(t)==="*"?["*","_"]:["_","*"],sizes:[1]}}function Jl(e,t,n){return n.options.emphasis||"*"}function zr(e,t,n,r){let i,o,s;typeof n=="function"||n&&typeof n=="object"?(i=t,o=n,s=r):(o=t,s=n),typeof o=="function"?Ct(e,i,$r(o),s):Ct(e,i,Wl(o),s)}function Wl(e){return!e||typeof e!="object"?e:{enter:typeof e.enter=="function"?$r(e.enter):e.enter,exit:typeof e.exit=="function"?$r(e.exit):e.exit}}function $r(e){return t;function t(n,r,i){return e(n,i,r[r.length-1])}}var Yl={};function pt(e,t){let n=t||Yl,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Xo(e,r,i)}function Xo(e,t,n){if(Gl(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Qo(e.children,t,n)}return Array.isArray(e)?Qo(e,t,n):""}function Qo(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Xo(e[i],t,n);return r.join("")}function Gl(e){return!!(e&&typeof e=="object")}function Zo(e,t){let n=!1;return zr(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Xe}),!!((!e.depth||e.depth<3)&&pt(e)&&(t.options.setext||n))}function es(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(Zo(e,n)){let f=n.enter("headingSetext"),p=n.enter("phrasing"),d=n.containerPhrasing(e,{...o.current(),before:`
28
+ `)),u+=s.move(a),l(),u}function Kl(e,t,n){return(n?"":" ")+e}function Tt(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Qo(e,t,n,r){let i=Tt(n),o=i==='"'?"Quote":"Apostrophe",s=n.enter("definition"),a=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
29
+ `,...l.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),a()),s(),c}function Zo(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Me(e){if(e===null||Q(e)||ze(e))return 1;if(ft(e))return 2}function Qt(e){let t=e.codePointAt(0);return t===void 0?"":String.fromCodePoint(t)}function mt(e){let t=e.codePointAt(e.length-2);return t!==void 0&&t>65535?e.slice(-2):e.slice(-1)}function xn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function zr(e,t,n){let r=Me(e),i=Me(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}var Sn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Zt=["pre","script","style","textarea"];function Xo(e){if(e.charCodeAt(0)!==60)return;let t=e.charCodeAt(1);if(t===33){let a=e.charCodeAt(2);return a===45?2:a===91?5:he(a)?4:void 0}if(t===63)return 3;let n=t===47,r=n?2:1,i=r,o=e.charCodeAt(i);if(!he(o))return;for(;o===45||ge(o);)o=e.charCodeAt(++i);let s=e.slice(r,i).toLowerCase();return!n&&o!==47&&Zt.includes(s)?1:Sn.includes(s)?6:7}var Wl=new Map([["*",!1],["_",!0]]);function Jl(e,t,n){let r=new Set;for(let o of e){let s=n.get(o);if(s&&o.attention&&t.some(a=>a.attention===o.attention))for(let a of s.tokens)r.add(a.attention)}let i=[];for(let o of e)o.attention&&r.delete(o.attention)&&i.push(o.attention);return i.reverse(),i}function es(e,t,n){let r=[],i=new Map,o=new Map,s=0;for(;s<e.length;){if(!e[s].attention){s++;continue}let a=e[s].value.charAt(0),l=Wl.get(a),c=s+1;for(;c<e.length&&e[c].attention&&e[c].value.charAt(0)===a;)c++;let u=s?e[s-1].value:t,f=Me(u.charCodeAt(u.length-1)),p=Me((c<e.length?e[c].value:n).charCodeAt(0)),d=!p||p===2&&!!f,g=!f||f===2&&!!p,y={tokens:e.slice(s,c),markers:[],start:0,end:0,open:l?d&&(!!f||!g):d,close:l?g&&(!!p||!d):g,split:l!==void 0};for(let w of y.tokens){i.set(w,[...y.tokens]),o.set(w,y);let b=w.value.length;for(;b--;)y.markers.push(w)}y.end=y.markers.length,r.push(y),s=c}for(Gl(r,i),s=-1;++s<e.length;){let a=i.get(e[s]);if(a)return{attention:Jl(e,a,o),index:s}}}function vn(e,t){let n=e[t?0:e.length-1];if(!n||n.attention)return;let r=t?Qt(n.value):mt(n.value),i=xn(r.codePointAt(0));if(t)n.value=i+n.value.slice(r.length);else{let o=n.value.slice(0,n.value.length-r.length),s=0;for(;o.charCodeAt(o.length-1-s)===92;)s++;s%2&&(o+="\\"),n.value=o+i}}function Yl(e,t,n,r,i){for(let o of n.attention){let s=t.get(o)||o.sequences[0];for(let a of o.sequences){if(a===s)continue;let l=new Map(t);l.set(o,a);let c=Br(e,l,r,i),u=es(c,r,i);if(!u||u.index>n.index)return{chosen:l,mistake:u,tokens:c}}}}function Gl(e,t){let n=new Map;for(let r of e){let i=r.tokens[0].value.charAt(0),o=n.get(i);o||(o=[],n.set(i,o));let s=r.close?o.length:0;for(;s--&&r.start<r.end;){let a=o[s],l=a.end-a.start,c=r.end-r.start;if(r.split?(a.close||r.open)&&c%3&&!((l+c)%3):l!==a.markers.length||l!==c)continue;let u=r.split?l>1&&c>1?2:1:c,f=a.markers.slice(a.end-u,a.end),p=r.markers.slice(r.start,r.start+u),d=f[0],g=p[0];if(d===f[u-1]&&d.value.length===u&&g===p[u-1]&&g.value.length===u&&d.attention===g.attention)t.delete(d),t.delete(g);else{let y=[...new Set([...f,...p])];for(let w of y){let b=t.get(w);b&&b.push(...y)}}a.end-=u,r.start+=u,a.start===a.end&&o.splice(s,1),s=o.length}r.open&&r.start<r.end&&o.push(r)}}function Ql(e,t,n){if(t.length===0)throw new Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(n.length===0)throw new Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(let i of n)if(!Number.isSafeInteger(i)||i<1)throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as size, expected positive integer");let r=[];for(let i of t){if(i.length!==1)throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected a single ascii character");if(!gn(i.charCodeAt(0)))throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected ascii punctuation");for(let o of n)r.push(i.repeat(o))}return r}function Zl(e,t,n){let r=t.indexStack,i=e.children||[],o=[],s=-1,a=n.before;r.push(-1);let l=t.createTracker(n);for(;++s<i.length;){let c=i[s],u;if(r[r.length-1]=s,s+1<i.length){let d=t.handle.handlers[i[s+1].type];d&&d.peek&&(d=d.peek),u=d?Qt(d(i[s+1],e,t,{before:"",after:"",...l.current()})):""}else u=n.after;let f=o[o.length-1];typeof f=="string"&&(a==="\r"||a===`
30
+ `)&&c.type==="html"&&Xo(c.value)!==7&&(o[o.length-1]=f.replace(/(\r?\n|\r)$/," "),a=" ",l=t.createTracker(n),l.move(It(o,n.before,n.after)));let p=t.handle.handlers[c.type];if(p&&p.attention){let d=Xt(c,p.attention,t,l);o.push(d),a=mt(d.sequences[0])}else{let d=t.handle(c,e,t,{...l.current(),after:u,before:a});if(!d)continue;l.move(d),o.push(d),a=mt(d)}}return r.pop(),o}function Xt(e,t,n,r){let{construct:i,markers:o,sizes:s}=t(e,n),a=Ql(e.type,o,s),l=a[0],c=n.enter(i);r.move(l);let u=Zl(e,n,{...r.current(),before:l,after:l});return r.move(It(u,l,l)),r.move(l),c(),{children:u,sequences:a}}function Br(e,t,n,r){let i=[],o,s=mt(n),a=-1;for(;++a<e.length;){let l=e[a];if(typeof l=="string"){let x={value:l,attention:void 0};o&&o===Qt(l)&&vn([x],!0),o=void 0,i.push(x),x.value&&(s=mt(x.value));continue}let c=t.get(l)||l.sequences[0],u=c.charAt(0),f=e[a+1],p=s,d=Qt(f===void 0?r:typeof f=="string"?f:t.get(f)||f.sequences[0]),g=Br(l.children,t,c,c),y=g.length>0?g[0].value:"",w=zr(p.charCodeAt(p.length-1),y.charCodeAt(0),u);w.inside&&vn(g,!0);let b=g.length>0?mt(g[g.length-1].value):"",A=zr(d.charCodeAt(0),b.charCodeAt(b.length-1),u);A.inside&&vn(g,!1),w.outside&&p!==`
31
+ `&&p!=="\r"&&vn(i,!1),A.outside&&(o=d),i.push({value:c,attention:l},...g,{value:c,attention:l}),s=c.charAt(c.length-1)}return i}function It(e,t,n){let r=new Map,i=Br(e,r,t,n),o=i,s=es(o,t,n);for(;s;){let l=Yl(e,r,s,t,n);if(!l){o=i;break}r=l.chosen,o=l.tokens,s=l.mistake}let a="";for(let l of o)a+=l.value;return a}En.attention=ts;En.peek=Xl;function En(e,t,n,r){let i=n.enter("phrasing"),o=Xt(e,ts,n,n.createTracker(r)),s=It([o],r.before,r.after);return i(),s}function ts(e,t){return{construct:"emphasis",markers:Zo(t)==="*"?["*","_"]:["_","*"],sizes:[1]}}function Xl(e,t,n){return n.options.emphasis||"*"}function qr(e,t,n,r){let i,o,s;typeof n=="function"||n&&typeof n=="object"?(i=t,o=n,s=r):(o=t,s=n),typeof o=="function"?Lt(e,i,jr(o),s):Lt(e,i,ec(o),s)}function ec(e){return!e||typeof e!="object"?e:{enter:typeof e.enter=="function"?jr(e.enter):e.enter,exit:typeof e.exit=="function"?jr(e.exit):e.exit}}function jr(e){return t;function t(n,r,i){return e(n,i,r[r.length-1])}}var tc={};function ht(e,t){let n=t||tc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return rs(e,r,i)}function rs(e,t,n){if(nc(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ns(e.children,t,n)}return Array.isArray(e)?ns(e,t,n):""}function ns(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=rs(e[i],t,n);return r.join("")}function nc(e){return!!(e&&typeof e=="object")}function is(e,t){let n=!1;return qr(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,et}),!!((!e.depth||e.depth<3)&&ht(e)&&(t.options.setext||n))}function os(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(is(e,n)){let f=n.enter("headingSetext"),p=n.enter("phrasing"),d=n.containerPhrasing(e,{...o.current(),before:`
32
32
  `,after:`
33
33
  `});return p(),f(),d+`
34
34
  `+(i===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
35
35
  `))+1))}let s="#".repeat(i),a=n.enter("headingAtx"),l=n.enter("phrasing");o.move(s+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
36
- `,...o.current()}),u=c.charCodeAt(0);return(u===9||u===32)&&(c=wn(u)+c.slice(1)),c=c?s+" "+c:s,n.options.closeAtx&&(c+=" "+s),l(),a(),c}Br.peek=Ql;function Br(e){return e.value||""}function Ql(){return"<"}jr.peek=Xl;function jr(e,t,n,r){let i=At(n),o=i==='"'?"Quote":"Apostrophe",s=n.enter("image"),a=n.enter("label"),l=n.createTracker(r),c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),a()),c+=l.move(")"),s(),c}function Xl(){return"!"}qr.peek=Zl;function qr(e,t,n,r){let i=e.referenceType,o=n.enter("imageReference"),s=n.enter("label"),a=n.createTracker(r),l=a.move("!["),c=n.safe(e.alt,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),s();let u=n.stack;n.stack=u.filter(function(p){return p!=="phrasing"}),s=n.enter("reference");let f=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return s(),n.stack=u,o(),i==="full"||!c||c!==f?l+=a.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function Zl(){return"!"}Ur.peek=ec;function Ur(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^\n\r ]/.test(r)&&(/^[\n\r ]/.test(r)&&/[\n\r ]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let s=n.unsafe[o],a=n.compilePattern(s);if(!s.atBreak)continue;let l;for(;l=a.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return i+r+i}function ec(){return"`"}function Hr(e,t){let n=pt(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Vr.peek=tc;function Vr(e,t,n,r){let i=At(n),o=i==='"'?"Quote":"Apostrophe",s=n.createTracker(r);if(Hr(e,n)){let g=n.stack;n.stack=g.filter(function(y){return y!=="phrasing"});let b=n.enter("autolink"),w=s.move("<");return w+=s.move(n.containerPhrasing(e,{before:w,after:">",...s.current()})),w+=s.move(">"),b(),n.stack=g,w}let a=n.enter("link"),l=n.enter("label"),c=s.move("["),u=n.containerPhrasing(e,{before:c,after:"](",...s.current()});c+=s.move(u),l(),c+=s.move("](");let f=/[\0- \u007F]/.test(e.url),p=r.before.charAt(r.before.length-1),d=e.title||void 0;if(!d&&!f&&(p===`
37
- `||p==="\r")){let g=0;for(;g<u.length&&u.charCodeAt(g)!==93;)g+=u.charCodeAt(g)===92?2:1;u.charCodeAt(g+1)===58&&(d="")}return!e.url&&typeof d=="string"||f?(l=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:typeof d=="string"?" ":")",...s.current()}))),l(),typeof d=="string"&&(l=n.enter(`title${o}`),c+=s.move(" "+i),c+=s.move(n.safe(d,{before:c,after:i,...s.current()})),c+=s.move(i),l()),c+=s.move(")"),a(),c}function tc(e,t,n){return Hr(e,n)?"<":"["}Kr.peek=nc;function Kr(e,t,n,r){let i=e.referenceType,o=n.enter("linkReference"),s=n.enter("label"),a=n.createTracker(r),l=a.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),s();let u=n.stack;n.stack=u.filter(function(p){return p!=="phrasing"}),s=n.enter("reference");let f=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return s(),n.stack=u,o(),i==="full"||!c||c!==f?l+=a.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function nc(){return"["}function Tt(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ts(e){let t=Tt(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ns(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function En(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function rs(e,t,n,r){let i=n.enter("list"),o=n.bulletCurrent,s=e.ordered?ns(n):Tt(n),a=e.ordered?s==="."?")":".":ts(n),l=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){let u=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),En(n)===s&&u){let f=-1;for(;++f<e.children.length;){let p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=a),n.bulletCurrent=s;let c=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=o,i(),c}function is(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function os(e,t,n,r){let i=is(n),o=n.bulletCurrent||Tt(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let s=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);let a=n.createTracker(r);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),u);return l(),c;function u(f,p,d){return p?(d?"":" ".repeat(s))+f:(d?o:o+" ".repeat(s-o.length))+f}}function ss(e,t,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),s=n.containerPhrasing(e,r);return o(),i(),s}function as(e,t,n,r){if(!e.children.some(function(a){return Fr(a)}))return n.containerFlow(e,r);let o=n.enter("phrasing"),s=n.containerPhrasing(e,r);return o(),s}function ls(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}vn.attention=cs;vn.peek=rc;function vn(e,t,n,r){let i=n.enter("phrasing"),o=Qt(e,cs,n,n.createTracker(r)),s=Lt([o],r.before,r.after);return i(),s}function cs(e,t){return{construct:"strong",markers:ls(t)==="*"?["*","_"]:["_","*"],sizes:[2]}}function rc(e,t,n){return n.options.strong||"*"}function us(e,t,n,r){let i=t?t.children:[],o=n.indexStack[n.indexStack.length-1];return n.safe(e.value,{...r,afterNode:i[o+1],beforeNode:i[o-1]})}function fs(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function ds(e,t,n){let r=(En(n)+(n.options.ruleSpaces?" ":"")).repeat(fs(n));return n.options.ruleSpaces?r.slice(0,-1):r}var Xt={blockquote:zo,break:Rr,code:Vo,definition:Ko,emphasis:Sn,hardBreak:Rr,heading:es,html:Br,image:jr,imageReference:qr,inlineCode:Ur,link:Vr,linkReference:Kr,list:rs,listItem:os,paragraph:ss,root:as,strong:vn,text:us,thematicBreak:ds};var ps=document.createElement("i");function It(e){let t="&"+e+";";ps.innerHTML=t;let n=ps.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Cn(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}var ic=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ms(e){return e.replace(ic,oc)}function oc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let i=n.charCodeAt(1),o=i===120||i===88;return Cn(n.slice(o?2:1),o?16:10)}return It(n)||e}function Wr(){return{enter:{table:sc,tableData:hs,tableHeader:hs,tableRow:lc},exit:{codeText:cc,table:ac,tableData:Jr,tableHeader:Jr,tableRow:Jr}}}function sc(e){let t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function ac(e){this.exit(e),this.data.inTable=void 0}function lc(e){this.enter({type:"tableRow",children:[]},e)}function Jr(e){this.exit(e)}function hs(e){this.enter({type:"tableCell",children:[]},e)}function cc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,uc));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function uc(e,t){return t==="|"?t:e}function Yr(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
38
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:l,tableRow:a}};function s(d,g,b,w){return c(u(d,b,w),d.align)}function a(d,g,b,w){let y=f(d,b,w),C=c([y]);return C.slice(0,C.indexOf(`
39
- `))}function l(d,g,b,w){let y=b.enter("tableCell"),C=b.enter("phrasing"),k=b.containerPhrasing(d,{...w,before:o,after:o});return C(),y(),k}function c(d,g){return $o(d,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function u(d,g,b){let w=d.children,y=-1,C=[],k=g.enter("table");for(;++y<w.length;)C[y]=f(w[y],g,b);return k(),C}function f(d,g,b){let w=d.children,y=-1,C=[],k=g.enter("tableRow");for(;++y<w.length;)C[y]=l(w[y],d,g,b);return k(),C}function p(d,g,b){let w=Xt.inlineCode(d,g,b);return b.stack.includes("tableCell")&&(w=w.replace(/\|/g,"\\$&")),w}}function Gr(){return{exit:{taskListCheckValueChecked:gs,taskListCheckValueUnchecked:gs,paragraph:fc}}}function Qr(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:dc}}}function gs(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function fc(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let r=n.children[0];if(r&&r.type==="text"){let i=t.children,o=-1,s;for(;++o<i.length;){let a=i[o];if(a.type==="paragraph"){s=a;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function dc(e,t,n,r){let i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(s);let l=Xt.listItem(e,t,n,{...r,...a.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+s}}function Xr(){return[Lr(),Ir(),Nr(),Wr(),Gr()]}function Zr(e){return{extensions:[Tr(),Pr(e),Or(),Yr(e),Qr()]}}function he(e,t,n,r){let i=e.length,o=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);o<r.length;)s=r.slice(o,o+1e4),s.unshift(t,0),e.splice(...s),o+=1e4,t+=1e4}function Ee(e,t){return e.length>0?(he(e,e.length,0,t),e):t}var ys={}.hasOwnProperty;function An(e){let t={},n=-1;for(;++n<e.length;)pc(t,e[n]);return t}function pc(e,t){let n;for(n in t){let i=(ys.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n],s;if(o)for(s in o){ys.call(i,s)||(i[s]=[]);let a=o[s];mc(i[s],Array.isArray(a)?a:a?[a]:[])}}}function mc(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);he(e,0,0,r)}var hc={tokenize:kc,partial:!0},bs={tokenize:xc,partial:!0},ws={tokenize:Sc,partial:!0},ks={tokenize:Ec,partial:!0},gc={tokenize:vc,partial:!0},xs={name:"wwwAutolink",tokenize:bc,previous:Es},Ss={name:"protocolAutolink",tokenize:wc,previous:vs},Ve={name:"emailAutolink",tokenize:yc,previous:Cs},$e={};function ti(){return{text:$e}}var mt=48;for(;mt<123;)$e[mt]=Ve,mt++,mt===58?mt=65:mt===91&&(mt=97);$e[43]=Ve;$e[45]=Ve;$e[46]=Ve;$e[95]=Ve;$e[72]=[Ve,Ss];$e[104]=[Ve,Ss];$e[87]=[Ve,xs];$e[119]=[Ve,xs];function yc(e,t,n){let r=this,i,o;return s;function s(f){return!ei(f)||!Cs.call(r,r.previous)||ni(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return ei(f)?(e.consume(f),a):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(gc,u,c)(f):f===45||f===95||pe(f)?(o=!0,e.consume(f),l):u(f)}function c(f){return e.consume(f),i=!0,l}function u(f){return o&&i&&de(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function bc(e,t,n){let r=this;return i;function i(s){return s!==87&&s!==119||!Es.call(r,r.previous)||ni(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(hc,e.attempt(bs,e.attempt(ws,o),n),n)(s))}function o(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function wc(e,t,n){let r=this,i="",o=!1;return s;function s(f){return(f===72||f===104)&&vs.call(r,r.previous)&&!ni(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(de(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){let p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),o?c:(o=!0,l)):n(f)}function c(f){return f===null||lt(f)||X(f)||_e(f)||ct(f)?n(f):e.attempt(bs,e.attempt(ws,u),n)(f)}function u(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function kc(e,t,n){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),i):s===46&&r===3?(e.consume(s),o):n(s)}function o(s){return s===null?n(s):t(s)}}function xc(e,t,n){let r,i,o;return s;function s(c){return c===46||c===95?e.check(ks,l,a)(c):c===null||X(c)||_e(c)||c!==45&&ct(c)?l(c):(o=!0,e.consume(c),s)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),s}function l(c){return i||r||!o?n(c):t(c)}}function Sc(e,t){let n=0,r=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&r<n?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(ks,t,o)(s):s===null||X(s)||_e(s)?t(s):(e.consume(s),i)}function o(s){return s===41&&r++,e.consume(s),i}}function Ec(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),o):a===93?(e.consume(a),i):a===60||a===null||X(a)||_e(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||X(a)||_e(a)?t(a):r(a)}function o(a){return de(a)?s(a):n(a)}function s(a){return a===59?(e.consume(a),r):de(a)?(e.consume(a),s):n(a)}}function vc(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return pe(o)?n(o):t(o)}}function Es(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||X(e)}function vs(e){return!de(e)}function Cs(e){return!(e===47||ei(e))}function ei(e){return e===43||e===45||e===46||e===95||pe(e)}function ni(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Ze(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}var Zt={name:"attention",resolveAll:Cc,tokenize:Ac};function Cc(e,t){let n=-1,r;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){let i=n;for(;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;let o=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1,s={...e[i][1].end},a={...e[n][1].start};As(s,-o),As(a,o);let l={type:o>1?"strongSequence":"emphasisSequence",start:s,end:{...e[i][1].end}},c={type:o>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:a},u={type:o>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},f={type:o>1?"strong":"emphasis",start:{...l.start},end:{...c.end}};e[i][1].end={...l.start},e[n][1].start={...c.end},r=[],e[i][1].end.offset-e[i][1].start.offset&&(r=Ee(r,[["enter",e[i][1],t],["exit",e[i][1],t]])),r=Ee(r,[["enter",f,t],["enter",l,t],["exit",l,t],["enter",u,t]]),r=Ee(r,Ze(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),r=Ee(r,[["exit",u,t],["enter",c,t],["exit",c,t],["exit",f,t]]);let p=0;e[n][1].end.offset-e[n][1].start.offset&&(p=2,r=Ee(r,[["enter",e[n][1],t],["exit",e[n][1],t]])),he(e,i-1,n-i+3,r),n=i+r.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Ac(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ne(r),o;return s;function s(l){return o=l,e.enter("attentionSequence"),a(l)}function a(l){if(l===o)return e.consume(l),a;let c=e.exit("attentionSequence"),u=Ne(l),f=!u||u===2&&i||n.includes(l)&&l!==42&&l!==95,p=!i||i===2&&u||n.includes(r)&&r!==42&&r!==95;return c._open=!!(o===42?f:f&&(i||!p)),c._close=!!(o===42?p:p&&(u||!f)),t(l)}}function As(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var ri={name:"autolink",tokenize:Lc};function Lc(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(d){return de(d)?(e.consume(d),s):d===64?n(d):c(d)}function s(d){return d===43||d===45||d===46||pe(d)?(r=1,a(d)):c(d)}function a(d){return d===58?(e.consume(d),r=0,l):(d===43||d===45||d===46||pe(d))&&r++<32?(e.consume(d),a):(r=0,c(d))}function l(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||lt(d)?n(d):(e.consume(d),l)}function c(d){return d===64?(e.consume(d),u):Co(d)?(e.consume(d),c):n(d)}function u(d){return pe(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,u):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||pe(d))&&r++<63){let g=d===45?p:f;return e.consume(d),g}return n(d)}}function U(e,t,n,r){let i=r?r-1:1/0,o=0;return s;function s(l){return z(l)?(e.enter(n),a(l)):t(l)}function a(l){return z(l)&&o++<i?(e.consume(l),a):(e.exit(n),t(l))}}function ii(e,t,n,r,i,o){let s=0;return a;function a(u){return o>0&&z(u)?(e.enter(r),l(u)):c(u)}function l(u){return z(u)&&s<o?(e.consume(u),s++,l):(e.exit(r),c(u))}function c(u){return s>=i?t(u):n(u)}}var ze={partial:!0,tokenize:Tc};function Tc(e,t,n){return r;function r(o){return z(o)?U(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||F(o)?t(o):n(o)}}var Ln={continuation:{tokenize:Pc},exit:Nc,name:"blockQuote",tokenize:Ic};function Ic(e,t,n){let r=this;return i;function i(s){if(s===62){let a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),o}return n(s)}function o(s){return z(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Pc(e,t,n){let r=this;return i;function i(s){return z(s)?U(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return e.attempt(Ln,t,n)(s)}}function Nc(e){e.exit("blockQuote")}var Tn={name:"characterEscape",tokenize:Oc};function Oc(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return mn(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}var In={name:"characterReference",tokenize:Mc};function Mc(e,t,n){let r=this,i=0,o,s;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),o=31,s=pe,u(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=Ao,u):(e.enter("characterReferenceValue"),o=7,s=Kt,u(f))}function u(f){if(f===59&&i){let p=e.exit("characterReferenceValue");return s===pe&&!It(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<o?(e.consume(f),u):n(f)}}var en={partial:!0,tokenize:Fc};function Fc(e,t,n){let r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}var Pn={concrete:!0,name:"codeFenced",tokenize:Rc};function Rc(e,t,n){let r=this,i={partial:!0,tokenize:O},o=0,s=0,a;return l;function l(S){return c(S)}function c(S){let L=r.events[r.events.length-1];return o=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,a=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(S)}function u(S){return S===a?(s++,e.consume(S),u):s<3?n(S):(e.exit("codeFencedFenceSequence"),z(S)?U(e,f,"whitespace")(S):f(S))}function f(S){return S===null||F(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(en,b,P)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(S))}function p(S){return S===null||F(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):z(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),U(e,d,"whitespace")(S)):S===96&&S===a?n(S):(e.consume(S),p)}function d(S){return S===null||F(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||F(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===a?n(S):(e.consume(S),g)}function b(S){return e.attempt(i,P,w)(S)}function w(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),y}function y(S){return o>0&&z(S)?U(e,C,"linePrefix",o+1)(S):C(S)}function C(S){return S===null||F(S)?e.check(en,b,P)(S):(e.enter("codeFlowValue"),k(S))}function k(S){return S===null||F(S)?(e.exit("codeFlowValue"),C(S)):(e.consume(S),k)}function P(S){return e.exit("codeFenced"),t(S)}function O(S,L,E){let A=0;return x;function x(_){return S.enter("lineEnding"),S.consume(_),S.exit("lineEnding"),D}function D(_){return S.enter("codeFencedFence"),z(_)?U(S,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):B(_)}function B(_){return _===a?(S.enter("codeFencedFenceSequence"),I(_)):E(_)}function I(_){return _===a?(A++,S.consume(_),I):A>=s?(S.exit("codeFencedFenceSequence"),z(_)?U(S,H,"whitespace")(_):H(_)):E(_)}function H(_){return _===null||F(_)?(S.exit("codeFencedFence"),L(_)):E(_)}}}var tn={name:"codeIndented",tokenize:_c},Dc={partial:!0,tokenize:$c};function _c(e,t,n){return r;function r(a){return e.enter("codeIndented"),ii(e,i,n,"linePrefix",4,4)(a)}function i(a){return a===null?s(a):F(a)?e.attempt(Dc,i,s)(a):(e.enter("codeFlowValue"),o(a))}function o(a){return a===null||F(a)?(e.exit("codeFlowValue"),i(a)):(e.consume(a),o)}function s(a){return e.exit("codeIndented"),t(a)}}function $c(e,t,n){let r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):F(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ii(e,t,o,"linePrefix",4,4)(s)}function o(s){return F(s)?i(s):n(s)}}var oi={name:"codeText",previous:Bc,resolve:zc,tokenize:jc};function zc(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Bc(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function jc(e,t,n){let r=this,i=0,o,s;return a;function a(p){return e.enter("codeText"),e.enter("codeTextSequence"),l(p)}function l(p){return p===96?(e.consume(p),i++,l):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(s=e.enter("codeTextSequence"),o=0,f(p)):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||F(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),u)}function f(p){return p===96?(e.consume(p),o++,f):o===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(s.type="codeTextData",u(p))}}var Nn=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){let r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){let i=n||0;this.setCursor(Math.trunc(t));let o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&nn(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),nn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),nn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let n=this.left.splice(t,Number.POSITIVE_INFINITY);nn(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);nn(this.left,n.reverse())}}};function nn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function On(e){let t={},n=-1,r,i,o,s,a,l,c,u=new Nn(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type==="chunkFlow"&&u.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,qc(u,n)),n=t[n],c=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(s=u.get(o),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(u.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=o);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(r[1].end={...u.get(i)[1].start},a=u.slice(i,n),a.unshift(r),u.splice(i,n-i+1,a))}}return he(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function qc(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,o=[],s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));let a=s.events,l=[],c={},u,f,p=-1,d=n,g=0,b=0,w=[b];for(;d;){for(;e.get(++i)[1]!==d;);o.push(i),d._tokenizer||(u=r.sliceStream(d),d.next||u.push(null),f&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++p<a.length;)a[p][0]==="exit"&&a[p-1][0]==="enter"&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(b=p+1,w.push(b),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):w.pop(),p=w.length;p--;){let y=a.slice(w[p],w[p+1]),C=o.pop();l.push([C,C+y.length-1]),e.splice(C,2,y)}for(l.reverse(),p=-1;++p<l.length;)c[g+l[p][0]]=g+l[p][1],g+=l[p][1]-l[p][0]-1;return c}var si={resolve:Hc,tokenize:Vc},Uc={partial:!0,tokenize:Kc};function Hc(e){return On(e),e}function Vc(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):F(a)?e.check(Uc,s,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function s(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Kc(e,t,n){let r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),U(e,o,"linePrefix")}function o(s){if(s===null||F(s))return n(s);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Mn(e,t,n,r,i,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(y){return y===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(y),e.exit(o),p):y===null||y===32||y===41||lt(y)?n(y):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),b(y))}function p(y){return y===62?(e.enter(o),e.consume(y),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(y))}function d(y){return y===62?(e.exit("chunkString"),e.exit(a),p(y)):y===null||y===60||F(y)?n(y):(e.consume(y),y===92?g:d)}function g(y){return y===60||y===62||y===92?(e.consume(y),d):d(y)}function b(y){return!u&&(y===null||y===41||X(y))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(y)):u<c&&y===40?(e.consume(y),u++,b):y===41?(e.consume(y),u--,b):y===null||y===32||y===40||lt(y)?n(y):(e.consume(y),y===92?w:b)}function w(y){return y===40||y===41||y===92?(e.consume(y),b):b(y)}}function Fn(e,t,n,r,i,o){let s=this,a=0,l;return c;function c(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(o),u}function u(d){return a>999||d===null||d===91||d===93&&!l||d===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):d===93?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):F(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||F(d)||a++>999?(e.exit("chunkString"),u(d)):(e.consume(d),l||(l=!z(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),a++,f):f(d)}}function Rn(e,t,n,r,i,o){let s;return a;function a(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),s=p===40?41:p,l):n(p)}function l(p){return p===s?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(o),c(p))}function c(p){return p===s?(e.exit(o),l(s)):p===null?n(p):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),U(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(p){return p===s||p===null||F(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:u)}function f(p){return p===s||p===92?(e.consume(p),u):u(p)}}function ht(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):z(i)?U(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var ai={name:"definition",tokenize:Wc},Jc={partial:!0,tokenize:Yc};function Wc(e,t,n){let r=this,i;return o;function o(d){return e.enter("definition"),s(d)}function s(d){return Fn.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return i=ke(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),l):n(d)}function l(d){return X(d)?ht(e,c)(d):c(d)}function c(d){return Mn(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function u(d){return e.attempt(Jc,f,f)(d)}function f(d){return z(d)?U(e,p,"whitespace")(d):p(d)}function p(d){return d===null||F(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}function Yc(e,t,n){return r;function r(a){return X(a)?ht(e,i)(a):n(a)}function i(a){return Rn(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return z(a)?U(e,s,"whitespace")(a):s(a)}function s(a){return a===null||F(a)?t(a):n(a)}}var li={name:"hardBreakEscape",tokenize:Gc};function Gc(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return F(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}var ci={name:"headingAtx",resolve:Qc,tokenize:Xc};function Qc(e,t){let n=e.length-2,r=3;if(e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r){let i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};he(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])}return e}function Xc(e,t,n){let r=0;return i;function i(u){return e.enter("atxHeading"),o(u)}function o(u){return e.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&r++<6?(e.consume(u),s):u===null||X(u)?(e.exit("atxHeadingSequence"),a(u)):n(u)}function a(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||F(u)?(e.exit("atxHeading"),t(u)):z(u)?U(e,a,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||X(u)?(e.exit("atxHeadingText"),a(u)):(e.consume(u),c)}}var ui={concrete:!0,name:"htmlFlow",resolveTo:eu,tokenize:tu},Zc={partial:!0,tokenize:nu};function eu(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function tu(e,t,n){let r=this,i,o,s,a,l;return c;function c(m){return u(m)}function u(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),f}function f(m){return m===33?(e.consume(m),p):m===47?(e.consume(m),o=!0,b):m===63?(e.consume(m),i=3,r.interrupt?t:h):de(m)?(e.consume(m),s=String.fromCharCode(m),w):n(m)}function p(m){return m===45?(e.consume(m),i=2,d):m===91?(e.consume(m),i=5,a=0,g):de(m)?(e.consume(m),i=4,r.interrupt?t:h):n(m)}function d(m){return m===45?(e.consume(m),r.interrupt?t:h):n(m)}function g(m){let R="CDATA[";return m===R.charCodeAt(a++)?(e.consume(m),a===R.length?r.interrupt?t:B:g):n(m)}function b(m){return de(m)?(e.consume(m),s=String.fromCharCode(m),w):n(m)}function w(m){if(m===null||m===47||m===62||X(m)){let R=m===47,j=s.toLowerCase();return!R&&!o&&Gt.includes(j)?(i=1,r.interrupt?t(m):B(m)):kn.includes(s.toLowerCase())?(i=6,R?(e.consume(m),y):r.interrupt?t(m):B(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(m):o?C(m):k(m))}return m===45||pe(m)?(e.consume(m),s+=String.fromCharCode(m),w):n(m)}function y(m){return m===62?(e.consume(m),r.interrupt?t:B):n(m)}function C(m){return z(m)?(e.consume(m),C):x(m)}function k(m){return m===47?(e.consume(m),x):m===58||m===95||de(m)?(e.consume(m),P):z(m)?(e.consume(m),k):x(m)}function P(m){return m===45||m===46||m===58||m===95||pe(m)?(e.consume(m),P):O(m)}function O(m){return m===61?(e.consume(m),S):z(m)?(e.consume(m),O):k(m)}function S(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),l=m,L):z(m)?(e.consume(m),S):E(m)}function L(m){return m===l?(e.consume(m),l=null,A):m===null||F(m)?n(m):(e.consume(m),L)}function E(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||X(m)?O(m):(e.consume(m),E)}function A(m){return m===47||m===62||z(m)?k(m):n(m)}function x(m){return m===62?(e.consume(m),D):n(m)}function D(m){return m===null||F(m)?B(m):z(m)?(e.consume(m),D):n(m)}function B(m){return m===45&&i===2?(e.consume(m),V):m===60&&i===1?(e.consume(m),ie):m===62&&i===4?(e.consume(m),ee):m===63&&i===3?(e.consume(m),h):m===93&&i===5?(e.consume(m),se):F(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Zc,me,I)(m)):m===null||F(m)?(e.exit("htmlFlowData"),I(m)):(e.consume(m),B)}function I(m){return e.check(en,H,me)(m)}function H(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),_}function _(m){return m===null||F(m)?I(m):(e.enter("htmlFlowData"),B(m))}function V(m){return m===45?(e.consume(m),h):B(m)}function ie(m){return m===47?(e.consume(m),s="",Y):B(m)}function Y(m){if(m===62){let R=s.toLowerCase();return Gt.includes(R)?(e.consume(m),ee):B(m)}return de(m)&&s.length<8?(e.consume(m),s+=String.fromCharCode(m),Y):B(m)}function se(m){return m===93?(e.consume(m),h):B(m)}function h(m){return m===62?(e.consume(m),ee):m===45&&i===2?(e.consume(m),h):B(m)}function ee(m){return m===null||F(m)?(e.exit("htmlFlowData"),me(m)):(e.consume(m),ee)}function me(m){return e.exit("htmlFlow"),t(m)}}function nu(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ze,t,n)}}var fi={name:"htmlText",tokenize:ru};function ru(e,t,n){let r=this,i,o,s;return a;function a(h){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(h),l}function l(h){return h===33?(e.consume(h),c):h===47?(e.consume(h),O):h===63?(e.consume(h),k):de(h)?(e.consume(h),E):n(h)}function c(h){return h===45?(e.consume(h),u):h===91?(e.consume(h),o=0,g):de(h)?(e.consume(h),C):n(h)}function u(h){return h===45?(e.consume(h),d):n(h)}function f(h){return h===null?n(h):h===45?(e.consume(h),p):F(h)?(s=f,ie(h)):(e.consume(h),f)}function p(h){return h===45?(e.consume(h),d):f(h)}function d(h){return h===62?V(h):h===45?p(h):f(h)}function g(h){let ee="CDATA[";return h===ee.charCodeAt(o++)?(e.consume(h),o===ee.length?b:g):n(h)}function b(h){return h===null?n(h):h===93?(e.consume(h),w):F(h)?(s=b,ie(h)):(e.consume(h),b)}function w(h){return h===93?(e.consume(h),y):b(h)}function y(h){return h===62?V(h):h===93?(e.consume(h),y):b(h)}function C(h){return h===null||h===62?V(h):F(h)?(s=C,ie(h)):(e.consume(h),C)}function k(h){return h===null?n(h):h===63?(e.consume(h),P):F(h)?(s=k,ie(h)):(e.consume(h),k)}function P(h){return h===62?V(h):k(h)}function O(h){return de(h)?(e.consume(h),S):n(h)}function S(h){return h===45||pe(h)?(e.consume(h),S):L(h)}function L(h){return F(h)?(s=L,ie(h)):z(h)?(e.consume(h),L):V(h)}function E(h){return h===45||pe(h)?(e.consume(h),E):h===47||h===62||X(h)?A(h):n(h)}function A(h){return h===47?(e.consume(h),V):h===58||h===95||de(h)?(e.consume(h),x):F(h)?(s=A,ie(h)):z(h)?(e.consume(h),A):V(h)}function x(h){return h===45||h===46||h===58||h===95||pe(h)?(e.consume(h),x):D(h)}function D(h){return h===61?(e.consume(h),B):F(h)?(s=D,ie(h)):z(h)?(e.consume(h),D):A(h)}function B(h){return h===null||h===60||h===61||h===62||h===96?n(h):h===34||h===39?(e.consume(h),i=h,I):F(h)?(s=B,ie(h)):z(h)?(e.consume(h),B):(e.consume(h),H)}function I(h){return h===i?(e.consume(h),i=void 0,_):h===null?n(h):F(h)?(s=I,ie(h)):(e.consume(h),I)}function H(h){return h===null||h===34||h===39||h===60||h===61||h===96?n(h):h===47||h===62||X(h)?A(h):(e.consume(h),H)}function _(h){return h===47||h===62||X(h)?A(h):n(h)}function V(h){return h===62?(e.consume(h),e.exit("htmlTextData"),e.exit("htmlText"),t):n(h)}function ie(h){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Y}function Y(h){return z(h)?U(e,se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):se(h)}function se(h){return e.enter("htmlTextData"),s(h)}}var gt={name:"labelEnd",resolveAll:au,resolveTo:lu,tokenize:cu},iu={tokenize:uu},ou={tokenize:fu},su={tokenize:du};function au(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){let i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&he(e,0,e.length,n),e}function lu(e,t){let n=e.length,r=0,i,o,s;for(;n--;){let u=e[n][1];if(i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(o=n)}let a={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",a,t],["enter",l,t]],s=Ee(s,e.slice(i+1,i+r+3)),s=Ee(s,[["enter",c,t]]),s=Ee(s,Ze(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),s=Ee(s,[["exit",c,t],e[o-2],e[o-1],["exit",l,t]]),s=Ee(s,e.slice(o+1)),s=Ee(s,[["exit",a,t]]),he(e,i,e.length,s),e}function cu(e,t,n){let r=this,i=r._labelStarts,o,s;if(i){for(;i.length>0&&i[i.length-1]._balanced;)i.pop();o=i[i.length-1]}return a;function a(p){return o?o._inactive?f(p):(s=r.parser.defined.includes(ke(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(iu,u,s?u:f)(p):p===91?e.attempt(ou,u,s?c:f)(p):s?u(p):f(p)}function c(p){return e.attempt(su,u,f)(p)}function u(p){return i.pop(),t(p)}function f(p){return o._balanced=!0,n(p)}}function uu(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return X(f)?ht(e,o)(f):o(f)}function o(f){return f===41?u(f):Mn(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return X(f)?ht(e,l)(f):u(f)}function a(f){return n(f)}function l(f){return f===34||f===39||f===40?Rn(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return X(f)?ht(e,u)(f):u(f)}function u(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function fu(e,t,n){let r=this;return i;function i(a){return Fn.call(r,e,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(ke(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function s(a){return n(a)}}function du(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}var di={name:"labelStartImage",resolveAll:gt.resolveAll,tokenize:pu};function pu(e,t,n){let r=this,i;return o;function o(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),s}function s(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),i=e.exit("labelImage"),a):n(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),t(l))}}var pi={name:"labelStartLink",resolveAll:gt.resolveAll,tokenize:mu};function mu(e,t,n){let r=this,i;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),i=e.exit("labelLink"),s}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),t(a))}}var rn={name:"lineEnding",tokenize:hu};function hu(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),U(e,t,"linePrefix")}}var yt={name:"thematicBreak",tokenize:gu};function gu(e,t,n){let r=0,i;return o;function o(c){return e.enter("thematicBreak"),s(c)}function s(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||F(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),z(c)?U(e,a,"whitespace")(c):a(c))}}var xe={continuation:{tokenize:ku},exit:Su,name:"list",tokenize:wu},yu={partial:!0,tokenize:Eu},bu={partial:!0,tokenize:xu};function wu(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(d){let g=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Kt(d)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(yt,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(d)}return n(d)}function l(d){return Kt(d)&&++s<10?(e.consume(d),l):(!r.interrupt||s<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(ze,r.interrupt?n:u,e.attempt(yu,p,f))}function u(d){return r.containerState.initialBlankLine=!0,o++,p(d)}function f(d){return z(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):n(d)}function p(d){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function ku(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(ze,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,U(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!z(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bu,t,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,U(e,e.attempt(xe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function xu(e,t,n){let r=this;return U(e,i,"listItemIndent",r.containerState.size+1);function i(o){let s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(o):n(o)}}function Su(e){e.exit(this.containerState.type)}function Eu(e,t,n){let r=this;return U(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){let s=r.events[r.events.length-1];return!z(o)&&s&&s[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}var Ke=class{constructor(){this.index=new Map,this.map=[]}add(t,n,r){Ls(this,t,n,r,!1)}addBefore(t,n,r){Ls(this,t,n,r,!0)}consume(t){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let n=this.map.length,r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(let o of i)t.push(o);i=r.pop()}this.map.length=0,this.index.clear()}};function Ls(e,t,n,r,i){if(n===0&&r.length===0)return;let o=e.index.get(t);if(o){o[1]+=n,i?(r.push(...o[2]),o[2]=r):o[2].push(...r);return}let s=[t,n,r];e.map.push(s),e.index.set(t,s)}var Dn={name:"setextUnderline",resolveTo:vu,tokenize:Cu};function vu(e,t){let n=new Ke,r=e.length,i,o,s;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){i=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&n.add(r,1,[]),!s&&e[r][1].type==="definition"&&(s=r);let a={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",s?(n.add(o,0,[["enter",a,t]]),n.add(s+1,0,[["exit",e[i][1],t]]),e[i][1].end={...e[s][1].end}):e[i][1]=a,n.add(e.length,0,[["exit",a,t]]),n.consume(e),e}function Cu(e,t,n){let r=this,i;return o;function o(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,s(c)):n(c)}function s(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),z(c)?U(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||F(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}var Au={tokenize:Mu,partial:!0};function mi(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Pu,continuation:{tokenize:Nu},exit:Ou}},text:{91:{name:"gfmFootnoteCall",tokenize:Iu},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Lu,resolveTo:Tu}}}}function Lu(e,t,n){let r=this,i=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),s;for(;i--;){let l=r.events[i][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return n(l);let c=ke(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Tu(e,t){let n=e.length,r;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...l),e}function Iu(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,s;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(o>999||f===93&&!s||f===null||f===91||X(f))return n(f);if(f===93){e.exit("chunkString");let p=e.exit("gfmFootnoteCallString");return i.includes(ke(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return X(f)||(s=!0),o++,e.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(e.consume(f),o++,c):c(f)}}function Pu(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(g)}function u(g){if(s>999||g===93&&!a||g===null||g===91||X(g))return n(g);if(g===93){e.exit("chunkString");let b=e.exit("gfmFootnoteDefinitionLabelString");return o=ke(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return X(g)||(a=!0),s++,e.consume(g),g===92?f:u}function f(g){return g===91||g===92||g===93?(e.consume(g),s++,u):u(g)}function p(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(o)||i.push(o),U(e,d,"gfmFootnoteDefinitionWhitespace")):n(g)}function d(g){return t(g)}}function Nu(e,t,n){return e.check(ze,t,e.attempt(Au,t,n))}function Ou(e){e.exit("gfmFootnoteDefinition")}function Mu(e,t,n){let r=this;return U(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){let s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(o):n(o)}}function hi(e){let n=(e||{}).singleTilde,r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},f={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},p=[["enter",u,a],["enter",s[c][1],a],["exit",s[c][1],a],["enter",f,a]],d=a.parser.constructs.insideSpan.null;d&&he(p,p.length,0,Ze(d,s.slice(c+1,l),a)),he(p,p.length,0,[["exit",f,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",u,a]]),he(s,c-1,l-c+3,p),l=c+p.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){let c=this.previous,u=this.events,f=0;return p;function p(g){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),d(g))}function d(g){let b=Ne(c);if(g===126)return f>1?l(g):(s.consume(g),f++,d);if(f<2&&!n)return l(g);let w=s.exit("strikethroughSequenceTemporary"),y=Ne(g);return w._open=!y||y===2&&!!b,w._close=!b||b===2&&!!y,a(g)}}}var _n=class{constructor(){this.map=[],this.index=new Map}add(t,n,r){Fu(this,t,n,r)}consume(t){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let n=this.map.length,r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(let o of i)t.push(o);i=r.pop()}this.map.length=0,this.index.clear()}};function Fu(e,t,n,r){if(n===0&&r.length===0)return;let i=e.index.get(t);if(i){i[1]+=n,i[2].push(...r);return}let o=[t,n,r];e.map.push(o),e.index.set(t,o)}function Ts(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function gi(){return{flow:{null:{name:"table",tokenize:Ru,resolveAll:Du}}}}function Ru(e,t,n){let r=this,i=0,o=0,s;return a;function a(x){let D=r.events.length-1;for(;D>-1;){let{type:H}=r.events[D][1];if(H==="lineEnding"||H==="linePrefix")D--;else break}let B=D>-1?r.events[D][1].type:null,I=B==="tableHead"||B==="tableRow"?S:l;return I===S&&r.parser.lazy[r.now().line]?n(x):I(x)}function l(x){return e.enter("tableHead"),e.enter("tableRow"),c(x)}function c(x){return x===124||(s=!0,o+=1),u(x)}function u(x){return x===null?n(x):F(x)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),d):n(x):z(x)?U(e,u,"whitespace")(x):(o+=1,s&&(s=!1,i+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),s=!0,u):(e.enter("data"),f(x)))}function f(x){return x===null||x===124||X(x)?(e.exit("data"),u(x)):(e.consume(x),x===92?p:f)}function p(x){return x===92||x===124?(e.consume(x),f):f(x)}function d(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(x):(e.enter("tableDelimiterRow"),s=!1,z(x)?U(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):g(x))}function g(x){return x===45||x===58?w(x):x===124?(s=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),b):O(x)}function b(x){return z(x)?U(e,w,"whitespace")(x):w(x)}function w(x){return x===58?(o+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),y):x===45?(o+=1,y(x)):x===null||F(x)?P(x):O(x)}function y(x){return x===45?(e.enter("tableDelimiterFiller"),C(x)):O(x)}function C(x){return x===45?(e.consume(x),C):x===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),k):(e.exit("tableDelimiterFiller"),k(x))}function k(x){return z(x)?U(e,P,"whitespace")(x):P(x)}function P(x){return x===124?g(x):x===null||F(x)?!s||i!==o?O(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):O(x)}function O(x){return n(x)}function S(x){return e.enter("tableRow"),L(x)}function L(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),L):x===null||F(x)?(e.exit("tableRow"),t(x)):z(x)?U(e,L,"whitespace")(x):(e.enter("data"),E(x))}function E(x){return x===null||x===124||X(x)?(e.exit("data"),L(x)):(e.consume(x),x===92?A:E)}function A(x){return x===92||x===124?(e.consume(x),E):E(x)}}function Du(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,p=new _n;for(;++n<e.length;){let d=e[n],g=d[1];d[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(Is(p,t,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],s=[0,n+1,0,0],a&&(a=!1,u={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",u,t]])),i=g.type==="tableDelimiterRow"?2:u?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],f=$n(p,t,o,i,void 0,f),o=[0,0,0,0]),s[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(s[0]=s[1],f=$n(p,t,o,i,void 0,f)),o=s,s=[o[1],n,0,0])):g.type==="tableHead"?(a=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,o[1]!==0?(s[0]=s[1],f=$n(p,t,o,i,n,f)):s[1]!==0&&(f=$n(p,t,s,i,n,f)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=n)}for(l!==0&&Is(p,t,l,c,u),p.consume(t.events),n=-1;++n<t.events.length;){let d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=Ts(t.events,n))}return e}function $n(e,t,n,r,i,o){let s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(o.end=Object.assign({},Pt(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let l=Pt(t.events,n[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){let c=Pt(t.events,n[2]),u=Pt(t.events,n[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){let p=t.events[n[2]],d=t.events[n[3]];if(p[1].end=Object.assign({},d[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){let g=n[2]+1,b=n[3]-n[2]-1;e.add(g,b,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(o.end=Object.assign({},Pt(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Is(e,t,n,r,i){let o=[],s=Pt(t.events,n);i&&(i.end=Object.assign({},s),o.push(["exit",i,t])),r.end=Object.assign({},s),o.push(["exit",r,t]),e.add(n+1,0,o)}function Pt(e,t){let n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}var _u={name:"tasklistCheck",tokenize:$u};function yi(){return{text:{91:_u}}}function $u(e,t,n){let r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),o)}function o(l){return X(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),s):n(l)}function s(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(l)}function a(l){return F(l)?t(l):z(l)?e.check({tokenize:zu},t,n)(l):n(l)}}function zu(e,t,n){return U(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Ps(e){return An([ti(),mi(),hi(e),gi(),yi()])}var Bu={};function zn(e){let t=this,n=e||Bu,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Ps(n)),o.push(Xr()),s.push(Zr(n))}var Ns={tokenize:ju};function ju(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),U(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){let l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,s(a)}function s(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return F(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),s)}}var Ms={tokenize:qu},Os={tokenize:Uu};function qu(e){let t=this,n=[],r=0,i,o,s;return a;function a(k){if(r<n.length){let P=n[r];return t.containerState=P[1],e.attempt(P[0].continuation,l,c)(k)}return c(k)}function l(k){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();let P=t.events.length,O=P,S;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){S=t.events[O][1].end;break}y(r);let L=P;for(;L<t.events.length;)t.events[L][1].end={...S},L++;let E=new Ke;return E.add(O+1,0,t.events.slice(P)),E.add(P,L-P,[]),E.consume(t.events),c(k)}return a(k)}function c(k){if(r===n.length){if(!i)return p(k);if(i.currentConstruct&&i.currentConstruct.concrete)return g(k);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Os,u,f)(k)}function u(k){return i&&C(),y(r),p(k)}function f(k){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,g(k)}function p(k){return t.containerState={},e.attempt(Os,d,g)(k)}function d(k){return r++,n.push([t.currentConstruct,t.containerState]),p(k)}function g(k){if(k===null){i&&C(),y(0),e.consume(k);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),b(k)}function b(k){if(k===null){w(e.exit("chunkFlow"),!0),y(0),e.consume(k);return}return F(k)?(e.consume(k),w(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(k),b)}function w(k,P){let O=t.sliceStream(k);if(P&&O.push(null),k.previous=o,o&&(o.next=k),o=k,i.defineSkip(k.start),i.write(O),t.parser.lazy[k.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<s&&(!i.events[S][1].end||i.events[S][1].end.offset>s))return;let L=t.events.length,E=L,A,x;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){if(A){x=t.events[E][1].end;break}A=!0}for(y(r),S=L;S<t.events.length;)t.events[S][1].end={...x},S++;let D=new Ke;D.add(E+1,0,t.events.slice(L)),D.add(L,S-L,[]),D.consume(t.events)}}function y(k){let P=n.length;for(;P-- >k;){let O=n[P];t.containerState=O[1],O[0].exit.call(t,e)}n.length=k}function C(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Uu(e,t,n){return U(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var Fs={tokenize:Hu};function Hu(e){let t=this,n=e.attempt(ze,r,e.attempt(this.parser.constructs.flowInitial,i,U(e,e.attempt(this.parser.constructs.flow,i,e.attempt(si,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var Rs={resolveAll:zs()},Ds=$s("string"),_s=$s("text");function $s(e){return{resolveAll:zs(e==="text"?Vu:void 0),tokenize:t};function t(n){let r=this,i=this.parser.constructs[e],o=n.attempt(i,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),o(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;let f=i[u],p=-1;if(f)for(;++p<f.length;){let d=f[p];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function zs(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function Vu(e,t){let n=new Ke,r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let i=e[r-1][1],o=t.sliceStream(i),s=o.length,a=-1,l=0,c;for(;s--;){let u=o[s];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(u===-2)c=!0,l++;else if(u!==-1){s++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let u={type:r===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:i.start._bufferIndex+a,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...u.start},i.start.offset===i.end.offset?Object.assign(i,u):n.add(r,0,[["enter",u,t],["exit",u,t]])}r++}return n.consume(e),e}var bi={};ja(bi,{attentionMarkers:()=>Zu,contentInitial:()=>Ju,disable:()=>ef,document:()=>Ku,flow:()=>Yu,flowInitial:()=>Wu,insideSpan:()=>Xu,string:()=>Gu,text:()=>Qu});var Ku={42:xe,43:xe,45:xe,48:xe,49:xe,50:xe,51:xe,52:xe,53:xe,54:xe,55:xe,56:xe,57:xe,62:Ln},Ju={91:ai},Wu={[-2]:tn,[-1]:tn,32:tn},Yu={35:ci,42:yt,45:[Dn,yt],60:ui,61:Dn,95:yt,96:Pn,126:Pn},Gu={38:In,92:Tn},Qu={[-5]:rn,[-4]:rn,[-3]:rn,33:di,38:In,42:Zt,60:[ri,fi],91:pi,92:[li,Tn],93:gt,95:Zt,96:oi},Xu={null:[Zt,Rs]},Zu={null:[42,95]},ef={null:[]};function Bs(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],s=[],a=[],l=!0,c={attempt:A(L),check:A(E),consume:P,enter:O,exit:S,interrupt:A(E,{interrupt:!0})},u={code:null,containerState:{},defineSkip:y,events:[],now:w,parser:e,previous:null,sliceSerialize:g,sliceStream:b,write:d},f=t.tokenize.call(u,c),p;return t.resolveAll&&o.push(t),u;function d(I){return s=Ee(s,I),C(),s[s.length-1]!==null?[]:(x(t,0),u.events=Ze(o,u.events,u),u.events)}function g(I,H){return nf(b(I),H)}function b(I){return tf(s,I)}function w(){let{_bufferIndex:I,_index:H,line:_,column:V,offset:ie}=r;return{_bufferIndex:I,_index:H,line:_,column:V,offset:ie}}function y(I){i[I.line]=I.column,B()}function C(){for(;r._index<s.length;){let I=s[r._index];if(typeof I=="string"){let H=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<I.length;)k(I.charCodeAt(r._bufferIndex))}else k(I)}}function k(I){l=void 0,p=I,f=f(I)}function P(I){F(I)?(r.line++,r.column=1,r.offset+=I===-3?2:1,B()):I!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=I,l=!0}function O(I,H){let _=H||{};return _.type=I,_.start=w(),u.events.push(["enter",_,u]),a.push(_),_}function S(I){let H=a.pop();return H.end=w(),u.events.push(["exit",H,u]),H}function L(I,H){x(I,H.from)}function E(I,H){H.restore()}function A(I,H){return _;function _(V,ie,Y){let se,h,ee,me;return Array.isArray(V)?R(V):"tokenize"in V?R([V]):m(V);function m(M){return q;function q(ce){let K=ce!==null&&M[ce],be=ce!==null&&M.null,G=[...Array.isArray(K)?K:K?[K]:[],...Array.isArray(be)?be:be?[be]:[]];return R(G)(ce)}}function R(M){return se=M,h=0,M.length===0?Y:j(M[h])}function j(M){return q;function q(ce){return me=D(),ee=M,M.partial||(u.currentConstruct=M),M.name&&u.parser.constructs.disable.null.includes(M.name)?$(ce):M.tokenize.call(H?Object.assign(Object.create(u),H):u,c,T,$)(ce)}}function T(M){return l=!0,I(ee,me),ie}function $(M){return l=!0,me.restore(),++h<se.length?j(se[h]):Y}}}function x(I,H){I.resolveAll&&!o.includes(I)&&o.push(I),I.resolve&&he(u.events,H,u.events.length-H,I.resolve(u.events.slice(H),u)),I.resolveTo&&(u.events=I.resolveTo(u.events,u))}function D(){let I=w(),H=u.previous,_=u.currentConstruct,V=u.events.length,ie=Array.from(a);return{from:V,restore:Y};function Y(){r=I,u.previous=H,u.currentConstruct=_,u.events.length=V,a=ie,B()}}function B(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function tf(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex,s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){let a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}function nf(e,t){let n=-1,r=[],i;for(;++n<e.length;){let o=e[n],s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
36
+ `,...o.current()}),u=c.charCodeAt(0);return(u===9||u===32)&&(c=xn(u)+c.slice(1)),c=c?s+" "+c:s,n.options.closeAtx&&(c+=" "+s),l(),a(),c}Ur.peek=rc;function Ur(e){return e.value||""}function rc(){return"<"}Hr.peek=ic;function Hr(e,t,n,r){let i=Tt(n),o=i==='"'?"Quote":"Apostrophe",s=n.enter("image"),a=n.enter("label"),l=n.createTracker(r),c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),a()),c+=l.move(")"),s(),c}function ic(){return"!"}Vr.peek=oc;function Vr(e,t,n,r){let i=e.referenceType,o=n.enter("imageReference"),s=n.enter("label"),a=n.createTracker(r),l=a.move("!["),c=n.safe(e.alt,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),s();let u=n.stack;n.stack=u.filter(function(p){return p!=="phrasing"}),s=n.enter("reference");let f=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return s(),n.stack=u,o(),i==="full"||!c||c!==f?l+=a.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function oc(){return"!"}Kr.peek=sc;function Kr(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^\n\r ]/.test(r)&&(/^[\n\r ]/.test(r)&&/[\n\r ]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let s=n.unsafe[o],a=n.compilePattern(s);if(!s.atBreak)continue;let l;for(;l=a.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return i+r+i}function sc(){return"`"}function Wr(e,t){let n=ht(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Jr.peek=ac;function Jr(e,t,n,r){let i=Tt(n),o=i==='"'?"Quote":"Apostrophe",s=n.createTracker(r);if(Wr(e,n)){let g=n.stack;n.stack=g.filter(function(b){return b!=="phrasing"});let y=n.enter("autolink"),w=s.move("<");return w+=s.move(n.containerPhrasing(e,{before:w,after:">",...s.current()})),w+=s.move(">"),y(),n.stack=g,w}let a=n.enter("link"),l=n.enter("label"),c=s.move("["),u=n.containerPhrasing(e,{before:c,after:"](",...s.current()});c+=s.move(u),l(),c+=s.move("](");let f=/[\0- \u007F]/.test(e.url),p=r.before.charAt(r.before.length-1),d=e.title||void 0;if(!d&&!f&&(p===`
37
+ `||p==="\r")){let g=0;for(;g<u.length&&u.charCodeAt(g)!==93;)g+=u.charCodeAt(g)===92?2:1;u.charCodeAt(g+1)===58&&(d="")}return!e.url&&typeof d=="string"||f?(l=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:typeof d=="string"?" ":")",...s.current()}))),l(),typeof d=="string"&&(l=n.enter(`title${o}`),c+=s.move(" "+i),c+=s.move(n.safe(d,{before:c,after:i,...s.current()})),c+=s.move(i),l()),c+=s.move(")"),a(),c}function ac(e,t,n){return Wr(e,n)?"<":"["}Yr.peek=lc;function Yr(e,t,n,r){let i=e.referenceType,o=n.enter("linkReference"),s=n.enter("label"),a=n.createTracker(r),l=a.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),s();let u=n.stack;n.stack=u.filter(function(p){return p!=="phrasing"}),s=n.enter("reference");let f=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return s(),n.stack=u,o(),i==="full"||!c||c!==f?l+=a.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function lc(){return"["}function Pt(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ss(e){let t=Pt(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function as(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Cn(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function ls(e,t,n,r){let i=n.enter("list"),o=n.bulletCurrent,s=e.ordered?as(n):Pt(n),a=e.ordered?s==="."?")":".":ss(n),l=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){let u=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),Cn(n)===s&&u){let f=-1;for(;++f<e.children.length;){let p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=a),n.bulletCurrent=s;let c=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=o,i(),c}function cs(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function us(e,t,n,r){let i=cs(n),o=n.bulletCurrent||Pt(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let s=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);let a=n.createTracker(r);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),u);return l(),c;function u(f,p,d){return p?(d?"":" ".repeat(s))+f:(d?o:o+" ".repeat(s-o.length))+f}}function fs(e,t,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),s=n.containerPhrasing(e,r);return o(),i(),s}function ds(e,t,n,r){if(!e.children.some(function(a){return _r(a)}))return n.containerFlow(e,r);let o=n.enter("phrasing"),s=n.containerPhrasing(e,r);return o(),s}function ps(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}An.attention=ms;An.peek=cc;function An(e,t,n,r){let i=n.enter("phrasing"),o=Xt(e,ms,n,n.createTracker(r)),s=It([o],r.before,r.after);return i(),s}function ms(e,t){return{construct:"strong",markers:ps(t)==="*"?["*","_"]:["_","*"],sizes:[2]}}function cc(e,t,n){return n.options.strong||"*"}function hs(e,t,n,r){let i=t?t.children:[],o=n.indexStack[n.indexStack.length-1];return n.safe(e.value,{...r,afterNode:i[o+1],beforeNode:i[o-1]})}function gs(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function ys(e,t,n){let r=(Cn(n)+(n.options.ruleSpaces?" ":"")).repeat(gs(n));return n.options.ruleSpaces?r.slice(0,-1):r}var en={blockquote:Ho,break:$r,code:Go,definition:Qo,emphasis:En,hardBreak:$r,heading:os,html:Ur,image:Hr,imageReference:Vr,inlineCode:Kr,link:Jr,linkReference:Yr,list:ls,listItem:us,paragraph:fs,root:ds,strong:An,text:hs,thematicBreak:ys};var bs=document.createElement("i");function Nt(e){let t="&"+e+";";bs.innerHTML=t;let n=bs.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ln(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}var uc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ws(e){return e.replace(uc,fc)}function fc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let i=n.charCodeAt(1),o=i===120||i===88;return Ln(n.slice(o?2:1),o?16:10)}return Nt(n)||e}function Qr(){return{enter:{table:dc,tableData:ks,tableHeader:ks,tableRow:mc},exit:{codeText:hc,table:pc,tableData:Gr,tableHeader:Gr,tableRow:Gr}}}function dc(e){let t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function pc(e){this.exit(e),this.data.inTable=void 0}function mc(e){this.enter({type:"tableRow",children:[]},e)}function Gr(e){this.exit(e)}function ks(e){this.enter({type:"tableCell",children:[]},e)}function hc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,gc));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function gc(e,t){return t==="|"?t:e}function Zr(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
38
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:l,tableRow:a}};function s(d,g,y,w){return c(u(d,y,w),d.align)}function a(d,g,y,w){let b=f(d,y,w),A=c([b]);return A.slice(0,A.indexOf(`
39
+ `))}function l(d,g,y,w){let b=y.enter("tableCell"),A=y.enter("phrasing"),x=y.containerPhrasing(d,{...w,before:o,after:o});return A(),b(),x}function c(d,g){return Uo(d,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function u(d,g,y){let w=d.children,b=-1,A=[],x=g.enter("table");for(;++b<w.length;)A[b]=f(w[b],g,y);return x(),A}function f(d,g,y){let w=d.children,b=-1,A=[],x=g.enter("tableRow");for(;++b<w.length;)A[b]=l(w[b],d,g,y);return x(),A}function p(d,g,y){let w=en.inlineCode(d,g,y);return y.stack.includes("tableCell")&&(w=w.replace(/\|/g,"\\$&")),w}}function Xr(){return{exit:{taskListCheckValueChecked:xs,taskListCheckValueUnchecked:xs,paragraph:yc}}}function ei(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:bc}}}function xs(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function yc(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let r=n.children[0];if(r&&r.type==="text"){let i=t.children,o=-1,s;for(;++o<i.length;){let a=i[o];if(a.type==="paragraph"){s=a;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function bc(e,t,n,r){let i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(s);let l=en.listItem(e,t,n,{...r,...a.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+s}}function ti(){return[Pr(),Mr(),Fr(),Qr(),Xr()]}function ni(e){return{extensions:[Nr(),Or(e),Rr(),Zr(e),ei()]}}function ye(e,t,n,r){let i=e.length,o=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);o<r.length;)s=r.slice(o,o+1e4),s.unshift(t,0),e.splice(...s),o+=1e4,t+=1e4}function Ee(e,t){return e.length>0?(ye(e,e.length,0,t),e):t}var Ss={}.hasOwnProperty;function Tn(e){let t={},n=-1;for(;++n<e.length;)wc(t,e[n]);return t}function wc(e,t){let n;for(n in t){let i=(Ss.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n],s;if(o)for(s in o){Ss.call(i,s)||(i[s]=[]);let a=o[s];kc(i[s],Array.isArray(a)?a:a?[a]:[])}}}function kc(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ye(e,0,0,r)}var xc={tokenize:Ac,partial:!0},vs={tokenize:Lc,partial:!0},Es={tokenize:Tc,partial:!0},Cs={tokenize:Ic,partial:!0},Sc={tokenize:Pc,partial:!0},As={name:"wwwAutolink",tokenize:Ec,previous:Ts},Ls={name:"protocolAutolink",tokenize:Cc,previous:Is},We={name:"emailAutolink",tokenize:vc,previous:Ps},Be={};function ii(){return{text:Be}}var gt=48;for(;gt<123;)Be[gt]=We,gt++,gt===58?gt=65:gt===91&&(gt=97);Be[43]=We;Be[45]=We;Be[46]=We;Be[95]=We;Be[72]=[We,Ls];Be[104]=[We,Ls];Be[87]=[We,As];Be[119]=[We,As];function vc(e,t,n){let r=this,i,o;return s;function s(f){return!ri(f)||!Ps.call(r,r.previous)||oi(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return ri(f)?(e.consume(f),a):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(Sc,u,c)(f):f===45||f===95||ge(f)?(o=!0,e.consume(f),l):u(f)}function c(f){return e.consume(f),i=!0,l}function u(f){return o&&i&&he(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function Ec(e,t,n){let r=this;return i;function i(s){return s!==87&&s!==119||!Ts.call(r,r.previous)||oi(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(xc,e.attempt(vs,e.attempt(Es,o),n),n)(s))}function o(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function Cc(e,t,n){let r=this,i="",o=!1;return s;function s(f){return(f===72||f===104)&&Is.call(r,r.previous)&&!oi(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(he(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){let p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),o?c:(o=!0,l)):n(f)}function c(f){return f===null||ut(f)||Q(f)||ze(f)||ft(f)?n(f):e.attempt(vs,e.attempt(Es,u),n)(f)}function u(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Ac(e,t,n){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),i):s===46&&r===3?(e.consume(s),o):n(s)}function o(s){return s===null?n(s):t(s)}}function Lc(e,t,n){let r,i,o;return s;function s(c){return c===46||c===95?e.check(Cs,l,a)(c):c===null||Q(c)||ze(c)||c!==45&&ft(c)?l(c):(o=!0,e.consume(c),s)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),s}function l(c){return i||r||!o?n(c):t(c)}}function Tc(e,t){let n=0,r=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&r<n?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(Cs,t,o)(s):s===null||Q(s)||ze(s)?t(s):(e.consume(s),i)}function o(s){return s===41&&r++,e.consume(s),i}}function Ic(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),o):a===93?(e.consume(a),i):a===60||a===null||Q(a)||ze(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Q(a)||ze(a)?t(a):r(a)}function o(a){return he(a)?s(a):n(a)}function s(a){return a===59?(e.consume(a),r):he(a)?(e.consume(a),s):n(a)}}function Pc(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return ge(o)?n(o):t(o)}}function Ts(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Q(e)}function Is(e){return!he(e)}function Ps(e){return!(e===47||ri(e))}function ri(e){return e===43||e===45||e===46||e===95||ge(e)}function oi(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function tt(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}var tn={name:"attention",resolveAll:Nc,tokenize:Mc};function Nc(e,t){let n=-1,r;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){let i=n;for(;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;let o=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1,s={...e[i][1].end},a={...e[n][1].start};Ns(s,-o),Ns(a,o);let l={type:o>1?"strongSequence":"emphasisSequence",start:s,end:{...e[i][1].end}},c={type:o>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:a},u={type:o>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},f={type:o>1?"strong":"emphasis",start:{...l.start},end:{...c.end}};e[i][1].end={...l.start},e[n][1].start={...c.end},r=[],e[i][1].end.offset-e[i][1].start.offset&&(r=Ee(r,[["enter",e[i][1],t],["exit",e[i][1],t]])),r=Ee(r,[["enter",f,t],["enter",l,t],["exit",l,t],["enter",u,t]]),r=Ee(r,tt(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),r=Ee(r,[["exit",u,t],["enter",c,t],["exit",c,t],["exit",f,t]]);let p=0;e[n][1].end.offset-e[n][1].start.offset&&(p=2,r=Ee(r,[["enter",e[n][1],t],["exit",e[n][1],t]])),ye(e,i-1,n-i+3,r),n=i+r.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Mc(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Me(r),o;return s;function s(l){return o=l,e.enter("attentionSequence"),a(l)}function a(l){if(l===o)return e.consume(l),a;let c=e.exit("attentionSequence"),u=Me(l),f=!u||u===2&&i||n.includes(l)&&l!==42&&l!==95,p=!i||i===2&&u||n.includes(r)&&r!==42&&r!==95;return c._open=!!(o===42?f:f&&(i||!p)),c._close=!!(o===42?p:p&&(u||!f)),t(l)}}function Ns(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var si={name:"autolink",tokenize:Oc};function Oc(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(d){return he(d)?(e.consume(d),s):d===64?n(d):c(d)}function s(d){return d===43||d===45||d===46||ge(d)?(r=1,a(d)):c(d)}function a(d){return d===58?(e.consume(d),r=0,l):(d===43||d===45||d===46||ge(d))&&r++<32?(e.consume(d),a):(r=0,c(d))}function l(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||ut(d)?n(d):(e.consume(d),l)}function c(d){return d===64?(e.consume(d),u):Po(d)?(e.consume(d),c):n(d)}function u(d){return ge(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,u):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||ge(d))&&r++<63){let g=d===45?p:f;return e.consume(d),g}return n(d)}}function j(e,t,n,r){let i=r?r-1:1/0,o=0;return s;function s(l){return z(l)?(e.enter(n),a(l)):t(l)}function a(l){return z(l)&&o++<i?(e.consume(l),a):(e.exit(n),t(l))}}function ai(e,t,n,r,i,o){let s=0;return a;function a(u){return o>0&&z(u)?(e.enter(r),l(u)):c(u)}function l(u){return z(u)&&s<o?(e.consume(u),s++,l):(e.exit(r),c(u))}function c(u){return s>=i?t(u):n(u)}}var je={partial:!0,tokenize:Fc};function Fc(e,t,n){return r;function r(o){return z(o)?j(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||F(o)?t(o):n(o)}}var In={continuation:{tokenize:Dc},exit:_c,name:"blockQuote",tokenize:Rc};function Rc(e,t,n){let r=this;return i;function i(s){if(s===62){let a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),o}return n(s)}function o(s){return z(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Dc(e,t,n){let r=this;return i;function i(s){return z(s)?j(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return e.attempt(In,t,n)(s)}}function _c(e){e.exit("blockQuote")}var Pn={name:"characterEscape",tokenize:$c};function $c(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return gn(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}var Nn={name:"characterReference",tokenize:zc};function zc(e,t,n){let r=this,i=0,o,s;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),o=31,s=ge,u(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=No,u):(e.enter("characterReferenceValue"),o=7,s=Jt,u(f))}function u(f){if(f===59&&i){let p=e.exit("characterReferenceValue");return s===ge&&!Nt(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<o?(e.consume(f),u):n(f)}}var nn={partial:!0,tokenize:Bc};function Bc(e,t,n){let r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}var Mn={concrete:!0,name:"codeFenced",tokenize:jc};function jc(e,t,n){let r=this,i={partial:!0,tokenize:M},o=0,s=0,a;return l;function l(v){return c(v)}function c(v){let L=r.events[r.events.length-1];return o=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,a=v,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(v)}function u(v){return v===a?(s++,e.consume(v),u):s<3?n(v):(e.exit("codeFencedFenceSequence"),z(v)?j(e,f,"whitespace")(v):f(v))}function f(v){return v===null||F(v)?(e.exit("codeFencedFence"),r.interrupt?t(v):e.check(nn,y,I)(v)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===null||F(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(v)):z(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),j(e,d,"whitespace")(v)):v===96&&v===a?n(v):(e.consume(v),p)}function d(v){return v===null||F(v)?f(v):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===null||F(v)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(v)):v===96&&v===a?n(v):(e.consume(v),g)}function y(v){return e.attempt(i,I,w)(v)}function w(v){return e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),b}function b(v){return o>0&&z(v)?j(e,A,"linePrefix",o+1)(v):A(v)}function A(v){return v===null||F(v)?e.check(nn,y,I)(v):(e.enter("codeFlowValue"),x(v))}function x(v){return v===null||F(v)?(e.exit("codeFlowValue"),A(v)):(e.consume(v),x)}function I(v){return e.exit("codeFenced"),t(v)}function M(v,L,V){let X=0;return E;function E(R){return v.enter("lineEnding"),v.consume(R),v.exit("lineEnding"),W}function W(R){return v.enter("codeFencedFence"),z(R)?j(v,S,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):S(R)}function S(R){return R===a?(v.enter("codeFencedFenceSequence"),k(R)):V(R)}function k(R){return R===a?(X++,v.consume(R),k):X>=s?(v.exit("codeFencedFenceSequence"),z(R)?j(v,D,"whitespace")(R):D(R)):V(R)}function D(R){return R===null||F(R)?(v.exit("codeFencedFence"),L(R)):V(R)}}}var rn={name:"codeIndented",tokenize:Uc},qc={partial:!0,tokenize:Hc};function Uc(e,t,n){return r;function r(a){return e.enter("codeIndented"),ai(e,i,n,"linePrefix",4,4)(a)}function i(a){return a===null?s(a):F(a)?e.attempt(qc,i,s)(a):(e.enter("codeFlowValue"),o(a))}function o(a){return a===null||F(a)?(e.exit("codeFlowValue"),i(a)):(e.consume(a),o)}function s(a){return e.exit("codeIndented"),t(a)}}function Hc(e,t,n){let r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):F(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ai(e,t,o,"linePrefix",4,4)(s)}function o(s){return F(s)?i(s):n(s)}}var li={name:"codeText",previous:Kc,resolve:Vc,tokenize:Wc};function Vc(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Kc(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Wc(e,t,n){let r=this,i=0,o,s;return a;function a(p){return e.enter("codeText"),e.enter("codeTextSequence"),l(p)}function l(p){return p===96?(e.consume(p),i++,l):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(s=e.enter("codeTextSequence"),o=0,f(p)):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||F(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),u)}function f(p){return p===96?(e.consume(p),o++,f):o===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(s.type="codeTextData",u(p))}}var On=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){let r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){let i=n||0;this.setCursor(Math.trunc(t));let o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&on(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),on(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),on(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let n=this.left.splice(t,Number.POSITIVE_INFINITY);on(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);on(this.left,n.reverse())}}};function on(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Fn(e){let t={},n=-1,r,i,o,s,a,l,c,u=new On(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type==="chunkFlow"&&u.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Jc(u,n)),n=t[n],c=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(s=u.get(o),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(u.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=o);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(r[1].end={...u.get(i)[1].start},a=u.slice(i,n),a.unshift(r),u.splice(i,n-i+1,a))}}return ye(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function Jc(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,o=[],s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));let a=s.events,l=[],c={},u,f,p=-1,d=n,g=0,y=0,w=[y];for(;d;){for(;e.get(++i)[1]!==d;);o.push(i),d._tokenizer||(u=r.sliceStream(d),d.next||u.push(null),f&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++p<a.length;)a[p][0]==="exit"&&a[p-1][0]==="enter"&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(y=p+1,w.push(y),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):w.pop(),p=w.length;p--;){let b=a.slice(w[p],w[p+1]),A=o.pop();l.push([A,A+b.length-1]),e.splice(A,2,b)}for(l.reverse(),p=-1;++p<l.length;)c[g+l[p][0]]=g+l[p][1],g+=l[p][1]-l[p][0]-1;return c}var ci={resolve:Gc,tokenize:Qc},Yc={partial:!0,tokenize:Zc};function Gc(e){return Fn(e),e}function Qc(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):F(a)?e.check(Yc,s,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function s(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Zc(e,t,n){let r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),j(e,o,"linePrefix")}function o(s){if(s===null||F(s))return n(s);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Rn(e,t,n,r,i,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(b){return b===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(b),e.exit(o),p):b===null||b===32||b===41||ut(b)?n(b):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),y(b))}function p(b){return b===62?(e.enter(o),e.consume(b),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(b))}function d(b){return b===62?(e.exit("chunkString"),e.exit(a),p(b)):b===null||b===60||F(b)?n(b):(e.consume(b),b===92?g:d)}function g(b){return b===60||b===62||b===92?(e.consume(b),d):d(b)}function y(b){return!u&&(b===null||b===41||Q(b))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(b)):u<c&&b===40?(e.consume(b),u++,y):b===41?(e.consume(b),u--,y):b===null||b===32||b===40||ut(b)?n(b):(e.consume(b),b===92?w:y)}function w(b){return b===40||b===41||b===92?(e.consume(b),y):y(b)}}function Dn(e,t,n,r,i,o){let s=this,a=0,l;return c;function c(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(o),u}function u(d){return a>999||d===null||d===91||d===93&&!l||d===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):d===93?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):F(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||F(d)||a++>999?(e.exit("chunkString"),u(d)):(e.consume(d),l||(l=!z(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),a++,f):f(d)}}function _n(e,t,n,r,i,o){let s;return a;function a(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),s=p===40?41:p,l):n(p)}function l(p){return p===s?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(o),c(p))}function c(p){return p===s?(e.exit(o),l(s)):p===null?n(p):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),j(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(p){return p===s||p===null||F(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:u)}function f(p){return p===s||p===92?(e.consume(p),u):u(p)}}function yt(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):z(i)?j(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var ui={name:"definition",tokenize:eu},Xc={partial:!0,tokenize:tu};function eu(e,t,n){let r=this,i;return o;function o(d){return e.enter("definition"),s(d)}function s(d){return Dn.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return i=xe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),l):n(d)}function l(d){return Q(d)?yt(e,c)(d):c(d)}function c(d){return Rn(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function u(d){return e.attempt(Xc,f,f)(d)}function f(d){return z(d)?j(e,p,"whitespace")(d):p(d)}function p(d){return d===null||F(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}function tu(e,t,n){return r;function r(a){return Q(a)?yt(e,i)(a):n(a)}function i(a){return _n(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return z(a)?j(e,s,"whitespace")(a):s(a)}function s(a){return a===null||F(a)?t(a):n(a)}}var fi={name:"hardBreakEscape",tokenize:nu};function nu(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return F(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}var di={name:"headingAtx",resolve:ru,tokenize:iu};function ru(e,t){let n=e.length-2,r=3;if(e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r){let i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};ye(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])}return e}function iu(e,t,n){let r=0;return i;function i(u){return e.enter("atxHeading"),o(u)}function o(u){return e.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&r++<6?(e.consume(u),s):u===null||Q(u)?(e.exit("atxHeadingSequence"),a(u)):n(u)}function a(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||F(u)?(e.exit("atxHeading"),t(u)):z(u)?j(e,a,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||Q(u)?(e.exit("atxHeadingText"),a(u)):(e.consume(u),c)}}var pi={concrete:!0,name:"htmlFlow",resolveTo:su,tokenize:au},ou={partial:!0,tokenize:lu};function su(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function au(e,t,n){let r=this,i,o,s,a,l;return c;function c(m){return u(m)}function u(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),f}function f(m){return m===33?(e.consume(m),p):m===47?(e.consume(m),o=!0,y):m===63?(e.consume(m),i=3,r.interrupt?t:h):he(m)?(e.consume(m),s=String.fromCharCode(m),w):n(m)}function p(m){return m===45?(e.consume(m),i=2,d):m===91?(e.consume(m),i=5,a=0,g):he(m)?(e.consume(m),i=4,r.interrupt?t:h):n(m)}function d(m){return m===45?(e.consume(m),r.interrupt?t:h):n(m)}function g(m){let O="CDATA[";return m===O.charCodeAt(a++)?(e.consume(m),a===O.length?r.interrupt?t:S:g):n(m)}function y(m){return he(m)?(e.consume(m),s=String.fromCharCode(m),w):n(m)}function w(m){if(m===null||m===47||m===62||Q(m)){let O=m===47,$=s.toLowerCase();return!O&&!o&&Zt.includes($)?(i=1,r.interrupt?t(m):S(m)):Sn.includes(s.toLowerCase())?(i=6,O?(e.consume(m),b):r.interrupt?t(m):S(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(m):o?A(m):x(m))}return m===45||ge(m)?(e.consume(m),s+=String.fromCharCode(m),w):n(m)}function b(m){return m===62?(e.consume(m),r.interrupt?t:S):n(m)}function A(m){return z(m)?(e.consume(m),A):E(m)}function x(m){return m===47?(e.consume(m),E):m===58||m===95||he(m)?(e.consume(m),I):z(m)?(e.consume(m),x):E(m)}function I(m){return m===45||m===46||m===58||m===95||ge(m)?(e.consume(m),I):M(m)}function M(m){return m===61?(e.consume(m),v):z(m)?(e.consume(m),M):x(m)}function v(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),l=m,L):z(m)?(e.consume(m),v):V(m)}function L(m){return m===l?(e.consume(m),l=null,X):m===null||F(m)?n(m):(e.consume(m),L)}function V(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||Q(m)?M(m):(e.consume(m),V)}function X(m){return m===47||m===62||z(m)?x(m):n(m)}function E(m){return m===62?(e.consume(m),W):n(m)}function W(m){return m===null||F(m)?S(m):z(m)?(e.consume(m),W):n(m)}function S(m){return m===45&&i===2?(e.consume(m),Y):m===60&&i===1?(e.consume(m),U):m===62&&i===4?(e.consume(m),de):m===63&&i===3?(e.consume(m),h):m===93&&i===5?(e.consume(m),te):F(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(ou,ee,k)(m)):m===null||F(m)?(e.exit("htmlFlowData"),k(m)):(e.consume(m),S)}function k(m){return e.check(nn,D,ee)(m)}function D(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),R}function R(m){return m===null||F(m)?k(m):(e.enter("htmlFlowData"),S(m))}function Y(m){return m===45?(e.consume(m),h):S(m)}function U(m){return m===47?(e.consume(m),s="",le):S(m)}function le(m){if(m===62){let O=s.toLowerCase();return Zt.includes(O)?(e.consume(m),de):S(m)}return he(m)&&s.length<8?(e.consume(m),s+=String.fromCharCode(m),le):S(m)}function te(m){return m===93?(e.consume(m),h):S(m)}function h(m){return m===62?(e.consume(m),de):m===45&&i===2?(e.consume(m),h):S(m)}function de(m){return m===null||F(m)?(e.exit("htmlFlowData"),ee(m)):(e.consume(m),de)}function ee(m){return e.exit("htmlFlow"),t(m)}}function lu(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(je,t,n)}}var mi={name:"htmlText",tokenize:cu};function cu(e,t,n){let r=this,i,o,s;return a;function a(h){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(h),l}function l(h){return h===33?(e.consume(h),c):h===47?(e.consume(h),M):h===63?(e.consume(h),x):he(h)?(e.consume(h),V):n(h)}function c(h){return h===45?(e.consume(h),u):h===91?(e.consume(h),o=0,g):he(h)?(e.consume(h),A):n(h)}function u(h){return h===45?(e.consume(h),d):n(h)}function f(h){return h===null?n(h):h===45?(e.consume(h),p):F(h)?(s=f,U(h)):(e.consume(h),f)}function p(h){return h===45?(e.consume(h),d):f(h)}function d(h){return h===62?Y(h):h===45?p(h):f(h)}function g(h){let de="CDATA[";return h===de.charCodeAt(o++)?(e.consume(h),o===de.length?y:g):n(h)}function y(h){return h===null?n(h):h===93?(e.consume(h),w):F(h)?(s=y,U(h)):(e.consume(h),y)}function w(h){return h===93?(e.consume(h),b):y(h)}function b(h){return h===62?Y(h):h===93?(e.consume(h),b):y(h)}function A(h){return h===null||h===62?Y(h):F(h)?(s=A,U(h)):(e.consume(h),A)}function x(h){return h===null?n(h):h===63?(e.consume(h),I):F(h)?(s=x,U(h)):(e.consume(h),x)}function I(h){return h===62?Y(h):x(h)}function M(h){return he(h)?(e.consume(h),v):n(h)}function v(h){return h===45||ge(h)?(e.consume(h),v):L(h)}function L(h){return F(h)?(s=L,U(h)):z(h)?(e.consume(h),L):Y(h)}function V(h){return h===45||ge(h)?(e.consume(h),V):h===47||h===62||Q(h)?X(h):n(h)}function X(h){return h===47?(e.consume(h),Y):h===58||h===95||he(h)?(e.consume(h),E):F(h)?(s=X,U(h)):z(h)?(e.consume(h),X):Y(h)}function E(h){return h===45||h===46||h===58||h===95||ge(h)?(e.consume(h),E):W(h)}function W(h){return h===61?(e.consume(h),S):F(h)?(s=W,U(h)):z(h)?(e.consume(h),W):X(h)}function S(h){return h===null||h===60||h===61||h===62||h===96?n(h):h===34||h===39?(e.consume(h),i=h,k):F(h)?(s=S,U(h)):z(h)?(e.consume(h),S):(e.consume(h),D)}function k(h){return h===i?(e.consume(h),i=void 0,R):h===null?n(h):F(h)?(s=k,U(h)):(e.consume(h),k)}function D(h){return h===null||h===34||h===39||h===60||h===61||h===96?n(h):h===47||h===62||Q(h)?X(h):(e.consume(h),D)}function R(h){return h===47||h===62||Q(h)?X(h):n(h)}function Y(h){return h===62?(e.consume(h),e.exit("htmlTextData"),e.exit("htmlText"),t):n(h)}function U(h){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),le}function le(h){return z(h)?j(e,te,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):te(h)}function te(h){return e.enter("htmlTextData"),s(h)}}var bt={name:"labelEnd",resolveAll:pu,resolveTo:mu,tokenize:hu},uu={tokenize:gu},fu={tokenize:yu},du={tokenize:bu};function pu(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){let i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&ye(e,0,e.length,n),e}function mu(e,t){let n=e.length,r=0,i,o,s;for(;n--;){let u=e[n][1];if(i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(o=n)}let a={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",a,t],["enter",l,t]],s=Ee(s,e.slice(i+1,i+r+3)),s=Ee(s,[["enter",c,t]]),s=Ee(s,tt(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),s=Ee(s,[["exit",c,t],e[o-2],e[o-1],["exit",l,t]]),s=Ee(s,e.slice(o+1)),s=Ee(s,[["exit",a,t]]),ye(e,i,e.length,s),e}function hu(e,t,n){let r=this,i=r._labelStarts,o,s;if(i){for(;i.length>0&&i[i.length-1]._balanced;)i.pop();o=i[i.length-1]}return a;function a(p){return o?o._inactive?f(p):(s=r.parser.defined.includes(xe(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(uu,u,s?u:f)(p):p===91?e.attempt(fu,u,s?c:f)(p):s?u(p):f(p)}function c(p){return e.attempt(du,u,f)(p)}function u(p){return i.pop(),t(p)}function f(p){return o._balanced=!0,n(p)}}function gu(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Q(f)?yt(e,o)(f):o(f)}function o(f){return f===41?u(f):Rn(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Q(f)?yt(e,l)(f):u(f)}function a(f){return n(f)}function l(f){return f===34||f===39||f===40?_n(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return Q(f)?yt(e,u)(f):u(f)}function u(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function yu(e,t,n){let r=this;return i;function i(a){return Dn.call(r,e,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(xe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function s(a){return n(a)}}function bu(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}var hi={name:"labelStartImage",resolveAll:bt.resolveAll,tokenize:wu};function wu(e,t,n){let r=this,i;return o;function o(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),s}function s(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),i=e.exit("labelImage"),a):n(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),t(l))}}var gi={name:"labelStartLink",resolveAll:bt.resolveAll,tokenize:ku};function ku(e,t,n){let r=this,i;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),i=e.exit("labelLink"),s}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),t(a))}}var sn={name:"lineEnding",tokenize:xu};function xu(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),j(e,t,"linePrefix")}}var wt={name:"thematicBreak",tokenize:Su};function Su(e,t,n){let r=0,i;return o;function o(c){return e.enter("thematicBreak"),s(c)}function s(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||F(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),z(c)?j(e,a,"whitespace")(c):a(c))}}var Se={continuation:{tokenize:Au},exit:Tu,name:"list",tokenize:Cu},vu={partial:!0,tokenize:Iu},Eu={partial:!0,tokenize:Lu};function Cu(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(d){let g=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Jt(d)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(wt,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(d)}return n(d)}function l(d){return Jt(d)&&++s<10?(e.consume(d),l):(!r.interrupt||s<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(je,r.interrupt?n:u,e.attempt(vu,p,f))}function u(d){return r.containerState.initialBlankLine=!0,o++,p(d)}function f(d){return z(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):n(d)}function p(d){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function Au(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(je,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,j(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!z(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Eu,t,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,j(e,e.attempt(Se,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Lu(e,t,n){let r=this;return j(e,i,"listItemIndent",r.containerState.size+1);function i(o){let s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(o):n(o)}}function Tu(e){e.exit(this.containerState.type)}function Iu(e,t,n){let r=this;return j(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){let s=r.events[r.events.length-1];return!z(o)&&s&&s[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}var Je=class{constructor(){this.index=new Map,this.map=[]}add(t,n,r){Ms(this,t,n,r,!1)}addBefore(t,n,r){Ms(this,t,n,r,!0)}consume(t){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let n=this.map.length,r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(let o of i)t.push(o);i=r.pop()}this.map.length=0,this.index.clear()}};function Ms(e,t,n,r,i){if(n===0&&r.length===0)return;let o=e.index.get(t);if(o){o[1]+=n,i?(r.push(...o[2]),o[2]=r):o[2].push(...r);return}let s=[t,n,r];e.map.push(s),e.index.set(t,s)}var $n={name:"setextUnderline",resolveTo:Pu,tokenize:Nu};function Pu(e,t){let n=new Je,r=e.length,i,o,s;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){i=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&n.add(r,1,[]),!s&&e[r][1].type==="definition"&&(s=r);let a={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",s?(n.add(o,0,[["enter",a,t]]),n.add(s+1,0,[["exit",e[i][1],t]]),e[i][1].end={...e[s][1].end}):e[i][1]=a,n.add(e.length,0,[["exit",a,t]]),n.consume(e),e}function Nu(e,t,n){let r=this,i;return o;function o(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,s(c)):n(c)}function s(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),z(c)?j(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||F(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}var Mu={tokenize:zu,partial:!0};function yi(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Du,continuation:{tokenize:_u},exit:$u}},text:{91:{name:"gfmFootnoteCall",tokenize:Ru},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Ou,resolveTo:Fu}}}}function Ou(e,t,n){let r=this,i=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),s;for(;i--;){let l=r.events[i][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return n(l);let c=xe(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Fu(e,t){let n=e.length,r;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...l),e}function Ru(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,s;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(o>999||f===93&&!s||f===null||f===91||Q(f))return n(f);if(f===93){e.exit("chunkString");let p=e.exit("gfmFootnoteCallString");return i.includes(xe(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Q(f)||(s=!0),o++,e.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(e.consume(f),o++,c):c(f)}}function Du(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(g)}function u(g){if(s>999||g===93&&!a||g===null||g===91||Q(g))return n(g);if(g===93){e.exit("chunkString");let y=e.exit("gfmFootnoteDefinitionLabelString");return o=xe(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Q(g)||(a=!0),s++,e.consume(g),g===92?f:u}function f(g){return g===91||g===92||g===93?(e.consume(g),s++,u):u(g)}function p(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(o)||i.push(o),j(e,d,"gfmFootnoteDefinitionWhitespace")):n(g)}function d(g){return t(g)}}function _u(e,t,n){return e.check(je,t,e.attempt(Mu,t,n))}function $u(e){e.exit("gfmFootnoteDefinition")}function zu(e,t,n){let r=this;return j(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){let s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(o):n(o)}}function bi(e){let n=(e||{}).singleTilde,r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},f={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},p=[["enter",u,a],["enter",s[c][1],a],["exit",s[c][1],a],["enter",f,a]],d=a.parser.constructs.insideSpan.null;d&&ye(p,p.length,0,tt(d,s.slice(c+1,l),a)),ye(p,p.length,0,[["exit",f,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",u,a]]),ye(s,c-1,l-c+3,p),l=c+p.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){let c=this.previous,u=this.events,f=0;return p;function p(g){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),d(g))}function d(g){let y=Me(c);if(g===126)return f>1?l(g):(s.consume(g),f++,d);if(f<2&&!n)return l(g);let w=s.exit("strikethroughSequenceTemporary"),b=Me(g);return w._open=!b||b===2&&!!y,w._close=!y||y===2&&!!b,a(g)}}}var zn=class{constructor(){this.map=[],this.index=new Map}add(t,n,r){Bu(this,t,n,r)}consume(t){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let n=this.map.length,r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(let o of i)t.push(o);i=r.pop()}this.map.length=0,this.index.clear()}};function Bu(e,t,n,r){if(n===0&&r.length===0)return;let i=e.index.get(t);if(i){i[1]+=n,i[2].push(...r);return}let o=[t,n,r];e.map.push(o),e.index.set(t,o)}function Os(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function wi(){return{flow:{null:{name:"table",tokenize:ju,resolveAll:qu}}}}function ju(e,t,n){let r=this,i=0,o=0,s;return a;function a(E){let W=r.events.length-1;for(;W>-1;){let{type:D}=r.events[W][1];if(D==="lineEnding"||D==="linePrefix")W--;else break}let S=W>-1?r.events[W][1].type:null,k=S==="tableHead"||S==="tableRow"?v:l;return k===v&&r.parser.lazy[r.now().line]?n(E):k(E)}function l(E){return e.enter("tableHead"),e.enter("tableRow"),c(E)}function c(E){return E===124||(s=!0,o+=1),u(E)}function u(E){return E===null?n(E):F(E)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),d):n(E):z(E)?j(e,u,"whitespace")(E):(o+=1,s&&(s=!1,i+=1),E===124?(e.enter("tableCellDivider"),e.consume(E),e.exit("tableCellDivider"),s=!0,u):(e.enter("data"),f(E)))}function f(E){return E===null||E===124||Q(E)?(e.exit("data"),u(E)):(e.consume(E),E===92?p:f)}function p(E){return E===92||E===124?(e.consume(E),f):f(E)}function d(E){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(E):(e.enter("tableDelimiterRow"),s=!1,z(E)?j(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):g(E))}function g(E){return E===45||E===58?w(E):E===124?(s=!0,e.enter("tableCellDivider"),e.consume(E),e.exit("tableCellDivider"),y):M(E)}function y(E){return z(E)?j(e,w,"whitespace")(E):w(E)}function w(E){return E===58?(o+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(E),e.exit("tableDelimiterMarker"),b):E===45?(o+=1,b(E)):E===null||F(E)?I(E):M(E)}function b(E){return E===45?(e.enter("tableDelimiterFiller"),A(E)):M(E)}function A(E){return E===45?(e.consume(E),A):E===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(E),e.exit("tableDelimiterMarker"),x):(e.exit("tableDelimiterFiller"),x(E))}function x(E){return z(E)?j(e,I,"whitespace")(E):I(E)}function I(E){return E===124?g(E):E===null||F(E)?!s||i!==o?M(E):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(E)):M(E)}function M(E){return n(E)}function v(E){return e.enter("tableRow"),L(E)}function L(E){return E===124?(e.enter("tableCellDivider"),e.consume(E),e.exit("tableCellDivider"),L):E===null||F(E)?(e.exit("tableRow"),t(E)):z(E)?j(e,L,"whitespace")(E):(e.enter("data"),V(E))}function V(E){return E===null||E===124||Q(E)?(e.exit("data"),L(E)):(e.consume(E),E===92?X:V)}function X(E){return E===92||E===124?(e.consume(E),V):V(E)}}function qu(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,p=new zn;for(;++n<e.length;){let d=e[n],g=d[1];d[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(Fs(p,t,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],s=[0,n+1,0,0],a&&(a=!1,u={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",u,t]])),i=g.type==="tableDelimiterRow"?2:u?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],f=Bn(p,t,o,i,void 0,f),o=[0,0,0,0]),s[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(s[0]=s[1],f=Bn(p,t,o,i,void 0,f)),o=s,s=[o[1],n,0,0])):g.type==="tableHead"?(a=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,o[1]!==0?(s[0]=s[1],f=Bn(p,t,o,i,n,f)):s[1]!==0&&(f=Bn(p,t,s,i,n,f)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=n)}for(l!==0&&Fs(p,t,l,c,u),p.consume(t.events),n=-1;++n<t.events.length;){let d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=Os(t.events,n))}return e}function Bn(e,t,n,r,i,o){let s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(o.end=Object.assign({},Mt(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let l=Mt(t.events,n[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){let c=Mt(t.events,n[2]),u=Mt(t.events,n[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){let p=t.events[n[2]],d=t.events[n[3]];if(p[1].end=Object.assign({},d[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){let g=n[2]+1,y=n[3]-n[2]-1;e.add(g,y,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(o.end=Object.assign({},Mt(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Fs(e,t,n,r,i){let o=[],s=Mt(t.events,n);i&&(i.end=Object.assign({},s),o.push(["exit",i,t])),r.end=Object.assign({},s),o.push(["exit",r,t]),e.add(n+1,0,o)}function Mt(e,t){let n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}var Uu={name:"tasklistCheck",tokenize:Hu};function ki(){return{text:{91:Uu}}}function Hu(e,t,n){let r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),o)}function o(l){return Q(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),s):n(l)}function s(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(l)}function a(l){return F(l)?t(l):z(l)?e.check({tokenize:Vu},t,n)(l):n(l)}}function Vu(e,t,n){return j(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Rs(e){return Tn([ii(),yi(),bi(e),wi(),ki()])}var Ku={};function jn(e){let t=this,n=e||Ku,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Rs(n)),o.push(ti()),s.push(ni(n))}var Ds={tokenize:Wu};function Wu(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),j(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){let l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,s(a)}function s(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return F(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),s)}}var $s={tokenize:Ju},_s={tokenize:Yu};function Ju(e){let t=this,n=[],r=0,i,o,s;return a;function a(x){if(r<n.length){let I=n[r];return t.containerState=I[1],e.attempt(I[0].continuation,l,c)(x)}return c(x)}function l(x){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();let I=t.events.length,M=I,v;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){v=t.events[M][1].end;break}b(r);let L=I;for(;L<t.events.length;)t.events[L][1].end={...v},L++;let V=new Je;return V.add(M+1,0,t.events.slice(I)),V.add(I,L-I,[]),V.consume(t.events),c(x)}return a(x)}function c(x){if(r===n.length){if(!i)return p(x);if(i.currentConstruct&&i.currentConstruct.concrete)return g(x);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(_s,u,f)(x)}function u(x){return i&&A(),b(r),p(x)}function f(x){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,g(x)}function p(x){return t.containerState={},e.attempt(_s,d,g)(x)}function d(x){return r++,n.push([t.currentConstruct,t.containerState]),p(x)}function g(x){if(x===null){i&&A(),b(0),e.consume(x);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),y(x)}function y(x){if(x===null){w(e.exit("chunkFlow"),!0),b(0),e.consume(x);return}return F(x)?(e.consume(x),w(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(x),y)}function w(x,I){let M=t.sliceStream(x);if(I&&M.push(null),x.previous=o,o&&(o.next=x),o=x,i.defineSkip(x.start),i.write(M),t.parser.lazy[x.start.line]){let v=i.events.length;for(;v--;)if(i.events[v][1].start.offset<s&&(!i.events[v][1].end||i.events[v][1].end.offset>s))return;let L=t.events.length,V=L,X,E;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(X){E=t.events[V][1].end;break}X=!0}for(b(r),v=L;v<t.events.length;)t.events[v][1].end={...E},v++;let W=new Je;W.add(V+1,0,t.events.slice(L)),W.add(L,v-L,[]),W.consume(t.events)}}function b(x){let I=n.length;for(;I-- >x;){let M=n[I];t.containerState=M[1],M[0].exit.call(t,e)}n.length=x}function A(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Yu(e,t,n){return j(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var zs={tokenize:Gu};function Gu(e){let t=this,n=e.attempt(je,r,e.attempt(this.parser.constructs.flowInitial,i,j(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ci,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var Bs={resolveAll:Hs()},js=Us("string"),qs=Us("text");function Us(e){return{resolveAll:Hs(e==="text"?Qu:void 0),tokenize:t};function t(n){let r=this,i=this.parser.constructs[e],o=n.attempt(i,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),o(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;let f=i[u],p=-1;if(f)for(;++p<f.length;){let d=f[p];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function Hs(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function Qu(e,t){let n=new Je,r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let i=e[r-1][1],o=t.sliceStream(i),s=o.length,a=-1,l=0,c;for(;s--;){let u=o[s];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(u===-2)c=!0,l++;else if(u!==-1){s++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let u={type:r===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:i.start._bufferIndex+a,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...u.start},i.start.offset===i.end.offset?Object.assign(i,u):n.add(r,0,[["enter",u,t],["exit",u,t]])}r++}return n.consume(e),e}var xi={};Wa(xi,{attentionMarkers:()=>sf,contentInitial:()=>Xu,disable:()=>af,document:()=>Zu,flow:()=>tf,flowInitial:()=>ef,insideSpan:()=>of,string:()=>nf,text:()=>rf});var Zu={42:Se,43:Se,45:Se,48:Se,49:Se,50:Se,51:Se,52:Se,53:Se,54:Se,55:Se,56:Se,57:Se,62:In},Xu={91:ui},ef={[-2]:rn,[-1]:rn,32:rn},tf={35:di,42:wt,45:[$n,wt],60:pi,61:$n,95:wt,96:Mn,126:Mn},nf={38:Nn,92:Pn},rf={[-5]:sn,[-4]:sn,[-3]:sn,33:hi,38:Nn,42:tn,60:[si,mi],91:gi,92:[fi,Pn],93:bt,95:tn,96:li},of={null:[tn,Bs]},sf={null:[42,95]},af={null:[]};function Vs(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],s=[],a=[],l=!0,c={attempt:X(L),check:X(V),consume:I,enter:M,exit:v,interrupt:X(V,{interrupt:!0})},u={code:null,containerState:{},defineSkip:b,events:[],now:w,parser:e,previous:null,sliceSerialize:g,sliceStream:y,write:d},f=t.tokenize.call(u,c),p;return t.resolveAll&&o.push(t),u;function d(k){return s=Ee(s,k),A(),s[s.length-1]!==null?[]:(E(t,0),u.events=tt(o,u.events,u),u.events)}function g(k,D){return cf(y(k),D)}function y(k){return lf(s,k)}function w(){let{_bufferIndex:k,_index:D,line:R,column:Y,offset:U}=r;return{_bufferIndex:k,_index:D,line:R,column:Y,offset:U}}function b(k){i[k.line]=k.column,S()}function A(){for(;r._index<s.length;){let k=s[r._index];if(typeof k=="string"){let D=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===D&&r._bufferIndex<k.length;)x(k.charCodeAt(r._bufferIndex))}else x(k)}}function x(k){l=void 0,p=k,f=f(k)}function I(k){F(k)?(r.line++,r.column=1,r.offset+=k===-3?2:1,S()):k!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=k,l=!0}function M(k,D){let R=D||{};return R.type=k,R.start=w(),u.events.push(["enter",R,u]),a.push(R),R}function v(k){let D=a.pop();return D.end=w(),u.events.push(["exit",D,u]),D}function L(k,D){E(k,D.from)}function V(k,D){D.restore()}function X(k,D){return R;function R(Y,U,le){let te,h,de,ee;return Array.isArray(Y)?O(Y):"tokenize"in Y?O([Y]):m(Y);function m(N){return q;function q(oe){let B=oe!==null&&N[oe],ce=oe!==null&&N.null,H=[...Array.isArray(B)?B:B?[B]:[],...Array.isArray(ce)?ce:ce?[ce]:[]];return O(H)(oe)}}function O(N){return te=N,h=0,N.length===0?le:$(N[h])}function $(N){return q;function q(oe){return ee=W(),de=N,N.partial||(u.currentConstruct=N),N.name&&u.parser.constructs.disable.null.includes(N.name)?_(oe):N.tokenize.call(D?Object.assign(Object.create(u),D):u,c,T,_)(oe)}}function T(N){return l=!0,k(de,ee),U}function _(N){return l=!0,ee.restore(),++h<te.length?$(te[h]):le}}}function E(k,D){k.resolveAll&&!o.includes(k)&&o.push(k),k.resolve&&ye(u.events,D,u.events.length-D,k.resolve(u.events.slice(D),u)),k.resolveTo&&(u.events=k.resolveTo(u.events,u))}function W(){let k=w(),D=u.previous,R=u.currentConstruct,Y=u.events.length,U=Array.from(a);return{from:Y,restore:le};function le(){r=k,u.previous=D,u.currentConstruct=R,u.events.length=Y,a=U,S()}}function S(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function lf(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex,s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){let a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}function cf(e,t){let n=-1,r=[],i;for(;++n<e.length;){let o=e[n],s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
40
40
  `;break}case-3:{s=`\r
41
- `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(o)}i=o===-2,r.push(s)}return r.join("")}function wi(e){let r={constructs:An([bi,...(e||{}).extensions||[]]),content:i(Ns),defined:[],document:i(Ms),flow:i(Fs),lazy:{},string:i(Ds),text:i(_s)};return r;function i(o){return s;function s(a){return Bs(r,o,a)}}}function ki(e){for(;!On(e););return e}var js=/[\0\t\n\r]/g;function xi(){let e=1,t="",n=!0,r;return i;function i(o,s,a){o=t+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o));let l=[],c=0;for(t="",n&&(o.charCodeAt(0)===65279&&c++,n=void 0);c<o.length;){js.lastIndex=c;let u=js.exec(o),f=u&&u.index!==void 0?u.index:o.length,p=o.charCodeAt(f);if(!u){t=o.slice(c);break}if(p===10&&c===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),c<f&&(l.push(o.slice(c,f)),e+=f-c),p){case 0:{l.push(65533),e++;break}case 9:{let d=Math.ceil(e/4)*4;for(l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}c=f+1}return a&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function et(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?qs(e.position):"start"in e||"end"in e?qs(e):"line"in e||"column"in e?Si(e):""}function Si(e){return Us(e&&e.line)+":"+Us(e&&e.column)}function qs(e){return Si(e&&e.start)+"-"+Si(e&&e.end)}function Us(e){return e&&typeof e=="number"?e:1}var Vs={}.hasOwnProperty;function Ei(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),rf(n)(ki(wi(n).document().write(xi()(e,t,!0))))}function rf(e){let t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(oo),autolinkProtocol:x,autolinkEmail:x,atxHeading:s(no),blockQuote:s(K),characterEscape:x,characterReference:x,codeFenced:s(be),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:s(be,a),codeText:s(G,a),codeTextData:x,data:x,codeFlowValue:x,definition:s(St),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:s(cr),hardBreakEscape:s(ro),hardBreakTrailing:s(ro),htmlFlow:s(io,a),htmlFlowData:x,htmlText:s(io,a),htmlTextData:x,image:s(Pa),label:a,link:s(oo),listItem:s(Na),listItemValue:d,listOrdered:s(so,p),listUnordered:s(so),paragraph:s(Oa),reference:R,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:s(no),strong:s(Ma),thematicBreak:s(Ra)},exit:{atxHeading:c(),atxHeadingSequence:S,autolink:c(),autolinkEmail:ce,autolinkProtocol:q,blockQuote:c(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:T,characterReferenceMarkerNumeric:T,characterReferenceValue:$,characterReference:M,codeFenced:c(y),codeFencedFence:w,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:D,codeIndented:c(C),codeText:c(V),codeTextData:D,data:D,definition:c(),definitionDestinationString:O,definitionLabelString:k,definitionTitleString:P,emphasis:c(),hardBreakEscape:c(I),hardBreakTrailing:c(I),htmlFlow:c(H),htmlFlowData:D,htmlText:c(_),htmlTextData:D,image:c(Y),label:h,labelText:se,lineEnding:B,link:c(ie),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:j,resourceDestinationString:ee,resourceTitleString:me,resource:m,setextHeading:c(A),setextHeadingLineSequence:E,setextHeadingText:L,strong:c(),thematicBreak:c()}};Ks(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(v){let N={type:"root",children:[],position:void 0},J={stack:[N],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:f,data:n},Q=[],ve=[],ae=-1;for(;++ae<v.length;)if(ve.push(v[ae]),v[ae][1].type==="listOrdered"||v[ae][1].type==="listUnordered")if(v[ae][0]==="enter")Q.push(ve.length-1);else{let Ce=Q.pop();o(ve,Ce)}for(v=ve,ae=-1;++ae<v.length;){let Ce=t[v[ae][0]];v[ae][0]==="enter"&&t.beforeEnter.length>0&&i(t.beforeEnter,{...J,sliceSerialize:v[ae][2].sliceSerialize},v[ae][1]),Vs.call(Ce,v[ae][1].type)&&Ce[v[ae][1].type].call({...J,sliceSerialize:v[ae][2].sliceSerialize},v[ae][1]),v[ae][0]==="exit"&&t.afterExit.length>0&&i(t.afterExit,{...J,sliceSerialize:v[ae][2].sliceSerialize},v[ae][1])}if(J.tokenStack.length>0){let Ce=J.tokenStack[J.tokenStack.length-1];(Ce[1]||Hs).call(J,void 0,Ce[0])}for(N.position={start:tt(v.length>0?v[0][1].start:{line:1,column:1,offset:0}),end:tt(v.length>0?v[v.length-2][1].end:{line:1,column:1,offset:0})},ae=-1;++ae<t.transforms.length;)N=t.transforms[ae](N)||N;return N}function i(v,N,J){let Q=-1;for(;++Q<v.length;)v[Q].call(N,J)}function o(v,N){let J=v.length-1,Q=N-1,ve=-1,ae=!1,Ce,Re,qt,Ut,Ht=[];for(;++Q<=J;){let Le=v[Q];switch(Le[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Le[0]==="enter"?ve++:ve--,Ut=void 0;break}case"lineEndingBlank":{Le[0]==="enter"&&(Ce&&!Ut&&!ve&&!qt&&(qt=Q),Ut=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ut=void 0}if(!ve&&Le[0]==="enter"&&Le[1].type==="listItemPrefix"||ve===-1&&Le[0]==="exit"&&(Le[1].type==="listUnordered"||Le[1].type==="listOrdered")){if(Ce){let Et=Q;for(Re=void 0;Et--;){let He=v[Et];if(He[1].type==="lineEnding"||He[1].type==="lineEndingBlank"){if(He[0]==="exit")continue;Re&&(v[Re][1].type="lineEndingBlank",ae=!0),He[1].type="lineEnding",Re=Et}else if(!(He[1].type==="linePrefix"||He[1].type==="blockQuotePrefix"||He[1].type==="blockQuotePrefixWhitespace"||He[1].type==="blockQuoteMarker"||He[1].type==="listItemIndent"))break}qt&&(!Re||qt<Re)&&(Ce._spread=!0),Ce.end=Object.assign({},Re?v[Re][1].start:Le[1].end),Ht.push({at:Re||Q,event:["exit",Ce,Le[2]]})}if(Le[1].type==="listItemPrefix"){let Et={type:"listItem",_spread:!1,start:Object.assign({},Le[1].start),end:void 0};Ce=Et,Ht.push({at:Q,event:["enter",Et,Le[2]]}),qt=void 0,Ut=!0}}}let ao=v.splice(N),ur=0;for(Q=-1;++Q<ao.length;){for(;ur<Ht.length&&Ht[ur].at===N+Q;)v.push(Ht[ur++].event);v.push(ao[Q])}v[N][1]._spread=ae}function s(v,N){return J;function J(Q){l.call(this,v(Q),Q),N&&N.call(this,Q)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(v,N,J){this.stack[this.stack.length-1].children.push(v),this.stack.push(v),this.tokenStack.push([N,J||void 0]),v.position={start:tt(N.start),end:void 0}}function c(v){return N;function N(J){v&&v.call(this,J),u.call(this,J)}}function u(v,N){let J=this.stack.pop(),Q=this.tokenStack.pop();if(!Q)throw new Error("Cannot close `"+v.type+"` ("+et({start:v.start,end:v.end})+"): it\u2019s not open");Q[0].type!==v.type&&(N?N.call(this,v,Q[0]):(Q[1]||Hs).call(this,v,Q[0])),J.position.end=tt(v.end)}function f(){return pt(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function d(v){if(this.data.expectingFirstListItemValue){let N=this.stack[this.stack.length-2];N.start=Number.parseInt(this.sliceSerialize(v),10),this.data.expectingFirstListItemValue=void 0}}function g(){let v=this.resume(),N=this.stack[this.stack.length-1];N.lang=v}function b(){let v=this.resume(),N=this.stack[this.stack.length-1];N.meta=v}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){let v=this.resume(),N=this.stack[this.stack.length-1];N.value=v.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){let v=this.resume(),N=this.stack[this.stack.length-1];N.value=v.replace(/(\r?\n|\r)$/g,"")}function k(v){let N=this.resume(),J=this.stack[this.stack.length-1];J.label=N,J.identifier=ke(this.sliceSerialize(v)).toLowerCase()}function P(){let v=this.resume(),N=this.stack[this.stack.length-1];N.title=v}function O(){let v=this.resume(),N=this.stack[this.stack.length-1];N.url=v}function S(v){let N=this.stack[this.stack.length-1];if(!N.depth){let J=this.sliceSerialize(v).length;N.depth=J}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function E(v){let N=this.stack[this.stack.length-1];N.depth=this.sliceSerialize(v).codePointAt(0)===61?1:2}function A(){this.data.setextHeadingSlurpLineEnding=void 0}function x(v){let J=this.stack[this.stack.length-1].children,Q=J[J.length-1];(!Q||Q.type!=="text")&&(Q=Fa(),Q.position={start:tt(v.start),end:void 0},J.push(Q)),this.stack.push(Q)}function D(v){let N=this.stack.pop();N.value+=this.sliceSerialize(v),N.position.end=tt(v.end)}function B(v){let N=this.stack[this.stack.length-1];if(this.data.atHardBreak){let J=N.children[N.children.length-1];J.position.end=tt(v.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(N.type)&&(x.call(this,v),D.call(this,v))}function I(){this.data.atHardBreak=!0}function H(){let v=this.resume(),N=this.stack[this.stack.length-1];N.value=v}function _(){let v=this.resume(),N=this.stack[this.stack.length-1];N.value=v}function V(){let v=this.resume(),N=this.stack[this.stack.length-1];N.value=v}function ie(){let v=this.stack[this.stack.length-1];if(this.data.inReference){let N=this.data.referenceType||"shortcut";v.type+="Reference",v.referenceType=N,delete v.url,delete v.title}else delete v.identifier,delete v.label;this.data.referenceType=void 0}function Y(){let v=this.stack[this.stack.length-1];if(this.data.inReference){let N=this.data.referenceType||"shortcut";v.type+="Reference",v.referenceType=N,delete v.url,delete v.title}else delete v.identifier,delete v.label;this.data.referenceType=void 0}function se(v){let N=this.sliceSerialize(v),J=this.stack[this.stack.length-2];J.label=ms(N),J.identifier=ke(N).toLowerCase()}function h(){let v=this.stack[this.stack.length-1],N=this.resume(),J=this.stack[this.stack.length-1];if(this.data.inReference=!0,J.type==="link"){let Q=v.children;J.children=Q}else J.alt=N}function ee(){let v=this.resume(),N=this.stack[this.stack.length-1];N.url=v}function me(){let v=this.resume(),N=this.stack[this.stack.length-1];N.title=v}function m(){this.data.inReference=void 0}function R(){this.data.referenceType="collapsed"}function j(v){let N=this.resume(),J=this.stack[this.stack.length-1];J.label=N,J.identifier=ke(this.sliceSerialize(v)).toLowerCase(),this.data.referenceType="full"}function T(v){this.data.characterReferenceType=v.type}function $(v){let N=this.sliceSerialize(v),J=this.data.characterReferenceType,Q;J?(Q=Cn(N,J==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Q=It(N);let ve=this.stack[this.stack.length-1];ve.value+=Q}function M(v){let N=this.stack.pop();N.position.end=tt(v.end)}function q(v){D.call(this,v);let N=this.stack[this.stack.length-1];N.url=this.sliceSerialize(v)}function ce(v){D.call(this,v);let N=this.stack[this.stack.length-1];N.url="mailto:"+this.sliceSerialize(v)}function K(){return{type:"blockquote",children:[],position:void 0}}function be(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function G(){return{type:"inlineCode",value:"",position:void 0}}function St(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function cr(){return{type:"emphasis",children:[],position:void 0}}function no(){return{type:"heading",depth:0,children:[],position:void 0}}function ro(){return{type:"break",position:void 0}}function io(){return{type:"html",value:"",position:void 0}}function Pa(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function oo(){return{type:"link",title:null,url:"",children:[],position:void 0}}function so(v){return{type:"list",ordered:v.type==="listOrdered",start:null,spread:v._spread,children:[],position:void 0}}function Na(v){return{type:"listItem",spread:v._spread,checked:null,children:[],position:void 0}}function Oa(){return{type:"paragraph",children:[],position:void 0}}function Ma(){return{type:"strong",children:[],position:void 0}}function Fa(){return{type:"text",value:"",position:void 0}}function Ra(){return{type:"thematicBreak",position:void 0}}}function tt(e){return{line:e.line,column:e.column,offset:e.offset}}function Ks(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?Ks(e,r):of(e,r)}}function of(e,t){let n;for(n in t)if(Vs.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"afterExit":case"beforeEnter":{let r=t[n];r&&e[n].push(r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r);break}}}function Hs(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+et({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+et({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+et({start:t.start,end:t.end})+") is still open")}function Bn(e){let t=this;t.parser=n;function n(r){return Ei(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function vi(e){if(e)throw e}var Un=co(ta(),1);function on(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ci(){let e=[],t={run:n,use:r};return t;function n(...i){let o=-1,s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...i);function a(l,...c){let u=e[++o],f=-1;if(l){s(l);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,u?na(u,a)(...c):s(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function na(e,t){let n;return r;function r(...s){let a=e.length>s.length,l;a&&s.push(i);try{l=e.apply(this,s)}catch(c){let u=c;if(a&&n)throw u;return i(u)}a||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(s,...a){n||(n=!0,t(s,...a))}function o(s){i(null,s)}}var ge=class extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},s=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(s=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){let l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=et(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};ge.prototype.file="";ge.prototype.name="";ge.prototype.reason="";ge.prototype.message="";ge.prototype.stack="";ge.prototype.column=void 0;ge.prototype.line=void 0;ge.prototype.ancestors=void 0;ge.prototype.cause=void 0;ge.prototype.fatal=void 0;ge.prototype.place=void 0;ge.prototype.ruleId=void 0;ge.prototype.source=void 0;var Me={basename:sf,dirname:af,extname:lf,join:cf,sep:"/"};function sf(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');sn(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else s<0&&(o=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function af(e){if(sn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function lf(e){sn(e);let t=e.length,n=-1,r=0,i=-1,o=0,s;for(;t--;){let a=e.codePointAt(t);if(a===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function cf(...e){let t=-1,n;for(;++t<e.length;)sn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":uf(n)}function uf(e){sn(e);let t=e.codePointAt(0)===47,n=ff(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function ff(e,t){let n="",r=0,i=-1,o=0,s=-1,a,l;for(;++s<=e.length;){if(s<e.length)a=e.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||o===1))if(i!==s-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=s,o=0;continue}}else if(n.length>0){n="",r=0,i=s,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,o=0}else a===46&&o>-1?o++:o=-1}return n}function sn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var ra={cwd:df};function df(){return"/"}function Nt(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function ia(e){if(typeof e=="string")e=new URL(e);else if(!Nt(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return pf(e)}function pf(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let r=t.codePointAt(n+2);if(r===70||r===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var Ai=["history","path","basename","stem","extname","dirname"],an=class{constructor(t){let n;t?Nt(t)?n={path:t}:typeof t=="string"||mf(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":ra.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Ai.length;){let o=Ai[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Ai.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Me.basename(this.path):void 0}set basename(t){Ti(t,"basename"),Li(t,"basename"),this.path=Me.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Me.dirname(this.path):void 0}set dirname(t){oa(this.basename,"dirname"),this.path=Me.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Me.extname(this.path):void 0}set extname(t){if(Li(t,"extname"),oa(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Me.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Nt(t)&&(t=ia(t)),Ti(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Me.basename(this.path,this.extname):void 0}set stem(t){Ti(t,"stem"),Li(t,"stem"),this.path=Me.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){let i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){let i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){let i=new ge(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}};function Li(e,t){if(e&&e.includes(Me.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Me.sep+"`")}function Ti(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function oa(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function mf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var sa=(function(e){let r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o});var hf={}.hasOwnProperty,Oi=class e extends sa{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Ci()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let r=this.attachers[n];t.use(...r)}return t.data((0,Un.default)(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Ni("data",this.frozen),this.namespace[t]=n,this):hf.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Ni("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);let i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let n=qn(t),r=this.parser||this.Parser;return Ii("parse",r),r(String(n),n)}process(t,n){let r=this;return this.freeze(),Ii("process",this.parser||this.Parser),Pi("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,s){let a=qn(t),l=r.parse(a);r.run(l,a,function(u,f,p){if(u||!f||!p)return c(u);let d=f,g=r.stringify(d,p);yf(g)?p.value=g:p.result=g,c(u,p)});function c(u,f){u||!f?s(u):o?o(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Ii("processSync",this.parser||this.Parser),Pi("processSync",this.compiler||this.Compiler),this.process(t,i),la("processSync","process",n),r;function i(o,s){n=!0,vi(o),r=s}}run(t,n,r){aa(t),this.freeze();let i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(s,a){let l=qn(n);i.run(t,l,c);function c(u,f,p){let d=f||t;u?a(u):s?s(d):r(void 0,d,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),la("runSync","run",r),i;function o(s,a){vi(s),i=a,r=!0}}stringify(t,n){this.freeze();let r=qn(n),i=this.compiler||this.Compiler;return Pi("stringify",i),aa(t),i(t,r)}use(t,...n){let r=this.attachers,i=this.namespace;if(Ni("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[u,...f]=c;l(u,f)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=(0,Un.default)(!0,i.settings,c.settings))}function a(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){let f=c[u];o(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===c){p=f;break}if(p===-1)r.push([c,...u]);else if(u.length>0){let[d,...g]=u,b=r[p][1];on(b)&&on(d)&&(d=(0,Un.default)(!0,b,d)),r[p]=[c,d,...g]}}}},Mi=new Oi().freeze();function Ii(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Pi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ni(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function aa(e){if(!on(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function la(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qn(e){return gf(e)?e:new an(e)}function gf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function yf(e){return typeof e=="string"||bf(e)}function bf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var Hn=Symbol.for("yaml.alias"),ca=Symbol.for("yaml.document"),Be=Symbol.for("yaml.map"),Di=Symbol.for("yaml.pair"),Ot=Symbol.for("yaml.scalar"),nt=Symbol.for("yaml.seq"),Ie=Symbol.for("yaml.node.type"),Fe=e=>!!e&&typeof e=="object"&&e[Ie]===Hn,je=e=>!!e&&typeof e=="object"&&e[Ie]===ca,Je=e=>!!e&&typeof e=="object"&&e[Ie]===Be,ne=e=>!!e&&typeof e=="object"&&e[Ie]===Di,te=e=>!!e&&typeof e=="object"&&e[Ie]===Ot,qe=e=>!!e&&typeof e=="object"&&e[Ie]===nt;function fe(e){if(e&&typeof e=="object")switch(e[Ie]){case Be:case nt:return!0}return!1}function re(e){if(e&&typeof e=="object")switch(e[Ie]){case Hn:case Be:case Ot:case nt:return!0}return!1}var Vn=e=>(te(e)||fe(e))&&!!e.anchor;var Ae=Symbol("break visit"),ua=Symbol("skip children"),Ue=Symbol("remove node");function We(e,t){let n=fa(t);je(e)?Mt(null,e.contents,n,Object.freeze([e]))===Ue&&(e.contents=null):Mt(null,e,n,Object.freeze([]))}We.BREAK=Ae;We.SKIP=ua;We.REMOVE=Ue;function Mt(e,t,n,r){let i=da(e,t,n,r);if(re(i)||ne(i))return pa(e,r,i),Mt(e,i,n,r);if(typeof i!="symbol"){if(fe(t)){r=Object.freeze(r.concat(t));for(let o=0;o<t.items.length;++o){let s=Mt(o,t.items[o],n,r);if(typeof s=="number")o=s-1;else{if(s===Ae)return Ae;s===Ue&&(t.items.splice(o,1),o-=1)}}}else if(ne(t)){r=Object.freeze(r.concat(t));let o=Mt("key",t.key,n,r);if(o===Ae)return Ae;o===Ue&&(t.key=null);let s=Mt("value",t.value,n,r);if(s===Ae)return Ae;s===Ue&&(t.value=null)}}return i}async function Kn(e,t){let n=fa(t);je(e)?await Ft(null,e.contents,n,Object.freeze([e]))===Ue&&(e.contents=null):await Ft(null,e,n,Object.freeze([]))}Kn.BREAK=Ae;Kn.SKIP=ua;Kn.REMOVE=Ue;async function Ft(e,t,n,r){let i=await da(e,t,n,r);if(re(i)||ne(i))return pa(e,r,i),Ft(e,i,n,r);if(typeof i!="symbol"){if(fe(t)){r=Object.freeze(r.concat(t));for(let o=0;o<t.items.length;++o){let s=await Ft(o,t.items[o],n,r);if(typeof s=="number")o=s-1;else{if(s===Ae)return Ae;s===Ue&&(t.items.splice(o,1),o-=1)}}}else if(ne(t)){r=Object.freeze(r.concat(t));let o=await Ft("key",t.key,n,r);if(o===Ae)return Ae;o===Ue&&(t.key=null);let s=await Ft("value",t.value,n,r);if(s===Ae)return Ae;s===Ue&&(t.value=null)}}return i}function fa(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function da(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Je(t))return n.Map?.(e,t,r);if(qe(t))return n.Seq?.(e,t,r);if(ne(t))return n.Pair?.(e,t,r);if(te(t))return n.Scalar?.(e,t,r);if(Fe(t))return n.Alias?.(e,t,r)}function pa(e,t,n){let r=t[t.length-1];if(fe(r))r.items[e]=n;else if(ne(r))e==="key"?r.key=n:r.value=n;else if(je(r))r.contents=n;else{let i=Fe(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}var wf={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},kf=e=>e.replace(/[!,[\]{}]/g,t=>wf[t]),Rt=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:e.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},e.defaultTags),this.atNextDocument=!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;let[o,s]=r;return this.tags[o]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;let[o]=r;if(o==="1.1"||o==="1.2")return this.yaml.version=o,!0;{let s=/^\d+\.\d+$/.test(o);return n(6,`Unsupported YAML version ${o}`,s),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){let s=t.slice(2,-1);return s==="!"||s==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),s)}let[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);let o=this.tags[r];if(o)try{return o+decodeURIComponent(i)}catch(s){return n(String(s)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(let[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+kf(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){let n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags),i;if(t&&r.length>0&&re(t.contents)){let o={};We(t.contents,(s,a)=>{re(a)&&a.tag&&(o[a.tag]=!0)}),i=Object.keys(o)}else i=[];for(let[o,s]of r)o==="!!"&&s==="tag:yaml.org,2002:"||(!t||i.some(a=>a.startsWith(s)))&&n.push(`%TAG ${o} ${s}`);return n.join(`
42
- `)}};Rt.defaultYaml={explicit:!1,version:"1.2"};Rt.defaultTags={"!!":"tag:yaml.org,2002:"};function Jn(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function bt(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,o=r.length;i<o;++i){let s=r[i],a=bt(e,r,String(i),s);a===void 0?delete r[i]:a!==s&&(r[i]=a)}else if(r instanceof Map)for(let i of Array.from(r.keys())){let o=r.get(i),s=bt(e,r,i,o);s===void 0?r.delete(i):s!==o&&r.set(i,s)}else if(r instanceof Set)for(let i of Array.from(r)){let o=bt(e,r,i,i);o===void 0?r.delete(i):o!==i&&(r.delete(i),r.add(o))}else for(let[i,o]of Object.entries(r)){let s=bt(e,r,i,o);s===void 0?delete r[i]:s!==o&&(r[i]=s)}return e.call(t,n,r)}function ye(e,t,n){if(Array.isArray(e))return e.map((r,i)=>ye(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!Vn(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=o=>{r.res=o,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!n?.keep?Number(e):e}var rt=class{constructor(t){Object.defineProperty(this,Ie,{value:t})}clone(){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:o}={}){if(!je(t))throw new TypeError("A document argument is required");let s={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},a=ye(this,"",s);if(typeof i=="function")for(let{count:l,res:c}of s.anchors.values())i(c,l);return typeof o=="function"?bt(o,{"":a},"",a):a}};var wt=class extends rt{constructor(t){super(Hn),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){if(n?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],We(t,{Node:(o,s)=>{(Fe(s)||Vn(s))&&r.push(s)}}),n&&(n.aliasResolveCache=r));let i;for(let o of r){if(o===this)break;o.anchor===this.source&&(i=o)}if(i&&n){let{anchors:o,doc:s,maxAliasCount:a}=n,l=o.get(i);if(l||(ye(i,null,n),l=o.get(i)),l?.res===void 0){let c="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(c)}if(a>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=Wn(s,i,o)),l.count*l.aliasCount>a)){let c="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(c)}}return i}toJSON(t,n){if(!n)return{source:this.source};let r=this.resolve(n.doc,n);if(!r){let i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(i)}return n.anchors.get(r).res}toString(t,n,r){let i=`*${this.source}`;if(t){if(Jn(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){let o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(o)}if(t.implicitKey)return`${i} `}return i}};function Wn(e,t,n){if(Fe(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(fe(t)){let r=0;for(let i of t.items){let o=Wn(e,i,n);o>r&&(r=o)}return r}else if(ne(t)){let r=Wn(e,t.key,n),i=Wn(e,t.value,n);return Math.max(r,i)}return 1}var Yn=e=>!e||typeof e!="function"&&typeof e!="object",W=class extends rt{constructor(t){super(Ot),this.value=t}toJSON(t,n){return n?.keep?this.value:ye(this.value,t,n)}toString(){return String(this.value)}};W.BLOCK_FOLDED="BLOCK_FOLDED";W.BLOCK_LITERAL="BLOCK_LITERAL";W.PLAIN="PLAIN";W.QUOTE_DOUBLE="QUOTE_DOUBLE";W.QUOTE_SINGLE="QUOTE_SINGLE";var xf="tag:yaml.org,2002:";function Sf(e,t,n){if(t){let r=n.filter(o=>o.tag===t),i=r.find(o=>!o.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>r.identify?.(e)&&!r.format)}function it(e,t,n){if(je(e)&&(e=e.contents),re(e))return e;if(ne(e)){let f=n.schema[Be].createNode?.(n.schema,null,n);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:i,onTagObj:o,schema:s,sourceObjects:a}=n,l;if(r&&e&&typeof e=="object"){if(l=a.get(e),l)return l.anchor??(l.anchor=i(e)),new wt(l.anchor);l={anchor:null,node:null},a.set(e,l)}t?.startsWith("!!")&&(t=xf+t.slice(2));let c=Sf(e,t,s.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){let f=new W(e);return l&&(l.node=f),f}c=e instanceof Map?s[Be]:Symbol.iterator in Object(e)?s[nt]:s[Be]}o&&(o(c),delete n.onTagObj);let u=c?.createNode?c.createNode(n.schema,e,n):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(n.schema,e,n):new W(e);return t?u.tag=t:c.default||(u.tag=c.tag),l&&(l.node=u),u}function _i(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){let o=t[i];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){let s=[];s[o]=r,r=s}else r=new Map([[o,r]])}return it(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var ma=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,Dt=class extends rt{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){let n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>re(r)||ne(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(ma(t))this.add(n);else{let[r,...i]=t,o=this.get(r,!0);if(fe(o))o.addIn(i,n);else if(o===void 0&&this.schema)this.set(r,_i(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){let[n,...r]=t;if(r.length===0)return this.delete(n);let i=this.get(n,!0);if(fe(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){let[r,...i]=t,o=this.get(r,!0);return i.length===0?!n&&te(o)?o.value:o:fe(o)?o.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!ne(n))return!1;let r=n.value;return r==null||t&&te(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){let[n,...r]=t;if(r.length===0)return this.has(n);let i=this.get(n,!0);return fe(i)?i.hasIn(r):!1}setIn(t,n){let[r,...i]=t;if(i.length===0)this.set(r,n);else{let o=this.get(r,!0);if(fe(o))o.setIn(i,n);else if(o===void 0&&this.schema)this.set(r,_i(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}};var ha=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function ot(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var Ye=(e,t,n)=>e.endsWith(`
43
- `)?ot(n,t):n.includes(`
41
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(o)}i=o===-2,r.push(s)}return r.join("")}function Si(e){let r={constructs:Tn([xi,...(e||{}).extensions||[]]),content:i(Ds),defined:[],document:i($s),flow:i(zs),lazy:{},string:i(js),text:i(qs)};return r;function i(o){return s;function s(a){return Vs(r,o,a)}}}function vi(e){for(;!Fn(e););return e}var Ks=/[\0\t\n\r]/g;function Ei(){let e=1,t="",n=!0,r;return i;function i(o,s,a){o=t+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o));let l=[],c=0;for(t="",n&&(o.charCodeAt(0)===65279&&c++,n=void 0);c<o.length;){Ks.lastIndex=c;let u=Ks.exec(o),f=u&&u.index!==void 0?u.index:o.length,p=o.charCodeAt(f);if(!u){t=o.slice(c);break}if(p===10&&c===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),c<f&&(l.push(o.slice(c,f)),e+=f-c),p){case 0:{l.push(65533),e++;break}case 9:{let d=Math.ceil(e/4)*4;for(l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}c=f+1}return a&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function nt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ws(e.position):"start"in e||"end"in e?Ws(e):"line"in e||"column"in e?Ci(e):""}function Ci(e){return Js(e&&e.line)+":"+Js(e&&e.column)}function Ws(e){return Ci(e&&e.start)+"-"+Ci(e&&e.end)}function Js(e){return e&&typeof e=="number"?e:1}var Gs={}.hasOwnProperty;function Ai(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),uf(n)(vi(Si(n).document().write(Ei()(e,t,!0))))}function uf(e){let t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(lo),autolinkProtocol:E,autolinkEmail:E,atxHeading:s(oo),blockQuote:s(B),characterEscape:E,characterReference:E,codeFenced:s(ce),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:s(ce,a),codeText:s(H,a),codeTextData:E,data:E,codeFlowValue:E,definition:s(ae),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:s(fr),hardBreakEscape:s(so),hardBreakTrailing:s(so),htmlFlow:s(ao,a),htmlFlowData:E,htmlText:s(ao,a),htmlTextData:E,image:s(Da),label:a,link:s(lo),listItem:s(_a),listItemValue:d,listOrdered:s(co,p),listUnordered:s(co),paragraph:s($a),reference:O,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:s(oo),strong:s(za),thematicBreak:s(ja)},exit:{atxHeading:c(),atxHeadingSequence:v,autolink:c(),autolinkEmail:oe,autolinkProtocol:q,blockQuote:c(),characterEscapeValue:W,characterReferenceMarkerHexadecimal:T,characterReferenceMarkerNumeric:T,characterReferenceValue:_,characterReference:N,codeFenced:c(b),codeFencedFence:w,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:W,codeIndented:c(A),codeText:c(Y),codeTextData:W,data:W,definition:c(),definitionDestinationString:M,definitionLabelString:x,definitionTitleString:I,emphasis:c(),hardBreakEscape:c(k),hardBreakTrailing:c(k),htmlFlow:c(D),htmlFlowData:W,htmlText:c(R),htmlTextData:W,image:c(le),label:h,labelText:te,lineEnding:S,link:c(U),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:$,resourceDestinationString:de,resourceTitleString:ee,resource:m,setextHeading:c(X),setextHeadingLineSequence:V,setextHeadingText:L,strong:c(),thematicBreak:c()}};Qs(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(C){let P={type:"root",children:[],position:void 0},K={stack:[P],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:f,data:n},G=[],Ce=[],ue=-1;for(;++ue<C.length;)if(Ce.push(C[ue]),C[ue][1].type==="listOrdered"||C[ue][1].type==="listUnordered")if(C[ue][0]==="enter")G.push(Ce.length-1);else{let Ae=G.pop();o(Ce,Ae)}for(C=Ce,ue=-1;++ue<C.length;){let Ae=t[C[ue][0]];C[ue][0]==="enter"&&t.beforeEnter.length>0&&i(t.beforeEnter,{...K,sliceSerialize:C[ue][2].sliceSerialize},C[ue][1]),Gs.call(Ae,C[ue][1].type)&&Ae[C[ue][1].type].call({...K,sliceSerialize:C[ue][2].sliceSerialize},C[ue][1]),C[ue][0]==="exit"&&t.afterExit.length>0&&i(t.afterExit,{...K,sliceSerialize:C[ue][2].sliceSerialize},C[ue][1])}if(K.tokenStack.length>0){let Ae=K.tokenStack[K.tokenStack.length-1];(Ae[1]||Ys).call(K,void 0,Ae[0])}for(P.position={start:rt(C.length>0?C[0][1].start:{line:1,column:1,offset:0}),end:rt(C.length>0?C[C.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)P=t.transforms[ue](P)||P;return P}function i(C,P,K){let G=-1;for(;++G<C.length;)C[G].call(P,K)}function o(C,P){let K=C.length-1,G=P-1,Ce=-1,ue=!1,Ae,De,Ht,Vt,Kt=[];for(;++G<=K;){let Te=C[G];switch(Te[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Te[0]==="enter"?Ce++:Ce--,Vt=void 0;break}case"lineEndingBlank":{Te[0]==="enter"&&(Ae&&!Vt&&!Ce&&!Ht&&(Ht=G),Vt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vt=void 0}if(!Ce&&Te[0]==="enter"&&Te[1].type==="listItemPrefix"||Ce===-1&&Te[0]==="exit"&&(Te[1].type==="listUnordered"||Te[1].type==="listOrdered")){if(Ae){let Et=G;for(De=void 0;Et--;){let Ke=C[Et];if(Ke[1].type==="lineEnding"||Ke[1].type==="lineEndingBlank"){if(Ke[0]==="exit")continue;De&&(C[De][1].type="lineEndingBlank",ue=!0),Ke[1].type="lineEnding",De=Et}else if(!(Ke[1].type==="linePrefix"||Ke[1].type==="blockQuotePrefix"||Ke[1].type==="blockQuotePrefixWhitespace"||Ke[1].type==="blockQuoteMarker"||Ke[1].type==="listItemIndent"))break}Ht&&(!De||Ht<De)&&(Ae._spread=!0),Ae.end=Object.assign({},De?C[De][1].start:Te[1].end),Kt.push({at:De||G,event:["exit",Ae,Te[2]]})}if(Te[1].type==="listItemPrefix"){let Et={type:"listItem",_spread:!1,start:Object.assign({},Te[1].start),end:void 0};Ae=Et,Kt.push({at:G,event:["enter",Et,Te[2]]}),Ht=void 0,Vt=!0}}}let uo=C.splice(P),dr=0;for(G=-1;++G<uo.length;){for(;dr<Kt.length&&Kt[dr].at===P+G;)C.push(Kt[dr++].event);C.push(uo[G])}C[P][1]._spread=ue}function s(C,P){return K;function K(G){l.call(this,C(G),G),P&&P.call(this,G)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(C,P,K){this.stack[this.stack.length-1].children.push(C),this.stack.push(C),this.tokenStack.push([P,K||void 0]),C.position={start:rt(P.start),end:void 0}}function c(C){return P;function P(K){C&&C.call(this,K),u.call(this,K)}}function u(C,P){let K=this.stack.pop(),G=this.tokenStack.pop();if(!G)throw new Error("Cannot close `"+C.type+"` ("+nt({start:C.start,end:C.end})+"): it\u2019s not open");G[0].type!==C.type&&(P?P.call(this,C,G[0]):(G[1]||Ys).call(this,C,G[0])),K.position.end=rt(C.end)}function f(){return ht(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function d(C){if(this.data.expectingFirstListItemValue){let P=this.stack[this.stack.length-2];P.start=Number.parseInt(this.sliceSerialize(C),10),this.data.expectingFirstListItemValue=void 0}}function g(){let C=this.resume(),P=this.stack[this.stack.length-1];P.lang=C}function y(){let C=this.resume(),P=this.stack[this.stack.length-1];P.meta=C}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){let C=this.resume(),P=this.stack[this.stack.length-1];P.value=C.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){let C=this.resume(),P=this.stack[this.stack.length-1];P.value=C.replace(/(\r?\n|\r)$/g,"")}function x(C){let P=this.resume(),K=this.stack[this.stack.length-1];K.label=P,K.identifier=xe(this.sliceSerialize(C)).toLowerCase()}function I(){let C=this.resume(),P=this.stack[this.stack.length-1];P.title=C}function M(){let C=this.resume(),P=this.stack[this.stack.length-1];P.url=C}function v(C){let P=this.stack[this.stack.length-1];if(!P.depth){let K=this.sliceSerialize(C).length;P.depth=K}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function V(C){let P=this.stack[this.stack.length-1];P.depth=this.sliceSerialize(C).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function E(C){let K=this.stack[this.stack.length-1].children,G=K[K.length-1];(!G||G.type!=="text")&&(G=Ba(),G.position={start:rt(C.start),end:void 0},K.push(G)),this.stack.push(G)}function W(C){let P=this.stack.pop();P.value+=this.sliceSerialize(C),P.position.end=rt(C.end)}function S(C){let P=this.stack[this.stack.length-1];if(this.data.atHardBreak){let K=P.children[P.children.length-1];K.position.end=rt(C.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(P.type)&&(E.call(this,C),W.call(this,C))}function k(){this.data.atHardBreak=!0}function D(){let C=this.resume(),P=this.stack[this.stack.length-1];P.value=C}function R(){let C=this.resume(),P=this.stack[this.stack.length-1];P.value=C}function Y(){let C=this.resume(),P=this.stack[this.stack.length-1];P.value=C}function U(){let C=this.stack[this.stack.length-1];if(this.data.inReference){let P=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=P,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function le(){let C=this.stack[this.stack.length-1];if(this.data.inReference){let P=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=P,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function te(C){let P=this.sliceSerialize(C),K=this.stack[this.stack.length-2];K.label=ws(P),K.identifier=xe(P).toLowerCase()}function h(){let C=this.stack[this.stack.length-1],P=this.resume(),K=this.stack[this.stack.length-1];if(this.data.inReference=!0,K.type==="link"){let G=C.children;K.children=G}else K.alt=P}function de(){let C=this.resume(),P=this.stack[this.stack.length-1];P.url=C}function ee(){let C=this.resume(),P=this.stack[this.stack.length-1];P.title=C}function m(){this.data.inReference=void 0}function O(){this.data.referenceType="collapsed"}function $(C){let P=this.resume(),K=this.stack[this.stack.length-1];K.label=P,K.identifier=xe(this.sliceSerialize(C)).toLowerCase(),this.data.referenceType="full"}function T(C){this.data.characterReferenceType=C.type}function _(C){let P=this.sliceSerialize(C),K=this.data.characterReferenceType,G;K?(G=Ln(P,K==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):G=Nt(P);let Ce=this.stack[this.stack.length-1];Ce.value+=G}function N(C){let P=this.stack.pop();P.position.end=rt(C.end)}function q(C){W.call(this,C);let P=this.stack[this.stack.length-1];P.url=this.sliceSerialize(C)}function oe(C){W.call(this,C);let P=this.stack[this.stack.length-1];P.url="mailto:"+this.sliceSerialize(C)}function B(){return{type:"blockquote",children:[],position:void 0}}function ce(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function H(){return{type:"inlineCode",value:"",position:void 0}}function ae(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function fr(){return{type:"emphasis",children:[],position:void 0}}function oo(){return{type:"heading",depth:0,children:[],position:void 0}}function so(){return{type:"break",position:void 0}}function ao(){return{type:"html",value:"",position:void 0}}function Da(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function lo(){return{type:"link",title:null,url:"",children:[],position:void 0}}function co(C){return{type:"list",ordered:C.type==="listOrdered",start:null,spread:C._spread,children:[],position:void 0}}function _a(C){return{type:"listItem",spread:C._spread,checked:null,children:[],position:void 0}}function $a(){return{type:"paragraph",children:[],position:void 0}}function za(){return{type:"strong",children:[],position:void 0}}function Ba(){return{type:"text",value:"",position:void 0}}function ja(){return{type:"thematicBreak",position:void 0}}}function rt(e){return{line:e.line,column:e.column,offset:e.offset}}function Qs(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?Qs(e,r):ff(e,r)}}function ff(e,t){let n;for(n in t)if(Gs.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"afterExit":case"beforeEnter":{let r=t[n];r&&e[n].push(r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r);break}}}function Ys(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+nt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+nt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+nt({start:t.start,end:t.end})+") is still open")}function qn(e){let t=this;t.parser=n;function n(r){return Ai(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Li(e){if(e)throw e}var Vn=po(sa(),1);function an(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ti(){let e=[],t={run:n,use:r};return t;function n(...i){let o=-1,s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...i);function a(l,...c){let u=e[++o],f=-1;if(l){s(l);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,u?aa(u,a)(...c):s(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function aa(e,t){let n;return r;function r(...s){let a=e.length>s.length,l;a&&s.push(i);try{l=e.apply(this,s)}catch(c){let u=c;if(a&&n)throw u;return i(u)}a||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(s,...a){n||(n=!0,t(s,...a))}function o(s){i(null,s)}}var be=class extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},s=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(s=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){let l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=nt(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};be.prototype.file="";be.prototype.name="";be.prototype.reason="";be.prototype.message="";be.prototype.stack="";be.prototype.column=void 0;be.prototype.line=void 0;be.prototype.ancestors=void 0;be.prototype.cause=void 0;be.prototype.fatal=void 0;be.prototype.place=void 0;be.prototype.ruleId=void 0;be.prototype.source=void 0;var Fe={basename:df,dirname:pf,extname:mf,join:hf,sep:"/"};function df(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ln(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else s<0&&(o=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function pf(e){if(ln(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function mf(e){ln(e);let t=e.length,n=-1,r=0,i=-1,o=0,s;for(;t--;){let a=e.codePointAt(t);if(a===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function hf(...e){let t=-1,n;for(;++t<e.length;)ln(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":gf(n)}function gf(e){ln(e);let t=e.codePointAt(0)===47,n=yf(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function yf(e,t){let n="",r=0,i=-1,o=0,s=-1,a,l;for(;++s<=e.length;){if(s<e.length)a=e.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||o===1))if(i!==s-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=s,o=0;continue}}else if(n.length>0){n="",r=0,i=s,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,o=0}else a===46&&o>-1?o++:o=-1}return n}function ln(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var la={cwd:bf};function bf(){return"/"}function Ot(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function ca(e){if(typeof e=="string")e=new URL(e);else if(!Ot(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return wf(e)}function wf(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let r=t.codePointAt(n+2);if(r===70||r===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var Ii=["history","path","basename","stem","extname","dirname"],cn=class{constructor(t){let n;t?Ot(t)?n={path:t}:typeof t=="string"||kf(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":la.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Ii.length;){let o=Ii[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Ii.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Fe.basename(this.path):void 0}set basename(t){Ni(t,"basename"),Pi(t,"basename"),this.path=Fe.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Fe.dirname(this.path):void 0}set dirname(t){ua(this.basename,"dirname"),this.path=Fe.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Fe.extname(this.path):void 0}set extname(t){if(Pi(t,"extname"),ua(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Fe.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Ot(t)&&(t=ca(t)),Ni(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Fe.basename(this.path,this.extname):void 0}set stem(t){Ni(t,"stem"),Pi(t,"stem"),this.path=Fe.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){let i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){let i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){let i=new be(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}};function Pi(e,t){if(e&&e.includes(Fe.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Fe.sep+"`")}function Ni(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ua(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function kf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var fa=(function(e){let r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o});var xf={}.hasOwnProperty,Ri=class e extends fa{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Ti()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let r=this.attachers[n];t.use(...r)}return t.data((0,Vn.default)(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Fi("data",this.frozen),this.namespace[t]=n,this):xf.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Fi("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);let i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let n=Hn(t),r=this.parser||this.Parser;return Mi("parse",r),r(String(n),n)}process(t,n){let r=this;return this.freeze(),Mi("process",this.parser||this.Parser),Oi("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,s){let a=Hn(t),l=r.parse(a);r.run(l,a,function(u,f,p){if(u||!f||!p)return c(u);let d=f,g=r.stringify(d,p);vf(g)?p.value=g:p.result=g,c(u,p)});function c(u,f){u||!f?s(u):o?o(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Mi("processSync",this.parser||this.Parser),Oi("processSync",this.compiler||this.Compiler),this.process(t,i),pa("processSync","process",n),r;function i(o,s){n=!0,Li(o),r=s}}run(t,n,r){da(t),this.freeze();let i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(s,a){let l=Hn(n);i.run(t,l,c);function c(u,f,p){let d=f||t;u?a(u):s?s(d):r(void 0,d,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),pa("runSync","run",r),i;function o(s,a){Li(s),i=a,r=!0}}stringify(t,n){this.freeze();let r=Hn(n),i=this.compiler||this.Compiler;return Oi("stringify",i),da(t),i(t,r)}use(t,...n){let r=this.attachers,i=this.namespace;if(Fi("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[u,...f]=c;l(u,f)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=(0,Vn.default)(!0,i.settings,c.settings))}function a(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){let f=c[u];o(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===c){p=f;break}if(p===-1)r.push([c,...u]);else if(u.length>0){let[d,...g]=u,y=r[p][1];an(y)&&an(d)&&(d=(0,Vn.default)(!0,y,d)),r[p]=[c,d,...g]}}}},Di=new Ri().freeze();function Mi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Oi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Fi(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function da(e){if(!an(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function pa(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Hn(e){return Sf(e)?e:new cn(e)}function Sf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function vf(e){return typeof e=="string"||Ef(e)}function Ef(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var Kn=Symbol.for("yaml.alias"),ma=Symbol.for("yaml.document"),qe=Symbol.for("yaml.map"),zi=Symbol.for("yaml.pair"),Ft=Symbol.for("yaml.scalar"),it=Symbol.for("yaml.seq"),Pe=Symbol.for("yaml.node.type"),Re=e=>!!e&&typeof e=="object"&&e[Pe]===Kn,Ue=e=>!!e&&typeof e=="object"&&e[Pe]===ma,Ye=e=>!!e&&typeof e=="object"&&e[Pe]===qe,re=e=>!!e&&typeof e=="object"&&e[Pe]===zi,ne=e=>!!e&&typeof e=="object"&&e[Pe]===Ft,He=e=>!!e&&typeof e=="object"&&e[Pe]===it;function me(e){if(e&&typeof e=="object")switch(e[Pe]){case qe:case it:return!0}return!1}function ie(e){if(e&&typeof e=="object")switch(e[Pe]){case Kn:case qe:case Ft:case it:return!0}return!1}var Wn=e=>(ne(e)||me(e))&&!!e.anchor;var Le=Symbol("break visit"),ha=Symbol("skip children"),Ve=Symbol("remove node");function Ge(e,t){let n=ga(t);Ue(e)?Rt(null,e.contents,n,Object.freeze([e]))===Ve&&(e.contents=null):Rt(null,e,n,Object.freeze([]))}Ge.BREAK=Le;Ge.SKIP=ha;Ge.REMOVE=Ve;function Rt(e,t,n,r){let i=ya(e,t,n,r);if(ie(i)||re(i))return ba(e,r,i),Rt(e,i,n,r);if(typeof i!="symbol"){if(me(t)){r=Object.freeze(r.concat(t));for(let o=0;o<t.items.length;++o){let s=Rt(o,t.items[o],n,r);if(typeof s=="number")o=s-1;else{if(s===Le)return Le;s===Ve&&(t.items.splice(o,1),o-=1)}}}else if(re(t)){r=Object.freeze(r.concat(t));let o=Rt("key",t.key,n,r);if(o===Le)return Le;o===Ve&&(t.key=null);let s=Rt("value",t.value,n,r);if(s===Le)return Le;s===Ve&&(t.value=null)}}return i}async function Jn(e,t){let n=ga(t);Ue(e)?await Dt(null,e.contents,n,Object.freeze([e]))===Ve&&(e.contents=null):await Dt(null,e,n,Object.freeze([]))}Jn.BREAK=Le;Jn.SKIP=ha;Jn.REMOVE=Ve;async function Dt(e,t,n,r){let i=await ya(e,t,n,r);if(ie(i)||re(i))return ba(e,r,i),Dt(e,i,n,r);if(typeof i!="symbol"){if(me(t)){r=Object.freeze(r.concat(t));for(let o=0;o<t.items.length;++o){let s=await Dt(o,t.items[o],n,r);if(typeof s=="number")o=s-1;else{if(s===Le)return Le;s===Ve&&(t.items.splice(o,1),o-=1)}}}else if(re(t)){r=Object.freeze(r.concat(t));let o=await Dt("key",t.key,n,r);if(o===Le)return Le;o===Ve&&(t.key=null);let s=await Dt("value",t.value,n,r);if(s===Le)return Le;s===Ve&&(t.value=null)}}return i}function ga(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function ya(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Ye(t))return n.Map?.(e,t,r);if(He(t))return n.Seq?.(e,t,r);if(re(t))return n.Pair?.(e,t,r);if(ne(t))return n.Scalar?.(e,t,r);if(Re(t))return n.Alias?.(e,t,r)}function ba(e,t,n){let r=t[t.length-1];if(me(r))r.items[e]=n;else if(re(r))e==="key"?r.key=n:r.value=n;else if(Ue(r))r.contents=n;else{let i=Re(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}var Cf={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Af=e=>e.replace(/[!,[\]{}]/g,t=>Cf[t]),_t=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:e.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},e.defaultTags),this.atNextDocument=!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;let[o,s]=r;return this.tags[o]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;let[o]=r;if(o==="1.1"||o==="1.2")return this.yaml.version=o,!0;{let s=/^\d+\.\d+$/.test(o);return n(6,`Unsupported YAML version ${o}`,s),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){let s=t.slice(2,-1);return s==="!"||s==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),s)}let[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);let o=this.tags[r];if(o)try{return o+decodeURIComponent(i)}catch(s){return n(String(s)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(let[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+Af(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){let n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags),i;if(t&&r.length>0&&ie(t.contents)){let o={};Ge(t.contents,(s,a)=>{ie(a)&&a.tag&&(o[a.tag]=!0)}),i=Object.keys(o)}else i=[];for(let[o,s]of r)o==="!!"&&s==="tag:yaml.org,2002:"||(!t||i.some(a=>a.startsWith(s)))&&n.push(`%TAG ${o} ${s}`);return n.join(`
42
+ `)}};_t.defaultYaml={explicit:!1,version:"1.2"};_t.defaultTags={"!!":"tag:yaml.org,2002:"};function Yn(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function kt(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,o=r.length;i<o;++i){let s=r[i],a=kt(e,r,String(i),s);a===void 0?delete r[i]:a!==s&&(r[i]=a)}else if(r instanceof Map)for(let i of Array.from(r.keys())){let o=r.get(i),s=kt(e,r,i,o);s===void 0?r.delete(i):s!==o&&r.set(i,s)}else if(r instanceof Set)for(let i of Array.from(r)){let o=kt(e,r,i,i);o===void 0?r.delete(i):o!==i&&(r.delete(i),r.add(o))}else for(let[i,o]of Object.entries(r)){let s=kt(e,r,i,o);s===void 0?delete r[i]:s!==o&&(r[i]=s)}return e.call(t,n,r)}function we(e,t,n){if(Array.isArray(e))return e.map((r,i)=>we(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!Wn(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=o=>{r.res=o,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!n?.keep?Number(e):e}var ot=class{constructor(t){Object.defineProperty(this,Pe,{value:t})}clone(){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:o}={}){if(!Ue(t))throw new TypeError("A document argument is required");let s={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},a=we(this,"",s);if(typeof i=="function")for(let{count:l,res:c}of s.anchors.values())i(c,l);return typeof o=="function"?kt(o,{"":a},"",a):a}};var xt=class extends ot{constructor(t){super(Kn),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){if(n?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],Ge(t,{Node:(o,s)=>{(Re(s)||Wn(s))&&r.push(s)}}),n&&(n.aliasResolveCache=r));let i;for(let o of r){if(o===this)break;o.anchor===this.source&&(i=o)}if(i&&n){let{anchors:o,doc:s,maxAliasCount:a}=n,l=o.get(i);if(l||(we(i,null,n),l=o.get(i)),l?.res===void 0){let c="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(c)}if(a>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=Gn(s,i,o)),l.count*l.aliasCount>a)){let c="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(c)}}return i}toJSON(t,n){if(!n)return{source:this.source};let r=this.resolve(n.doc,n);if(!r){let i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(i)}return n.anchors.get(r).res}toString(t,n,r){let i=`*${this.source}`;if(t){if(Yn(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){let o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(o)}if(t.implicitKey)return`${i} `}return i}};function Gn(e,t,n){if(Re(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(me(t)){let r=0;for(let i of t.items){let o=Gn(e,i,n);o>r&&(r=o)}return r}else if(re(t)){let r=Gn(e,t.key,n),i=Gn(e,t.value,n);return Math.max(r,i)}return 1}var Qn=e=>!e||typeof e!="function"&&typeof e!="object",J=class extends ot{constructor(t){super(Ft),this.value=t}toJSON(t,n){return n?.keep?this.value:we(this.value,t,n)}toString(){return String(this.value)}};J.BLOCK_FOLDED="BLOCK_FOLDED";J.BLOCK_LITERAL="BLOCK_LITERAL";J.PLAIN="PLAIN";J.QUOTE_DOUBLE="QUOTE_DOUBLE";J.QUOTE_SINGLE="QUOTE_SINGLE";var Lf="tag:yaml.org,2002:";function Tf(e,t,n){if(t){let r=n.filter(o=>o.tag===t),i=r.find(o=>!o.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>r.identify?.(e)&&!r.format)}function st(e,t,n){if(Ue(e)&&(e=e.contents),ie(e))return e;if(re(e)){let f=n.schema[qe].createNode?.(n.schema,null,n);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:i,onTagObj:o,schema:s,sourceObjects:a}=n,l;if(r&&e&&typeof e=="object"){if(l=a.get(e),l)return l.anchor??(l.anchor=i(e)),new xt(l.anchor);l={anchor:null,node:null},a.set(e,l)}t?.startsWith("!!")&&(t=Lf+t.slice(2));let c=Tf(e,t,s.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){let f=new J(e);return l&&(l.node=f),f}c=e instanceof Map?s[qe]:Symbol.iterator in Object(e)?s[it]:s[qe]}o&&(o(c),delete n.onTagObj);let u=c?.createNode?c.createNode(n.schema,e,n):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(n.schema,e,n):new J(e);return t?u.tag=t:c.default||(u.tag=c.tag),l&&(l.node=u),u}function Bi(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){let o=t[i];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){let s=[];s[o]=r,r=s}else r=new Map([[o,r]])}return st(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var wa=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,$t=class extends ot{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){let n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>ie(r)||re(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(wa(t))this.add(n);else{let[r,...i]=t,o=this.get(r,!0);if(me(o))o.addIn(i,n);else if(o===void 0&&this.schema)this.set(r,Bi(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){let[n,...r]=t;if(r.length===0)return this.delete(n);let i=this.get(n,!0);if(me(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){let[r,...i]=t,o=this.get(r,!0);return i.length===0?!n&&ne(o)?o.value:o:me(o)?o.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!re(n))return!1;let r=n.value;return r==null||t&&ne(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){let[n,...r]=t;if(r.length===0)return this.has(n);let i=this.get(n,!0);return me(i)?i.hasIn(r):!1}setIn(t,n){let[r,...i]=t;if(i.length===0)this.set(r,n);else{let o=this.get(r,!0);if(me(o))o.setIn(i,n);else if(o===void 0&&this.schema)this.set(r,Bi(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}};var ka=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function at(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var Qe=(e,t,n)=>e.endsWith(`
43
+ `)?at(n,t):n.includes(`
44
44
  `)?`
45
- `+ot(n,t):(e.endsWith(" ")?"":" ")+n;var $i="flow",Gn="block",ln="quoted";function cn(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:o=20,onFold:s,onOverflow:a}={}){if(!i||i<0)return e;i<o&&(o=0);let l=Math.max(1+o,1+i-t.length);if(e.length<=l)return e;let c=[],u={},f=i-t.length;typeof r=="number"&&(r>i-Math.max(2,o)?c.push(0):f=i-r);let p,d,g=!1,b=-1,w=-1,y=-1;n===Gn&&(b=ga(e,b,t.length),b!==-1&&(f=b+l));for(let k;k=e[b+=1];){if(n===ln&&k==="\\"){switch(w=b,e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}y=b}if(k===`
46
- `)n===Gn&&(b=ga(e,b,t.length)),f=b+t.length+l,p=void 0;else{if(k===" "&&d&&d!==" "&&d!==`
47
- `&&d!==" "){let P=e[b+1];P&&P!==" "&&P!==`
48
- `&&P!==" "&&(p=b)}if(b>=f)if(p)c.push(p),f=p+l,p=void 0;else if(n===ln){for(;d===" "||d===" ";)d=k,k=e[b+=1],g=!0;let P=b>y+1?b-2:w-1;if(u[P])return e;c.push(P),u[P]=!0,f=P+l,p=void 0}else g=!0}d=k}if(g&&a&&a(),c.length===0)return e;s&&s();let C=e.slice(0,c[0]);for(let k=0;k<c.length;++k){let P=c[k],O=c[k+1]||e.length;P===0?C=`
49
- ${t}${e.slice(0,O)}`:(n===ln&&u[P]&&(C+=`${e[P]}\\`),C+=`
50
- ${t}${e.slice(P+1,O)}`)}return C}function ga(e,t,n){let r=t,i=t+1,o=e[i];for(;o===" "||o===" ";)if(t<i+n)o=e[++t];else{do o=e[++t];while(o&&o!==`
51
- `);r=t,i=t+1,o=e[i]}return r}var Xn=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Zn=e=>/^(%|---|\.\.\.)/m.test(e);function Ef(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let o=0,s=0;o<i;++o)if(e[o]===`
52
- `){if(o-s>r)return!0;if(s=o+1,i-s<=r)return!1}return!0}function un(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(Zn(e)?" ":""),s="",a=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(s+=n.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{s+=n.slice(a,l);let u=n.substr(l+2,4);switch(u){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:u.substr(0,2)==="00"?s+="\\x"+u.substr(2):s+=n.substr(l,6)}l+=5,a=l+1}break;case"n":if(r||n[l+2]==='"'||n.length<i)l+=1;else{for(s+=n.slice(a,l)+`
45
+ `+at(n,t):(e.endsWith(" ")?"":" ")+n;var ji="flow",Zn="block",un="quoted";function fn(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:o=20,onFold:s,onOverflow:a}={}){if(!i||i<0)return e;i<o&&(o=0);let l=Math.max(1+o,1+i-t.length);if(e.length<=l)return e;let c=[],u={},f=i-t.length;typeof r=="number"&&(r>i-Math.max(2,o)?c.push(0):f=i-r);let p,d,g=!1,y=-1,w=-1,b=-1;n===Zn&&(y=xa(e,y,t.length),y!==-1&&(f=y+l));for(let x;x=e[y+=1];){if(n===un&&x==="\\"){switch(w=y,e[y+1]){case"x":y+=3;break;case"u":y+=5;break;case"U":y+=9;break;default:y+=1}b=y}if(x===`
46
+ `)n===Zn&&(y=xa(e,y,t.length)),f=y+t.length+l,p=void 0;else{if(x===" "&&d&&d!==" "&&d!==`
47
+ `&&d!==" "){let I=e[y+1];I&&I!==" "&&I!==`
48
+ `&&I!==" "&&(p=y)}if(y>=f)if(p)c.push(p),f=p+l,p=void 0;else if(n===un){for(;d===" "||d===" ";)d=x,x=e[y+=1],g=!0;let I=y>b+1?y-2:w-1;if(u[I])return e;c.push(I),u[I]=!0,f=I+l,p=void 0}else g=!0}d=x}if(g&&a&&a(),c.length===0)return e;s&&s();let A=e.slice(0,c[0]);for(let x=0;x<c.length;++x){let I=c[x],M=c[x+1]||e.length;I===0?A=`
49
+ ${t}${e.slice(0,M)}`:(n===un&&u[I]&&(A+=`${e[I]}\\`),A+=`
50
+ ${t}${e.slice(I+1,M)}`)}return A}function xa(e,t,n){let r=t,i=t+1,o=e[i];for(;o===" "||o===" ";)if(t<i+n)o=e[++t];else{do o=e[++t];while(o&&o!==`
51
+ `);r=t,i=t+1,o=e[i]}return r}var er=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),tr=e=>/^(%|---|\.\.\.)/m.test(e);function If(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let o=0,s=0;o<i;++o)if(e[o]===`
52
+ `){if(o-s>r)return!0;if(s=o+1,i-s<=r)return!1}return!0}function dn(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(tr(e)?" ":""),s="",a=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(s+=n.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{s+=n.slice(a,l);let u=n.substr(l+2,4);switch(u){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:u.substr(0,2)==="00"?s+="\\x"+u.substr(2):s+=n.substr(l,6)}l+=5,a=l+1}break;case"n":if(r||n[l+2]==='"'||n.length<i)l+=1;else{for(s+=n.slice(a,l)+`
53
53
 
54
54
  `;n[l+2]==="\\"&&n[l+3]==="n"&&n[l+4]!=='"';)s+=`
55
- `,l+=2;s+=o,n[l+2]===" "&&(s+="\\"),l+=1,a=l+1}break;default:l+=1}return s=a?s+n.slice(a):n,r?s:cn(s,o,ln,Xn(t,!1))}function zi(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
56
- `)||/[ \t]\n|\n[ \t]/.test(e))return un(e,t);let n=t.indent||(Zn(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
57
- ${n}`)+"'";return t.implicitKey?r:cn(r,n,$i,Xn(t,!1))}function _t(e,t){let{singleQuote:n}=t.options,r;if(n===!1)r=un;else{let i=e.includes('"'),o=e.includes("'");i&&!o?r=zi:o&&!i?r=un:r=n?zi:un}return r(e,t)}var Bi;try{Bi=new RegExp(`(^|(?<!
55
+ `,l+=2;s+=o,n[l+2]===" "&&(s+="\\"),l+=1,a=l+1}break;default:l+=1}return s=a?s+n.slice(a):n,r?s:fn(s,o,un,er(t,!1))}function qi(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
56
+ `)||/[ \t]\n|\n[ \t]/.test(e))return dn(e,t);let n=t.indent||(tr(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
57
+ ${n}`)+"'";return t.implicitKey?r:fn(r,n,ji,er(t,!1))}function zt(e,t){let{singleQuote:n}=t.options,r;if(n===!1)r=dn;else{let i=e.includes('"'),o=e.includes("'");i&&!o?r=qi:o&&!i?r=dn:r=n?qi:dn}return r(e,t)}var Ui;try{Ui=new RegExp(`(^|(?<!
58
58
  ))
59
59
  +(?!
60
- |$)`,"g")}catch{Bi=/\n+(?!\n|$)/g}function Qn({comment:e,type:t,value:n},r,i,o){let{blockQuote:s,commentString:a,lineWidth:l}=r.options;if(!s||/\n[\t ]+$/.test(n))return _t(n,r);let c=r.indent||(r.forceBlockIndent||Zn(n)?" ":""),u=s==="literal"?!0:s==="folded"||t===W.BLOCK_FOLDED?!1:t===W.BLOCK_LITERAL?!0:!Ef(n,l,c.length);if(!n)return u?`|
60
+ |$)`,"g")}catch{Ui=/\n+(?!\n|$)/g}function Xn({comment:e,type:t,value:n},r,i,o){let{blockQuote:s,commentString:a,lineWidth:l}=r.options;if(!s||/\n[\t ]+$/.test(n))return zt(n,r);let c=r.indent||(r.forceBlockIndent||tr(n)?" ":""),u=s==="literal"?!0:s==="folded"||t===J.BLOCK_FOLDED?!1:t===J.BLOCK_LITERAL?!0:!If(n,l,c.length);if(!n)return u?`|
61
61
  `:`>
62
- `;let f,p;for(p=n.length;p>0;--p){let O=n[p-1];if(O!==`
63
- `&&O!==" "&&O!==" ")break}let d=n.substring(p),g=d.indexOf(`
62
+ `;let f,p;for(p=n.length;p>0;--p){let M=n[p-1];if(M!==`
63
+ `&&M!==" "&&M!==" ")break}let d=n.substring(p),g=d.indexOf(`
64
64
  `);g===-1?f="-":n===d||g!==d.length-1?(f="+",o&&o()):f="",d&&(n=n.slice(0,-d.length),d[d.length-1]===`
65
- `&&(d=d.slice(0,-1)),d=d.replace(Bi,`$&${c}`));let b=!1,w,y=-1;for(w=0;w<n.length;++w){let O=n[w];if(O===" ")b=!0;else if(O===`
66
- `)y=w;else break}let C=n.substring(0,y<w?y+1:w);C&&(n=n.substring(C.length),C=C.replace(/\n+/g,`$&${c}`));let P=(b?c?"2":"1":"")+f;if(e&&(P+=" "+a(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!u){let O=n.replace(/\n+/g,`
67
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`),S=!1,L=Xn(r,!0);s!=="folded"&&t!==W.BLOCK_FOLDED&&(L.onOverflow=()=>{S=!0});let E=cn(`${C}${O}${d}`,c,Gn,L);if(!S)return`>${P}
68
- ${c}${E}`}return n=n.replace(/\n+/g,`$&${c}`),`|${P}
69
- ${c}${C}${n}${d}`}function vf(e,t,n,r){let{type:i,value:o}=e,{actualString:s,implicitKey:a,indent:l,indentStep:c,inFlow:u}=t;if(a&&o.includes(`
70
- `)||u&&/[[\]{},]/.test(o))return _t(o,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return a||u||!o.includes(`
71
- `)?_t(o,t):Qn(e,t,n,r);if(!a&&!u&&i!==W.PLAIN&&o.includes(`
72
- `))return Qn(e,t,n,r);if(Zn(o)){if(l==="")return t.forceBlockIndent=!0,Qn(e,t,n,r);if(a&&l===c)return _t(o,t)}let f=o.replace(/\n+/g,`$&
73
- ${l}`);if(s){let p=b=>b.default&&b.tag!=="tag:yaml.org,2002:str"&&b.test?.test(f),{compat:d,tags:g}=t.doc.schema;if(g.some(p)||d?.some(p))return _t(o,t)}return a?f:cn(f,l,$i,Xn(t,!1))}function fn(e,t,n,r){let{implicitKey:i,inFlow:o}=t,s=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)}),{type:a}=e;a!==W.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=W.QUOTE_DOUBLE);let l=u=>{switch(u){case W.BLOCK_FOLDED:case W.BLOCK_LITERAL:return i||o?_t(s.value,t):Qn(s,t,n,r);case W.QUOTE_DOUBLE:return un(s.value,t);case W.QUOTE_SINGLE:return zi(s.value,t);case W.PLAIN:return vf(s,t,n,r);default:return null}},c=l(a);if(c===null){let{defaultKeyType:u,defaultStringType:f}=t.options,p=i&&u||f;if(c=l(p),c===null)throw new Error(`Unsupported default string type ${p}`)}return c}function ji(e,t){let n=Object.assign({blockQuote:!0,commentString:ha,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t),r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Cf(e,t){if(t.tag){let i=e.filter(o=>o.tag===t.tag);if(i.length>0)return i.find(o=>o.format===t.format)??i[0]}let n,r;if(te(t)){r=t.value;let i=e.filter(o=>o.identify?.(r));if(i.length>1){let o=i.filter(s=>s.test);o.length>0&&(i=o)}n=i.find(o=>o.format===t.format)??i.find(o=>!o.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){let i=r?.constructor?.name??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${i} value`)}return n}function Af(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let i=[],o=(te(e)||fe(e))&&e.anchor;o&&Jn(o)&&(n.add(o),i.push(`&${o}`));let s=e.tag??(t.default?null:t.tag);return s&&i.push(r.directives.tagString(s)),i.join(" ")}function kt(e,t,n,r){if(ne(e))return e.toString(t,n,r);if(Fe(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i,o=re(e)?e:t.doc.createNode(e,{onTagObj:l=>i=l});i??(i=Cf(t.doc.schema.tags,o));let s=Af(o,i,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);let a=typeof i.stringify=="function"?i.stringify(o,t,n,r):te(o)?fn(o,t,n,r):o.toString(t,n,r);return s?te(o)||a[0]==="{"||a[0]==="["?`${s} ${a}`:`${s}
74
- ${t.indent}${a}`:a}function ya({key:e,value:t},n,r,i){let{allNullValues:o,doc:s,indent:a,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:f}}=n,p=re(e)&&e.comment||null;if(f){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(fe(e)||!re(e)&&typeof e=="object"){let L="With simple keys, collection cannot be used as a key value";throw new Error(L)}}let d=!f&&(!e||p&&t==null&&!n.inFlow||fe(e)||(te(e)?e.type===W.BLOCK_FOLDED||e.type===W.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(f||!o),indent:a+l});let g=!1,b=!1,w=kt(e,n,()=>g=!0,()=>b=!0);if(!d&&!n.inFlow&&w.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(o||t==null)return g&&r&&r(),w===""?"?":d?`? ${w}`:w}else if(o&&!f||t==null&&d)return w=`? ${w}`,p&&!g?w+=Ye(w,n.indent,c(p)):b&&i&&i(),w;g&&(p=null),d?(p&&(w+=Ye(w,n.indent,c(p))),w=`? ${w}
75
- ${a}:`):(w=`${w}:`,p&&(w+=Ye(w,n.indent,c(p))));let y,C,k;re(t)?(y=!!t.spaceBefore,C=t.commentBefore,k=t.comment):(y=!1,C=null,k=null,t&&typeof t=="object"&&(t=s.createNode(t))),n.implicitKey=!1,!d&&!p&&te(t)&&(n.indentAtStart=w.length+1),b=!1,!u&&l.length>=2&&!n.inFlow&&!d&&qe(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let P=!1,O=kt(t,n,()=>P=!0,()=>b=!0),S=" ";if(p||y||C){if(S=y?`
76
- `:"",C){let L=c(C);S+=`
77
- ${ot(L,n.indent)}`}O===""&&!n.inFlow?S===`
78
- `&&k&&(S=`
65
+ `&&(d=d.slice(0,-1)),d=d.replace(Ui,`$&${c}`));let y=!1,w,b=-1;for(w=0;w<n.length;++w){let M=n[w];if(M===" ")y=!0;else if(M===`
66
+ `)b=w;else break}let A=n.substring(0,b<w?b+1:w);A&&(n=n.substring(A.length),A=A.replace(/\n+/g,`$&${c}`));let I=(y?c?"2":"1":"")+f;if(e&&(I+=" "+a(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!u){let M=n.replace(/\n+/g,`
67
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`),v=!1,L=er(r,!0);s!=="folded"&&t!==J.BLOCK_FOLDED&&(L.onOverflow=()=>{v=!0});let V=fn(`${A}${M}${d}`,c,Zn,L);if(!v)return`>${I}
68
+ ${c}${V}`}return n=n.replace(/\n+/g,`$&${c}`),`|${I}
69
+ ${c}${A}${n}${d}`}function Pf(e,t,n,r){let{type:i,value:o}=e,{actualString:s,implicitKey:a,indent:l,indentStep:c,inFlow:u}=t;if(a&&o.includes(`
70
+ `)||u&&/[[\]{},]/.test(o))return zt(o,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return a||u||!o.includes(`
71
+ `)?zt(o,t):Xn(e,t,n,r);if(!a&&!u&&i!==J.PLAIN&&o.includes(`
72
+ `))return Xn(e,t,n,r);if(tr(o)){if(l==="")return t.forceBlockIndent=!0,Xn(e,t,n,r);if(a&&l===c)return zt(o,t)}let f=o.replace(/\n+/g,`$&
73
+ ${l}`);if(s){let p=y=>y.default&&y.tag!=="tag:yaml.org,2002:str"&&y.test?.test(f),{compat:d,tags:g}=t.doc.schema;if(g.some(p)||d?.some(p))return zt(o,t)}return a?f:fn(f,l,ji,er(t,!1))}function pn(e,t,n,r){let{implicitKey:i,inFlow:o}=t,s=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)}),{type:a}=e;a!==J.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=J.QUOTE_DOUBLE);let l=u=>{switch(u){case J.BLOCK_FOLDED:case J.BLOCK_LITERAL:return i||o?zt(s.value,t):Xn(s,t,n,r);case J.QUOTE_DOUBLE:return dn(s.value,t);case J.QUOTE_SINGLE:return qi(s.value,t);case J.PLAIN:return Pf(s,t,n,r);default:return null}},c=l(a);if(c===null){let{defaultKeyType:u,defaultStringType:f}=t.options,p=i&&u||f;if(c=l(p),c===null)throw new Error(`Unsupported default string type ${p}`)}return c}function Hi(e,t){let n=Object.assign({blockQuote:!0,commentString:ka,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t),r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Nf(e,t){if(t.tag){let i=e.filter(o=>o.tag===t.tag);if(i.length>0)return i.find(o=>o.format===t.format)??i[0]}let n,r;if(ne(t)){r=t.value;let i=e.filter(o=>o.identify?.(r));if(i.length>1){let o=i.filter(s=>s.test);o.length>0&&(i=o)}n=i.find(o=>o.format===t.format)??i.find(o=>!o.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){let i=r?.constructor?.name??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${i} value`)}return n}function Mf(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let i=[],o=(ne(e)||me(e))&&e.anchor;o&&Yn(o)&&(n.add(o),i.push(`&${o}`));let s=e.tag??(t.default?null:t.tag);return s&&i.push(r.directives.tagString(s)),i.join(" ")}function St(e,t,n,r){if(re(e))return e.toString(t,n,r);if(Re(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i,o=ie(e)?e:t.doc.createNode(e,{onTagObj:l=>i=l});i??(i=Nf(t.doc.schema.tags,o));let s=Mf(o,i,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);let a=typeof i.stringify=="function"?i.stringify(o,t,n,r):ne(o)?pn(o,t,n,r):o.toString(t,n,r);return s?ne(o)||a[0]==="{"||a[0]==="["?`${s} ${a}`:`${s}
74
+ ${t.indent}${a}`:a}function Sa({key:e,value:t},n,r,i){let{allNullValues:o,doc:s,indent:a,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:f}}=n,p=ie(e)&&e.comment||null;if(f){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(me(e)||!ie(e)&&typeof e=="object"){let L="With simple keys, collection cannot be used as a key value";throw new Error(L)}}let d=!f&&(!e||p&&t==null&&!n.inFlow||me(e)||(ne(e)?e.type===J.BLOCK_FOLDED||e.type===J.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(f||!o),indent:a+l});let g=!1,y=!1,w=St(e,n,()=>g=!0,()=>y=!0);if(!d&&!n.inFlow&&w.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(o||t==null)return g&&r&&r(),w===""?"?":d?`? ${w}`:w}else if(o&&!f||t==null&&d)return w=`? ${w}`,p&&!g?w+=Qe(w,n.indent,c(p)):y&&i&&i(),w;g&&(p=null),d?(p&&(w+=Qe(w,n.indent,c(p))),w=`? ${w}
75
+ ${a}:`):(w=`${w}:`,p&&(w+=Qe(w,n.indent,c(p))));let b,A,x;ie(t)?(b=!!t.spaceBefore,A=t.commentBefore,x=t.comment):(b=!1,A=null,x=null,t&&typeof t=="object"&&(t=s.createNode(t))),n.implicitKey=!1,!d&&!p&&ne(t)&&(n.indentAtStart=w.length+1),y=!1,!u&&l.length>=2&&!n.inFlow&&!d&&He(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let I=!1,M=St(t,n,()=>I=!0,()=>y=!0),v=" ";if(p||b||A){if(v=b?`
76
+ `:"",A){let L=c(A);v+=`
77
+ ${at(L,n.indent)}`}M===""&&!n.inFlow?v===`
78
+ `&&x&&(v=`
79
79
 
80
- `):S+=`
81
- ${n.indent}`}else if(!d&&fe(t)){let L=O[0],E=O.indexOf(`
82
- `),A=E!==-1,x=n.inFlow??t.flow??t.items.length===0;if(A||!x){let D=!1;if(A&&(L==="&"||L==="!")){let B=O.indexOf(" ");L==="&"&&B!==-1&&B<E&&O[B+1]==="!"&&(B=O.indexOf(" ",B+1)),(B===-1||E<B)&&(D=!0)}D||(S=`
83
- ${n.indent}`)}}else(O===""||O[0]===`
84
- `)&&(S="");return w+=S+O,n.inFlow?P&&r&&r():k&&!P?w+=Ye(w,n.indent,c(k)):b&&i&&i(),w}function qi(e,t){(e==="debug"||e==="warn")&&console.warn(t)}var er="<<",dn={identify:e=>e===er||typeof e=="symbol"&&e.description===er,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new W(Symbol(er)),{addToJSMap:Hi}),stringify:()=>er},ba=(e,t)=>(dn.identify(t)||te(t)&&(!t.type||t.type===W.PLAIN)&&dn.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===dn.tag&&n.default);function Hi(e,t,n){let r=wa(e,n);if(qe(r))for(let i of r.items)Ui(e,t,i);else if(Array.isArray(r))for(let i of r)Ui(e,t,i);else Ui(e,t,r)}function Ui(e,t,n){let r=wa(e,n);if(!Je(r))throw new Error("Merge sources must be maps or map aliases");let i=r.toJSON(null,e,Map);for(let[o,s]of i)t instanceof Map?t.has(o)||t.set(o,s):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function wa(e,t){return e&&Fe(t)?t.resolve(e.doc,e):t}function tr(e,t,{key:n,value:r}){if(re(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(ba(e,n))Hi(e,t,r);else{let i=ye(n,"",e);if(t instanceof Map)t.set(i,ye(r,i,e));else if(t instanceof Set)t.add(i);else{let o=Lf(n,i,e),s=ye(r,o,e);o in t?Object.defineProperty(t,o,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[o]=s}}return t}function Lf(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(re(e)&&n?.doc){let r=ji(n.doc,{});r.anchors=new Set;for(let o of n.anchors.keys())r.anchors.add(o.anchor);r.inFlow=!0,r.inStringifyKey=!0;let i=e.toString(r);if(!n.mapKeyWarned){let o=JSON.stringify(i);o.length>40&&(o=o.substring(0,36)+'..."'),qi(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${o}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}function $t(e,t,n){let r=it(e,void 0,n),i=it(t,void 0,n);return new Se(r,i)}var Se=class e{constructor(t,n=null){Object.defineProperty(this,Ie,{value:Di}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return re(n)&&(n=n.clone(t)),re(r)&&(r=r.clone(t)),new e(n,r)}toJSON(t,n){let r=n?.mapAsMap?new Map:{};return tr(n,r,this)}toString(t,n,r){return t?.doc?ya(this,t,n,r):JSON.stringify(this)}};function rr(e,t,n){return(t.inFlow??e.flow?If:Tf)(e,t,n)}function Tf({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:o,onChompKeep:s,onComment:a}){let{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:o,type:null}),f=!1,p=[];for(let g=0;g<t.length;++g){let b=t[g],w=null;if(re(b))!f&&b.spaceBefore&&p.push(""),nr(n,p,b.commentBefore,f),b.comment&&(w=b.comment);else if(ne(b)){let C=re(b.key)?b.key:null;C&&(!f&&C.spaceBefore&&p.push(""),nr(n,p,C.commentBefore,f))}f=!1;let y=kt(b,u,()=>w=null,()=>f=!0);w&&(y+=Ye(y,o,c(w))),f&&w&&(f=!1),p.push(r+y)}let d;if(p.length===0)d=i.start+i.end;else{d=p[0];for(let g=1;g<p.length;++g){let b=p[g];d+=b?`
85
- ${l}${b}`:`
80
+ `):v+=`
81
+ ${n.indent}`}else if(!d&&me(t)){let L=M[0],V=M.indexOf(`
82
+ `),X=V!==-1,E=n.inFlow??t.flow??t.items.length===0;if(X||!E){let W=!1;if(X&&(L==="&"||L==="!")){let S=M.indexOf(" ");L==="&"&&S!==-1&&S<V&&M[S+1]==="!"&&(S=M.indexOf(" ",S+1)),(S===-1||V<S)&&(W=!0)}W||(v=`
83
+ ${n.indent}`)}}else(M===""||M[0]===`
84
+ `)&&(v="");return w+=v+M,n.inFlow?I&&r&&r():x&&!I?w+=Qe(w,n.indent,c(x)):y&&i&&i(),w}function Vi(e,t){(e==="debug"||e==="warn")&&console.warn(t)}var nr="<<",mn={identify:e=>e===nr||typeof e=="symbol"&&e.description===nr,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new J(Symbol(nr)),{addToJSMap:Wi}),stringify:()=>nr},va=(e,t)=>(mn.identify(t)||ne(t)&&(!t.type||t.type===J.PLAIN)&&mn.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===mn.tag&&n.default);function Wi(e,t,n){let r=Ea(e,n);if(He(r))for(let i of r.items)Ki(e,t,i);else if(Array.isArray(r))for(let i of r)Ki(e,t,i);else Ki(e,t,r)}function Ki(e,t,n){let r=Ea(e,n);if(!Ye(r))throw new Error("Merge sources must be maps or map aliases");let i=r.toJSON(null,e,Map);for(let[o,s]of i)t instanceof Map?t.has(o)||t.set(o,s):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function Ea(e,t){return e&&Re(t)?t.resolve(e.doc,e):t}function rr(e,t,{key:n,value:r}){if(ie(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(va(e,n))Wi(e,t,r);else{let i=we(n,"",e);if(t instanceof Map)t.set(i,we(r,i,e));else if(t instanceof Set)t.add(i);else{let o=Of(n,i,e),s=we(r,o,e);o in t?Object.defineProperty(t,o,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[o]=s}}return t}function Of(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(ie(e)&&n?.doc){let r=Hi(n.doc,{});r.anchors=new Set;for(let o of n.anchors.keys())r.anchors.add(o.anchor);r.inFlow=!0,r.inStringifyKey=!0;let i=e.toString(r);if(!n.mapKeyWarned){let o=JSON.stringify(i);o.length>40&&(o=o.substring(0,36)+'..."'),Vi(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${o}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}function Bt(e,t,n){let r=st(e,void 0,n),i=st(t,void 0,n);return new ve(r,i)}var ve=class e{constructor(t,n=null){Object.defineProperty(this,Pe,{value:zi}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return ie(n)&&(n=n.clone(t)),ie(r)&&(r=r.clone(t)),new e(n,r)}toJSON(t,n){let r=n?.mapAsMap?new Map:{};return rr(n,r,this)}toString(t,n,r){return t?.doc?Sa(this,t,n,r):JSON.stringify(this)}};function or(e,t,n){return(t.inFlow??e.flow?Rf:Ff)(e,t,n)}function Ff({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:o,onChompKeep:s,onComment:a}){let{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:o,type:null}),f=!1,p=[];for(let g=0;g<t.length;++g){let y=t[g],w=null;if(ie(y))!f&&y.spaceBefore&&p.push(""),ir(n,p,y.commentBefore,f),y.comment&&(w=y.comment);else if(re(y)){let A=ie(y.key)?y.key:null;A&&(!f&&A.spaceBefore&&p.push(""),ir(n,p,A.commentBefore,f))}f=!1;let b=St(y,u,()=>w=null,()=>f=!0);w&&(b+=Qe(b,o,c(w))),f&&w&&(f=!1),p.push(r+b)}let d;if(p.length===0)d=i.start+i.end;else{d=p[0];for(let g=1;g<p.length;++g){let y=p[g];d+=y?`
85
+ ${l}${y}`:`
86
86
  `}}return e?(d+=`
87
- `+ot(c(e),l),a&&a()):f&&s&&s(),d}function If({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:o,flowCollectionPadding:s,options:{commentString:a}}=t;r+=o;let l=Object.assign({},t,{indent:r,inFlow:!0,type:null}),c=!1,u=0,f=[];for(let g=0;g<e.length;++g){let b=e[g],w=null;if(re(b))b.spaceBefore&&f.push(""),nr(t,f,b.commentBefore,!1),b.comment&&(w=b.comment);else if(ne(b)){let C=re(b.key)?b.key:null;C&&(C.spaceBefore&&f.push(""),nr(t,f,C.commentBefore,!1),C.comment&&(c=!0));let k=re(b.value)?b.value:null;k?(k.comment&&(w=k.comment),k.commentBefore&&(c=!0)):b.value==null&&C?.comment&&(w=C.comment)}w&&(c=!0);let y=kt(b,l,()=>w=null);c||(c=f.length>u||y.includes(`
88
- `)),g<e.length-1?y+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||(c=f.reduce((C,k)=>C+k.length+2,2)+(y.length+2)>t.options.lineWidth)),c&&(y+=",")),w&&(y+=Ye(y,r,a(w))),f.push(y),u=f.length}let{start:p,end:d}=n;if(f.length===0)return p+d;if(!c){let g=f.reduce((b,w)=>b+w.length+2,2);c=t.options.lineWidth>0&&g>t.options.lineWidth}if(c){let g=p;for(let b of f)g+=b?`
89
- ${o}${i}${b}`:`
87
+ `+at(c(e),l),a&&a()):f&&s&&s(),d}function Rf({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:o,flowCollectionPadding:s,options:{commentString:a}}=t;r+=o;let l=Object.assign({},t,{indent:r,inFlow:!0,type:null}),c=!1,u=0,f=[];for(let g=0;g<e.length;++g){let y=e[g],w=null;if(ie(y))y.spaceBefore&&f.push(""),ir(t,f,y.commentBefore,!1),y.comment&&(w=y.comment);else if(re(y)){let A=ie(y.key)?y.key:null;A&&(A.spaceBefore&&f.push(""),ir(t,f,A.commentBefore,!1),A.comment&&(c=!0));let x=ie(y.value)?y.value:null;x?(x.comment&&(w=x.comment),x.commentBefore&&(c=!0)):y.value==null&&A?.comment&&(w=A.comment)}w&&(c=!0);let b=St(y,l,()=>w=null);c||(c=f.length>u||b.includes(`
88
+ `)),g<e.length-1?b+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||(c=f.reduce((A,x)=>A+x.length+2,2)+(b.length+2)>t.options.lineWidth)),c&&(b+=",")),w&&(b+=Qe(b,r,a(w))),f.push(b),u=f.length}let{start:p,end:d}=n;if(f.length===0)return p+d;if(!c){let g=f.reduce((y,w)=>y+w.length+2,2);c=t.options.lineWidth>0&&g>t.options.lineWidth}if(c){let g=p;for(let y of f)g+=y?`
89
+ ${o}${i}${y}`:`
90
90
  `;return`${g}
91
- ${i}${d}`}else return`${p}${s}${f.join(" ")}${s}${d}`}function nr({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){let o=ot(t(r),e);n.push(o.trimStart())}}function st(e,t){let n=te(t)?t.value:t;for(let r of e)if(ne(r)&&(r.key===t||r.key===n||te(r.key)&&r.key.value===n))return r}var we=class extends Dt{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Be,t),this.items=[]}static from(t,n,r){let{keepUndefined:i,replacer:o}=r,s=new this(t),a=(l,c)=>{if(typeof o=="function")c=o.call(n,l,c);else if(Array.isArray(o)&&!o.includes(l))return;(c!==void 0||i)&&s.items.push($t(l,c,r))};if(n instanceof Map)for(let[l,c]of n)a(l,c);else if(n&&typeof n=="object")for(let l of Object.keys(n))a(l,n[l]);return typeof t.sortMapEntries=="function"&&s.items.sort(t.sortMapEntries),s}add(t,n){let r;ne(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new Se(t,t?.value):r=new Se(t.key,t.value);let i=st(this.items,r.key),o=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);te(i.value)&&Yn(r.value)?i.value.value=r.value:i.value=r.value}else if(o){let s=this.items.findIndex(a=>o(r,a)<0);s===-1?this.items.push(r):this.items.splice(s,0,r)}else this.items.push(r)}delete(t){let n=st(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){let i=st(this.items,t)?.value;return(!n&&te(i)?i.value:i)??void 0}has(t){return!!st(this.items,t)}set(t,n){this.add(new Se(t,n),!0)}toJSON(t,n,r){let i=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(i);for(let o of this.items)tr(n,i,o);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(let i of this.items)if(!ne(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),rr(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}};var zt={collection:"map",default:!0,nodeClass:we,tag:"tag:yaml.org,2002:map",resolve(e,t){return Je(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>we.from(e,t,n)};var Pe=class extends Dt{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(nt,t),this.items=[]}add(t){this.items.push(t)}delete(t){let n=ir(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){let r=ir(t);if(typeof r!="number")return;let i=this.items[r];return!n&&te(i)?i.value:i}has(t){let n=ir(t);return typeof n=="number"&&n<this.items.length}set(t,n){let r=ir(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);let i=this.items[r];te(i)&&Yn(n)?i.value=n:this.items[r]=n}toJSON(t,n){let r=[];n?.onCreate&&n.onCreate(r);let i=0;for(let o of this.items)r.push(ye(o,String(i++),n));return r}toString(t,n,r){return t?rr(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){let{replacer:i}=r,o=new this(t);if(n&&Symbol.iterator in Object(n)){let s=0;for(let a of n){if(typeof i=="function"){let l=n instanceof Set?a:String(s++);a=i.call(n,l,a)}o.items.push(it(a,void 0,r))}}return o}};function ir(e){let t=te(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}var Bt={collection:"seq",default:!0,nodeClass:Pe,tag:"tag:yaml.org,2002:seq",resolve(e,t){return qe(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Pe.from(e,t,n)};function xa(e){return typeof e=="bigint"||Number.isInteger(e)}var sr=({value:e})=>JSON.stringify(e),_f=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:sr},{identify:e=>e==null,createNode:()=>new W(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:sr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:sr},{identify:xa,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>xa(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:sr}],$f={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},zf=[zt,Bt].concat(_f,$f);function Sa(e,t,n){let{replacer:r}=n,i=new Pe(e);i.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let s of t){typeof r=="function"&&(s=r.call(t,String(o++),s));let a,l;if(Array.isArray(s))if(s.length===2)a=s[0],l=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)a=c[0],l=s[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=s;i.items.push($t(a,l,n))}return i}var Ki=class e extends Pe{constructor(){super(),this.add=we.prototype.add.bind(this),this.delete=we.prototype.delete.bind(this),this.get=we.prototype.get.bind(this),this.has=we.prototype.has.bind(this),this.set=we.prototype.set.bind(this),this.tag=e.tag}toJSON(t,n){if(!n)return super.toJSON(t);let r=new Map;n?.onCreate&&n.onCreate(r);for(let i of this.items){let o,s;if(ne(i)?(o=ye(i.key,"",n),s=ye(i.value,o,n)):o=ye(i,"",n),r.has(o))throw new Error("Ordered maps must not include duplicate keys");r.set(o,s)}return r}static from(t,n,r){let i=Sa(t,n,r),o=new this;return o.items=i.items,o}};Ki.tag="tag:yaml.org,2002:omap";var Ji=class e extends we{constructor(t){super(t),this.tag=e.tag}add(t){let n;ne(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new Se(t.key,null):n=new Se(t,null),st(this.items,n.key)||this.items.push(n)}get(t,n){let r=st(this.items,t);return!n&&ne(r)?te(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=st(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new Se(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){let{replacer:i}=r,o=new this(t);if(n&&Symbol.iterator in Object(n))for(let s of n)typeof i=="function"&&(s=i.call(n,s,s)),o.items.push($t(s,null,r));return o}};Ji.tag="tag:yaml.org,2002:set";function Bf(e,t){let n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=s=>t?BigInt(s):Number(s),o=r.replace(/_/g,"").split(":").reduce((s,a)=>s*i(60)+i(a),i(0));return n==="-"?i(-1)*o:o}var Wi={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(Wi.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,i,o,s,a]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0,c=Date.UTC(n,r-1,i,o||0,s||0,a||0,l),u=t[8];if(u&&u!=="Z"){let f=Bf(u,!1);Math.abs(f)<30&&(f*=60),c-=6e4*f}return new Date(c)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};var Xi=Symbol("break visit"),Zf=Symbol("skip children"),va=Symbol("remove item");function xt(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),Ca(Object.freeze([]),e,t)}xt.BREAK=Xi;xt.SKIP=Zf;xt.REMOVE=va;xt.itemAtPath=(e,t)=>{let n=e;for(let[r,i]of t){let o=n?.[r];if(o&&"items"in o)n=o.items[i];else return}return n};xt.parentCollection=(e,t)=>{let n=xt.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function Ca(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(let i of["key","value"]){let o=t[i];if(o&&"items"in o){for(let s=0;s<o.items.length;++s){let a=Ca(Object.freeze(e.concat([[i,s]])),o.items[s],n);if(typeof a=="number")s=a-1;else{if(a===Xi)return Xi;a===va&&(o.items.splice(s,1),s-=1)}}typeof r=="function"&&i==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}var qv=new Set("0123456789ABCDEFabcdef"),Uv=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Hv=new Set(",[]{}"),Vv=new Set(` ,[]{}
92
- \r `);var PC=new Map(Object.entries(Vt).map(([e,t])=>[t,e]));var ad="https://json-schema.org/draft/2020-12/schema",MC=`${JSON.stringify({$schema:ad,type:"object",properties:{},additionalProperties:!1},null,2)}
93
- `;var cd=Mi().use(Bn).use(gn).use(zn);var Aa=e=>cd.parse(e);var Ta=(e,t)=>pr(e)?`<a href="${oe(e)}" target="_blank" rel="noopener noreferrer">${t}</a>`:t,lr=e=>{let t="children"in e?e.children.map(n=>lr(n)).join(""):"";switch(e.type){case"root":return t;case"text":case"html":return oe(e.value);case"paragraph":return`<p>${t}</p>`;case"heading":return`<strong class="plugin-markdown-heading">${t}</strong>`;case"strong":return`<strong>${t}</strong>`;case"emphasis":return`<em>${t}</em>`;case"delete":return`<del>${t}</del>`;case"inlineCode":return`<code>${oe(e.value)}</code>`;case"code":return`<pre><code>${oe(e.value)}</code></pre>`;case"link":return Ta(e.url,t);case"image":return oe(e.alt??"");case"list":return e.ordered?`<ol>${t}</ol>`:`<ul>${t}</ul>`;case"listItem":{let n=e.children.map(r=>r.type==="paragraph"?r.children.map(lr).join(""):lr(r)).join("");return e.checked===null||e.checked===void 0?`<li>${n}</li>`:`<li class="plugin-task"><span aria-label="${e.checked?"Completed":"Incomplete"}">${e.checked?"\u2611":"\u2610"}</span><div>${n}</div></li>`}case"blockquote":return`<blockquote>${t}</blockquote>`;case"break":return"<br>";case"thematicBreak":return"<hr>";default:return t}},La=e=>lr(Aa(e)),jt=e=>e?` data-block-edit="${oe(JSON.stringify(e))}"`:"",ud=e=>{if(typeof e=="string")return`<span>${oe(e)}</span>`;let t=oe(e.text);return e.code&&(t=`<code>${t}</code>`),e.strong&&(t=`<strong>${t}</strong>`),e.url&&(t=Ta(e.url,t)),e.tone&&(t=`<span class="plugin-badge" data-tone="${e.tone}">${t}</span>`),e.copy!==void 0&&(t=`<span class="plugin-copy-value">${t}<button type="button" class="plugin-copy" data-block-copy="${oe(e.copy)}" aria-label="Copy" title="Copy" data-i18n-aria-label="Copy" data-i18n-title="Copy"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><rect x="7" y="7" width="10" height="10" rx="2"/><path d="M13 4V3H3v10h1"/></svg></button></span>`),t},Zi=e=>e.map(ud).join(" "),eo=(e,t=!1)=>e.map(n=>`<span data-block-action="${oe(n)}"${t?' data-block-composer=""':""}></span>`).join(""),pn=e=>e.map(t=>{switch(t.type){case"heading":return`<h3 class="plugin-block-heading"${jt(t.edit)}>${oe(t.text)}</h3>`;case"text":return`<div class="plugin-block-text"${jt(t.edit)}>${t.markdown?La(t.text):oe(t.text)||"\u2014"}</div>`;case"context":return`<div class="plugin-block-context">${Zi(t.items)}</div>`;case"fields":return`<dl class="plugin-block-fields">${t.items.map(n=>`<div><dt>${oe(n.label)}</dt><dd${jt(n.edit)}>${Zi(n.items)||"\u2014"}</dd></div>`).join("")}</dl>`;case"columns":return`<div class="plugin-block-columns"><div>${pn(t.main)}</div><aside>${pn(t.aside)}</aside></div>`;case"section":return`<details class="plugin-block-section"${t.collapsed?"":" open"}><summary>${oe(t.title)}</summary>${t.note?`<p class="plugin-block-note">${oe(t.note)}</p>`:""}${pn(t.blocks)}</details>`;case"table":return`<div class="plugin-block-table" tabindex="0" role="region" aria-label="Table" data-i18n-aria-label="Table"><table><thead><tr>${t.headers.map(n=>`<th scope="col">${oe(n)}</th>`).join("")}${t.rows.some(n=>n.actions?.length)?'<th scope="col" aria-label="Actions" data-i18n-aria-label="Actions"></th>':""}</tr></thead><tbody>${t.rows.map(n=>`<tr>${n.cells.map(r=>`<td${jt(r.edit)}>${Zi(r.items)||"\u2014"}</td>`).join("")}${t.rows.some(r=>r.actions?.length)?`<td>${eo(n.actions??[])}</td>`:""}</tr>`).join("")}</tbody></table></div>`;case"code":return`<div${jt(t.edit)}><pre class="plugin-block-code${t.diff?" plugin-block-diff":""}"><code>${t.diff?t.text.split(`
94
- `).map(n=>`<span data-tone="${n.startsWith("+")?"success":n.startsWith("-")?"danger":"neutral"}">${oe(n)}</span>`).join(`
95
- `):oe(t.text)}</code></pre></div>`;case"message":return`<div class="plugin-block-message"><div class="plugin-message-byline"><span class="plugin-avatar" aria-hidden="true">${oe(t.author.slice(0,2).toUpperCase())}</span><strong>${oe(t.author)}</strong>${t.time?`<span>${oe(t.time)}</span>`:""}<span class="plugin-message-actions">${eo(t.actions??[])}</span></div><div class="plugin-message-body"${jt(t.edit)}>${La(t.text)||"\u2014"}</div>${t.reactions?.length?`<div class="plugin-reactions">${t.reactions.map(n=>n.action?`<button type="button" data-block-action="${oe(n.action)}" data-block-values="${oe(JSON.stringify(n.values??{}))}" aria-pressed="${!!n.active}" title="${oe(n.label)}">${oe(n.label)} ${n.count}</button>`:`<span>${oe(n.label)} ${n.count}</span>`).join("")}</div>`:""}</div>`;case"actions":return`<div class="plugin-block-actions">${eo(t.ids,t.composer)}</div>`;case"progress":return`<div class="plugin-block-progress"><progress max="100" value="${t.value}" aria-label="${oe(t.label)}"></progress><span>${oe(t.label)} ${t.value}%</span></div>`;case"divider":return"<hr>";default:throw new Error("Invalid plugin block")}}).join("");var to=e=>{let t=vo(e);return`<div class="plugin-blocks">${pn(t.blocks)}</div>`};var Ia=(e=!1)=>{let t=null,n=0,r=async E=>{if(e){if(!t)throw new Error("Plugin transport is not connected");let D=n,B;try{B=await t(E)}catch(I){throw D===n&&E.plugin&&I&&typeof I=="object"&&"status"in I&&[401,403].includes(Number(I.status))&&y(E.plugin),I}if(D!==n)throw new Error("Plugin connection changed");if(!B||typeof B!="object"||Array.isArray(B))throw new Error("Invalid plugin response");return B}let A=await fetch("/api/plugins",{method:"POST",credentials:"same-origin",cache:"no-store",headers:{"content-type":"application/json"},body:JSON.stringify(E)}),x=await A.json();if(!A.ok)throw Object.assign(new Error(x.error??"Plugin request failed"),{status:A.status});return x},i=new Map,o=()=>{for(let E of document.querySelectorAll("img[data-plugin-icon-light]")){let A=getComputedStyle(E).colorScheme==="dark"?E.dataset.pluginIconDark:E.dataset.pluginIconLight;A&&E.src!==A&&(E.src=A)}};new MutationObserver(o).observe(document.documentElement,{subtree:!0,attributes:!0,attributeFilter:["data-theme","data-editor-theme"]}),matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o);let s=(E,A)=>{let x=E.querySelector("[data-plugin-result]"),D=E.querySelector("[data-plugin-collapsed]"),B=E.dataset.url;if(!x||!D||!B)throw new Error(Z("Plugin request failed"));let I=to(A),H=A.collapsed?to(A.collapsed):"";if(x.innerHTML=I,D.innerHTML=H,E.querySelector(".plugin-heading")?.remove(),A.header){let _=document.createElement("span");_.className="plugin-heading";let V=document.createElement("a");if(V.href=B,V.target="_blank",V.rel="noopener noreferrer",A.header.icon){let Y=document.createElement("img");Y.alt="",Y.width=Y.height=16,Y.dataset.pluginIconLight=A.header.icon.light,Y.dataset.pluginIconDark=A.header.icon.dark??A.header.icon.light,Y.src=A.header.icon.light,V.append(Y)}let ie=document.createElement("strong");if(ie.textContent=A.header.title,V.append(ie),_.append(V),A.header.context){let Y=document.createElement("span");Y.className="plugin-heading-context",Y.textContent=A.header.context,_.append(Y)}if(A.header.reference){let Y=document.createElement("button");Y.type="button",Y.dataset.blockCopy=A.header.reference,Y.textContent=A.header.reference,Y.title=Z("Copy"),_.append(Y)}E.querySelector(".plugin-toolbar")?.prepend(_),o()}},a="",l=0,c=new WeakMap,u=new Map,f=new Map,p=new Map,d,g=new Map,b=new WeakMap,w=typeof BroadcastChannel>"u"?void 0:new BroadcastChannel("dooc:plugins"),y=E=>{f.clear(),g.set(E,(g.get(E)??0)+1);for(let A of document.querySelectorAll("[data-plugin]")){if(A.dataset.plugin!==E)continue;i.get(A)?.(),i.delete(A),delete A.dataset.ready;for(let D of A.querySelectorAll(".plugin-content"))D.replaceChildren();let x=A.querySelector("[data-plugin-status]");x&&(x.textContent=Z("Load data using your connected account"))}};document.addEventListener("docs:plugin-connection",E=>{let A=E.detail;typeof A=="string"&&(y(A),w?.postMessage(A))}),w&&(w.onmessage=E=>{typeof E.data=="string"&&y(E.data)});let C=new WeakSet,k=new Set,P=new IntersectionObserver(E=>{for(let A of E)A.isIntersecting&&(C.add(A.target),k.delete(A.target),P.unobserve(A.target));O()},{rootMargin:"200px"}),O=()=>{if(a){for(let E of k)E.isConnected||(P.unobserve(E),k.delete(E));for(let[E,A]of i)E.isConnected||(A(),i.delete(E));for(let E of u.keys())E.isConnected||u.delete(E);for(let E of document.querySelectorAll("main [data-embed-url]")){let A=E.dataset.embedUrl??"";if(c.get(E)===A)continue;if(!C.has(E)){k.has(E)||(k.add(E),P.observe(E));continue}c.set(E,A);let x=a,D=f.get(A);D||(D=r({action:"resolve",url:A}).then(I=>({...I,autoConnect:!e&&I.autoConnect})),f.set(A,D)),(async()=>{try{let{plugin:I,autoConnect:H,connected:_}=await D;if(!I||!E.isConnected||a!==x||E.dataset.embedUrl!==A)return;u.set(E,[...E.childNodes]);let V=document.createElement("section");V.className="plugin",V.dataset.plugin=I,V.dataset.url=A,H&&(V.dataset.autoConnect="true");let ie=document.createElement("header");ie.className="plugin-header";let Y=document.createElement("div");Y.className="plugin-info";let se=document.createElement("h2"),h=document.createElement("a");h.href=A,h.target="_blank",h.rel="noopener noreferrer",h.textContent=E.textContent||A,se.append(h),se.id=`plugin-heading-${++l}`,V.setAttribute("aria-labelledby",se.id);let ee=document.createElement("div");ee.className="plugin-toolbar";for(let[T,$,M]of[["open","Open link",'<path d="M11 3h6v6m0-6-8 8"/><path d="M8 4H4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-4"/>'],["copy","Copy link",'<path d="m8 12 4-4m-5 2-2 2a3 3 0 0 0 4 4l2-2m-2-8 2-2a3 3 0 0 1 4 4l-2 2"/>'],["edit","Edit",'<path d="m12 3 5 5M3 17l4-1L17 6a2.1 2.1 0 0 0-3-3L4 13Z"/>'],["fold","Collapse preview",'<path d="m5 7.5 5 5 5-5"/>']]){let q=document.createElement(T==="open"?"a":"button");q.className="plugin-action",q.dataset.pluginAction=T,q.dataset.i18nTitle=$,q.dataset.i18nAriaLabel=$,q.title=Z($??""),q.setAttribute("aria-label",Z($??"")),q.innerHTML=`<svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${M}</svg>`,T==="copy"&&(q.innerHTML+=uo),q instanceof HTMLAnchorElement?(q.href=A,q.target="_blank",q.rel="noopener noreferrer"):q.type="button",T==="edit"&&q instanceof HTMLButtonElement&&(q.disabled=!0,q.setAttribute("aria-pressed","false")),T==="fold"&&(q.setAttribute("aria-expanded","true"),q.setAttribute("aria-controls",`plugin-result-${l}`)),ee.append(q)}let me=document.createElement("p");me.dataset.pluginStatus="",me.setAttribute("role","status"),me.textContent=Z(H?"Loading plugin data":"Load data using your connected account");let m=document.createElement("div");m.dataset.pluginControls="",m.hidden=!!H;for(let[T,$]of e?[["read","Load data"]]:H?[["read","Retry"]]:[["read","Load data"],["connect","Connect account"],["disconnect","Forget connection"]]){let M=document.createElement("button");M.type="button",M.dataset.pluginAction=T,M.dataset.i18n=$,M.textContent=Z($??""),m.append(M)}let R=document.createElement("div");R.dataset.pluginResult="",R.className="plugin-content",R.id=`plugin-result-${l}`,Y.append(se,me),ie.append(Y,m);let j=document.createElement("div");j.className="plugin-content",j.dataset.pluginCollapsed="",V.append(ee,ie,R,j,Eo(R)),E.replaceChildren(V),(H||_)&&L(V,"read")}catch{}})()}}},S=E=>{a=E;for(let A of document.querySelectorAll("[data-plugin]"))y(A.dataset.plugin??"");for(let[A,x]of u)A.isConnected&&A.replaceChildren(...x);u.clear(),f.clear(),p.clear(),c=new WeakMap,O()};if(!e){let E=new EventSource("/api/plugins/events");E.onmessage=A=>{a!==A.data&&S(A.data)}}new MutationObserver(O).observe(document.querySelector("main")??document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-embed-url"]}),window.addEventListener("popstate",O),window.addEventListener("pagehide",()=>{for(let E of document.querySelectorAll("[data-plugin]"))y(E.dataset.plugin??"")});let L=async(E,A,x)=>{let D=E.querySelector("[data-plugin-status]"),B=E.querySelector("[data-plugin-result]"),I=E.querySelector("[data-plugin-controls]"),H=E.querySelector("[data-plugin-collapsed]");if(!D||!B||!I||!H)return;i.get(E)?.(),i.delete(E);let _=E.dataset.plugin??"",V=E.dataset.autoConnect==="true";A!=="read"&&(y(_),w?.postMessage(_)),B.replaceChildren(),H.replaceChildren(),delete E.dataset.ready;let ie=g.get(_)??0,Y={};b.set(E,Y);let se=()=>E.isConnected&&b.get(E)===Y&&(g.get(_)??0)===ie;x&&(x.disabled=!0),E.setAttribute("aria-busy","true"),D.textContent=Z("Loading plugin data");try{if(V){let ee=p.get(_);if(!ee){let me=d;ee=(async()=>{try{await me}catch{}let m=await fetch("/api/plugins",{method:"POST",headers:{"content-type":"application/json"},credentials:"same-origin",cache:"no-store",body:JSON.stringify({action:"connect",plugin:_})}),R=await m.json();if(!m.ok||typeof R.url!="string")throw new Error("Plugin request failed");let j=new URL(R.url);if(j.origin!==location.origin||!j.pathname.startsWith("/api/plugins/mock/"))throw new Error("Plugin request failed");if(!(await fetch(j.href,{credentials:"same-origin",cache:"no-store"})).ok)throw new Error("Plugin request failed")})(),p.set(_,ee),d=ee}if(await ee,!se())return}let h=await r({action:A,plugin:_,url:E.dataset.url});if(!se())return;if(A==="connect"&&h.url){let ee=document.createElement("a");ee.href=h.url,ee.target="_blank",ee.rel="noopener noreferrer",ee.textContent=Z("Continue to service"),D.replaceChildren(ee)}else if(A==="read"&&h.view&&h.user){s(E,h.view),E.dataset.ready="true",D.textContent=V?"":Z("Connected as {name}",{name:h.user.name}),I.hidden=V;let ee=JSON.stringify(h.view),me=async(m,R={})=>{if(!se())throw new Error("Plugin connection changed");let j=await r({action:m,plugin:_,url:E.dataset.url,...R});if(!se())throw new Error("Plugin connection changed");return j};i.set(E,So(E,me,async(m,R)=>{let j=await me("read");if(!j.view)throw new Error("Plugin returned no view");let T=JSON.stringify(j.view);(R||T!==ee)&&m()&&(s(E,j.view),ee=T)},se))}else D.textContent=Z("Connection forgotten in dooc")}catch(h){se()&&(V&&p.delete(_),I.hidden=!1,D.textContent=Z(h instanceof Error?h.message:"Plugin request failed"))}finally{x&&(x.disabled=!1),b.get(E)===Y&&E.removeAttribute("aria-busy")}};return window.addEventListener("focus",()=>{f.clear();for(let E of document.querySelectorAll("[data-plugin]"))!E.dataset.ready&&!E.hasAttribute("aria-busy")&&L(E,"read")}),document.addEventListener("click",async E=>{let A=E.target instanceof Element?E.target.closest("button[data-plugin-action]"):null,x=A?.closest("[data-plugin]");if(!A||!x)return;let D=A.dataset.pluginAction??"";if(D==="fold"){let B=x.classList.toggle("collapsed"),I=B?"Expand preview":"Collapse preview";A.setAttribute("aria-expanded",String(!B)),A.dataset.i18nTitle=I,A.dataset.i18nAriaLabel=I,A.title=Z(I),A.setAttribute("aria-label",Z(I))}else if(D==="copy")try{await navigator.clipboard.writeText(x.dataset.url??""),A.dataset.state="copied",A.title=Z("Copied"),A.setAttribute("aria-label",Z("Copied")),setTimeout(()=>{delete A.dataset.state,A.title=Z("Copy link"),A.setAttribute("aria-label",Z("Copy link"))},1500)}catch{A.title=Z("Copy failed"),A.setAttribute("aria-label",Z("Copy failed"))}else D!=="edit"&&await L(x,D,A)}),E=>{if(!e)throw new Error("Transport injection is only available in published HTML");if(E!==null&&typeof E!="function")throw new Error("Expected a plugin transport function or null");t=E,n++,S(E?String(n):"")}};window.dooc={...window.dooc,setPluginTransport:Ia(!0)};})();
91
+ ${i}${d}`}else return`${p}${s}${f.join(" ")}${s}${d}`}function ir({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){let o=at(t(r),e);n.push(o.trimStart())}}function lt(e,t){let n=ne(t)?t.value:t;for(let r of e)if(re(r)&&(r.key===t||r.key===n||ne(r.key)&&r.key.value===n))return r}var ke=class extends $t{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(qe,t),this.items=[]}static from(t,n,r){let{keepUndefined:i,replacer:o}=r,s=new this(t),a=(l,c)=>{if(typeof o=="function")c=o.call(n,l,c);else if(Array.isArray(o)&&!o.includes(l))return;(c!==void 0||i)&&s.items.push(Bt(l,c,r))};if(n instanceof Map)for(let[l,c]of n)a(l,c);else if(n&&typeof n=="object")for(let l of Object.keys(n))a(l,n[l]);return typeof t.sortMapEntries=="function"&&s.items.sort(t.sortMapEntries),s}add(t,n){let r;re(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ve(t,t?.value):r=new ve(t.key,t.value);let i=lt(this.items,r.key),o=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);ne(i.value)&&Qn(r.value)?i.value.value=r.value:i.value=r.value}else if(o){let s=this.items.findIndex(a=>o(r,a)<0);s===-1?this.items.push(r):this.items.splice(s,0,r)}else this.items.push(r)}delete(t){let n=lt(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){let i=lt(this.items,t)?.value;return(!n&&ne(i)?i.value:i)??void 0}has(t){return!!lt(this.items,t)}set(t,n){this.add(new ve(t,n),!0)}toJSON(t,n,r){let i=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(i);for(let o of this.items)rr(n,i,o);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(let i of this.items)if(!re(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),or(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}};var jt={collection:"map",default:!0,nodeClass:ke,tag:"tag:yaml.org,2002:map",resolve(e,t){return Ye(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>ke.from(e,t,n)};var Ne=class extends $t{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(it,t),this.items=[]}add(t){this.items.push(t)}delete(t){let n=sr(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){let r=sr(t);if(typeof r!="number")return;let i=this.items[r];return!n&&ne(i)?i.value:i}has(t){let n=sr(t);return typeof n=="number"&&n<this.items.length}set(t,n){let r=sr(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);let i=this.items[r];ne(i)&&Qn(n)?i.value=n:this.items[r]=n}toJSON(t,n){let r=[];n?.onCreate&&n.onCreate(r);let i=0;for(let o of this.items)r.push(we(o,String(i++),n));return r}toString(t,n,r){return t?or(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){let{replacer:i}=r,o=new this(t);if(n&&Symbol.iterator in Object(n)){let s=0;for(let a of n){if(typeof i=="function"){let l=n instanceof Set?a:String(s++);a=i.call(n,l,a)}o.items.push(st(a,void 0,r))}}return o}};function sr(e){let t=ne(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}var qt={collection:"seq",default:!0,nodeClass:Ne,tag:"tag:yaml.org,2002:seq",resolve(e,t){return He(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Ne.from(e,t,n)};function Aa(e){return typeof e=="bigint"||Number.isInteger(e)}var lr=({value:e})=>JSON.stringify(e),Uf=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:lr},{identify:e=>e==null,createNode:()=>new J(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:lr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:lr},{identify:Aa,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Aa(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:lr}],Hf={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},Vf=[jt,qt].concat(Uf,Hf);function La(e,t,n){let{replacer:r}=n,i=new Ne(e);i.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let s of t){typeof r=="function"&&(s=r.call(t,String(o++),s));let a,l;if(Array.isArray(s))if(s.length===2)a=s[0],l=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)a=c[0],l=s[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=s;i.items.push(Bt(a,l,n))}return i}var Yi=class e extends Ne{constructor(){super(),this.add=ke.prototype.add.bind(this),this.delete=ke.prototype.delete.bind(this),this.get=ke.prototype.get.bind(this),this.has=ke.prototype.has.bind(this),this.set=ke.prototype.set.bind(this),this.tag=e.tag}toJSON(t,n){if(!n)return super.toJSON(t);let r=new Map;n?.onCreate&&n.onCreate(r);for(let i of this.items){let o,s;if(re(i)?(o=we(i.key,"",n),s=we(i.value,o,n)):o=we(i,"",n),r.has(o))throw new Error("Ordered maps must not include duplicate keys");r.set(o,s)}return r}static from(t,n,r){let i=La(t,n,r),o=new this;return o.items=i.items,o}};Yi.tag="tag:yaml.org,2002:omap";var Gi=class e extends ke{constructor(t){super(t),this.tag=e.tag}add(t){let n;re(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ve(t.key,null):n=new ve(t,null),lt(this.items,n.key)||this.items.push(n)}get(t,n){let r=lt(this.items,t);return!n&&re(r)?ne(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=lt(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ve(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){let{replacer:i}=r,o=new this(t);if(n&&Symbol.iterator in Object(n))for(let s of n)typeof i=="function"&&(s=i.call(n,s,s)),o.items.push(Bt(s,null,r));return o}};Gi.tag="tag:yaml.org,2002:set";function Kf(e,t){let n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=s=>t?BigInt(s):Number(s),o=r.replace(/_/g,"").split(":").reduce((s,a)=>s*i(60)+i(a),i(0));return n==="-"?i(-1)*o:o}var Qi={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(Qi.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,i,o,s,a]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0,c=Date.UTC(n,r-1,i,o||0,s||0,a||0,l),u=t[8];if(u&&u!=="Z"){let f=Kf(u,!1);Math.abs(f)<30&&(f*=60),c-=6e4*f}return new Date(c)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};var to=Symbol("break visit"),od=Symbol("skip children"),Ia=Symbol("remove item");function vt(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),Pa(Object.freeze([]),e,t)}vt.BREAK=to;vt.SKIP=od;vt.REMOVE=Ia;vt.itemAtPath=(e,t)=>{let n=e;for(let[r,i]of t){let o=n?.[r];if(o&&"items"in o)n=o.items[i];else return}return n};vt.parentCollection=(e,t)=>{let n=vt.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function Pa(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(let i of["key","value"]){let o=t[i];if(o&&"items"in o){for(let s=0;s<o.items.length;++s){let a=Pa(Object.freeze(e.concat([[i,s]])),o.items[s],n);if(typeof a=="number")s=a-1;else{if(a===to)return to;a===Ia&&(o.items.splice(s,1),s-=1)}}typeof r=="function"&&i==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}var QE=new Set("0123456789ABCDEFabcdef"),ZE=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),XE=new Set(",[]{}"),eC=new Set(` ,[]{}
92
+ \r `);var zC=new Map(Object.entries(Wt).map(([e,t])=>[t,e]));var pd="https://json-schema.org/draft/2020-12/schema",qC=`${JSON.stringify({$schema:pd,type:"object",properties:{},additionalProperties:!1},null,2)}
93
+ `;var hd=Di().use(qn).use(bn).use(jn);var Na=e=>hd.parse(e);var Oa=(e,t)=>gr(e)?`<a href="${se(e)}" target="_blank" rel="noopener noreferrer">${t}</a>`:t,ur=e=>{let t="children"in e?e.children.map(n=>ur(n)).join(""):"";switch(e.type){case"root":return t;case"text":case"html":return se(e.value);case"paragraph":return`<p>${t}</p>`;case"heading":return`<strong class="plugin-markdown-heading">${t}</strong>`;case"strong":return`<strong>${t}</strong>`;case"emphasis":return`<em>${t}</em>`;case"delete":return`<del>${t}</del>`;case"inlineCode":return`<code>${se(e.value)}</code>`;case"code":return`<pre><code>${se(e.value)}</code></pre>`;case"link":return Oa(e.url,t);case"image":return se(e.alt??"");case"list":return e.ordered?`<ol>${t}</ol>`:`<ul>${t}</ul>`;case"listItem":{let n=e.children.map(r=>r.type==="paragraph"?r.children.map(ur).join(""):ur(r)).join("");return e.checked===null||e.checked===void 0?`<li>${n}</li>`:`<li class="plugin-task"><span aria-label="${e.checked?"Completed":"Incomplete"}">${e.checked?"\u2611":"\u2610"}</span><div>${n}</div></li>`}case"blockquote":return`<blockquote>${t}</blockquote>`;case"break":return"<br>";case"thematicBreak":return"<hr>";default:return t}},Ma=e=>ur(Na(e)),Ut=e=>e?` data-block-edit="${se(JSON.stringify(e))}"`:"",gd=e=>{if(typeof e=="string")return`<span>${se(e)}</span>`;let t=se(e.text);return e.code&&(t=`<code>${t}</code>`),e.strong&&(t=`<strong>${t}</strong>`),e.url&&(t=Oa(e.url,t)),e.tone&&(t=`<span class="plugin-badge" data-tone="${e.tone}">${t}</span>`),e.copy!==void 0&&(t=`<span class="plugin-copy-value">${t}<button type="button" class="plugin-copy" data-block-copy="${se(e.copy)}" aria-label="Copy" title="Copy" data-i18n-aria-label="Copy" data-i18n-title="Copy"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><rect x="7" y="7" width="10" height="10" rx="2"/><path d="M13 4V3H3v10h1"/></svg></button></span>`),t},no=e=>e.map(gd).join(" "),ro=(e,t=!1)=>e.map(n=>`<span data-block-action="${se(n)}"${t?' data-block-composer=""':""}></span>`).join(""),hn=e=>e.map(t=>{switch(t.type){case"heading":return`<h3 class="plugin-block-heading"${Ut(t.edit)}>${se(t.text)}</h3>`;case"text":return`<div class="plugin-block-text"${Ut(t.edit)}>${t.markdown?Ma(t.text):se(t.text)||"\u2014"}</div>`;case"context":return`<div class="plugin-block-context">${no(t.items)}</div>`;case"fields":return`<dl class="plugin-block-fields">${t.items.map(n=>`<div><dt>${se(n.label)}</dt><dd${Ut(n.edit)}>${no(n.items)||"\u2014"}</dd></div>`).join("")}</dl>`;case"columns":return`<div class="plugin-block-columns"><div>${hn(t.main)}</div><aside>${hn(t.aside)}</aside></div>`;case"section":return`<details class="plugin-block-section"${t.collapsed?"":" open"}><summary>${se(t.title)}</summary>${t.note?`<p class="plugin-block-note">${se(t.note)}</p>`:""}${hn(t.blocks)}</details>`;case"table":return`<div class="plugin-block-table" tabindex="0" role="region" aria-label="Table" data-i18n-aria-label="Table"><table><thead><tr>${t.headers.map(n=>`<th scope="col">${se(n)}</th>`).join("")}${t.rows.some(n=>n.actions?.length)?'<th scope="col" aria-label="Actions" data-i18n-aria-label="Actions"></th>':""}</tr></thead><tbody>${t.rows.map(n=>`<tr>${n.cells.map(r=>`<td${Ut(r.edit)}>${no(r.items)||"\u2014"}</td>`).join("")}${t.rows.some(r=>r.actions?.length)?`<td>${ro(n.actions??[])}</td>`:""}</tr>`).join("")}</tbody></table></div>`;case"code":return`<div${Ut(t.edit)}><pre class="plugin-block-code${t.diff?" plugin-block-diff":""}"><code>${t.diff?t.text.split(`
94
+ `).map(n=>`<span data-tone="${n.startsWith("+")?"success":n.startsWith("-")?"danger":"neutral"}">${se(n)}</span>`).join(`
95
+ `):se(t.text)}</code></pre></div>`;case"message":return`<div class="plugin-block-message"><div class="plugin-message-byline"><span class="plugin-avatar" aria-hidden="true">${se(t.author.slice(0,2).toUpperCase())}</span><strong>${se(t.author)}</strong>${t.time?`<span>${se(t.time)}</span>`:""}<span class="plugin-message-actions">${ro(t.actions??[])}</span></div><div class="plugin-message-body"${Ut(t.edit)}>${Ma(t.text)||"\u2014"}</div>${t.reactions?.length?`<div class="plugin-reactions">${t.reactions.map(n=>n.action?`<button type="button" data-block-action="${se(n.action)}" data-block-values="${se(JSON.stringify(n.values??{}))}" aria-pressed="${!!n.active}" title="${se(n.label)}">${se(n.label)} ${n.count}</button>`:`<span>${se(n.label)} ${n.count}</span>`).join("")}</div>`:""}</div>`;case"actions":return`<div class="plugin-block-actions">${ro(t.ids,t.composer)}</div>`;case"progress":return`<div class="plugin-block-progress"><progress max="100" value="${t.value}" aria-label="${se(t.label)}"></progress><span>${se(t.label)} ${t.value}%</span></div>`;case"divider":return"<hr>";default:throw new Error("Invalid plugin block")}}).join("");var io=e=>{let t=Io(e);return`<div class="plugin-blocks">${hn(t.blocks)}</div>`};var yd=0,Ra=(e=!1)=>{if(e)return Fa(!0,Ct());let t=new Set,n=()=>{let r=Ct();t.has(r)||(t.add(r),Fa(!1,r))};return document.addEventListener("dooc:workspace-changed",n),n(),()=>{throw new Error("Transport injection is only available in published HTML")}},Fa=(e,t)=>{let n=e?void 0:go(t),r=S=>{let k=S.closest("[data-plugin-workspace], [data-workspace]");return(k?.dataset.pluginWorkspace??k?.dataset.workspace??Ct())===t},i=()=>[...document.querySelectorAll("[data-plugin]")].filter(r),o=!0,s=null,a=0,l=async S=>{if(e){if(!s)throw new Error("Plugin transport is not connected");let R=a,Y;try{Y=await s(S)}catch(U){throw R===a&&S.plugin&&U&&typeof U=="object"&&"status"in U&&[401,403].includes(Number(U.status))&&M(S.plugin),U}if(R!==a)throw new Error("Plugin connection changed");if(!Y||typeof Y!="object"||Array.isArray(Y))throw new Error("Invalid plugin response");return Y}if(n)return n.client.request("plugins",{...S});let k=await mr("/api/plugins",{method:"POST",credentials:"same-origin",cache:"no-store",headers:{"content-type":"application/json"},body:JSON.stringify(S)},t),D=await k.json();if(!k.ok)throw Object.assign(new Error(D.error??"Plugin request failed"),{status:k.status});return D},c=new Map,u=()=>{for(let S of document.querySelectorAll("img[data-plugin-icon-light]")){let k=getComputedStyle(S).colorScheme==="dark"?S.dataset.pluginIconDark:S.dataset.pluginIconLight;k&&S.src!==k&&(S.src=k)}};new MutationObserver(u).observe(document.documentElement,{subtree:!0,attributes:!0,attributeFilter:["data-theme","data-editor-theme"]}),matchMedia("(prefers-color-scheme: dark)").addEventListener("change",u);let f=(S,k)=>{let D=S.querySelector("[data-plugin-result]"),R=S.querySelector("[data-plugin-collapsed]"),Y=S.dataset.url;if(!D||!R||!Y)throw new Error(Z("Plugin request failed"));let U=io(k),le=k.collapsed?io(k.collapsed):"";if(D.innerHTML=U,R.innerHTML=le,S.querySelector(".plugin-heading")?.remove(),k.header){let te=document.createElement("span");te.className="plugin-heading";let h=document.createElement("a");if(h.href=Y,h.target="_blank",h.rel="noopener noreferrer",k.header.icon){let ee=document.createElement("img");ee.alt="",ee.width=ee.height=16,ee.dataset.pluginIconLight=k.header.icon.light,ee.dataset.pluginIconDark=k.header.icon.dark??k.header.icon.light,ee.src=k.header.icon.light,h.append(ee)}let de=document.createElement("strong");if(de.textContent=k.header.title,h.append(de),te.append(h),k.header.context){let ee=document.createElement("span");ee.className="plugin-heading-context",ee.textContent=k.header.context,te.append(ee)}if(k.header.reference){let ee=document.createElement("button");ee.type="button",ee.dataset.blockCopy=k.header.reference,ee.textContent=k.header.reference,ee.title=Z("Copy"),te.append(ee)}S.querySelector(".plugin-toolbar")?.prepend(te),u()}},p="",d=new WeakMap,g=new Map,y=new Map,w=new Map,b,A=new Map,x=new WeakMap,I=typeof BroadcastChannel>"u"?void 0:new BroadcastChannel("dooc:plugins"),M=S=>{y.clear(),A.set(S,(A.get(S)??0)+1);for(let k of i()){if(k.dataset.plugin!==S)continue;c.get(k)?.(),c.delete(k),delete k.dataset.ready;for(let R of k.querySelectorAll(".plugin-content"))R.replaceChildren();let D=k.querySelector("[data-plugin-status]");D&&(D.textContent=Z("Load data using your connected account"))}};document.addEventListener("docs:plugin-connection",S=>{let k=S.detail;if(!k||typeof k!="string"&&typeof k!="object")return;let{plugin:D,workspace:R}=typeof k=="string"?{plugin:k,workspace:Ct()}:k;typeof D!="string"||R!==t||(M(D),I?.postMessage({plugin:D,workspace:t}))}),I&&(I.onmessage=S=>{let k=S.data;k?.workspace===t&&typeof k.plugin=="string"&&M(k.plugin)});let v=new WeakSet,L=new Set,V=new IntersectionObserver(S=>{for(let k of S)k.isIntersecting&&(v.add(k.target),L.delete(k.target),V.unobserve(k.target));X()},{rootMargin:"200px"}),X=()=>{if(p){for(let S of L)S.isConnected||(V.unobserve(S),L.delete(S));for(let[S,k]of c)S.isConnected||(k(),c.delete(S));for(let S of g.keys())S.isConnected||g.delete(S);for(let S of[...document.querySelectorAll("main [data-embed-url]")].filter(r)){if(S.dataset.pluginWorkspace=t,!o){if(!S.querySelector("[data-plugin-unavailable]")){let U=document.createElement("p");U.dataset.pluginUnavailable="",U.textContent=Z("Plugins are unavailable in this workspace. Open the source link."),S.append(U)}continue}let k=S.dataset.embedUrl??"";if(d.get(S)===k)continue;if(!v.has(S)){L.has(S)||(L.add(S),V.observe(S));continue}d.set(S,k);let D=p,R=y.get(k);R||(R=l({action:"resolve",url:k}).then(U=>({...U,autoConnect:!e&&U.autoConnect})),y.set(k,R)),(async()=>{try{let{plugin:U,autoConnect:le,connected:te}=await R;if(!U||!S.isConnected||p!==D||S.dataset.embedUrl!==k)return;g.set(S,[...S.childNodes]);let h=document.createElement("section");h.className="plugin",h.dataset.plugin=U,h.dataset.url=k,le&&(h.dataset.autoConnect="true");let de=document.createElement("header");de.className="plugin-header";let ee=document.createElement("div");ee.className="plugin-info";let m=document.createElement("h2"),O=document.createElement("a");O.href=k,O.target="_blank",O.rel="noopener noreferrer",O.textContent=S.textContent||k,m.append(O);let $=++yd;m.id=`plugin-heading-${$}`,h.setAttribute("aria-labelledby",m.id);let T=document.createElement("div");T.className="plugin-toolbar";for(let[B,ce,H]of[["open","Open link",'<path d="M11 3h6v6m0-6-8 8"/><path d="M8 4H4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-4"/>'],["copy","Copy link",'<path d="m8 12 4-4m-5 2-2 2a3 3 0 0 0 4 4l2-2m-2-8 2-2a3 3 0 0 1 4 4l-2 2"/>'],["edit","Edit",'<path d="m12 3 5 5M3 17l4-1L17 6a2.1 2.1 0 0 0-3-3L4 13Z"/>'],["fold","Collapse preview",'<path d="m5 7.5 5 5 5-5"/>']]){let ae=document.createElement(B==="open"?"a":"button");ae.className="plugin-action",ae.dataset.pluginAction=B,ae.dataset.i18nTitle=ce,ae.dataset.i18nAriaLabel=ce,ae.title=Z(ce??""),ae.setAttribute("aria-label",Z(ce??"")),ae.innerHTML=`<svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${H}</svg>`,B==="copy"&&(ae.innerHTML+=mo),ae instanceof HTMLAnchorElement?(ae.href=k,ae.target="_blank",ae.rel="noopener noreferrer"):ae.type="button",B==="edit"&&ae instanceof HTMLButtonElement&&(ae.disabled=!0,ae.setAttribute("aria-pressed","false")),B==="fold"&&(ae.setAttribute("aria-expanded","true"),ae.setAttribute("aria-controls",`plugin-result-${$}`)),T.append(ae)}let _=document.createElement("p");_.dataset.pluginStatus="",_.setAttribute("role","status"),_.textContent=Z(le?"Loading plugin data":"Load data using your connected account");let N=document.createElement("div");N.dataset.pluginControls="",N.hidden=!!le;for(let[B,ce]of e?[["read","Load data"]]:le?[["read","Retry"]]:[["read","Load data"],["connect","Connect account"],["disconnect","Forget connection"]]){let H=document.createElement("button");H.type="button",H.dataset.pluginAction=B,H.dataset.i18n=ce,H.textContent=Z(ce??""),N.append(H)}let q=document.createElement("div");q.dataset.pluginResult="",q.className="plugin-content",q.id=`plugin-result-${$}`,ee.append(m,_),de.append(ee,N);let oe=document.createElement("div");oe.className="plugin-content",oe.dataset.pluginCollapsed="",h.append(T,de,q,oe,To(q)),S.replaceChildren(h),(le||te)&&W(h,"read")}catch{}})()}}},E=S=>{if(p=S,!o){X();return}for(let k of i())M(k.dataset.plugin??"");for(let[k,D]of g)k.isConnected&&k.replaceChildren(...D);g.clear(),y.clear(),w.clear(),d=new WeakMap,X()};if(n)n.client.request("hello").then(S=>{o=S.ops.includes("plugins"),E(o?"connected":"unavailable"),o&&n.client.on("plugins",k=>E(String(k)))}).catch(()=>{o=!1,E("unavailable")});else if(!e){let S=new EventSource("/api/plugins/events");S.onmessage=k=>{p!==k.data&&E(k.data)}}new MutationObserver(X).observe(document.querySelector("main")??document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-embed-url"]}),window.addEventListener("popstate",X),window.addEventListener("pagehide",()=>{for(let S of i())M(S.dataset.plugin??"")});let W=async(S,k,D)=>{let R=S.querySelector("[data-plugin-status]"),Y=S.querySelector("[data-plugin-result]"),U=S.querySelector("[data-plugin-controls]"),le=S.querySelector("[data-plugin-collapsed]");if(!R||!Y||!U||!le)return;if(!o){R.textContent=Z("Plugins are unavailable in this workspace. Open the source link.");return}c.get(S)?.(),c.delete(S);let te=S.dataset.plugin??"",h=S.dataset.autoConnect==="true";k!=="read"&&(M(te),I?.postMessage({plugin:te,workspace:t})),Y.replaceChildren(),le.replaceChildren(),delete S.dataset.ready;let de=A.get(te)??0,ee={};x.set(S,ee);let m=()=>S.isConnected&&x.get(S)===ee&&(A.get(te)??0)===de;D&&(D.disabled=!0),S.setAttribute("aria-busy","true"),R.textContent=Z("Loading plugin data");try{if(h){let $=w.get(te);if(!$){let T=b;$=(async()=>{try{await T}catch{}let _=await l({action:"connect",plugin:te});if(typeof _.url!="string")throw new Error("Plugin request failed");let N=new URL(_.url);if(N.origin!==location.origin||!N.pathname.startsWith("/api/plugins/mock/"))throw new Error("Plugin request failed");if(!(await mr(N.href,{credentials:"same-origin",cache:"no-store"},t)).ok)throw new Error("Plugin request failed")})(),w.set(te,$),b=$}if(await $,!m())return}let O=await l({action:k,plugin:te,url:S.dataset.url});if(!m())return;if(k==="connect"&&O.url){let $=document.createElement("a");$.href=O.url,$.target="_blank",$.rel="noopener noreferrer",$.textContent=Z("Continue to service"),R.replaceChildren($)}else if(k==="read"&&O.view&&O.user){f(S,O.view),S.dataset.ready="true",R.textContent=h?"":Z("Connected as {name}",{name:O.user.name}),U.hidden=h;let $=JSON.stringify(O.view),T=async(_,N={})=>{if(!m())throw new Error("Plugin connection changed");let q=await l({action:_,plugin:te,url:S.dataset.url,...N});if(!m())throw new Error("Plugin connection changed");return q};c.set(S,Lo(S,T,async(_,N)=>{let q=await T("read");if(!q.view)throw new Error("Plugin returned no view");let oe=JSON.stringify(q.view);(N||oe!==$)&&_()&&(f(S,q.view),$=oe)},m))}else R.textContent=Z("Connection forgotten in dooc")}catch(O){m()&&(h&&w.delete(te),U.hidden=!1,R.textContent=Z(O instanceof Error?O.message:"Plugin request failed"))}finally{D&&(D.disabled=!1),x.get(S)===ee&&S.removeAttribute("aria-busy")}};return window.addEventListener("focus",()=>{y.clear();for(let S of i())!S.dataset.ready&&!S.hasAttribute("aria-busy")&&W(S,"read")}),document.addEventListener("click",async S=>{let k=S.target instanceof Element?S.target.closest("button[data-plugin-action]"):null,D=k?.closest("[data-plugin]");if(!k||!D||!r(D))return;let R=k.dataset.pluginAction??"";if(R==="fold"){let Y=D.classList.toggle("collapsed"),U=Y?"Expand preview":"Collapse preview";k.setAttribute("aria-expanded",String(!Y)),k.dataset.i18nTitle=U,k.dataset.i18nAriaLabel=U,k.title=Z(U),k.setAttribute("aria-label",Z(U))}else if(R==="copy")try{await navigator.clipboard.writeText(D.dataset.url??""),k.dataset.state="copied",k.title=Z("Copied"),k.setAttribute("aria-label",Z("Copied")),setTimeout(()=>{delete k.dataset.state,k.title=Z("Copy link"),k.setAttribute("aria-label",Z("Copy link"))},1500)}catch{k.title=Z("Copy failed"),k.setAttribute("aria-label",Z("Copy failed"))}else R!=="edit"&&await W(D,R,k)}),S=>{if(!e)throw new Error("Transport injection is only available in published HTML");if(S!==null&&typeof S!="function")throw new Error("Expected a plugin transport function or null");s=S,a++,E(S?String(a):"")}};window.dooc={...window.dooc,setPluginTransport:Ra(!0)};})();