@openclaw/matrix 2026.7.2-beta.7 → 2026.7.34

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 (368) hide show
  1. package/README.md +1 -1
  2. package/dist/{account-selection-kqquRzCf.js → .setup/account-selection-BOQeTqax.mjs} +18 -17
  3. package/dist/{approval-handler.runtime-DSeaIsGa.js → .setup/approval-handler.runtime-CEXm9_-p.mjs} +18 -28
  4. package/dist/{approval-ids-BdJGPAJT.js → .setup/approval-ids-DdFnDB3h.mjs} +1 -1
  5. package/dist/{approval-reaction-auth-BjOpELxu.js → .setup/approval-reaction-auth-CREvd7S7.mjs} +2 -2
  6. package/dist/.setup/approval-reactions-Cltyp8nL.mjs +113 -0
  7. package/dist/.setup/async-lock-BcLS4KOc.mjs +19 -0
  8. package/dist/{channel-vj788dNZ.js → .setup/channel-an4umty1.mjs} +186 -144
  9. package/dist/{channel.runtime-CLoF2S9T.js → .setup/channel.runtime-GHcIBJ7H.mjs} +51 -45
  10. package/dist/{cli-DMqfDE-q.js → .setup/cli-B3WYmv5U.mjs} +882 -901
  11. package/dist/{cli-metadata-C7D53SND.js → .setup/cli-metadata-RUKCn0wJ.mjs} +1 -1
  12. package/dist/{client-6eRENr7k.js → .setup/client-Ct0bUHCo.mjs} +5 -5
  13. package/dist/{shared-CUMWxcMz.js → .setup/client-DFBQtzCe.mjs} +422 -179
  14. package/dist/.setup/client-bootstrap-Be8jvNle.mjs +74 -0
  15. package/dist/{config-schema-Djxw3C6b.js → .setup/config-schema-D9J_vUF6.mjs} +89 -70
  16. package/dist/.setup/credentials-BhZlA0kL.mjs +56 -0
  17. package/dist/.setup/credentials-read-CRHg6XPm.mjs +114 -0
  18. package/dist/{credentials-write.runtime-Be9zNSUw.js → .setup/credentials-write.runtime-dWuLafsk.mjs} +1 -1
  19. package/dist/{crypto-runtime-D9_6J5tZ.js → .setup/crypto-runtime-D-cZa8P0.mjs} +81 -35
  20. package/dist/.setup/crypto-state-store-B43k3z3W.mjs +352 -0
  21. package/dist/{deps-CcVJfvRM.js → .setup/deps-Dy6yreL4.mjs} +92 -25
  22. package/dist/{device-health-B4-YXtJR.js → .setup/device-health-D4LBxuPq.mjs} +1 -6
  23. package/dist/{directory-live-C8dVBiCc.js → .setup/directory-live-BTEYxMwy.mjs} +10 -9
  24. package/dist/.setup/doctor-BGnvMzOR.mjs +169 -0
  25. package/dist/.setup/doctor-contract-DNJw0fdq.mjs +246 -0
  26. package/dist/{draft-stream-CtvOXq0Z.js → .setup/draft-stream-C-_OhpE8.mjs} +1 -6
  27. package/dist/{encryption-guidance-CbEFe38F.js → .setup/encryption-guidance-CpuuwmjL.mjs} +4 -3
  28. package/dist/{env-auth-CQsYbz-p.js → .setup/env-auth-CYJL1jNl.mjs} +2 -2
  29. package/dist/{env-vars-B0NxQnPk.js → .setup/env-vars-KzaYveuy.mjs} +1 -3
  30. package/dist/{exec-approval-resolver-BCgqRtZS.js → .setup/exec-approval-resolver-f9j6staN.mjs} +1 -2
  31. package/dist/{file-sync-store-DiiFsayX.js → .setup/file-sync-store-DU0cnYAz.mjs} +30 -25
  32. package/dist/{http-client-CycYxU9-.js → .setup/http-client-C954In2D.mjs} +45 -25
  33. package/dist/{idb-persistence-B6x7dMsF.js → .setup/idb-persistence-_HKTXkVC.mjs} +76 -78
  34. package/dist/{idb-persistence-lock-DAJ49nZX.js → .setup/idb-persistence-lock-B3fZXyF_.mjs} +1 -1
  35. package/dist/.setup/legacy-crypto-inspector-Byp8LCys.mjs +42 -0
  36. package/dist/.setup/legacy-crypto-restore-YQVoK1B2.mjs +93 -0
  37. package/dist/{logger-D0GCSDQq.js → .setup/logger-DpoogOgz.mjs} +1 -1
  38. package/dist/{logging-DV-p52N0.js → .setup/logging-CgxQOJJP.mjs} +2 -9
  39. package/dist/.setup/matrix-migration.runtime-BDH5c3fN.mjs +530 -0
  40. package/dist/{media-text-BTwzADS_.js → .setup/media-text-Cib-dxkn.mjs} +1 -1
  41. package/dist/{messages-DxQJkhxs.js → .setup/messages-D4DYGHYX.mjs} +15 -67
  42. package/dist/.setup/migration-snapshot-backup-CpgYhiUp.mjs +70 -0
  43. package/dist/.setup/migration-snapshot.runtime-O8qkMVaC.mjs +2 -0
  44. package/dist/{monitor-VyWlSLwo.js → .setup/monitor-DNcW_oAN.mjs} +2525 -2361
  45. package/dist/.setup/probe.runtime-CMPh0mFk.mjs +2 -0
  46. package/dist/{profile-update-CffmyW_4.js → .setup/profile-update-DzOL3Wiw.mjs} +5 -4
  47. package/dist/{reaction-events-B00WSi98.js → .setup/reaction-events-BcvgXxHb.mjs} +14 -64
  48. package/dist/{resolve-targets-nm2L48sh.js → .setup/resolve-targets-Bq80X9Sn.mjs} +3 -3
  49. package/dist/{resolver.runtime-DS6uPaEe.js → .setup/resolver.runtime-CeBHR9-T.mjs} +1 -1
  50. package/dist/{runtime-api-D1xI_cvh.js → .setup/runtime-api-CEsWNdil.mjs} +4 -4
  51. package/dist/.setup/runtime-setter-api-DGMubGUq.mjs +3 -0
  52. package/dist/{sdk-bUytQHx7.js → .setup/sdk-He1quVAq.mjs} +592 -261
  53. package/dist/.setup/secret-contract-api-CiTJ7pd5.mjs +3 -0
  54. package/dist/{secret-contract-M3hRmGO-.js → .setup/secret-contract-phPvlNfV.mjs} +53 -28
  55. package/dist/{send-BldGYG8g.js → .setup/send-CGgl0uTn.mjs} +133 -660
  56. package/dist/{setup-bootstrap-Deleiibz.js → .setup/setup-bootstrap-DUXBC8X2.mjs} +4 -4
  57. package/dist/{setup-core-BVfBv2ai.js → .setup/setup-core-bhdcEo7v.mjs} +239 -189
  58. package/dist/.setup/setup-plugin-api-CAwZ_Bi7.mjs +43 -0
  59. package/dist/.setup/setup-plugin-api-DIFVsOs3.mjs +2 -0
  60. package/dist/{setup-surface-BBq3WeqX.js → .setup/setup-surface-05_G-MnT.mjs} +149 -92
  61. package/dist/{startup-verification-wm3_i88s.js → .setup/startup-verification-BTwIGu1J.mjs} +7 -6
  62. package/dist/.setup/storage-NGZq5zet.mjs +432 -0
  63. package/dist/{storage-paths-gUmSydsW.js → .setup/storage-paths-BWo_ZEMC.mjs} +13 -2
  64. package/dist/{subagent-hooks-dkPAF6Et.js → .setup/subagent-hooks-BSWPJEmo.mjs} +2 -2
  65. package/dist/{thread-binding-api-DRbBZlhS.js → .setup/thread-binding-api-B7UaOoKv.mjs} +1 -1
  66. package/dist/{thread-bindings-DGbl3vDW.js → .setup/thread-bindings-DqmjG2on.mjs} +8 -8
  67. package/dist/{tool-actions.runtime-uu9blSqO.js → .setup/tool-actions.runtime-CXDLk2jg.mjs} +196 -332
  68. package/dist/{verification-DYMQ1QpI.js → .setup/verification-DeWOtZJr.mjs} +4 -3
  69. package/dist/api.js +9 -9
  70. package/dist/auth-presence.js +21 -13
  71. package/dist/channel-plugin-api.js +1 -1
  72. package/dist/cli-metadata.js +1 -1
  73. package/dist/contract-api.js +2 -2
  74. package/dist/doctor-contract-api.js +99 -524
  75. package/dist/helper-api.js +4 -4
  76. package/dist/index.js +1 -1
  77. package/dist/plugin-entry.handlers.runtime.js +2 -2
  78. package/dist/runtime-api.js +8 -8
  79. package/dist/runtime-heavy-api.js +3 -0
  80. package/dist/runtime-setter-api.js +1 -1
  81. package/dist/secret-contract-api.js +1 -1
  82. package/dist/session-binding-contract-api.js +3 -3
  83. package/dist/setup-entry.js +4 -3
  84. package/dist/setup-plugin-api.js +1 -44
  85. package/dist/subagent-hooks-api.js +1 -1
  86. package/dist/thread-binding-api.js +1 -1
  87. package/dist/thread-bindings-runtime.js +1 -1
  88. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +1 -1
  89. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +2 -14
  90. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +384 -409
  91. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +224 -246
  92. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
  93. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +58 -59
  94. package/node_modules/markdown-it/README.md +18 -294
  95. package/node_modules/markdown-it/bin/markdown-it.mjs +2 -2
  96. package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs +3013 -0
  97. package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs.map +1 -0
  98. package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js +14 -0
  99. package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js.map +1 -0
  100. package/node_modules/markdown-it/dist/markdown-it.cjs.js +4420 -0
  101. package/node_modules/markdown-it/dist/markdown-it.cjs.js.map +1 -0
  102. package/node_modules/markdown-it/dist/markdown-it.d.cts +19 -0
  103. package/node_modules/markdown-it/dist/markdown-it.d.mts +950 -0
  104. package/node_modules/markdown-it/dist/{index.cjs.js → markdown-it.mjs} +1504 -1525
  105. package/node_modules/markdown-it/dist/markdown-it.mjs.map +1 -0
  106. package/node_modules/markdown-it/node_modules/argparse/LICENSE +1 -208
  107. package/node_modules/markdown-it/node_modules/argparse/README.md +46 -41
  108. package/node_modules/markdown-it/node_modules/argparse/lib/_colorize.js +72 -0
  109. package/node_modules/markdown-it/node_modules/argparse/lib/argparse.d.ts +292 -0
  110. package/node_modules/markdown-it/node_modules/argparse/{argparse.js → lib/argparse.js} +1142 -1029
  111. package/node_modules/markdown-it/node_modules/argparse/lib/difflib.js +190 -0
  112. package/node_modules/markdown-it/node_modules/argparse/lib/sub.js +4 -4
  113. package/node_modules/markdown-it/node_modules/argparse/lib/textwrap.js +28 -28
  114. package/node_modules/markdown-it/node_modules/argparse/package.json +18 -11
  115. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts +8 -0
  116. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  117. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js +46 -0
  118. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  119. package/node_modules/markdown-it/node_modules/entities/{lib → dist}/decode.d.ts +28 -45
  120. package/node_modules/markdown-it/node_modules/entities/dist/decode.d.ts.map +1 -0
  121. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/decode.js +189 -141
  122. package/node_modules/markdown-it/node_modules/entities/dist/decode.js.map +1 -0
  123. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/encode.d.ts +4 -2
  124. package/node_modules/markdown-it/node_modules/entities/dist/encode.d.ts.map +1 -0
  125. package/node_modules/markdown-it/node_modules/entities/dist/encode.js +90 -0
  126. package/node_modules/markdown-it/node_modules/entities/dist/encode.js.map +1 -0
  127. package/node_modules/markdown-it/node_modules/entities/{lib → dist}/escape.d.ts +15 -10
  128. package/node_modules/markdown-it/node_modules/entities/dist/escape.d.ts.map +1 -0
  129. package/node_modules/markdown-it/node_modules/entities/dist/escape.js +132 -0
  130. package/node_modules/markdown-it/node_modules/entities/dist/escape.js.map +1 -0
  131. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  132. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  133. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  134. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  135. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  136. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  137. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js +5 -0
  138. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  139. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts +5 -0
  140. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  141. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js +12 -0
  142. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  143. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/index.d.ts +14 -21
  144. package/node_modules/markdown-it/node_modules/entities/dist/index.d.ts.map +1 -0
  145. package/node_modules/markdown-it/node_modules/entities/dist/index.js +91 -0
  146. package/node_modules/markdown-it/node_modules/entities/dist/index.js.map +1 -0
  147. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts +17 -0
  148. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  149. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js +18 -0
  150. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  151. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts +7 -0
  152. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  153. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js +17 -0
  154. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  155. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts +33 -0
  156. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts.map +1 -0
  157. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js +93 -0
  158. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js.map +1 -0
  159. package/node_modules/markdown-it/node_modules/entities/package.json +63 -70
  160. package/node_modules/markdown-it/node_modules/entities/readme.md +54 -45
  161. package/node_modules/markdown-it/node_modules/entities/src/decode-codepoint.ts +50 -0
  162. package/node_modules/markdown-it/node_modules/entities/src/decode.ts +671 -0
  163. package/node_modules/markdown-it/node_modules/entities/src/encode.ts +95 -0
  164. package/node_modules/markdown-it/node_modules/entities/src/escape.ts +160 -0
  165. package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-html.ts +7 -0
  166. package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
  167. package/node_modules/markdown-it/node_modules/entities/src/generated/encode-html.ts +18 -0
  168. package/node_modules/markdown-it/node_modules/entities/src/index.ts +162 -0
  169. package/node_modules/markdown-it/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  170. package/node_modules/markdown-it/node_modules/entities/src/internal/decode-shared.ts +18 -0
  171. package/node_modules/markdown-it/node_modules/entities/src/internal/encode-shared.ts +123 -0
  172. package/node_modules/markdown-it/node_modules/linkify-it/README.md +49 -86
  173. package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js +636 -825
  174. package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js.map +1 -0
  175. package/node_modules/markdown-it/node_modules/linkify-it/build/index.d.ts +236 -0
  176. package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs +538 -0
  177. package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs.map +1 -0
  178. package/node_modules/markdown-it/node_modules/linkify-it/package.json +23 -20
  179. package/node_modules/markdown-it/node_modules/uc.micro/README.md +18 -1
  180. package/node_modules/markdown-it/node_modules/uc.micro/build/index.cjs.js +13 -18
  181. package/node_modules/markdown-it/node_modules/uc.micro/build/index.d.ts +6 -0
  182. package/node_modules/markdown-it/node_modules/uc.micro/build/index.mjs +8 -0
  183. package/node_modules/markdown-it/node_modules/uc.micro/package.json +12 -17
  184. package/node_modules/markdown-it/package.json +47 -30
  185. package/node_modules/matrix-js-sdk/CHANGELOG.md +0 -11
  186. package/node_modules/matrix-js-sdk/package.json +1 -1
  187. package/node_modules/music-metadata/lib/common/Util.d.ts +1 -1
  188. package/node_modules/music-metadata/lib/common/Util.js +1 -7
  189. package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +3 -23
  190. package/node_modules/music-metadata/lib/id3v2/FrameParser.js +2 -2
  191. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +1 -1
  192. package/node_modules/music-metadata/lib/mp4/AtomToken.js +13 -38
  193. package/node_modules/music-metadata/lib/mpeg/MpegParser.js +1 -1
  194. package/node_modules/music-metadata/package.json +6 -6
  195. package/node_modules/typebox/build/compile/validator.d.mts +4 -1
  196. package/node_modules/typebox/build/guard/guard.d.mts +1 -1
  197. package/node_modules/typebox/build/guard/guard.mjs +2 -5
  198. package/node_modules/typebox/build/guard/string.mjs +4 -16
  199. package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
  200. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  201. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
  202. package/node_modules/typebox/build/typebox.d.mts +1 -1
  203. package/node_modules/typebox/build/typebox.mjs +1 -1
  204. package/node_modules/typebox/package.json +1 -1
  205. package/node_modules/typebox/readme.md +32 -29
  206. package/openclaw.plugin.json +146 -152
  207. package/package.json +31 -114
  208. package/dist/accounts-DfngqebB.js +0 -130
  209. package/dist/active-client-DXvz2gCo.js +0 -20
  210. package/dist/approval-reactions-D-BxBK_L.js +0 -202
  211. package/dist/client-Dbso3-0V.js +0 -30
  212. package/dist/client-bootstrap-XsIkHNt0.js +0 -110
  213. package/dist/create-client-BmSU-q-D.js +0 -61
  214. package/dist/credentials-W2EmwRhu.js +0 -65
  215. package/dist/credentials-read-DVmFCm7X.js +0 -77
  216. package/dist/doctor-CM8ijNpW.js +0 -64
  217. package/dist/doctor-contract-BMSJkkAE.js +0 -167
  218. package/dist/inbound-dedupe-CaBLblef.js +0 -48
  219. package/dist/probe.runtime-BuieqmS3.js +0 -3
  220. package/dist/record-shared-CWWx6fvI.js +0 -2
  221. package/dist/recovery-key-store-BNnHvXdk.js +0 -275
  222. package/dist/room-info-CAFZ3Z9J.js +0 -87
  223. package/dist/route-DY6at4qJ.js +0 -161
  224. package/dist/storage-BvAkgzvT.js +0 -685
  225. package/node_modules/markdown-it/dist/index.cjs.js.map +0 -1
  226. package/node_modules/markdown-it/dist/markdown-it.js +0 -3975
  227. package/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
  228. package/node_modules/markdown-it/dist/markdown-it.min.js +0 -3
  229. package/node_modules/markdown-it/dist/markdown-it.min.js.map +0 -1
  230. package/node_modules/markdown-it/index.mjs +0 -1
  231. package/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
  232. package/node_modules/markdown-it/lib/common/html_re.mjs +0 -25
  233. package/node_modules/markdown-it/lib/common/utils.mjs +0 -324
  234. package/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
  235. package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -77
  236. package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -49
  237. package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -66
  238. package/node_modules/markdown-it/lib/index.mjs +0 -565
  239. package/node_modules/markdown-it/lib/parser_block.mjs +0 -134
  240. package/node_modules/markdown-it/lib/parser_core.mjs +0 -62
  241. package/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
  242. package/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -88
  243. package/node_modules/markdown-it/lib/presets/default.mjs +0 -47
  244. package/node_modules/markdown-it/lib/presets/zero.mjs +0 -70
  245. package/node_modules/markdown-it/lib/renderer.mjs +0 -322
  246. package/node_modules/markdown-it/lib/ruler.mjs +0 -340
  247. package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -209
  248. package/node_modules/markdown-it/lib/rules_block/code.mjs +0 -30
  249. package/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -94
  250. package/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -51
  251. package/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -40
  252. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -80
  253. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -85
  254. package/node_modules/markdown-it/lib/rules_block/list.mjs +0 -331
  255. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -48
  256. package/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -212
  257. package/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -220
  258. package/node_modules/markdown-it/lib/rules_block/table.mjs +0 -228
  259. package/node_modules/markdown-it/lib/rules_core/block.mjs +0 -13
  260. package/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -11
  261. package/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -134
  262. package/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -17
  263. package/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -101
  264. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -209
  265. package/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -17
  266. package/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -43
  267. package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -72
  268. package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -60
  269. package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -124
  270. package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -123
  271. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
  272. package/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -83
  273. package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -38
  274. package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -50
  275. package/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -138
  276. package/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -139
  277. package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -63
  278. package/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -42
  279. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -154
  280. package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -127
  281. package/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -86
  282. package/node_modules/markdown-it/lib/token.mjs +0 -191
  283. package/node_modules/markdown-it/node_modules/argparse/CHANGELOG.md +0 -216
  284. package/node_modules/markdown-it/node_modules/entities/lib/decode.d.ts.map +0 -1
  285. package/node_modules/markdown-it/node_modules/entities/lib/decode.js +0 -536
  286. package/node_modules/markdown-it/node_modules/entities/lib/decode.js.map +0 -1
  287. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
  288. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
  289. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.js +0 -76
  290. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  291. package/node_modules/markdown-it/node_modules/entities/lib/encode.d.ts +0 -22
  292. package/node_modules/markdown-it/node_modules/entities/lib/encode.d.ts.map +0 -1
  293. package/node_modules/markdown-it/node_modules/entities/lib/encode.js +0 -77
  294. package/node_modules/markdown-it/node_modules/entities/lib/encode.js.map +0 -1
  295. package/node_modules/markdown-it/node_modules/entities/lib/escape.d.ts.map +0 -1
  296. package/node_modules/markdown-it/node_modules/entities/lib/escape.js +0 -122
  297. package/node_modules/markdown-it/node_modules/entities/lib/escape.js.map +0 -1
  298. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.d.ts +0 -211
  299. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
  300. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.js.map +0 -1
  301. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
  302. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
  303. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
  304. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
  305. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
  306. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.js +0 -69
  307. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.js.map +0 -1
  308. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.d.ts +0 -43
  309. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
  310. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.js +0 -116
  311. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.js.map +0 -1
  312. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  313. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
  314. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  315. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
  316. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  317. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
  318. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  319. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
  320. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  321. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
  322. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
  323. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
  324. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.d.ts.map +0 -1
  325. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.js +0 -99
  326. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.js.map +0 -1
  327. package/node_modules/markdown-it/node_modules/entities/lib/esm/package.json +0 -1
  328. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  329. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
  330. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.js +0 -9
  331. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  332. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  333. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
  334. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
  335. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  336. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  337. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
  338. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.js +0 -12
  339. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  340. package/node_modules/markdown-it/node_modules/entities/lib/index.d.ts +0 -96
  341. package/node_modules/markdown-it/node_modules/entities/lib/index.d.ts.map +0 -1
  342. package/node_modules/markdown-it/node_modules/entities/lib/index.js +0 -126
  343. package/node_modules/markdown-it/node_modules/entities/lib/index.js.map +0 -1
  344. package/node_modules/markdown-it/node_modules/linkify-it/index.mjs +0 -646
  345. package/node_modules/markdown-it/node_modules/linkify-it/lib/re.mjs +0 -193
  346. package/node_modules/markdown-it/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
  347. package/node_modules/markdown-it/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
  348. package/node_modules/markdown-it/node_modules/uc.micro/categories/P/regex.mjs +0 -1
  349. package/node_modules/markdown-it/node_modules/uc.micro/categories/S/regex.mjs +0 -1
  350. package/node_modules/markdown-it/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
  351. package/node_modules/markdown-it/node_modules/uc.micro/index.mjs +0 -8
  352. package/node_modules/markdown-it/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
  353. /package/dist/{account-config-BZWN9tGS.js → .setup/account-config-BZWN9tGS.mjs} +0 -0
  354. /package/dist/{backup-health-Dm_YMVFT.js → .setup/backup-health-Dm_YMVFT.mjs} +0 -0
  355. /package/dist/{config-paths-CnREYb1Y.js → .setup/config-paths-CnREYb1Y.mjs} +0 -0
  356. /package/dist/{config-secret-input.runtime-CwsP3--c.js → .setup/config-secret-input.runtime-CwsP3--c.mjs} +0 -0
  357. /package/dist/{crypto-node.runtime-6Aj_ltHQ.js → .setup/crypto-node.runtime-6Aj_ltHQ.mjs} +0 -0
  358. /package/dist/{errors-C47hvAF8.js → .setup/errors-C47hvAF8.mjs} +0 -0
  359. /package/dist/{preflight-audio.runtime-BZxxQsxY.js → .setup/preflight-audio.runtime-BZxxQsxY.mjs} +0 -0
  360. /package/dist/{reaction-common-DkrQdBSZ.js → .setup/reaction-common-DkrQdBSZ.mjs} +0 -0
  361. /package/dist/{rolldown-runtime-8H4AJuhK.js → .setup/rolldown-runtime-8H4AJuhK.mjs} +0 -0
  362. /package/dist/{runtime-6S3DNFNv.js → .setup/runtime-6S3DNFNv.mjs} +0 -0
  363. /package/dist/{runtime-BefyhPWv.js → .setup/runtime-BefyhPWv.mjs} +0 -0
  364. /package/dist/{sync-state-CWbp0QSY.js → .setup/sync-state-CWbp0QSY.mjs} +0 -0
  365. /package/dist/{target-ids-B-5aQxwn.js → .setup/target-ids-B-5aQxwn.mjs} +0 -0
  366. /package/dist/{thread-bindings-shared-CKnY4LSd.js → .setup/thread-bindings-shared-CKnY4LSd.mjs} +0 -0
  367. /package/dist/{timeout-abort-signal-DMrgRFIy.js → .setup/timeout-abort-signal-DMrgRFIy.mjs} +0 -0
  368. /package/dist/{url-validation-GRHde6lq.js → .setup/url-validation-GRHde6lq.mjs} +0 -0
@@ -0,0 +1,3013 @@
1
+ /*! markdown-it 15.0.2 https://github.com/markdown-it/markdown-it @license MIT */
2
+ //#region \0rolldown/runtime.js
3
+ var e = Object.defineProperty, t = (t, n) => {
4
+ let r = {};
5
+ for (var i in t) e(r, i, {
6
+ get: t[i],
7
+ enumerable: !0
8
+ });
9
+ return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
10
+ }, n = {};
11
+ function r(e) {
12
+ let t = n[e];
13
+ if (t) return t;
14
+ t = n[e] = [];
15
+ for (let e = 0; e < 128; e++) {
16
+ let n = String.fromCharCode(e);
17
+ t.push(n);
18
+ }
19
+ for (let n = 0; n < e.length; n++) {
20
+ let r = e.charCodeAt(n);
21
+ t[r] = "%" + ("0" + r.toString(16).toUpperCase()).slice(-2);
22
+ }
23
+ return t;
24
+ }
25
+ function i(e, t) {
26
+ typeof t != "string" && (t = i.defaultChars);
27
+ let n = r(t);
28
+ return e.replace(/(%[a-f0-9]{2})+/gi, function(e) {
29
+ let t = "";
30
+ for (let r = 0, i = e.length; r < i; r += 3) {
31
+ let a = parseInt(e.slice(r + 1, r + 3), 16);
32
+ if (a < 128) {
33
+ t += n[a];
34
+ continue;
35
+ }
36
+ if ((a & 224) == 192 && r + 3 < i) {
37
+ let n = parseInt(e.slice(r + 4, r + 6), 16);
38
+ if ((n & 192) == 128) {
39
+ let e = a << 6 & 1984 | n & 63;
40
+ t += e < 128 ? "��" : String.fromCharCode(e), r += 3;
41
+ continue;
42
+ }
43
+ }
44
+ if ((a & 240) == 224 && r + 6 < i) {
45
+ let n = parseInt(e.slice(r + 4, r + 6), 16), i = parseInt(e.slice(r + 7, r + 9), 16);
46
+ if ((n & 192) == 128 && (i & 192) == 128) {
47
+ let e = a << 12 & 61440 | n << 6 & 4032 | i & 63;
48
+ t += e < 2048 || e >= 55296 && e <= 57343 ? "���" : String.fromCharCode(e), r += 6;
49
+ continue;
50
+ }
51
+ }
52
+ if ((a & 248) == 240 && r + 9 < i) {
53
+ let n = parseInt(e.slice(r + 4, r + 6), 16), i = parseInt(e.slice(r + 7, r + 9), 16), o = parseInt(e.slice(r + 10, r + 12), 16);
54
+ if ((n & 192) == 128 && (i & 192) == 128 && (o & 192) == 128) {
55
+ let e = a << 18 & 1835008 | n << 12 & 258048 | i << 6 & 4032 | o & 63;
56
+ e < 65536 || e > 1114111 ? t += "����" : (e -= 65536, t += String.fromCharCode(55296 + (e >> 10), 56320 + (e & 1023))), r += 9;
57
+ continue;
58
+ }
59
+ }
60
+ t += "�";
61
+ }
62
+ return t;
63
+ });
64
+ }
65
+ i.defaultChars = ";/?:@&=+$,#", i.componentChars = "";
66
+ //#endregion
67
+ //#region node_modules/mdurl/lib/encode.mjs
68
+ var a = {};
69
+ function o(e) {
70
+ let t = a[e];
71
+ if (t) return t;
72
+ t = a[e] = [];
73
+ for (let e = 0; e < 128; e++) {
74
+ let n = String.fromCharCode(e);
75
+ /^[0-9a-z]$/i.test(n) ? t.push(n) : t.push("%" + ("0" + e.toString(16).toUpperCase()).slice(-2));
76
+ }
77
+ for (let n = 0; n < e.length; n++) t[e.charCodeAt(n)] = e[n];
78
+ return t;
79
+ }
80
+ function s(e, t, n) {
81
+ typeof t != "string" && (n = t, t = s.defaultChars), n === void 0 && (n = !0);
82
+ let r = o(t), i = "";
83
+ for (let t = 0, a = e.length; t < a; t++) {
84
+ let o = e.charCodeAt(t);
85
+ if (n && o === 37 && t + 2 < a && /^[0-9a-f]{2}$/i.test(e.slice(t + 1, t + 3))) {
86
+ i += e.slice(t, t + 3), t += 2;
87
+ continue;
88
+ }
89
+ if (o < 128) {
90
+ i += r[o];
91
+ continue;
92
+ }
93
+ if (o >= 55296 && o <= 57343) {
94
+ if (o >= 55296 && o <= 56319 && t + 1 < a) {
95
+ let n = e.charCodeAt(t + 1);
96
+ if (n >= 56320 && n <= 57343) {
97
+ i += encodeURIComponent(e[t] + e[t + 1]), t++;
98
+ continue;
99
+ }
100
+ }
101
+ i += "%EF%BF%BD";
102
+ continue;
103
+ }
104
+ i += encodeURIComponent(e[t]);
105
+ }
106
+ return i;
107
+ }
108
+ s.defaultChars = ";/?:@&=+$,-_.!~*'()#", s.componentChars = "-_.!~*'()";
109
+ //#endregion
110
+ //#region node_modules/mdurl/lib/format.mjs
111
+ function c(e) {
112
+ let t = "";
113
+ return t += e.protocol || "", t += e.slashes ? "//" : "", t += e.auth ? e.auth + "@" : "", e.hostname && e.hostname.indexOf(":") !== -1 ? t += "[" + e.hostname + "]" : t += e.hostname || "", t += e.port ? ":" + e.port : "", t += e.pathname || "", t += e.search || "", t += e.hash || "", t;
114
+ }
115
+ //#endregion
116
+ //#region node_modules/mdurl/lib/parse.mjs
117
+ function l() {
118
+ this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
119
+ }
120
+ var u = /^([a-z0-9.+-]+:)/i, d = /:[0-9]*$/, f = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, p = [
121
+ "%",
122
+ "/",
123
+ "?",
124
+ ";",
125
+ "#",
126
+ "'",
127
+ "{",
128
+ "}",
129
+ "|",
130
+ "\\",
131
+ "^",
132
+ "`",
133
+ "<",
134
+ ">",
135
+ "\"",
136
+ "`",
137
+ " ",
138
+ "\r",
139
+ "\n",
140
+ " "
141
+ ], m = [
142
+ "/",
143
+ "?",
144
+ "#"
145
+ ], h = 255, g = /^[+a-z0-9A-Z_-]{0,63}$/, _ = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, v = {
146
+ javascript: !0,
147
+ "javascript:": !0
148
+ }, y = {
149
+ http: !0,
150
+ https: !0,
151
+ ftp: !0,
152
+ gopher: !0,
153
+ file: !0,
154
+ "http:": !0,
155
+ "https:": !0,
156
+ "ftp:": !0,
157
+ "gopher:": !0,
158
+ "file:": !0
159
+ };
160
+ function b(e, t) {
161
+ if (e && e instanceof l) return e;
162
+ let n = new l();
163
+ return n.parse(e, t), n;
164
+ }
165
+ l.prototype.parse = function(e, t) {
166
+ let n, r, i, a = e;
167
+ if (a = a.trim(), !t && e.split("#").length === 1) {
168
+ let e = f.exec(a);
169
+ if (e) return this.pathname = e[1], e[2] && (this.search = e[2]), this;
170
+ }
171
+ let o = u.exec(a);
172
+ if (o && (o = o[0], n = o.toLowerCase(), this.protocol = o, a = a.substr(o.length)), (t || o || a.match(/^\/\/[^@\/]+@[^@\/]+/)) && (i = a.substr(0, 2) === "//", i && !(o && v[o]) && (a = a.substr(2), this.slashes = !0)), !v[o] && (i || o && !y[o])) {
173
+ let e = -1;
174
+ for (let t = 0; t < m.length; t++) r = a.indexOf(m[t]), r !== -1 && (e === -1 || r < e) && (e = r);
175
+ let t, n;
176
+ n = e === -1 ? a.lastIndexOf("@") : a.lastIndexOf("@", e), n !== -1 && (t = a.slice(0, n), a = a.slice(n + 1), this.auth = t), e = -1;
177
+ for (let t = 0; t < p.length; t++) r = a.indexOf(p[t]), r !== -1 && (e === -1 || r < e) && (e = r);
178
+ e === -1 && (e = a.length), a[e - 1] === ":" && e--;
179
+ let i = a.slice(0, e);
180
+ a = a.slice(e), this.parseHost(i), this.hostname = this.hostname || "";
181
+ let o = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
182
+ if (!o) {
183
+ let e = this.hostname.split(/\./);
184
+ for (let t = 0, n = e.length; t < n; t++) {
185
+ let n = e[t];
186
+ if (n && !n.match(g)) {
187
+ let r = "";
188
+ for (let e = 0, t = n.length; e < t; e++) n.charCodeAt(e) > 127 ? r += "x" : r += n[e];
189
+ if (!r.match(g)) {
190
+ let r = e.slice(0, t), i = e.slice(t + 1), o = n.match(_);
191
+ o && (r.push(o[1]), i.unshift(o[2])), i.length && (a = i.join(".") + a), this.hostname = r.join(".");
192
+ break;
193
+ }
194
+ }
195
+ }
196
+ }
197
+ this.hostname.length > h && (this.hostname = ""), o && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
198
+ }
199
+ let s = a.indexOf("#");
200
+ s !== -1 && (this.hash = a.substr(s), a = a.slice(0, s));
201
+ let c = a.indexOf("?");
202
+ return c !== -1 && (this.search = a.substr(c), a = a.slice(0, c)), a && (this.pathname = a), y[n] && this.hostname && !this.pathname && (this.pathname = ""), this;
203
+ }, l.prototype.parseHost = function(e) {
204
+ let t = d.exec(e);
205
+ t && (t = t[0], t !== ":" && (this.port = t.substr(1)), e = e.substr(0, e.length - t.length)), e && (this.hostname = e);
206
+ };
207
+ //#endregion
208
+ //#region node_modules/mdurl/index.mjs
209
+ var ee = /* @__PURE__ */ t({
210
+ decode: () => i,
211
+ encode: () => s,
212
+ format: () => c,
213
+ parse: () => b
214
+ }), te = /* @__PURE__ */ t({
215
+ Any: () => x,
216
+ Cc: () => ne,
217
+ Cf: () => re,
218
+ P: () => S,
219
+ S: () => ie,
220
+ Z: () => ae
221
+ }), x = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ne = /[\0-\x1F\x7F-\x9F]/, re = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, S = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/, ie = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/, ae = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, oe = /* @__PURE__ */ new Map([
222
+ [0, 65533],
223
+ [128, 8364],
224
+ [130, 8218],
225
+ [131, 402],
226
+ [132, 8222],
227
+ [133, 8230],
228
+ [134, 8224],
229
+ [135, 8225],
230
+ [136, 710],
231
+ [137, 8240],
232
+ [138, 352],
233
+ [139, 8249],
234
+ [140, 338],
235
+ [142, 381],
236
+ [145, 8216],
237
+ [146, 8217],
238
+ [147, 8220],
239
+ [148, 8221],
240
+ [149, 8226],
241
+ [150, 8211],
242
+ [151, 8212],
243
+ [152, 732],
244
+ [153, 8482],
245
+ [154, 353],
246
+ [155, 8250],
247
+ [156, 339],
248
+ [158, 382],
249
+ [159, 376]
250
+ ]);
251
+ function se(e) {
252
+ var t;
253
+ return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (t = oe.get(e)) == null ? e : t;
254
+ }
255
+ //#endregion
256
+ //#region node_modules/entities/dist/internal/decode-shared.js
257
+ function ce(e) {
258
+ let t = atob(e), n = t.length & -2, r = new Uint16Array(n / 2);
259
+ for (let e = 0, i = 0; e < n; e += 2) {
260
+ let n = t.charCodeAt(e), a = t.charCodeAt(e + 1);
261
+ r[i++] = n | a << 8;
262
+ }
263
+ return r;
264
+ }
265
+ //#endregion
266
+ //#region node_modules/entities/dist/generated/decode-data-html.js
267
+ var le = /* #__PURE__ */ ce("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5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O4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg"), C;
268
+ (function(e) {
269
+ e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.FLAG13 = 8192] = "FLAG13", e[e.BRANCH_LENGTH = 8064] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
270
+ })(C || (C = {}));
271
+ //#endregion
272
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/typeof.js
273
+ function w(e) {
274
+ "@babel/helpers - typeof";
275
+ return w = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
276
+ return typeof e;
277
+ } : function(e) {
278
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
279
+ }, w(e);
280
+ }
281
+ //#endregion
282
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/toPrimitive.js
283
+ function ue(e, t) {
284
+ if (w(e) != "object" || !e) return e;
285
+ var n = e[Symbol.toPrimitive];
286
+ if (n !== void 0) {
287
+ var r = n.call(e, t || "default");
288
+ if (w(r) != "object") return r;
289
+ throw TypeError("@@toPrimitive must return a primitive value.");
290
+ }
291
+ return (t === "string" ? String : Number)(e);
292
+ }
293
+ //#endregion
294
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/toPropertyKey.js
295
+ function de(e) {
296
+ var t = ue(e, "string");
297
+ return w(t) == "symbol" ? t : t + "";
298
+ }
299
+ //#endregion
300
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/defineProperty.js
301
+ function T(e, t, n) {
302
+ return (t = de(t)) in e ? Object.defineProperty(e, t, {
303
+ value: n,
304
+ enumerable: !0,
305
+ configurable: !0,
306
+ writable: !0
307
+ }) : e[t] = n, e;
308
+ }
309
+ //#endregion
310
+ //#region node_modules/entities/dist/decode.js
311
+ var E;
312
+ (function(e) {
313
+ e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
314
+ })(E || (E = {}));
315
+ var fe = 32;
316
+ function D(e) {
317
+ return e >= E.ZERO && e <= E.NINE;
318
+ }
319
+ function pe(e) {
320
+ return e >= E.UPPER_A && e <= E.UPPER_F || e >= E.LOWER_A && e <= E.LOWER_F;
321
+ }
322
+ function me(e) {
323
+ return e >= E.UPPER_A && e <= E.UPPER_Z || e >= E.LOWER_A && e <= E.LOWER_Z || D(e);
324
+ }
325
+ function he(e) {
326
+ return e === E.EQUALS || me(e);
327
+ }
328
+ var O;
329
+ (function(e) {
330
+ e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
331
+ })(O || (O = {}));
332
+ var k;
333
+ (function(e) {
334
+ e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
335
+ })(k || (k = {}));
336
+ var ge = class {
337
+ constructor(e, t, n) {
338
+ T(this, "decodeTree", void 0), T(this, "emitCodePoint", void 0), T(this, "errors", void 0), T(this, "state", O.EntityStart), T(this, "consumed", 1), T(this, "result", 0), T(this, "treeIndex", 0), T(this, "excess", 1), T(this, "decodeMode", k.Strict), T(this, "runConsumed", 0), this.decodeTree = e, this.emitCodePoint = t, this.errors = n;
339
+ }
340
+ startEntity(e) {
341
+ this.decodeMode = e, this.state = O.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1, this.runConsumed = 0;
342
+ }
343
+ write(e, t) {
344
+ switch (this.state) {
345
+ case O.EntityStart: return e.charCodeAt(t) === E.NUM ? (this.state = O.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = O.NamedEntity, this.stateNamedEntity(e, t));
346
+ case O.NumericStart: return this.stateNumericStart(e, t);
347
+ case O.NumericDecimal: return this.stateNumericDecimal(e, t);
348
+ case O.NumericHex: return this.stateNumericHex(e, t);
349
+ case O.NamedEntity: return this.stateNamedEntity(e, t);
350
+ }
351
+ }
352
+ stateNumericStart(e, t) {
353
+ return t >= e.length ? -1 : (e.charCodeAt(t) | fe) === E.LOWER_X ? (this.state = O.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = O.NumericDecimal, this.stateNumericDecimal(e, t));
354
+ }
355
+ stateNumericHex(e, t) {
356
+ for (; t < e.length;) {
357
+ let n = e.charCodeAt(t);
358
+ if (D(n) || pe(n)) {
359
+ let e = n <= E.NINE ? n - E.ZERO : (n | fe) - E.LOWER_A + 10;
360
+ this.result = this.result * 16 + e, this.consumed++, t++;
361
+ } else return this.emitNumericEntity(n, 3);
362
+ }
363
+ return -1;
364
+ }
365
+ stateNumericDecimal(e, t) {
366
+ for (; t < e.length;) {
367
+ let n = e.charCodeAt(t);
368
+ if (D(n)) this.result = this.result * 10 + (n - E.ZERO), this.consumed++, t++;
369
+ else return this.emitNumericEntity(n, 2);
370
+ }
371
+ return -1;
372
+ }
373
+ emitNumericEntity(e, t) {
374
+ if (this.consumed <= t) {
375
+ var n;
376
+ return (n = this.errors) == null || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
377
+ }
378
+ if (e === E.SEMI) this.consumed += 1;
379
+ else if (this.decodeMode === k.Strict) return 0;
380
+ return this.emitCodePoint(se(this.result), this.consumed), this.errors && (e !== E.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
381
+ }
382
+ stateNamedEntity(e, t) {
383
+ let { decodeTree: n } = this, r = n[this.treeIndex], i = (r & C.VALUE_LENGTH) >> 14;
384
+ for (; t < e.length;) {
385
+ if (i === 0 && (r & C.FLAG13) !== 0) {
386
+ let a = (r & C.BRANCH_LENGTH) >> 7;
387
+ if (this.runConsumed === 0) {
388
+ let n = r & C.JUMP_TABLE;
389
+ if (e.charCodeAt(t) !== n) return this.result === 0 ? 0 : this.emitNotTerminatedNamedEntity();
390
+ t++, this.excess++, this.runConsumed++;
391
+ }
392
+ for (; this.runConsumed < a;) {
393
+ if (t >= e.length) return -1;
394
+ let r = this.runConsumed - 1, i = n[this.treeIndex + 1 + (r >> 1)], a = r % 2 == 0 ? i & 255 : i >> 8 & 255;
395
+ if (e.charCodeAt(t) !== a) return this.runConsumed = 0, this.result === 0 ? 0 : this.emitNotTerminatedNamedEntity();
396
+ t++, this.excess++, this.runConsumed++;
397
+ }
398
+ this.runConsumed = 0, this.treeIndex += 1 + (a >> 1), r = n[this.treeIndex], i = (r & C.VALUE_LENGTH) >> 14;
399
+ }
400
+ if (t >= e.length) break;
401
+ let a = e.charCodeAt(t);
402
+ if (a === E.SEMI && i !== 0 && (r & C.FLAG13) !== 0) return this.emitNamedEntityData(this.treeIndex, i, this.consumed + this.excess);
403
+ if (this.treeIndex = ve(n, r, this.treeIndex + Math.max(1, i), a), this.treeIndex < 0) return this.result === 0 || this.decodeMode === k.Attribute && (i === 0 || he(a)) ? 0 : this.emitNotTerminatedNamedEntity();
404
+ if (r = n[this.treeIndex], i = (r & C.VALUE_LENGTH) >> 14, i !== 0) {
405
+ if (a === E.SEMI) return this.emitNamedEntityData(this.treeIndex, i, this.consumed + this.excess);
406
+ this.decodeMode !== k.Strict && (r & C.FLAG13) === 0 && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
407
+ }
408
+ t++, this.excess++;
409
+ }
410
+ return -1;
411
+ }
412
+ emitNotTerminatedNamedEntity() {
413
+ var e;
414
+ let { result: t, decodeTree: n } = this, r = (n[t] & C.VALUE_LENGTH) >> 14;
415
+ return this.emitNamedEntityData(t, r, this.consumed), (e = this.errors) == null || e.missingSemicolonAfterCharacterReference(), this.consumed;
416
+ }
417
+ emitNamedEntityData(e, t, n) {
418
+ let { decodeTree: r } = this;
419
+ return this.emitCodePoint(t === 1 ? r[e] & ~(C.VALUE_LENGTH | C.FLAG13) : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
420
+ }
421
+ end() {
422
+ switch (this.state) {
423
+ case O.NamedEntity: return this.result !== 0 && (this.decodeMode !== k.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
424
+ case O.NumericDecimal: return this.emitNumericEntity(0, 2);
425
+ case O.NumericHex: return this.emitNumericEntity(0, 3);
426
+ case O.NumericStart:
427
+ var e;
428
+ return (e = this.errors) == null || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
429
+ case O.EntityStart: return 0;
430
+ }
431
+ }
432
+ };
433
+ function _e(e) {
434
+ let t = "", n = new ge(e, (e) => t += String.fromCodePoint(e));
435
+ return function(e, r) {
436
+ let i = 0, a = 0;
437
+ for (; (a = e.indexOf("&", a)) >= 0;) {
438
+ t += e.slice(i, a), n.startEntity(r);
439
+ let o = n.write(e, a + 1);
440
+ if (o < 0) {
441
+ i = a + n.end();
442
+ break;
443
+ }
444
+ i = a + o, a = o === 0 ? i + 1 : i;
445
+ }
446
+ let o = t + e.slice(i);
447
+ return t = "", o;
448
+ };
449
+ }
450
+ function ve(e, t, n, r) {
451
+ let i = (t & C.BRANCH_LENGTH) >> 7, a = t & C.JUMP_TABLE;
452
+ if (i === 0) return a !== 0 && r === a ? n : -1;
453
+ if (a) {
454
+ let t = r - a;
455
+ return t < 0 || t >= i ? -1 : e[n + t] - 1;
456
+ }
457
+ let o = i + 1 >> 1, s = 0, c = i - 1;
458
+ for (; s <= c;) {
459
+ let t = s + c >>> 1, i = e[n + (t >> 1)] >> (t & 1) * 8 & 255;
460
+ if (i < r) s = t + 1;
461
+ else if (i > r) c = t - 1;
462
+ else return e[n + o + t];
463
+ }
464
+ return -1;
465
+ }
466
+ var ye = /* #__PURE__ */ _e(le);
467
+ function be(e) {
468
+ return ye(e, k.Strict);
469
+ }
470
+ //#endregion
471
+ //#region src/common/utils.ts
472
+ var xe = /* @__PURE__ */ t({
473
+ arrayReplaceAt: () => Ce,
474
+ asciiTrim: () => R,
475
+ callable: () => Se,
476
+ escapeHtml: () => M,
477
+ escapeRE: () => Fe,
478
+ fromCodePoint: () => A,
479
+ isMdAsciiPunct: () => I,
480
+ isPunctChar: () => Ie,
481
+ isPunctCharCode: () => F,
482
+ isSpace: () => N,
483
+ isValidEntityCode: () => we,
484
+ isWhiteSpace: () => P,
485
+ lib: () => Re,
486
+ normalizeReference: () => L,
487
+ unescapeAll: () => j,
488
+ unescapeMd: () => ke
489
+ });
490
+ function Se(e) {
491
+ let t = function(...n) {
492
+ return Reflect.construct(e, n, new.target && new.target !== t ? new.target : e);
493
+ };
494
+ return Object.defineProperty(t, "name", { value: e.name }), Object.setPrototypeOf(t, e), t.prototype = e.prototype, t;
495
+ }
496
+ function Ce(e, t, n) {
497
+ return [].concat(e.slice(0, t), n, e.slice(t + 1));
498
+ }
499
+ function we(e) {
500
+ return !(e >= 55296 && e <= 57343 || e >= 64976 && e <= 65007 || (e & 65535) == 65535 || (e & 65535) == 65534 || e >= 0 && e <= 8 || e === 11 || e >= 14 && e <= 31 || e >= 127 && e <= 159 || e > 1114111);
501
+ }
502
+ function A(e) {
503
+ if (e > 65535) {
504
+ e -= 65536;
505
+ let t = 55296 + (e >> 10), n = 56320 + (e & 1023);
506
+ return String.fromCharCode(t, n);
507
+ }
508
+ return String.fromCharCode(e);
509
+ }
510
+ var Te = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, Ee = RegExp(`${Te.source}|&([a-z#][a-z0-9]{1,31});`, "gi"), De = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
511
+ function Oe(e, t) {
512
+ if (t.charCodeAt(0) === 35 && De.test(t)) {
513
+ let n = t[1].toLowerCase() === "x" ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10);
514
+ return we(n) ? A(n) : e;
515
+ }
516
+ let n = be(e);
517
+ return n === e ? e : n;
518
+ }
519
+ function ke(e) {
520
+ return e.indexOf("\\") < 0 ? e : e.replace(Te, "$1");
521
+ }
522
+ function j(e) {
523
+ return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(Ee, function(e, t, n) {
524
+ return t || Oe(e, n);
525
+ });
526
+ }
527
+ var Ae = /[&<>"]/, je = /[&<>"]/g, Me = {
528
+ "&": "&amp;",
529
+ "<": "&lt;",
530
+ ">": "&gt;",
531
+ "\"": "&quot;"
532
+ };
533
+ function Ne(e) {
534
+ return Me[e];
535
+ }
536
+ function M(e) {
537
+ return Ae.test(e) ? e.replace(je, Ne) : e;
538
+ }
539
+ var Pe = /[.?*+^$[\]\\(){}|-]/g;
540
+ function Fe(e) {
541
+ return e.replace(Pe, "\\$&");
542
+ }
543
+ function N(e) {
544
+ switch (e) {
545
+ case 9:
546
+ case 32: return !0;
547
+ }
548
+ return !1;
549
+ }
550
+ function P(e) {
551
+ if (e >= 8192 && e <= 8202) return !0;
552
+ switch (e) {
553
+ case 9:
554
+ case 10:
555
+ case 11:
556
+ case 12:
557
+ case 13:
558
+ case 32:
559
+ case 160:
560
+ case 5760:
561
+ case 8239:
562
+ case 8287:
563
+ case 12288: return !0;
564
+ }
565
+ return !1;
566
+ }
567
+ function Ie(e) {
568
+ return S.test(e) || ie.test(e);
569
+ }
570
+ function F(e) {
571
+ return Ie(A(e));
572
+ }
573
+ function I(e) {
574
+ switch (e) {
575
+ case 33:
576
+ case 34:
577
+ case 35:
578
+ case 36:
579
+ case 37:
580
+ case 38:
581
+ case 39:
582
+ case 40:
583
+ case 41:
584
+ case 42:
585
+ case 43:
586
+ case 44:
587
+ case 45:
588
+ case 46:
589
+ case 47:
590
+ case 58:
591
+ case 59:
592
+ case 60:
593
+ case 61:
594
+ case 62:
595
+ case 63:
596
+ case 64:
597
+ case 91:
598
+ case 92:
599
+ case 93:
600
+ case 94:
601
+ case 95:
602
+ case 96:
603
+ case 123:
604
+ case 124:
605
+ case 125:
606
+ case 126: return !0;
607
+ default: return !1;
608
+ }
609
+ }
610
+ function L(e) {
611
+ return e = e.trim().replace(/\s+/g, " "), e.toLowerCase().toUpperCase();
612
+ }
613
+ function Le(e) {
614
+ return e === 32 || e === 9 || e === 10 || e === 13;
615
+ }
616
+ function R(e) {
617
+ let t = 0;
618
+ for (; t < e.length && Le(e.charCodeAt(t)); t++);
619
+ let n = e.length - 1;
620
+ for (; n >= t && Le(e.charCodeAt(n)); n--);
621
+ return e.slice(t, n + 1);
622
+ }
623
+ var Re = {
624
+ mdurl: ee,
625
+ ucmicro: te
626
+ };
627
+ //#endregion
628
+ //#region src/helpers/parse_link_label.ts
629
+ function ze(e, t, n) {
630
+ let r, i, a, o, s = e.posMax, c = e.pos;
631
+ for (e.pos = t + 1, r = 1; e.pos < s;) {
632
+ if (a = e.src.charCodeAt(e.pos), a === 93 && (r--, r === 0)) {
633
+ i = !0;
634
+ break;
635
+ }
636
+ if (o = e.pos, e.md.inline.skipToken(e), a === 91) {
637
+ if (o === e.pos - 1) r++;
638
+ else if (n) return e.pos = c, -1;
639
+ }
640
+ }
641
+ let l = -1;
642
+ return i && (l = e.pos), e.pos = c, l;
643
+ }
644
+ //#endregion
645
+ //#region src/helpers/parse_link_destination.ts
646
+ function Be(e, t, n) {
647
+ let r, i = t, a = {
648
+ ok: !1,
649
+ pos: 0,
650
+ str: ""
651
+ };
652
+ if (e.charCodeAt(i) === 60) {
653
+ for (i++; i < n;) {
654
+ if (r = e.charCodeAt(i), r === 10 || r === 60) return a;
655
+ if (r === 62) return a.pos = i + 1, a.str = j(e.slice(t + 1, i)), a.ok = !0, a;
656
+ if (r === 92 && i + 1 < n) {
657
+ i += 2;
658
+ continue;
659
+ }
660
+ i++;
661
+ }
662
+ return a;
663
+ }
664
+ let o = 0;
665
+ for (; i < n && (r = e.charCodeAt(i), !(r === 32 || r < 32 || r === 127));) {
666
+ if (r === 92 && i + 1 < n) {
667
+ if (e.charCodeAt(i + 1) === 32) {
668
+ i++;
669
+ continue;
670
+ }
671
+ i += 2;
672
+ continue;
673
+ }
674
+ if (r === 40 && (o++, o > 32)) return a;
675
+ if (r === 41) {
676
+ if (o === 0) break;
677
+ o--;
678
+ }
679
+ i++;
680
+ }
681
+ return t === i || o !== 0 ? a : (a.str = j(e.slice(t, i)), a.pos = i, a.ok = !0, a);
682
+ }
683
+ //#endregion
684
+ //#region src/helpers/parse_link_title.ts
685
+ function Ve(e, t, n, r) {
686
+ let i, a = t, o = {
687
+ ok: !1,
688
+ can_continue: !1,
689
+ pos: 0,
690
+ str: "",
691
+ marker: 0
692
+ };
693
+ if (r) o.str = r.str, o.marker = r.marker;
694
+ else {
695
+ if (a >= n) return o;
696
+ let r = e.charCodeAt(a);
697
+ if (r !== 34 && r !== 39 && r !== 40) return o;
698
+ t++, a++, r === 40 && (r = 41), o.marker = r;
699
+ }
700
+ for (; a < n;) {
701
+ if (i = e.charCodeAt(a), i === o.marker) return o.pos = a + 1, o.str += j(e.slice(t, a)), o.ok = !0, o;
702
+ if (i === 40 && o.marker === 41) return o;
703
+ i === 92 && a + 1 < n && a++, a++;
704
+ }
705
+ return o.can_continue = !0, o.str += j(e.slice(t, a)), o;
706
+ }
707
+ //#endregion
708
+ //#region src/helpers/index.ts
709
+ var He = /* @__PURE__ */ t({
710
+ parseLinkDestination: () => Be,
711
+ parseLinkLabel: () => ze,
712
+ parseLinkTitle: () => Ve
713
+ }), z = class {
714
+ constructor(e, t, n) {
715
+ T(this, "map", null), T(this, "level", 0), T(this, "children", null), T(this, "content", ""), T(this, "markup", ""), T(this, "info", ""), T(this, "block", !1), T(this, "hidden", !1), this.type = e, this.tag = t, this.attrs = null, this.nesting = n, this.meta = null;
716
+ }
717
+ attrIndex(e) {
718
+ if (!this.attrs) return -1;
719
+ let t = this.attrs;
720
+ for (let n = 0, r = t.length; n < r; n++) if (t[n][0] === e) return n;
721
+ return -1;
722
+ }
723
+ attrPush(e) {
724
+ this.attrs ? this.attrs.push(e) : this.attrs = [e];
725
+ }
726
+ attrSet(e, t) {
727
+ let n = this.attrIndex(e), r = [e, t];
728
+ n < 0 ? this.attrPush(r) : this.attrs[n] = r;
729
+ }
730
+ attrGet(e) {
731
+ let t = this.attrIndex(e), n = null;
732
+ return t >= 0 && (n = this.attrs[t][1]), n;
733
+ }
734
+ attrJoin(e, t) {
735
+ let n = this.attrIndex(e);
736
+ n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = `${this.attrs[n][1]} ${t}`;
737
+ }
738
+ }, B = class {
739
+ constructor() {
740
+ T(this, "__rules__", []), T(this, "__cache__", null);
741
+ }
742
+ __find__(e) {
743
+ for (let t = 0; t < this.__rules__.length; t++) if (this.__rules__[t].name === e) return t;
744
+ return -1;
745
+ }
746
+ __compile__() {
747
+ let e = /* @__PURE__ */ new Set();
748
+ this.__rules__.forEach((t) => {
749
+ t.enabled && t.alt.forEach((t) => {
750
+ t && e.add(t);
751
+ });
752
+ }), this.__cache__ = Object.create(null), this.__cache__[""] = [], this.__rules__.forEach((e) => {
753
+ e.enabled && this.__cache__[""].push(e.fn);
754
+ }), e.forEach((e) => {
755
+ this.__cache__[e] = [], this.__rules__.forEach((t) => {
756
+ t.enabled && t.alt.indexOf(e) >= 0 && this.__cache__[e].push(t.fn);
757
+ });
758
+ });
759
+ }
760
+ at(e, t, n = {}) {
761
+ let r = this.__find__(e);
762
+ if (r === -1) throw Error(`Parser rule not found: ${e}`);
763
+ this.__rules__[r].fn = t, this.__rules__[r].alt = n.alt || [], this.__cache__ = null;
764
+ }
765
+ before(e, t, n, r = {}) {
766
+ let i = this.__find__(e);
767
+ if (i === -1) throw Error(`Parser rule not found: ${e}`);
768
+ this.__rules__.splice(i, 0, {
769
+ name: t,
770
+ enabled: !0,
771
+ fn: n,
772
+ alt: r.alt || []
773
+ }), this.__cache__ = null;
774
+ }
775
+ after(e, t, n, r = {}) {
776
+ let i = this.__find__(e);
777
+ if (i === -1) throw Error(`Parser rule not found: ${e}`);
778
+ this.__rules__.splice(i + 1, 0, {
779
+ name: t,
780
+ enabled: !0,
781
+ fn: n,
782
+ alt: r.alt || []
783
+ }), this.__cache__ = null;
784
+ }
785
+ push(e, t, n = {}) {
786
+ this.__rules__.push({
787
+ name: e,
788
+ enabled: !0,
789
+ fn: t,
790
+ alt: n.alt || []
791
+ }), this.__cache__ = null;
792
+ }
793
+ enable(e, t = !1) {
794
+ Array.isArray(e) || (e = [e]);
795
+ let n = [];
796
+ return e.forEach((e) => {
797
+ let r = this.__find__(e);
798
+ if (r < 0) {
799
+ if (t) return;
800
+ throw Error(`Rules manager: invalid rule name ${e}`);
801
+ }
802
+ this.__rules__[r].enabled = !0, n.push(e);
803
+ }), this.__cache__ = null, n;
804
+ }
805
+ enableOnly(e, t = !1) {
806
+ Array.isArray(e) || (e = [e]), this.__rules__.forEach((e) => {
807
+ e.enabled = !1;
808
+ }), this.enable(e, t);
809
+ }
810
+ disable(e, t = !1) {
811
+ Array.isArray(e) || (e = [e]);
812
+ let n = [];
813
+ return e.forEach((e) => {
814
+ let r = this.__find__(e);
815
+ if (r < 0) {
816
+ if (t) return;
817
+ throw Error(`Rules manager: invalid rule name ${e}`);
818
+ }
819
+ this.__rules__[r].enabled = !1, n.push(e);
820
+ }), this.__cache__ = null, n;
821
+ }
822
+ getRules(e) {
823
+ return this.__cache__ || this.__compile__(), this.__cache__[e] || [];
824
+ }
825
+ }, V = {};
826
+ V.code_inline = function(e, t, n, r, i) {
827
+ let a = e[t];
828
+ return `<code${i.renderAttrs(a)}>${M(a.content)}</code>`;
829
+ }, V.code_block = function(e, t, n, r, i) {
830
+ let a = e[t];
831
+ return `<pre${i.renderAttrs(a)}><code>${M(e[t].content)}</code></pre>\n`;
832
+ }, V.fence = function(e, t, n, r, i) {
833
+ let a = e[t], o = a.info ? j(a.info).trim() : "", s = "", c = "";
834
+ if (o) {
835
+ let e = o.split(/(\s+)/g);
836
+ s = e[0], c = e.slice(2).join("");
837
+ }
838
+ let l;
839
+ if (l = n.highlight && n.highlight(a.content, s, c) || M(a.content), l.indexOf("<pre") === 0) return l + "\n";
840
+ if (o) {
841
+ let e = a.attrIndex("class"), t = a.attrs ? a.attrs.slice() : [];
842
+ e < 0 ? t.push(["class", `${n.langPrefix}${s}`]) : (t[e] = [t[e][0], t[e][1]], t[e][1] += ` ${n.langPrefix}${s}`);
843
+ let r = { attrs: t };
844
+ return `<pre><code${i.renderAttrs(r)}>${l}</code></pre>\n`;
845
+ }
846
+ return `<pre><code${i.renderAttrs(a)}>${l}</code></pre>\n`;
847
+ }, V.image = function(e, t, n, r, i) {
848
+ let a = e[t];
849
+ return a.attrs[a.attrIndex("alt")][1] = i.renderInlineAsText(a.children, n, r), i.renderToken(e, t, n);
850
+ }, V.hardbreak = function(e, t, n) {
851
+ return n.xhtmlOut ? "<br />\n" : "<br>\n";
852
+ }, V.softbreak = function(e, t, n) {
853
+ return n.breaks ? n.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
854
+ }, V.text = function(e, t) {
855
+ return M(e[t].content);
856
+ }, V.html_block = function(e, t) {
857
+ return e[t].content;
858
+ }, V.html_inline = function(e, t) {
859
+ return e[t].content;
860
+ };
861
+ var Ue = class {
862
+ constructor() {
863
+ T(this, "rules", Object.assign({}, V));
864
+ }
865
+ renderAttrs(e) {
866
+ let t, n, r;
867
+ if (!e.attrs) return "";
868
+ for (r = "", t = 0, n = e.attrs.length; t < n; t++) r += ` ${M(e.attrs[t][0])}="${M(String(e.attrs[t][1]))}"`;
869
+ return r;
870
+ }
871
+ renderToken(e, t, n) {
872
+ let r = e[t], i = "";
873
+ if (r.hidden) return "";
874
+ let a = t - 1;
875
+ for (; a >= 0 && e[a].hidden && e[a].nesting === 0;) a--;
876
+ r.block && r.nesting !== -1 && a >= 0 && e[a].hidden && e[a].nesting === -1 && (i += "\n"), i += (r.nesting === -1 ? "</" : "<") + r.tag, i += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (i += " /");
877
+ let o = !1;
878
+ if (r.block && (o = !0, r.nesting === 1)) {
879
+ let n = t + 1;
880
+ for (; n < e.length && e[n].hidden && e[n].nesting === 0;) n++;
881
+ if (n < e.length) {
882
+ let t = e[n];
883
+ (t.type === "inline" || t.hidden || t.nesting === -1 && t.tag === r.tag) && (o = !1);
884
+ }
885
+ }
886
+ return i += o ? ">\n" : ">", i;
887
+ }
888
+ renderInline(e, t, n) {
889
+ let r = "", i = this.rules;
890
+ for (let a = 0, o = e.length; a < o; a++) {
891
+ let o = e[a].type;
892
+ i[o] === void 0 ? r += this.renderToken(e, a, t) : r += i[o](e, a, t, n, this);
893
+ }
894
+ return r;
895
+ }
896
+ renderInlineAsText(e, t, n) {
897
+ let r = "";
898
+ for (let i = 0, a = e.length; i < a; i++) switch (e[i].type) {
899
+ case "text":
900
+ case "code_inline":
901
+ r += e[i].content;
902
+ break;
903
+ case "image":
904
+ r += this.renderInlineAsText(e[i].children, t, n);
905
+ break;
906
+ case "html_inline":
907
+ case "html_block":
908
+ r += e[i].content;
909
+ break;
910
+ case "softbreak":
911
+ case "hardbreak": r += "\n";
912
+ }
913
+ return r;
914
+ }
915
+ render(e, t, n) {
916
+ let r = "", i = this.rules;
917
+ for (let a = 0, o = e.length; a < o; a++) {
918
+ let o = e[a].type;
919
+ o === "inline" ? r += this.renderInline(e[a].children, t, n) : i[o] === void 0 ? r += this.renderToken(e, a, t) : r += i[o](e, a, t, n, this);
920
+ }
921
+ return r;
922
+ }
923
+ }, We = class {
924
+ constructor(e, t, n) {
925
+ T(this, "tokens", []), T(this, "inlineMode", !1), T(this, "Token", z), this.src = e, this.env = n, this.md = t;
926
+ }
927
+ }, Ge = /\r\n?/g, Ke = /\0/g;
928
+ function qe(e) {
929
+ let t;
930
+ t = e.src.replace(Ge, "\n"), t = t.replace(Ke, "�"), e.src = t;
931
+ }
932
+ //#endregion
933
+ //#region src/rules_core/block.ts
934
+ function Je(e) {
935
+ let t;
936
+ e.inlineMode ? (t = new e.Token("inline", "", 0), t.content = e.src, t.map = [0, 1], t.children = [], e.tokens.push(t)) : e.md.block.parse(e.src, e.md, e.env, e.tokens);
937
+ }
938
+ //#endregion
939
+ //#region src/rules_core/strip_references.ts
940
+ function Ye(e) {
941
+ let t = e.tokens, n = 0;
942
+ for (let e = 0; e < t.length; e++) t[e].type !== "reference_definition" && (e !== n && (t[n] = t[e]), n++);
943
+ t.length !== n && (t.length = n);
944
+ }
945
+ //#endregion
946
+ //#region src/rules_core/inline.ts
947
+ function Xe(e) {
948
+ let t = e.tokens;
949
+ for (let n = 0, r = t.length; n < r; n++) {
950
+ let r = t[n];
951
+ r.type === "inline" && e.md.inline.parse(r.content, e.md, e.env, r.children);
952
+ }
953
+ }
954
+ //#endregion
955
+ //#region src/rules_core/linkify.ts
956
+ function Ze(e) {
957
+ return /^<a[>\s]/i.test(e);
958
+ }
959
+ function Qe(e) {
960
+ return /^<\/a\s*>/i.test(e);
961
+ }
962
+ function $e(e) {
963
+ let t = e.tokens;
964
+ if (e.md.options.linkify) for (let n = 0, r = t.length; n < r; n++) {
965
+ if (t[n].type !== "inline" || !e.md.linkify.test(t[n].content)) continue;
966
+ let r = t[n].children, i = [], a = 0;
967
+ for (let t = r.length - 1; t >= 0; t--) {
968
+ let n = r[t];
969
+ if (n.type === "link_close") {
970
+ for (t--; r[t].level !== n.level && r[t].type !== "link_open";) t--;
971
+ continue;
972
+ }
973
+ if (n.type === "html_inline" && (Ze(n.content) && a > 0 && a--, Qe(n.content) && a++), !(a > 0) && n.type === "text" && e.md.linkify.test(n.content)) {
974
+ let a = n.content, o = e.md.linkify.match(a), s = [], c = n.level, l = 0;
975
+ o.length > 0 && o[0].index === 0 && t > 0 && r[t - 1].type === "text_special" && (o = o.slice(1));
976
+ for (let t = 0; t < o.length; t++) {
977
+ let n = o[t].url, r = e.md.normalizeLink(n);
978
+ if (!e.md.validateLink(r)) continue;
979
+ let i = o[t].text;
980
+ i = o[t].schema ? o[t].schema === "mailto:" && !/^mailto:/i.test(i) ? e.md.normalizeLinkText(`mailto:${i}`).replace(/^mailto:/, "") : e.md.normalizeLinkText(i) : e.md.normalizeLinkText(`http://${i}`).replace(/^http:\/\//, "");
981
+ let u = o[t].index;
982
+ if (u > l) {
983
+ let t = new e.Token("text", "", 0);
984
+ t.content = a.slice(l, u), t.level = c, s.push(t);
985
+ }
986
+ let d = new e.Token("link_open", "a", 1);
987
+ d.attrs = [["href", r]], d.level = c++, d.markup = "linkify", d.info = "auto", s.push(d);
988
+ let f = new e.Token("text", "", 0);
989
+ f.content = i, f.level = c, s.push(f);
990
+ let p = new e.Token("link_close", "a", -1);
991
+ p.level = --c, p.markup = "linkify", p.info = "auto", s.push(p), l = o[t].lastIndex;
992
+ }
993
+ if (l < a.length) {
994
+ let t = new e.Token("text", "", 0);
995
+ t.content = a.slice(l), t.level = c, s.push(t);
996
+ }
997
+ i.push({
998
+ index: t,
999
+ nodes: s
1000
+ });
1001
+ }
1002
+ }
1003
+ if (i.length > 0) {
1004
+ let e = r.length;
1005
+ for (let t of i) e += t.nodes.length - 1;
1006
+ let a = Array(e), o = 0, s = 0;
1007
+ i.reverse();
1008
+ for (let e = 0; e < r.length; e++) {
1009
+ let t = i[o];
1010
+ if ((t == null ? void 0 : t.index) === e) {
1011
+ for (let e of t.nodes) a[s++] = e;
1012
+ o++;
1013
+ } else a[s++] = r[e];
1014
+ }
1015
+ t[n].children = a;
1016
+ }
1017
+ }
1018
+ }
1019
+ //#endregion
1020
+ //#region src/rules_core/replacements.ts
1021
+ var et = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, tt = /\((c|tm|r)\)/i, nt = /\((c|tm|r)\)/gi, rt = {
1022
+ c: "©",
1023
+ r: "®",
1024
+ tm: "™"
1025
+ };
1026
+ function it(e, t) {
1027
+ return rt[t.toLowerCase()];
1028
+ }
1029
+ function at(e) {
1030
+ let t = 0;
1031
+ for (let n = e.length - 1; n >= 0; n--) {
1032
+ let r = e[n];
1033
+ r.type === "text" && !t && (r.content = r.content.replace(nt, it)), r.type === "link_open" && r.info === "auto" && t--, r.type === "link_close" && r.info === "auto" && t++;
1034
+ }
1035
+ }
1036
+ function ot(e) {
1037
+ let t = 0;
1038
+ for (let n = e.length - 1; n >= 0; n--) {
1039
+ let r = e[n];
1040
+ r.type === "text" && !t && et.test(r.content) && (r.content = r.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/gm, "$1—").replace(/(^|\s)--(?=\s|$)/gm, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm, "$1–")), r.type === "link_open" && r.info === "auto" && t--, r.type === "link_close" && r.info === "auto" && t++;
1041
+ }
1042
+ }
1043
+ function st(e) {
1044
+ let t;
1045
+ if (e.md.options.typographer) for (t = e.tokens.length - 1; t >= 0; t--) e.tokens[t].type === "inline" && (tt.test(e.tokens[t].content) && at(e.tokens[t].children), et.test(e.tokens[t].content) && ot(e.tokens[t].children));
1046
+ }
1047
+ //#endregion
1048
+ //#region src/rules_core/smartquotes.ts
1049
+ var ct = /['"]/, lt = /['"]/g, ut = "’", dt = 1e3;
1050
+ function ft(e, t, n) {
1051
+ for (; e.length > n;) {
1052
+ let n = e.pop();
1053
+ n.isSingleQuote ? t.single = n.prevSameQuoteIdx : t.double = n.prevSameQuoteIdx;
1054
+ }
1055
+ }
1056
+ function H(e, t, n, r) {
1057
+ e[t] || (e[t] = []), e[t].push({
1058
+ pos: n,
1059
+ ch: r
1060
+ });
1061
+ }
1062
+ function pt(e, t) {
1063
+ let n = "", r = 0;
1064
+ t.sort((e, t) => e.pos - t.pos);
1065
+ for (let i = 0; i < t.length; i++) {
1066
+ let a = t[i];
1067
+ n += e.slice(r, a.pos) + a.ch, r = a.pos + 1;
1068
+ }
1069
+ return n + e.slice(r);
1070
+ }
1071
+ function mt(e, t) {
1072
+ let n, r = [], i = {
1073
+ single: -1,
1074
+ double: -1
1075
+ }, a = {};
1076
+ for (let o = 0; o < e.length; o++) {
1077
+ let s = e[o], c = e[o].level;
1078
+ for (n = r.length - 1; n >= 0 && !(r[n].level <= c); n--);
1079
+ if (ft(r, i, n + 1), s.type !== "text") continue;
1080
+ let l = s.content, u = 0, d = l.length;
1081
+ OUTER: for (; u < d;) {
1082
+ lt.lastIndex = u;
1083
+ let s = lt.exec(l);
1084
+ if (!s) break;
1085
+ let f = !0, p = !0;
1086
+ u = s.index + 1;
1087
+ let m = s[0] === "'", h = 32;
1088
+ if (s.index - 1 >= 0) h = l.charCodeAt(s.index - 1);
1089
+ else for (n = o - 1; n >= 0 && e[n].type !== "softbreak" && e[n].type !== "hardbreak"; n--) if (e[n].content) {
1090
+ h = e[n].content.charCodeAt(e[n].content.length - 1);
1091
+ break;
1092
+ }
1093
+ let g = 32;
1094
+ if (u < d) g = l.charCodeAt(u);
1095
+ else for (n = o + 1; n < e.length && e[n].type !== "softbreak" && e[n].type !== "hardbreak"; n++) if (e[n].content) {
1096
+ g = e[n].content.charCodeAt(0);
1097
+ break;
1098
+ }
1099
+ let _ = I(h) || F(h), v = I(g) || F(g), y = P(h), b = P(g);
1100
+ if (b ? f = !1 : v && (y || _ || (f = !1)), y ? p = !1 : _ && (b || v || (p = !1)), g === 34 && s[0] === "\"" && h >= 48 && h <= 57 && (p = f = !1), f && p && (f = _, p = v), !f && !p) {
1101
+ m && H(a, o, s.index, ut);
1102
+ continue;
1103
+ }
1104
+ if (p && (n = m ? i.single : i.double, n >= 0 && r[n].level === c)) {
1105
+ let e = r[n], c, l;
1106
+ m ? (c = t.md.options.quotes[2], l = t.md.options.quotes[3]) : (c = t.md.options.quotes[0], l = t.md.options.quotes[1]), H(a, o, s.index, l), H(a, e.tokenIdx, e.contentPos, c), ft(r, i, n);
1107
+ continue OUTER;
1108
+ }
1109
+ if (f) {
1110
+ if (r.length >= dt) return;
1111
+ r.push({
1112
+ tokenIdx: o,
1113
+ contentPos: s.index,
1114
+ isSingleQuote: m,
1115
+ level: c,
1116
+ prevSameQuoteIdx: m ? i.single : i.double
1117
+ }), m ? i.single = r.length - 1 : i.double = r.length - 1;
1118
+ } else p && m && H(a, o, s.index, ut);
1119
+ }
1120
+ }
1121
+ Object.keys(a).forEach(function(t) {
1122
+ let n = Number(t);
1123
+ e[n].content = pt(e[n].content, a[t]);
1124
+ });
1125
+ }
1126
+ function ht(e) {
1127
+ if (e.md.options.typographer) for (let t = e.tokens.length - 1; t >= 0; t--) e.tokens[t].type !== "inline" || !ct.test(e.tokens[t].content) || mt(e.tokens[t].children, e);
1128
+ }
1129
+ //#endregion
1130
+ //#region src/rules_core/text_join.ts
1131
+ function gt(e) {
1132
+ let t, n, r = e.length;
1133
+ for (t = 0; t < r; t++) e[t].type === "text_special" && (e[t].type = "text");
1134
+ for (t = n = 0; t < r; t++) e[t].type === "text" && t + 1 < r && e[t + 1].type === "text" ? e[t + 1].content = e[t].content + e[t + 1].content : (t !== n && (e[n] = e[t]), n++);
1135
+ t !== n && (e.length = n);
1136
+ }
1137
+ function _t(e) {
1138
+ let t, n, r = e.tokens, i = r.length;
1139
+ for (let e = 0; e < i; e++) {
1140
+ if (r[e].type !== "inline") continue;
1141
+ let i = r[e].children, a = i.length;
1142
+ for (t = 0; t < a; t++) i[t].type === "text_special" && (i[t].type = "text"), i[t].children && gt(i[t].children);
1143
+ for (t = n = 0; t < a; t++) i[t].type === "text" && t + 1 < a && i[t + 1].type === "text" ? i[t + 1].content = i[t].content + i[t + 1].content : (t !== n && (i[n] = i[t]), n++);
1144
+ t !== n && (i.length = n);
1145
+ }
1146
+ }
1147
+ //#endregion
1148
+ //#region src/parser_core.ts
1149
+ var U = [
1150
+ ["normalize", qe],
1151
+ ["block", Je],
1152
+ ["strip_references", Ye],
1153
+ ["inline", Xe],
1154
+ ["linkify", $e],
1155
+ ["replacements", st],
1156
+ ["smartquotes", ht],
1157
+ ["text_join", _t]
1158
+ ], vt = class {
1159
+ constructor() {
1160
+ T(this, "ruler", new B()), T(this, "State", We);
1161
+ for (let e = 0; e < U.length; e++) this.ruler.push(U[e][0], U[e][1]);
1162
+ }
1163
+ process(e) {
1164
+ let t = this.ruler.getRules("");
1165
+ for (let n = 0, r = t.length; n < r; n++) t[n](e);
1166
+ }
1167
+ }, yt = class {
1168
+ constructor(e, t, n, r) {
1169
+ T(this, "bMarks", []), T(this, "eMarks", []), T(this, "tShift", []), T(this, "sCount", []), T(this, "bsCount", []), T(this, "blkIndent", 0), T(this, "line", 0), T(this, "lineMax", 0), T(this, "tight", !1), T(this, "listIndent", -1), T(this, "parentType", "root"), T(this, "level", 0), T(this, "Token", z), this.src = e, this.md = t, this.env = n, this.tokens = r;
1170
+ let i = this.src;
1171
+ for (let e = 0, t = 0, n = 0, r = 0, a = i.length, o = !1; t < a; t++) {
1172
+ let s = i.charCodeAt(t);
1173
+ if (!o) if (N(s)) {
1174
+ n++, s === 9 ? r += 4 - r % 4 : r++;
1175
+ continue;
1176
+ } else o = !0;
1177
+ (s === 10 || t === a - 1) && (s !== 10 && t++, this.bMarks.push(e), this.eMarks.push(t), this.tShift.push(n), this.sCount.push(r), this.bsCount.push(0), o = !1, n = 0, r = 0, e = t + 1);
1178
+ }
1179
+ this.bMarks.push(i.length), this.eMarks.push(i.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
1180
+ }
1181
+ push(e, t, n) {
1182
+ let r = new z(e, t, n);
1183
+ return r.block = !0, n < 0 && this.level--, r.level = this.level, n > 0 && this.level++, this.tokens.push(r), r;
1184
+ }
1185
+ isEmpty(e) {
1186
+ return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
1187
+ }
1188
+ skipEmptyLines(e) {
1189
+ for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++);
1190
+ return e;
1191
+ }
1192
+ skipSpaces(e) {
1193
+ for (let t = this.src.length; e < t && N(this.src.charCodeAt(e)); e++);
1194
+ return e;
1195
+ }
1196
+ skipSpacesBack(e, t) {
1197
+ if (e <= t) return e;
1198
+ for (; e > t;) if (!N(this.src.charCodeAt(--e))) return e + 1;
1199
+ return e;
1200
+ }
1201
+ skipChars(e, t) {
1202
+ for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++);
1203
+ return e;
1204
+ }
1205
+ skipCharsBack(e, t, n) {
1206
+ if (e <= n) return e;
1207
+ for (; e > n;) if (t !== this.src.charCodeAt(--e)) return e + 1;
1208
+ return e;
1209
+ }
1210
+ getLines(e, t, n, r) {
1211
+ if (e >= t) return "";
1212
+ let i = Array(t - e);
1213
+ for (let a = 0, o = e; o < t; o++, a++) {
1214
+ let e = 0, s = this.bMarks[o], c = s, l;
1215
+ for (l = o + 1 < t || r ? this.eMarks[o] + 1 : this.eMarks[o]; c < l && e < n;) {
1216
+ let t = this.src.charCodeAt(c);
1217
+ if (N(t)) t === 9 ? e += 4 - (e + this.bsCount[o]) % 4 : e++;
1218
+ else if (c - s < this.tShift[o]) e++;
1219
+ else break;
1220
+ c++;
1221
+ }
1222
+ e > n ? i[a] = Array(e - n + 1).join(" ") + this.src.slice(c, l) : i[a] = this.src.slice(c, l);
1223
+ }
1224
+ return i.join("");
1225
+ }
1226
+ }, bt = 65536;
1227
+ function W(e, t) {
1228
+ let n = e.bMarks[t] + e.tShift[t], r = e.eMarks[t];
1229
+ return e.src.slice(n, r);
1230
+ }
1231
+ function xt(e) {
1232
+ let t = [], n = e.length, r = 0, i = e.charCodeAt(r), a = !1, o = 0, s = "";
1233
+ for (; r < n;) i === 124 && (a ? (s += e.substring(o, r - 1), o = r) : (t.push(s + e.substring(o, r)), s = "", o = r + 1)), a = i === 92, r++, i = e.charCodeAt(r);
1234
+ return t.push(s + e.substring(o)), t;
1235
+ }
1236
+ function St(e, t, n, r) {
1237
+ if (t + 2 > n) return !1;
1238
+ let i = t + 1;
1239
+ if (e.sCount[i] < e.blkIndent || e.sCount[i] - e.blkIndent >= 4) return !1;
1240
+ let a = e.bMarks[i] + e.tShift[i];
1241
+ if (a >= e.eMarks[i]) return !1;
1242
+ let o = e.src.charCodeAt(a++);
1243
+ if (o !== 124 && o !== 45 && o !== 58 || a >= e.eMarks[i]) return !1;
1244
+ let s = e.src.charCodeAt(a++);
1245
+ if (s !== 124 && s !== 45 && s !== 58 && !N(s) || o === 45 && N(s)) return !1;
1246
+ for (; a < e.eMarks[i];) {
1247
+ let t = e.src.charCodeAt(a);
1248
+ if (t !== 124 && t !== 45 && t !== 58 && !N(t)) return !1;
1249
+ a++;
1250
+ }
1251
+ let c = W(e, t + 1), l = c.split("|"), u = [];
1252
+ for (let e = 0; e < l.length; e++) {
1253
+ let t = l[e].trim();
1254
+ if (!t) {
1255
+ if (e === 0 || e === l.length - 1) continue;
1256
+ return !1;
1257
+ }
1258
+ if (!/^:?-+:?$/.test(t)) return !1;
1259
+ t.charCodeAt(t.length - 1) === 58 ? u.push(t.charCodeAt(0) === 58 ? "center" : "right") : t.charCodeAt(0) === 58 ? u.push("left") : u.push("");
1260
+ }
1261
+ if (c = W(e, t).trim(), c.indexOf("|") === -1 || e.sCount[t] - e.blkIndent >= 4) return !1;
1262
+ l = xt(c), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop();
1263
+ let d = l.length;
1264
+ if (d === 0 || d !== u.length) return !1;
1265
+ if (r) return !0;
1266
+ let f = e.parentType;
1267
+ e.parentType = "table";
1268
+ let p = e.md.block.ruler.getRules("blockquote"), m = e.push("table_open", "table", 1), h = [t, 0];
1269
+ m.map = h;
1270
+ let g = e.push("thead_open", "thead", 1);
1271
+ g.map = [t, t + 1];
1272
+ let _ = e.push("tr_open", "tr", 1);
1273
+ _.map = [t, t + 1];
1274
+ for (let t = 0; t < l.length; t++) {
1275
+ let n = e.push("th_open", "th", 1);
1276
+ u[t] && (n.attrs = [["style", `text-align:${u[t]}`]]);
1277
+ let r = e.push("inline", "", 0);
1278
+ r.content = l[t].trim(), r.children = [], e.push("th_close", "th", -1);
1279
+ }
1280
+ e.push("tr_close", "tr", -1), e.push("thead_close", "thead", -1);
1281
+ let v, y = 0;
1282
+ for (i = t + 2; i < n && !(e.sCount[i] < e.blkIndent); i++) {
1283
+ let r = !1;
1284
+ for (let t = 0, a = p.length; t < a; t++) if (p[t](e, i, n, !0)) {
1285
+ r = !0;
1286
+ break;
1287
+ }
1288
+ if (r || (c = W(e, i).trim(), !c) || e.sCount[i] - e.blkIndent >= 4 || (l = xt(c), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), y += d - l.length, y > bt)) break;
1289
+ if (i === t + 2) {
1290
+ let n = e.push("tbody_open", "tbody", 1);
1291
+ n.map = v = [t + 2, 0];
1292
+ }
1293
+ let a = e.push("tr_open", "tr", 1);
1294
+ a.map = [i, i + 1];
1295
+ for (let t = 0; t < d; t++) {
1296
+ let n = e.push("td_open", "td", 1);
1297
+ u[t] && (n.attrs = [["style", `text-align:${u[t]}`]]);
1298
+ let r = e.push("inline", "", 0);
1299
+ r.content = l[t] ? l[t].trim() : "", r.children = [], e.push("td_close", "td", -1);
1300
+ }
1301
+ e.push("tr_close", "tr", -1);
1302
+ }
1303
+ return v && (e.push("tbody_close", "tbody", -1), v[1] = i), e.push("table_close", "table", -1), h[1] = i, e.parentType = f, e.line = i, !0;
1304
+ }
1305
+ //#endregion
1306
+ //#region src/rules_block/code.ts
1307
+ function Ct(e, t, n) {
1308
+ if (e.sCount[t] - e.blkIndent < 4) return !1;
1309
+ let r = t + 1, i = r;
1310
+ for (; r < n;) {
1311
+ if (e.isEmpty(r)) {
1312
+ r++;
1313
+ continue;
1314
+ }
1315
+ if (e.sCount[r] - e.blkIndent >= 4) {
1316
+ r++, i = r;
1317
+ continue;
1318
+ }
1319
+ break;
1320
+ }
1321
+ e.line = i;
1322
+ let a = e.push("code_block", "code", 0);
1323
+ return a.content = e.getLines(t, i, 4 + e.blkIndent, !1) + "\n", a.map = [t, e.line], !0;
1324
+ }
1325
+ //#endregion
1326
+ //#region src/rules_block/fence.ts
1327
+ function wt(e, t, n, r) {
1328
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t];
1329
+ if (e.sCount[t] - e.blkIndent >= 4 || i + 3 > a) return !1;
1330
+ let o = e.src.charCodeAt(i);
1331
+ if (o !== 126 && o !== 96) return !1;
1332
+ let s = i;
1333
+ i = e.skipChars(i, o);
1334
+ let c = i - s;
1335
+ if (c < 3) return !1;
1336
+ let l = e.src.slice(s, i), u = e.src.slice(i, a);
1337
+ if (o === 96 && u.indexOf(String.fromCharCode(o)) >= 0) return !1;
1338
+ if (r) return !0;
1339
+ let d = t, f = !1;
1340
+ for (; d++, !(d >= n || (i = s = e.bMarks[d] + e.tShift[d], a = e.eMarks[d], i < a && e.sCount[d] < e.blkIndent));) if (e.src.charCodeAt(i) === o && !(e.sCount[d] - e.blkIndent >= 4) && (i = e.skipChars(i, o), !(i - s < c) && (i = e.skipSpaces(i), !(i < a)))) {
1341
+ f = !0;
1342
+ break;
1343
+ }
1344
+ c = e.sCount[t], e.line = d + +!!f;
1345
+ let p = e.push("fence", "code", 0);
1346
+ return p.info = u, p.content = e.getLines(t + 1, d, c, !0), p.markup = l, p.map = [t, e.line], !0;
1347
+ }
1348
+ //#endregion
1349
+ //#region src/rules_block/blockquote.ts
1350
+ function Tt(e, t, n, r) {
1351
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t], o = e.lineMax;
1352
+ if (e.sCount[t] - e.blkIndent >= 4 || e.src.charCodeAt(i) !== 62) return !1;
1353
+ if (r) return !0;
1354
+ let s = [], c = [], l = [], u = [], d = e.md.block.ruler.getRules("blockquote"), f = e.parentType;
1355
+ e.parentType = "blockquote";
1356
+ let p = !1, m;
1357
+ for (m = t; m < n; m++) {
1358
+ let t = e.sCount[m] < e.blkIndent;
1359
+ if (i = e.bMarks[m] + e.tShift[m], a = e.eMarks[m], i >= a) break;
1360
+ if (e.src.charCodeAt(i++) === 62 && !t) {
1361
+ let t = e.sCount[m] + 1, n, r;
1362
+ e.src.charCodeAt(i) === 32 ? (i++, t++, r = !1, n = !0) : e.src.charCodeAt(i) === 9 ? (n = !0, (e.bsCount[m] + t) % 4 == 3 ? (i++, t++, r = !1) : r = !0) : n = !1;
1363
+ let o = t;
1364
+ for (s.push(e.bMarks[m]), e.bMarks[m] = i; i < a;) {
1365
+ let t = e.src.charCodeAt(i);
1366
+ if (N(t)) t === 9 ? o += 4 - (o + e.bsCount[m] + +!!r) % 4 : o++;
1367
+ else break;
1368
+ i++;
1369
+ }
1370
+ p = i >= a, c.push(e.bsCount[m]), e.bsCount[m] = e.sCount[m] + 1 + +!!n, l.push(e.sCount[m]), e.sCount[m] = o - t, u.push(e.tShift[m]), e.tShift[m] = i - e.bMarks[m];
1371
+ continue;
1372
+ }
1373
+ if (p) break;
1374
+ let r = !1;
1375
+ for (let t = 0, i = d.length; t < i; t++) if (d[t](e, m, n, !0)) {
1376
+ r = !0;
1377
+ break;
1378
+ }
1379
+ if (r) {
1380
+ e.lineMax = m, e.blkIndent !== 0 && (s.push(e.bMarks[m]), c.push(e.bsCount[m]), u.push(e.tShift[m]), l.push(e.sCount[m]), e.sCount[m] -= e.blkIndent);
1381
+ break;
1382
+ }
1383
+ s.push(e.bMarks[m]), c.push(e.bsCount[m]), u.push(e.tShift[m]), l.push(e.sCount[m]), e.sCount[m] = -1;
1384
+ }
1385
+ let h = e.blkIndent;
1386
+ e.blkIndent = 0;
1387
+ let g = e.push("blockquote_open", "blockquote", 1);
1388
+ g.markup = ">";
1389
+ let _ = [t, 0];
1390
+ g.map = _, e.md.block.tokenize(e, t, m);
1391
+ let v = e.push("blockquote_close", "blockquote", -1);
1392
+ v.markup = ">", e.lineMax = o, e.parentType = f, _[1] = e.line;
1393
+ for (let n = 0; n < u.length; n++) e.bMarks[n + t] = s[n], e.tShift[n + t] = u[n], e.sCount[n + t] = l[n], e.bsCount[n + t] = c[n];
1394
+ return e.blkIndent = h, !0;
1395
+ }
1396
+ //#endregion
1397
+ //#region src/rules_block/hr.ts
1398
+ function Et(e, t, n, r) {
1399
+ let i = e.eMarks[t];
1400
+ if (e.sCount[t] - e.blkIndent >= 4) return !1;
1401
+ let a = e.bMarks[t] + e.tShift[t], o = e.src.charCodeAt(a++);
1402
+ if (o !== 42 && o !== 45 && o !== 95) return !1;
1403
+ let s = 1;
1404
+ for (; a < i;) {
1405
+ let t = e.src.charCodeAt(a++);
1406
+ if (t !== o && !N(t)) return !1;
1407
+ t === o && s++;
1408
+ }
1409
+ if (s < 3) return !1;
1410
+ if (r) return !0;
1411
+ e.line = t + 1;
1412
+ let c = e.push("hr", "hr", 0);
1413
+ return c.map = [t, e.line], c.markup = Array(s + 1).join(String.fromCharCode(o)), !0;
1414
+ }
1415
+ //#endregion
1416
+ //#region src/rules_block/list.ts
1417
+ function Dt(e, t) {
1418
+ let n = e.eMarks[t], r = e.bMarks[t] + e.tShift[t], i = e.src.charCodeAt(r++);
1419
+ return i !== 42 && i !== 45 && i !== 43 || r < n && !N(e.src.charCodeAt(r)) ? -1 : r;
1420
+ }
1421
+ function Ot(e, t) {
1422
+ let n = e.bMarks[t] + e.tShift[t], r = e.eMarks[t], i = n;
1423
+ if (i + 1 >= r) return -1;
1424
+ let a = e.src.charCodeAt(i++);
1425
+ if (a < 48 || a > 57) return -1;
1426
+ for (;;) {
1427
+ if (i >= r) return -1;
1428
+ if (a = e.src.charCodeAt(i++), a >= 48 && a <= 57) {
1429
+ if (i - n >= 10) return -1;
1430
+ continue;
1431
+ }
1432
+ if (a === 41 || a === 46) break;
1433
+ return -1;
1434
+ }
1435
+ return i < r && (a = e.src.charCodeAt(i), !N(a)) ? -1 : i;
1436
+ }
1437
+ function kt(e, t) {
1438
+ let n = e.level + 2;
1439
+ for (let r = t + 2, i = e.tokens.length - 2; r < i; r++) e.tokens[r].level === n && e.tokens[r].type === "paragraph_open" && (e.tokens[r + 2].hidden = !0, e.tokens[r].hidden = !0, r += 2);
1440
+ }
1441
+ function At(e, t, n, r) {
1442
+ let i, a, o, s, c = t, l = !0;
1443
+ if (e.sCount[c] - e.blkIndent >= 4 || e.listIndent >= 0 && e.sCount[c] - e.listIndent >= 4 && e.sCount[c] < e.blkIndent) return !1;
1444
+ let u = !1;
1445
+ r && e.parentType === "paragraph" && e.sCount[c] >= e.blkIndent && (u = !0);
1446
+ let d, f, p;
1447
+ if ((p = Ot(e, c)) >= 0) {
1448
+ if (d = !0, o = e.bMarks[c] + e.tShift[c], f = Number(e.src.slice(o, p - 1)), u && f !== 1) return !1;
1449
+ } else if ((p = Dt(e, c)) >= 0) d = !1;
1450
+ else return !1;
1451
+ if (u && e.skipSpaces(p) >= e.eMarks[c]) return !1;
1452
+ if (r) return !0;
1453
+ let m = e.src.charCodeAt(p - 1), h = e.tokens.length;
1454
+ d ? (s = e.push("ordered_list_open", "ol", 1), f !== 1 && (s.attrs = [["start", f]])) : s = e.push("bullet_list_open", "ul", 1);
1455
+ let g = [c, 0];
1456
+ s.map = g, s.markup = String.fromCharCode(m);
1457
+ let _ = !1, v = e.md.block.ruler.getRules("list"), y = e.parentType;
1458
+ for (e.parentType = "list"; c < n;) {
1459
+ a = p, i = e.eMarks[c];
1460
+ let t = e.sCount[c] + p - (e.bMarks[c] + e.tShift[c]), r = t;
1461
+ for (; a < i;) {
1462
+ let t = e.src.charCodeAt(a);
1463
+ if (t === 9) r += 4 - (r + e.bsCount[c]) % 4;
1464
+ else if (t === 32) r++;
1465
+ else break;
1466
+ a++;
1467
+ }
1468
+ let u = a, f;
1469
+ f = u >= i ? 1 : r - t, f > 4 && (f = 1);
1470
+ let h = t + f;
1471
+ s = e.push("list_item_open", "li", 1), s.markup = String.fromCharCode(m);
1472
+ let g = [c, 0];
1473
+ s.map = g, d && (s.info = e.src.slice(o, p - 1));
1474
+ let y = e.tight, b = e.tShift[c], ee = e.sCount[c], te = e.listIndent;
1475
+ if (e.listIndent = e.blkIndent, e.blkIndent = h, e.tight = !0, e.tShift[c] = u - e.bMarks[c], e.sCount[c] = r, u >= i && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, n) : e.md.block.tokenize(e, c, n), (!e.tight || _) && (l = !1), _ = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = te, e.tShift[c] = b, e.sCount[c] = ee, e.tight = y, s = e.push("list_item_close", "li", -1), s.markup = String.fromCharCode(m), c = e.line, g[1] = c, c >= n || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4) break;
1476
+ let x = !1;
1477
+ for (let t = 0, r = v.length; t < r; t++) if (v[t](e, c, n, !0)) {
1478
+ x = !0;
1479
+ break;
1480
+ }
1481
+ if (x) break;
1482
+ if (d) {
1483
+ if (p = Ot(e, c), p < 0) break;
1484
+ o = e.bMarks[c] + e.tShift[c];
1485
+ } else if (p = Dt(e, c), p < 0) break;
1486
+ if (m !== e.src.charCodeAt(p - 1)) break;
1487
+ }
1488
+ return s = d ? e.push("ordered_list_close", "ol", -1) : e.push("bullet_list_close", "ul", -1), s.markup = String.fromCharCode(m), g[1] = c, e.line = c, e.parentType = y, l && kt(e, h), !0;
1489
+ }
1490
+ //#endregion
1491
+ //#region src/rules_block/reference.ts
1492
+ function jt(e, t, n, r) {
1493
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t], o = t + 1;
1494
+ if (e.sCount[t] - e.blkIndent >= 4 || e.src.charCodeAt(i) !== 91) return !1;
1495
+ function s(t) {
1496
+ let n = e.lineMax;
1497
+ if (t >= n || e.isEmpty(t)) return null;
1498
+ let r = !1;
1499
+ if (e.sCount[t] - e.blkIndent > 3 && (r = !0), e.sCount[t] < 0 && (r = !0), !r) {
1500
+ let r = e.md.block.ruler.getRules("reference"), i = e.parentType;
1501
+ e.parentType = "reference";
1502
+ let a = !1;
1503
+ for (let i = 0, o = r.length; i < o; i++) if (r[i](e, t, n, !0)) {
1504
+ a = !0;
1505
+ break;
1506
+ }
1507
+ if (e.parentType = i, a) return null;
1508
+ }
1509
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t];
1510
+ return e.src.slice(i, a + 1);
1511
+ }
1512
+ let c = e.src.slice(i, a + 1);
1513
+ a = c.length;
1514
+ let l = -1;
1515
+ for (i = 1; i < a; i++) {
1516
+ let e = c.charCodeAt(i);
1517
+ if (e === 91) return !1;
1518
+ if (e === 93) {
1519
+ l = i;
1520
+ break;
1521
+ }
1522
+ if (e === 10) {
1523
+ let e = s(o);
1524
+ e !== null && (c += e, a = c.length, o++);
1525
+ } else if (e === 92 && (i++, i < a && c.charCodeAt(i) === 10)) {
1526
+ let e = s(o);
1527
+ e !== null && (c += e, a = c.length, o++);
1528
+ }
1529
+ }
1530
+ if (l < 0 || c.charCodeAt(l + 1) !== 58) return !1;
1531
+ for (i = l + 2; i < a; i++) {
1532
+ let e = c.charCodeAt(i);
1533
+ if (e === 10) {
1534
+ let e = s(o);
1535
+ e !== null && (c += e, a = c.length, o++);
1536
+ } else if (!N(e)) break;
1537
+ }
1538
+ let u = e.md.helpers.parseLinkDestination(c, i, a);
1539
+ if (!u.ok) return !1;
1540
+ let d = e.md.normalizeLink(u.str);
1541
+ if (!e.md.validateLink(d)) return !1;
1542
+ i = u.pos;
1543
+ let f = i, p = o, m = i;
1544
+ for (; i < a; i++) {
1545
+ let e = c.charCodeAt(i);
1546
+ if (e === 10) {
1547
+ let e = s(o);
1548
+ e !== null && (c += e, a = c.length, o++);
1549
+ } else if (!N(e)) break;
1550
+ }
1551
+ let h = e.md.helpers.parseLinkTitle(c, i, a);
1552
+ for (; h.can_continue;) {
1553
+ let t = s(o);
1554
+ if (t === null) break;
1555
+ c += t, i = a, a = c.length, o++, h = e.md.helpers.parseLinkTitle(c, i, a, h);
1556
+ }
1557
+ let g;
1558
+ for (i < a && m !== i && h.ok ? (g = h.str, i = h.pos) : (g = "", i = f, o = p); i < a && N(c.charCodeAt(i));) i++;
1559
+ if (i < a && c.charCodeAt(i) !== 10 && g) for (g = "", i = f, o = p; i < a && N(c.charCodeAt(i));) i++;
1560
+ if (i < a && c.charCodeAt(i) !== 10) return !1;
1561
+ let _ = L(c.slice(1, l));
1562
+ if (!_) return !1;
1563
+ /* istanbul ignore if */
1564
+ if (r) return !0;
1565
+ e.env.references === void 0 && (e.env.references = {}), e.env.references[_] === void 0 && (e.env.references[_] = {
1566
+ title: g,
1567
+ href: d
1568
+ });
1569
+ let v = e.push("reference_definition", "", 0);
1570
+ v.map = [t, o], v.hidden = !0;
1571
+ let y = Object.create(null);
1572
+ return y.label = _, v.meta = y, e.line = o, !0;
1573
+ }
1574
+ //#endregion
1575
+ //#region src/common/html_blocks.ts
1576
+ var Mt = /* @__PURE__ */ "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".split("."), Nt = "<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>", Pt = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", Ft = RegExp(`^(?:${Nt}|${Pt}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`), It = RegExp(`^(?:${Nt}|${Pt})`), G = [
1577
+ [
1578
+ /^<(script|pre|style|textarea)(?=(\s|>|$))/i,
1579
+ /<\/(script|pre|style|textarea)>/i,
1580
+ !0
1581
+ ],
1582
+ [
1583
+ /^<!--/,
1584
+ /-->/,
1585
+ !0
1586
+ ],
1587
+ [
1588
+ /^<\?/,
1589
+ /\?>/,
1590
+ !0
1591
+ ],
1592
+ [
1593
+ /^<![A-Za-z]/,
1594
+ />/,
1595
+ !0
1596
+ ],
1597
+ [
1598
+ /^<!\[CDATA\[/,
1599
+ /\]\]>/,
1600
+ !0
1601
+ ],
1602
+ [
1603
+ RegExp(`^</?(${Mt.join("|")})(?=(\\s|/?>|$))`, "i"),
1604
+ /^$/,
1605
+ !0
1606
+ ],
1607
+ [
1608
+ RegExp(`${It.source}\\s*$`),
1609
+ /^$/,
1610
+ !1
1611
+ ]
1612
+ ];
1613
+ function Lt(e, t, n, r) {
1614
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t];
1615
+ if (e.sCount[t] - e.blkIndent >= 4 || !e.md.options.html || e.src.charCodeAt(i) !== 60) return !1;
1616
+ let o = e.src.slice(i, a), s = 0;
1617
+ for (; s < G.length && !G[s][0].test(o); s++);
1618
+ if (s === G.length) return !1;
1619
+ if (r) return G[s][2];
1620
+ let c = t + 1, l = G[s][1].test("");
1621
+ if (!G[s][1].test(o)) {
1622
+ for (; c < n && !(e.sCount[c] < e.blkIndent && (l || !e.isEmpty(c))); c++) if (i = e.bMarks[c] + e.tShift[c], a = e.eMarks[c], o = e.src.slice(i, a), G[s][1].test(o)) {
1623
+ o.length !== 0 && c++;
1624
+ break;
1625
+ }
1626
+ }
1627
+ e.line = c;
1628
+ let u = e.push("html_block", "", 0);
1629
+ return u.map = [t, c], u.content = e.getLines(t, c, e.blkIndent, !0), !0;
1630
+ }
1631
+ //#endregion
1632
+ //#region src/rules_block/heading.ts
1633
+ function Rt(e, t, n, r) {
1634
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t];
1635
+ if (e.sCount[t] - e.blkIndent >= 4) return !1;
1636
+ let o = e.src.charCodeAt(i);
1637
+ if (o !== 35 || i >= a) return !1;
1638
+ let s = 1;
1639
+ for (o = e.src.charCodeAt(++i); o === 35 && i < a && s <= 6;) s++, o = e.src.charCodeAt(++i);
1640
+ if (s > 6 || i < a && !N(o)) return !1;
1641
+ if (r) return !0;
1642
+ a = e.skipSpacesBack(a, i);
1643
+ let c = e.skipCharsBack(a, 35, i);
1644
+ c > i && N(e.src.charCodeAt(c - 1)) && (a = c), e.line = t + 1;
1645
+ let l = e.push("heading_open", `h${s}`, 1);
1646
+ l.markup = "########".slice(0, s), l.map = [t, e.line];
1647
+ let u = e.push("inline", "", 0);
1648
+ u.content = R(e.src.slice(i, a)), u.map = [t, e.line], u.children = [];
1649
+ let d = e.push("heading_close", `h${s}`, -1);
1650
+ return d.markup = "########".slice(0, s), !0;
1651
+ }
1652
+ //#endregion
1653
+ //#region src/rules_block/lheading.ts
1654
+ function zt(e, t, n) {
1655
+ let r = e.md.block.ruler.getRules("paragraph");
1656
+ if (e.sCount[t] - e.blkIndent >= 4) return !1;
1657
+ let i = e.parentType;
1658
+ e.parentType = "paragraph";
1659
+ let a = 0, o, s = t + 1;
1660
+ for (; s < n && !e.isEmpty(s); s++) {
1661
+ if (e.sCount[s] - e.blkIndent > 3) continue;
1662
+ if (e.sCount[s] >= e.blkIndent) {
1663
+ let t = e.bMarks[s] + e.tShift[s], n = e.eMarks[s];
1664
+ if (t < n && (o = e.src.charCodeAt(t), (o === 45 || o === 61) && (t = e.skipChars(t, o), t = e.skipSpaces(t), t >= n))) {
1665
+ a = o === 61 ? 1 : 2;
1666
+ break;
1667
+ }
1668
+ }
1669
+ if (e.sCount[s] < 0) continue;
1670
+ let t = !1;
1671
+ for (let i = 0, a = r.length; i < a; i++) if (r[i](e, s, n, !0)) {
1672
+ t = !0;
1673
+ break;
1674
+ }
1675
+ if (t) break;
1676
+ }
1677
+ if (!a) return e.parentType = i, !1;
1678
+ let c = R(e.getLines(t, s, e.blkIndent, !1));
1679
+ e.line = s + 1;
1680
+ let l = e.push("heading_open", `h${a}`, 1);
1681
+ l.markup = String.fromCharCode(o), l.map = [t, e.line];
1682
+ let u = e.push("inline", "", 0);
1683
+ u.content = c, u.map = [t, e.line - 1], u.children = [];
1684
+ let d = e.push("heading_close", `h${a}`, -1);
1685
+ return d.markup = String.fromCharCode(o), e.parentType = i, !0;
1686
+ }
1687
+ //#endregion
1688
+ //#region src/rules_block/paragraph.ts
1689
+ function Bt(e, t, n) {
1690
+ let r = e.md.block.ruler.getRules("paragraph"), i = e.parentType, a = t + 1;
1691
+ for (e.parentType = "paragraph"; a < n && !e.isEmpty(a); a++) {
1692
+ if (e.sCount[a] - e.blkIndent > 3 || e.sCount[a] < 0) continue;
1693
+ let t = !1;
1694
+ for (let i = 0, o = r.length; i < o; i++) if (r[i](e, a, n, !0)) {
1695
+ t = !0;
1696
+ break;
1697
+ }
1698
+ if (t) break;
1699
+ }
1700
+ let o = R(e.getLines(t, a, e.blkIndent, !1));
1701
+ e.line = a;
1702
+ let s = e.push("paragraph_open", "p", 1);
1703
+ s.map = [t, e.line];
1704
+ let c = e.push("inline", "", 0);
1705
+ return c.content = o, c.map = [t, e.line], c.children = [], e.push("paragraph_close", "p", -1), e.parentType = i, !0;
1706
+ }
1707
+ //#endregion
1708
+ //#region src/parser_block.ts
1709
+ var K = [
1710
+ [
1711
+ "table",
1712
+ St,
1713
+ ["paragraph", "reference"]
1714
+ ],
1715
+ ["code", Ct],
1716
+ [
1717
+ "fence",
1718
+ wt,
1719
+ [
1720
+ "paragraph",
1721
+ "reference",
1722
+ "blockquote",
1723
+ "list"
1724
+ ]
1725
+ ],
1726
+ [
1727
+ "blockquote",
1728
+ Tt,
1729
+ [
1730
+ "paragraph",
1731
+ "reference",
1732
+ "blockquote",
1733
+ "list"
1734
+ ]
1735
+ ],
1736
+ [
1737
+ "hr",
1738
+ Et,
1739
+ [
1740
+ "paragraph",
1741
+ "reference",
1742
+ "blockquote",
1743
+ "list"
1744
+ ]
1745
+ ],
1746
+ [
1747
+ "list",
1748
+ At,
1749
+ [
1750
+ "paragraph",
1751
+ "reference",
1752
+ "blockquote"
1753
+ ]
1754
+ ],
1755
+ ["reference", jt],
1756
+ [
1757
+ "html_block",
1758
+ Lt,
1759
+ [
1760
+ "paragraph",
1761
+ "reference",
1762
+ "blockquote"
1763
+ ]
1764
+ ],
1765
+ [
1766
+ "heading",
1767
+ Rt,
1768
+ [
1769
+ "paragraph",
1770
+ "reference",
1771
+ "blockquote"
1772
+ ]
1773
+ ],
1774
+ ["lheading", zt],
1775
+ ["paragraph", Bt]
1776
+ ], Vt = class {
1777
+ constructor() {
1778
+ T(this, "ruler", new B()), T(this, "State", yt);
1779
+ for (let e = 0; e < K.length; e++) this.ruler.push(K[e][0], K[e][1], { alt: (K[e][2] || []).slice() });
1780
+ }
1781
+ tokenize(e, t, n) {
1782
+ let r = this.ruler.getRules(""), i = r.length, a = e.md.options.maxNesting, o = t, s = !1;
1783
+ for (; o < n && (e.line = o = e.skipEmptyLines(o), !(o >= n || e.sCount[o] < e.blkIndent));) {
1784
+ if (e.level >= a) {
1785
+ e.line = n;
1786
+ break;
1787
+ }
1788
+ let t = e.line, c = !1;
1789
+ for (let a = 0; a < i; a++) if (c = r[a](e, o, n, !1), c) {
1790
+ if (t >= e.line) throw Error("block rule didn't increment state.line");
1791
+ break;
1792
+ }
1793
+ if (!c) throw Error("none of the block rules matched");
1794
+ e.tight = !s, e.isEmpty(e.line - 1) && (s = !0), o = e.line, o < n && e.isEmpty(o) && (s = !0, o++, e.line = o);
1795
+ }
1796
+ }
1797
+ parse(e, t, n, r) {
1798
+ if (!e) return;
1799
+ let i = new this.State(e, t, n, r);
1800
+ this.tokenize(i, i.line, i.lineMax);
1801
+ }
1802
+ }, Ht = class {
1803
+ constructor(e, t, n, r) {
1804
+ T(this, "pos", 0), T(this, "level", 0), T(this, "pending", ""), T(this, "pendingLevel", 0), T(this, "cache", {}), T(this, "backticks", {}), T(this, "backticksScanned", !1), T(this, "linkLevel", 0), T(this, "delimiters", []), T(this, "_prev_delimiters", []), T(this, "Token", z), this.src = e, this.env = n, this.md = t, this.tokens = r, this.tokens_meta = Array(r.length), this.posMax = this.src.length;
1805
+ }
1806
+ pushPending() {
1807
+ let e = new z("text", "", 0);
1808
+ return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e;
1809
+ }
1810
+ push(e, t, n) {
1811
+ this.pending && this.pushPending();
1812
+ let r = new z(e, t, n), i;
1813
+ return n < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), r.level = this.level, n > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], i = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(r), this.tokens_meta.push(i), r;
1814
+ }
1815
+ scanDelims(e, t) {
1816
+ let n = this.posMax, r = this.src.charCodeAt(e), i;
1817
+ if (e === 0) i = 32;
1818
+ else if (e === 1) i = this.src.charCodeAt(0), (i & 63488) == 55296 && (i = 65533);
1819
+ else if (i = this.src.charCodeAt(e - 1), (i & 64512) == 56320) {
1820
+ let t = this.src.charCodeAt(e - 2);
1821
+ i = (t & 64512) == 55296 ? 65536 + (t - 55296 << 10) + (i - 56320) : 65533;
1822
+ } else (i & 64512) == 55296 && (i = 65533);
1823
+ let a = e;
1824
+ for (; a < n && this.src.charCodeAt(a) === r;) a++;
1825
+ let o = a - e, s = a < n ? this.src.charCodeAt(a) : 32;
1826
+ if ((s & 64512) == 55296) {
1827
+ let e = this.src.charCodeAt(a + 1);
1828
+ s = (e & 64512) == 56320 ? 65536 + (s - 55296 << 10) + (e - 56320) : 65533;
1829
+ } else (s & 64512) == 56320 && (s = 65533);
1830
+ let c = I(i) || F(i), l = I(s) || F(s), u = P(i), d = P(s), f = !d && (!l || u || c), p = !u && (!c || d || l);
1831
+ return {
1832
+ can_open: f && (t || !p || c),
1833
+ can_close: p && (t || !f || l),
1834
+ length: o
1835
+ };
1836
+ }
1837
+ };
1838
+ //#endregion
1839
+ //#region src/rules_inline/text.ts
1840
+ function Ut(e) {
1841
+ switch (e) {
1842
+ case 10:
1843
+ case 33:
1844
+ case 35:
1845
+ case 36:
1846
+ case 37:
1847
+ case 38:
1848
+ case 42:
1849
+ case 43:
1850
+ case 45:
1851
+ case 58:
1852
+ case 60:
1853
+ case 61:
1854
+ case 62:
1855
+ case 64:
1856
+ case 91:
1857
+ case 92:
1858
+ case 93:
1859
+ case 94:
1860
+ case 95:
1861
+ case 96:
1862
+ case 123:
1863
+ case 125:
1864
+ case 126: return !0;
1865
+ default: return !1;
1866
+ }
1867
+ }
1868
+ function Wt(e, t) {
1869
+ let n = e.pos;
1870
+ for (; n < e.posMax && !Ut(e.src.charCodeAt(n));) n++;
1871
+ return n !== e.pos && (t || (e.pending += e.src.slice(e.pos, n)), e.pos = n, !0);
1872
+ }
1873
+ //#endregion
1874
+ //#region src/rules_inline/linkify.ts
1875
+ function Gt(e) {
1876
+ return e >= 65 && e <= 90 || e >= 97 && e <= 122;
1877
+ }
1878
+ function Kt(e) {
1879
+ return e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 43 || e === 45 || e === 46;
1880
+ }
1881
+ function qt(e, t) {
1882
+ if (!e.md.options.linkify || e.linkLevel > 0) return !1;
1883
+ let n = e.pos, r = e.posMax;
1884
+ if (n + 3 > r || e.src.charCodeAt(n) !== 58 || e.src.charCodeAt(n + 1) !== 47 || e.src.charCodeAt(n + 2) !== 47) return !1;
1885
+ let i = n - Math.min(10, e.pending.length, n), a = n;
1886
+ for (; a > i && Kt(e.src.charCodeAt(a - 1));) a--;
1887
+ if (a === n || !Gt(e.src.charCodeAt(a))) return !1;
1888
+ let o = n - a, s = e.md.linkify.matchAtStart(e.src.slice(a));
1889
+ if (!s) return !1;
1890
+ let c = s.url;
1891
+ if (c.length <= o) return !1;
1892
+ let l = c.length;
1893
+ for (; l > 0 && c.charCodeAt(l - 1) === 42;) l--;
1894
+ l !== c.length && (c = c.slice(0, l));
1895
+ let u = e.md.normalizeLink(c);
1896
+ if (!e.md.validateLink(u)) return !1;
1897
+ if (!t) {
1898
+ e.pending = e.pending.slice(0, -o);
1899
+ let t = e.push("link_open", "a", 1);
1900
+ t.attrs = [["href", u]], t.markup = "linkify", t.info = "auto";
1901
+ let n = e.push("text", "", 0);
1902
+ n.content = e.md.normalizeLinkText(c);
1903
+ let r = e.push("link_close", "a", -1);
1904
+ r.markup = "linkify", r.info = "auto";
1905
+ }
1906
+ return e.pos += c.length - o, !0;
1907
+ }
1908
+ //#endregion
1909
+ //#region src/rules_inline/newline.ts
1910
+ function Jt(e, t) {
1911
+ let n = e.pos;
1912
+ if (e.src.charCodeAt(n) !== 10) return !1;
1913
+ let r = e.pending.length - 1, i = e.posMax;
1914
+ if (!t) if (r >= 0 && e.pending.charCodeAt(r) === 32) if (r >= 1 && e.pending.charCodeAt(r - 1) === 32) {
1915
+ let t = r - 1;
1916
+ for (; t >= 1 && e.pending.charCodeAt(t - 1) === 32;) t--;
1917
+ e.pending = e.pending.slice(0, t), e.push("hardbreak", "br", 0);
1918
+ } else e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0);
1919
+ else e.push("softbreak", "br", 0);
1920
+ for (n++; n < i && N(e.src.charCodeAt(n));) n++;
1921
+ return e.pos = n, !0;
1922
+ }
1923
+ //#endregion
1924
+ //#region src/rules_inline/escape.ts
1925
+ var q = [];
1926
+ for (let e = 0; e < 256; e++) q.push(0);
1927
+ "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e) {
1928
+ q[e.charCodeAt(0)] = 1;
1929
+ });
1930
+ function Yt(e, t) {
1931
+ let n = e.pos, r = e.posMax;
1932
+ if (e.src.charCodeAt(n) !== 92 || (n++, n >= r)) return !1;
1933
+ let i = e.src.charCodeAt(n);
1934
+ if (i === 10) {
1935
+ for (t || e.push("hardbreak", "br", 0), n++; n < r && (i = e.src.charCodeAt(n), N(i));) n++;
1936
+ return e.pos = n, !0;
1937
+ }
1938
+ if (i === 32) {
1939
+ if (!t) {
1940
+ let t = e.push("text_special", "", 0);
1941
+ t.content = "\\", t.markup = "\\", t.info = "escape";
1942
+ }
1943
+ return e.pos = n, !0;
1944
+ }
1945
+ let a = e.src[n];
1946
+ if (i >= 55296 && i <= 56319 && n + 1 < r) {
1947
+ let t = e.src.charCodeAt(n + 1);
1948
+ t >= 56320 && t <= 57343 && (a += e.src[n + 1], n++);
1949
+ }
1950
+ let o = "\\" + a;
1951
+ if (!t) {
1952
+ let t = e.push("text_special", "", 0);
1953
+ t.content = i < 256 && q[i] !== 0 ? a : o, t.markup = o, t.info = "escape";
1954
+ }
1955
+ return e.pos = n + 1, !0;
1956
+ }
1957
+ //#endregion
1958
+ //#region src/rules_inline/backticks.ts
1959
+ function Xt(e) {
1960
+ let t = {}, n = 0;
1961
+ for (; (n = e.indexOf("`", n)) !== -1;) {
1962
+ let r = n;
1963
+ for (; e.charCodeAt(++n) === 96;);
1964
+ t[n - r] = r;
1965
+ }
1966
+ return t;
1967
+ }
1968
+ function Zt(e, t) {
1969
+ var n;
1970
+ let r = e.pos;
1971
+ if (e.src.charCodeAt(r) !== 96) return !1;
1972
+ let i = e.posMax, a = r + 1;
1973
+ for (; a < i && e.src.charCodeAt(a) === 96;) a++;
1974
+ let o = e.src.slice(r, a), s = o.length;
1975
+ if (e.backticksScanned || (e.backticks = Xt(e.src), e.backticksScanned = !0), ((n = e.backticks[s]) == null ? -1 : n) >= a) {
1976
+ let n = a, r;
1977
+ for (; (r = e.src.indexOf("`", n)) !== -1 && r < i;) {
1978
+ for (n = r + 1; e.src.charCodeAt(n) === 96;) n++;
1979
+ if (n > i) break;
1980
+ if (n - r === s) {
1981
+ if (!t) {
1982
+ let t = e.push("code_inline", "code", 0);
1983
+ t.markup = o;
1984
+ let n = e.src.slice(a, r).replace(/\n/g, " ");
1985
+ n.startsWith(" ") && n.endsWith(" ") && /[^ ]/.test(n) && (n = n.slice(1, -1)), t.content = n;
1986
+ }
1987
+ return e.pos = n, !0;
1988
+ }
1989
+ }
1990
+ }
1991
+ return t || (e.pending += o), e.pos = a, !0;
1992
+ }
1993
+ //#endregion
1994
+ //#region src/rules_inline/strikethrough.ts
1995
+ function Qt(e, t) {
1996
+ let n = e.pos, r = e.src.charCodeAt(n);
1997
+ if (t || r !== 126) return !1;
1998
+ let i = e.scanDelims(e.pos, !0), a = i.length, o = String.fromCharCode(r);
1999
+ if (a < 2) return !1;
2000
+ let s;
2001
+ a % 2 && (s = e.push("text", "", 0), s.content = o, a--);
2002
+ for (let t = 0; t < a; t += 2) s = e.push("text", "", 0), s.content = o + o, e.delimiters.push({
2003
+ marker: r,
2004
+ length: 0,
2005
+ token: e.tokens.length - 1,
2006
+ end: -1,
2007
+ open: i.can_open,
2008
+ close: i.can_close
2009
+ });
2010
+ return e.pos += i.length, !0;
2011
+ }
2012
+ function $t(e, t) {
2013
+ let n, r = [], i = t.length;
2014
+ for (let a = 0; a < i; a++) {
2015
+ let i = t[a];
2016
+ if (i.marker !== 126 || i.end === -1) continue;
2017
+ let o = t[i.end];
2018
+ n = e.tokens[i.token], n.type = "s_open", n.tag = "s", n.nesting = 1, n.markup = "~~", n.content = "", n = e.tokens[o.token], n.type = "s_close", n.tag = "s", n.nesting = -1, n.markup = "~~", n.content = "", e.tokens[o.token - 1].type === "text" && e.tokens[o.token - 1].content === "~" && r.push(o.token - 1);
2019
+ }
2020
+ for (; r.length;) {
2021
+ let t = r.pop(), i = t + 1;
2022
+ for (; i < e.tokens.length && e.tokens[i].type === "s_close";) i++;
2023
+ i--, t !== i && (n = e.tokens[i], e.tokens[i] = e.tokens[t], e.tokens[t] = n);
2024
+ }
2025
+ }
2026
+ function en(e) {
2027
+ let t = e.tokens_meta, n = e.tokens_meta.length;
2028
+ $t(e, e.delimiters);
2029
+ for (let i = 0; i < n; i++) {
2030
+ var r;
2031
+ let n = (r = t[i]) == null ? void 0 : r.delimiters;
2032
+ n && $t(e, n);
2033
+ }
2034
+ }
2035
+ var tn = {
2036
+ tokenize: Qt,
2037
+ postProcess: en
2038
+ };
2039
+ //#endregion
2040
+ //#region src/rules_inline/emphasis.ts
2041
+ function nn(e, t) {
2042
+ let n = e.pos, r = e.src.charCodeAt(n);
2043
+ if (t || r !== 95 && r !== 42) return !1;
2044
+ let i = e.scanDelims(e.pos, r === 42);
2045
+ for (let t = 0; t < i.length; t++) {
2046
+ let t = e.push("text", "", 0);
2047
+ t.content = String.fromCharCode(r), e.delimiters.push({
2048
+ marker: r,
2049
+ length: i.length,
2050
+ token: e.tokens.length - 1,
2051
+ end: -1,
2052
+ open: i.can_open,
2053
+ close: i.can_close
2054
+ });
2055
+ }
2056
+ return e.pos += i.length, !0;
2057
+ }
2058
+ function rn(e, t) {
2059
+ let n = t.length;
2060
+ for (let r = n - 1; r >= 0; r--) {
2061
+ let n = t[r];
2062
+ if (n.marker !== 95 && n.marker !== 42 || n.end === -1) continue;
2063
+ let i = t[n.end], a = r > 0 && t[r - 1].end === n.end + 1 && t[r - 1].marker === n.marker && t[r - 1].token === n.token - 1 && t[n.end + 1].token === i.token + 1, o = String.fromCharCode(n.marker), s = e.tokens[n.token];
2064
+ s.type = a ? "strong_open" : "em_open", s.tag = a ? "strong" : "em", s.nesting = 1, s.markup = a ? o + o : o, s.content = "";
2065
+ let c = e.tokens[i.token];
2066
+ c.type = a ? "strong_close" : "em_close", c.tag = a ? "strong" : "em", c.nesting = -1, c.markup = a ? o + o : o, c.content = "", a && (e.tokens[t[r - 1].token].content = "", e.tokens[t[n.end + 1].token].content = "", r--);
2067
+ }
2068
+ }
2069
+ function an(e) {
2070
+ let t = e.tokens_meta, n = e.tokens_meta.length;
2071
+ rn(e, e.delimiters);
2072
+ for (let i = 0; i < n; i++) {
2073
+ var r;
2074
+ let n = (r = t[i]) == null ? void 0 : r.delimiters;
2075
+ n && rn(e, n);
2076
+ }
2077
+ }
2078
+ var on = {
2079
+ tokenize: nn,
2080
+ postProcess: an
2081
+ };
2082
+ //#endregion
2083
+ //#region src/rules_inline/link.ts
2084
+ function sn(e, t) {
2085
+ let n, r, i, a, o = "", s = "", c = e.pos, l = !0;
2086
+ if (e.src.charCodeAt(e.pos) !== 91) return !1;
2087
+ let u = e.pos, d = e.posMax, f = e.pos + 1, p = e.md.helpers.parseLinkLabel(e, e.pos, !0);
2088
+ if (p < 0) return !1;
2089
+ let m = p + 1;
2090
+ if (m < d && e.src.charCodeAt(m) === 40) {
2091
+ for (l = !1, m++; m < d && (n = e.src.charCodeAt(m), !(!N(n) && n !== 10)); m++);
2092
+ if (m >= d) return !1;
2093
+ if (c = m, i = e.md.helpers.parseLinkDestination(e.src, m, e.posMax), i.ok) {
2094
+ for (o = e.md.normalizeLink(i.str), e.md.validateLink(o) ? m = i.pos : o = "", c = m; m < d && (n = e.src.charCodeAt(m), !(!N(n) && n !== 10)); m++);
2095
+ if (i = e.md.helpers.parseLinkTitle(e.src, m, e.posMax), m < d && c !== m && i.ok) for (s = i.str, m = i.pos; m < d && (n = e.src.charCodeAt(m), !(!N(n) && n !== 10)); m++);
2096
+ }
2097
+ (m >= d || e.src.charCodeAt(m) !== 41) && (l = !0), m++;
2098
+ }
2099
+ if (l) {
2100
+ if (e.env.references === void 0) return !1;
2101
+ if (m < d && e.src.charCodeAt(m) === 91 ? (c = m + 1, m = e.md.helpers.parseLinkLabel(e, m), m >= 0 ? r = e.src.slice(c, m++) : m = p + 1) : m = p + 1, r || (r = e.src.slice(f, p)), r = L(r), a = e.env.references[r], !a) return e.pos = u, !1;
2102
+ o = a.href, s = a.title;
2103
+ }
2104
+ if (!t) {
2105
+ e.pos = f, e.posMax = p;
2106
+ let t = e.push("link_open", "a", 1), n = [["href", o]];
2107
+ if (t.attrs = n, s && n.push(["title", s]), r) {
2108
+ let e = Object.create(null);
2109
+ e.label = r, t.meta = e;
2110
+ }
2111
+ e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, e.push("link_close", "a", -1);
2112
+ }
2113
+ return e.pos = m, e.posMax = d, !0;
2114
+ }
2115
+ //#endregion
2116
+ //#region src/rules_inline/image.ts
2117
+ function cn(e, t) {
2118
+ let n, r, i, a, o, s, c, l, u = "", d = e.pos, f = e.posMax;
2119
+ if (e.src.charCodeAt(e.pos) !== 33 || e.src.charCodeAt(e.pos + 1) !== 91) return !1;
2120
+ let p = e.pos + 2, m = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1);
2121
+ if (m < 0) return !1;
2122
+ if (a = m + 1, a < f && e.src.charCodeAt(a) === 40) {
2123
+ for (a++; a < f && (n = e.src.charCodeAt(a), !(!N(n) && n !== 10)); a++);
2124
+ if (a >= f) return !1;
2125
+ for (l = a, s = e.md.helpers.parseLinkDestination(e.src, a, e.posMax), s.ok && (u = e.md.normalizeLink(s.str), e.md.validateLink(u) ? a = s.pos : u = ""), l = a; a < f && (n = e.src.charCodeAt(a), !(!N(n) && n !== 10)); a++);
2126
+ if (s = e.md.helpers.parseLinkTitle(e.src, a, e.posMax), a < f && l !== a && s.ok) for (c = s.str, a = s.pos; a < f && (n = e.src.charCodeAt(a), !(!N(n) && n !== 10)); a++);
2127
+ else c = "";
2128
+ if (a >= f || e.src.charCodeAt(a) !== 41) return e.pos = d, !1;
2129
+ a++;
2130
+ } else {
2131
+ if (e.env.references === void 0) return !1;
2132
+ if (a < f && e.src.charCodeAt(a) === 91 ? (l = a + 1, a = e.md.helpers.parseLinkLabel(e, a), a >= 0 ? i = e.src.slice(l, a++) : a = m + 1) : a = m + 1, i || (i = e.src.slice(p, m)), i = L(i), o = e.env.references[i], !o) return e.pos = d, !1;
2133
+ u = o.href, c = o.title;
2134
+ }
2135
+ if (!t) {
2136
+ r = e.src.slice(p, m);
2137
+ let t = [];
2138
+ e.md.inline.parse(r, e.md, e.env, t);
2139
+ let n = e.push("image", "img", 0), a = [["src", u], ["alt", ""]];
2140
+ if (n.attrs = a, n.children = t, n.content = r, c && a.push(["title", c]), i) {
2141
+ let e = Object.create(null);
2142
+ e.label = i, n.meta = e;
2143
+ }
2144
+ }
2145
+ return e.pos = a, e.posMax = f, !0;
2146
+ }
2147
+ //#endregion
2148
+ //#region src/rules_inline/autolink.ts
2149
+ var ln = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, un = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
2150
+ function dn(e, t) {
2151
+ let n = e.pos;
2152
+ if (e.src.charCodeAt(n) !== 60) return !1;
2153
+ let r = e.pos, i = e.posMax;
2154
+ for (;;) {
2155
+ if (++n >= i) return !1;
2156
+ let t = e.src.charCodeAt(n);
2157
+ if (t === 60) return !1;
2158
+ if (t === 62) break;
2159
+ }
2160
+ let a = e.src.slice(r + 1, n);
2161
+ if (un.test(a)) {
2162
+ let n = e.md.normalizeLink(a);
2163
+ if (!e.md.validateLink(n)) return !1;
2164
+ if (!t) {
2165
+ let t = e.push("link_open", "a", 1);
2166
+ t.attrs = [["href", n]], t.markup = "autolink", t.info = "auto";
2167
+ let r = e.push("text", "", 0);
2168
+ r.content = e.md.normalizeLinkText(a);
2169
+ let i = e.push("link_close", "a", -1);
2170
+ i.markup = "autolink", i.info = "auto";
2171
+ }
2172
+ return e.pos += a.length + 2, !0;
2173
+ }
2174
+ if (ln.test(a)) {
2175
+ let n = e.md.normalizeLink(`mailto:${a}`);
2176
+ if (!e.md.validateLink(n)) return !1;
2177
+ if (!t) {
2178
+ let t = e.push("link_open", "a", 1);
2179
+ t.attrs = [["href", n]], t.markup = "autolink", t.info = "auto";
2180
+ let r = e.push("text", "", 0);
2181
+ r.content = e.md.normalizeLinkText(a);
2182
+ let i = e.push("link_close", "a", -1);
2183
+ i.markup = "autolink", i.info = "auto";
2184
+ }
2185
+ return e.pos += a.length + 2, !0;
2186
+ }
2187
+ return !1;
2188
+ }
2189
+ //#endregion
2190
+ //#region src/rules_inline/html_inline.ts
2191
+ function fn(e) {
2192
+ return /^<a[>\s]/i.test(e);
2193
+ }
2194
+ function pn(e) {
2195
+ return /^<\/a\s*>/i.test(e);
2196
+ }
2197
+ function mn(e) {
2198
+ let t = e | 32;
2199
+ return t >= 97 && t <= 122;
2200
+ }
2201
+ function hn(e, t) {
2202
+ if (!e.md.options.html) return !1;
2203
+ let n = e.posMax, r = e.pos;
2204
+ if (e.src.charCodeAt(r) !== 60 || r + 2 >= n) return !1;
2205
+ let i = e.src.charCodeAt(r + 1);
2206
+ if (i !== 33 && i !== 63 && i !== 47 && !mn(i)) return !1;
2207
+ let a = e.src.slice(r).match(Ft);
2208
+ if (!a) return !1;
2209
+ if (!t) {
2210
+ let t = e.push("html_inline", "", 0);
2211
+ t.content = a[0], fn(t.content) && e.linkLevel++, pn(t.content) && e.linkLevel--;
2212
+ }
2213
+ return e.pos += a[0].length, !0;
2214
+ }
2215
+ //#endregion
2216
+ //#region src/rules_inline/entity.ts
2217
+ var gn = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, _n = /^&([a-z][a-z0-9]{1,31});/i;
2218
+ function vn(e, t) {
2219
+ let n = e.pos, r = e.posMax;
2220
+ if (e.src.charCodeAt(n) !== 38 || n + 1 >= r) return !1;
2221
+ if (e.src.charCodeAt(n + 1) === 35) {
2222
+ let r = e.src.slice(n).match(gn);
2223
+ if (r) {
2224
+ if (!t) {
2225
+ let t = r[1][0].toLowerCase() === "x" ? parseInt(r[1].slice(1), 16) : parseInt(r[1], 10), n = e.push("text_special", "", 0);
2226
+ n.content = we(t) ? A(t) : A(65533), n.markup = r[0], n.info = "entity";
2227
+ }
2228
+ return e.pos += r[0].length, !0;
2229
+ }
2230
+ } else {
2231
+ let r = e.src.slice(n).match(_n);
2232
+ if (r) {
2233
+ let n = be(r[0]);
2234
+ if (n !== r[0]) {
2235
+ if (!t) {
2236
+ let t = e.push("text_special", "", 0);
2237
+ t.content = n, t.markup = r[0], t.info = "entity";
2238
+ }
2239
+ return e.pos += r[0].length, !0;
2240
+ }
2241
+ }
2242
+ }
2243
+ return !1;
2244
+ }
2245
+ //#endregion
2246
+ //#region src/rules_inline/balance_pairs.ts
2247
+ function yn(e) {
2248
+ let t = {}, n = e.length;
2249
+ if (!n) return;
2250
+ let r = 0, i = -2, a = [];
2251
+ for (let o = 0; o < n; o++) {
2252
+ let n = e[o];
2253
+ if (a.push(0), (e[r].marker !== n.marker || i !== n.token - 1) && (r = o), i = n.token, n.length = n.length || 0, !n.close) continue;
2254
+ t.hasOwnProperty(n.marker) || (t[n.marker] = [
2255
+ -1,
2256
+ -1,
2257
+ -1,
2258
+ -1,
2259
+ -1,
2260
+ -1
2261
+ ]);
2262
+ let s = t[n.marker][(n.open ? 3 : 0) + n.length % 3], c = r - a[r] - 1, l = c;
2263
+ for (; c > s; c -= a[c] + 1) {
2264
+ let t = e[c];
2265
+ if (t.marker === n.marker && t.open && t.end < 0) {
2266
+ let r = !1;
2267
+ if ((t.close || n.open) && (t.length + n.length) % 3 == 0 && (t.length % 3 != 0 || n.length % 3 != 0) && (r = !0), !r) {
2268
+ let r = c > 0 && !e[c - 1].open ? a[c - 1] + 1 : 0;
2269
+ a[o] = o - c + r, a[c] = r, n.open = !1, t.end = o, t.close = !1, l = -1, i = -2;
2270
+ break;
2271
+ }
2272
+ }
2273
+ }
2274
+ l !== -1 && (t[n.marker][(n.open ? 3 : 0) + (n.length || 0) % 3] = l);
2275
+ }
2276
+ }
2277
+ function bn(e) {
2278
+ let t = e.tokens_meta, n = e.tokens_meta.length;
2279
+ yn(e.delimiters);
2280
+ for (let e = 0; e < n; e++) {
2281
+ var r;
2282
+ let n = (r = t[e]) == null ? void 0 : r.delimiters;
2283
+ n && yn(n);
2284
+ }
2285
+ }
2286
+ //#endregion
2287
+ //#region src/rules_inline/fragments_join.ts
2288
+ function xn(e) {
2289
+ let t, n, r = 0, i = e.tokens, a = e.tokens.length;
2290
+ for (t = n = 0; t < a; t++) i[t].nesting < 0 && r--, i[t].level = r, i[t].nesting > 0 && r++, i[t].type === "text" && t + 1 < a && i[t + 1].type === "text" ? i[t + 1].content = i[t].content + i[t + 1].content : (t !== n && (i[n] = i[t]), n++);
2291
+ t !== n && (i.length = n);
2292
+ }
2293
+ //#endregion
2294
+ //#region src/parser_inline.ts
2295
+ var Sn = [
2296
+ ["text", Wt],
2297
+ ["linkify", qt],
2298
+ ["newline", Jt],
2299
+ ["escape", Yt],
2300
+ ["backticks", Zt],
2301
+ ["strikethrough", tn.tokenize],
2302
+ ["emphasis", on.tokenize],
2303
+ ["link", sn],
2304
+ ["image", cn],
2305
+ ["autolink", dn],
2306
+ ["html_inline", hn],
2307
+ ["entity", vn]
2308
+ ], Cn = [
2309
+ ["balance_pairs", bn],
2310
+ ["strikethrough", tn.postProcess],
2311
+ ["emphasis", on.postProcess],
2312
+ ["fragments_join", xn]
2313
+ ], wn = class {
2314
+ constructor() {
2315
+ T(this, "ruler", new B()), T(this, "ruler2", new B()), T(this, "State", Ht);
2316
+ for (let e = 0; e < Sn.length; e++) this.ruler.push(Sn[e][0], Sn[e][1]);
2317
+ for (let e = 0; e < Cn.length; e++) this.ruler2.push(Cn[e][0], Cn[e][1]);
2318
+ }
2319
+ skipToken(e) {
2320
+ let t = e.pos, n = this.ruler.getRules(""), r = n.length, i = e.md.options.maxNesting, a = e.cache;
2321
+ if (a[t] !== void 0) {
2322
+ e.pos = a[t];
2323
+ return;
2324
+ }
2325
+ let o = !1;
2326
+ if (e.level < i) {
2327
+ for (let i = 0; i < r; i++) if (e.level++, o = n[i](e, !0), e.level--, o) {
2328
+ if (t >= e.pos) throw Error("inline rule didn't increment state.pos");
2329
+ break;
2330
+ }
2331
+ } else e.pos = e.posMax;
2332
+ o || e.pos++, a[t] = e.pos;
2333
+ }
2334
+ tokenize(e) {
2335
+ let t = this.ruler.getRules(""), n = t.length, r = e.posMax, i = e.md.options.maxNesting;
2336
+ for (; e.pos < r;) {
2337
+ let a = e.pos, o = !1;
2338
+ if (e.level < i) {
2339
+ for (let r = 0; r < n; r++) if (o = t[r](e, !1), o) {
2340
+ if (a >= e.pos) throw Error("inline rule didn't increment state.pos");
2341
+ break;
2342
+ }
2343
+ }
2344
+ if (o) {
2345
+ if (e.pos >= r) break;
2346
+ continue;
2347
+ }
2348
+ e.pending += e.src[e.pos++];
2349
+ }
2350
+ e.pending && e.pushPending();
2351
+ }
2352
+ parse(e, t, n, r) {
2353
+ let i = new this.State(e, t, n, r);
2354
+ this.tokenize(i);
2355
+ let a = this.ruler2.getRules(""), o = a.length;
2356
+ for (let e = 0; e < o; e++) a[e](i);
2357
+ }
2358
+ }, Tn = class {
2359
+ constructor(e = {}) {
2360
+ T(this, "src_Any", x.source), T(this, "src_Cc", ne.source), T(this, "src_Z", ae.source), T(this, "src_P", S.source), T(this, "src_ZPCc", [
2361
+ this.src_Z,
2362
+ this.src_P,
2363
+ this.src_Cc
2364
+ ].join("|")), T(this, "src_ZCc", [this.src_Z, this.src_Cc].join("|")), T(this, "cache", {}), T(this, "opts", {
2365
+ maxLength: 1e4,
2366
+ urlAuth: !1,
2367
+ schema_names: []
2368
+ }), this.opts = {
2369
+ ...this.opts,
2370
+ ...e
2371
+ };
2372
+ }
2373
+ set(e = {}) {
2374
+ return this.opts = {
2375
+ ...this.opts,
2376
+ ...e
2377
+ }, this.cache = {}, this;
2378
+ }
2379
+ escapeRE(e) {
2380
+ return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
2381
+ }
2382
+ nestedPairRE(e, t, n = 4) {
2383
+ let r = this.escapeRE(e), i = this.escapeRE(t), a = `(?:(?!${this.src_ZCc}|${r}|${i}).)`, o = `${r}${a}{0,1000}${i}`;
2384
+ for (let e = 2; e <= n; e++) o = `${r}(?:${a}|${o}){0,1000}${i}`;
2385
+ return o;
2386
+ }
2387
+ get_text_separators() {
2388
+ var e, t;
2389
+ return (t = (e = this.cache).text_separators) == null ? e.text_separators = /[><\uff5c]/ : t;
2390
+ }
2391
+ get_pseudo_letter() {
2392
+ var e, t;
2393
+ return (t = (e = this.cache).src_pseudo_letter) == null ? e.src_pseudo_letter = RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`) : t;
2394
+ }
2395
+ get_ipv4_addr() {
2396
+ var e, t;
2397
+ return (t = (e = this.cache).src_ip4) == null ? e.src_ip4 = /* @__PURE__ */ RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])") : t;
2398
+ }
2399
+ get_ipv6_addr() {
2400
+ var e, t;
2401
+ let n = "[0-9A-Fa-f]{1,4}", r = `(?:(?:${n}:${n})|${this.get_ipv4_addr().source})`;
2402
+ return (t = (e = this.cache).src_ip6_addr) == null ? e.src_ip6_addr = RegExp(`(?:(?:${n}:){6}${r}|::(?:${n}:){5}${r}|(?:${n})?::(?:${n}:){4}${r}|(?:(?:${n}:){0,1}${n})?::(?:${n}:){3}${r}|(?:(?:${n}:){0,2}${n})?::(?:${n}:){2}${r}|(?:(?:${n}:){0,3}${n})?::${n}:${r}|(?:(?:${n}:){0,4}${n})?::${r}|(?:(?:${n}:){0,5}${n})?::${n}|(?:(?:${n}:){0,6}${n})?::)`) : t;
2403
+ }
2404
+ get_ipv6_url_host() {
2405
+ var e, t;
2406
+ return (t = (e = this.cache).src_ip6_host) == null ? e.src_ip6_host = RegExp(`\\[${this.get_ipv6_addr().source}\\]`) : t;
2407
+ }
2408
+ get_ipv6_mail_host() {
2409
+ var e, t;
2410
+ return (t = (e = this.cache).src_ipv6_mail_host) == null ? e.src_ipv6_mail_host = RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`) : t;
2411
+ }
2412
+ get_auth() {
2413
+ var e, t;
2414
+ return (t = (e = this.cache).src_auth) == null ? e.src_auth = RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`) : t;
2415
+ }
2416
+ get_port() {
2417
+ var e, t;
2418
+ return (t = (e = this.cache).src_port) == null ? e.src_port = /* @__PURE__ */ RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?") : t;
2419
+ }
2420
+ get_host_terminator() {
2421
+ var e, t;
2422
+ return (t = (e = this.cache).src_host_terminator) == null ? e.src_host_terminator = RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"] ? "-(?!--)|" : "-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`) : t;
2423
+ }
2424
+ get_path_terminator() {
2425
+ var e, t;
2426
+ return (t = (e = this.cache).src_path_terminator) == null ? e.src_path_terminator = RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`) : t;
2427
+ }
2428
+ get_path() {
2429
+ var e, t;
2430
+ return (t = (e = this.cache).src_path) == null ? e.src_path = RegExp(`(?:[/?#](?:${this.nestedPairRE("[", "]")}|${this.nestedPairRE("(", ")")}|${this.nestedPairRE("{", "}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|` + (this.opts["---"] ? "\\-(?!--(?:[^-]|$))(?:-{0,19})|" : "\\-{1,20}|") + `,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|` + this.get_path_extra().source + `[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`) : t;
2431
+ }
2432
+ get_mail_name() {
2433
+ var e, t;
2434
+ return (t = (e = this.cache).src_mail_name) == null ? e.src_mail_name = /* @__PURE__ */ RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}") : t;
2435
+ }
2436
+ get_xn() {
2437
+ var e, t;
2438
+ return (t = (e = this.cache).src_xn) == null ? e.src_xn = /* @__PURE__ */ RegExp("xn--[a-z0-9\\-]{1,59}") : t;
2439
+ }
2440
+ get_tld() {
2441
+ if (this.cache.tld) return this.cache.tld;
2442
+ let e = [...new Set(this.opts.tlds || [])].sort().reverse().join("|");
2443
+ return this.cache.tld = RegExp(`${e || "$#none#$"}|${this.get_xn().source}`), this.cache.tld;
2444
+ }
2445
+ get_domain_root() {
2446
+ var e, t;
2447
+ return (t = (e = this.cache).src_domain_root) == null ? e.src_domain_root = RegExp("(?:" + this.get_xn().source + `|${this.get_pseudo_letter().source}{1,63})`) : t;
2448
+ }
2449
+ get_domain() {
2450
+ var e, t;
2451
+ return (t = (e = this.cache).src_domain) == null ? e.src_domain = RegExp("(?:" + this.get_xn().source + `|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`) : t;
2452
+ }
2453
+ get_url_host_port() {
2454
+ var e, t;
2455
+ return (t = (e = this.cache).url_host_port) == null ? e.url_host_port = RegExp("(?:" + this.get_ipv6_url_host().source + `|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))` + this.get_port().source + this.get_host_terminator().source) : t;
2456
+ }
2457
+ get_fuzzy_url_host_port() {
2458
+ var e, t;
2459
+ return (t = (e = this.cache).fuzzy_url_host_port) == null ? e.fuzzy_url_host_port = RegExp("(?:" + (this.opts.fuzzyIP ? this.get_ipv4_addr().source + "|" : "") + `(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))` + this.get_host_terminator().source) : t;
2460
+ }
2461
+ get_mail_host() {
2462
+ var e, t;
2463
+ return (t = (e = this.cache).src_mail_host) == null ? e.src_mail_host = RegExp("(?:" + this.get_ipv6_mail_host().source + `|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))` + this.get_host_terminator().source) : t;
2464
+ }
2465
+ get_fuzzy_mail_host() {
2466
+ var e, t;
2467
+ return (t = (e = this.cache).src_fuzzy_mail_host) == null ? e.src_fuzzy_mail_host = RegExp("(?:" + this.get_ipv6_mail_host().source + `|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))` + this.get_host_terminator().source) : t;
2468
+ }
2469
+ get_path_extra() {
2470
+ var e, t;
2471
+ return (t = (e = this.cache).src_path_extra) == null ? e.src_path_extra = /* @__PURE__ */ RegExp("") : t;
2472
+ }
2473
+ get_fuzzy_mail_host_search() {
2474
+ var e, t;
2475
+ return (t = (e = this.cache).mail_fuzzy_host_search) == null ? e.mail_fuzzy_host_search = RegExp(`@${this.get_fuzzy_mail_host().source}`, "ig") : t;
2476
+ }
2477
+ get_fuzzy_link_search() {
2478
+ var e, t;
2479
+ return (t = (e = this.cache).link_fuzzy_search) == null ? e.link_fuzzy_search = RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uff5c])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`, "ig") : t;
2480
+ }
2481
+ get_http_validator() {
2482
+ var e, t;
2483
+ return (t = (e = this.cache).http_validator) == null ? e.http_validator = RegExp("\\/\\/" + (this.opts.urlAuth ? this.get_auth().source : "") + this.get_url_host_port().source + this.get_path().source, "iy") : t;
2484
+ }
2485
+ get_relative_proto_validator() {
2486
+ var e, t;
2487
+ return (t = (e = this.cache).relative_proto_validator) == null ? e.relative_proto_validator = RegExp((this.opts.urlAuth ? this.get_auth().source : "") + `(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})` + this.get_port().source + this.get_host_terminator().source + this.get_path().source, "iy") : t;
2488
+ }
2489
+ get_mail_name_validator() {
2490
+ var e, t;
2491
+ return (t = (e = this.cache).mail_name_validator) == null ? e.mail_name_validator = RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`) : t;
2492
+ }
2493
+ get_mailto_validator() {
2494
+ var e, t;
2495
+ return (t = (e = this.cache).mailto_validator) == null ? e.mailto_validator = RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`, "iy") : t;
2496
+ }
2497
+ get_schema_names() {
2498
+ var e, t;
2499
+ return (t = (e = this.cache).schema_names) == null ? e.schema_names = new RegExp((this.opts.schema_names || []).map((e) => this.escapeRE(e)).join("|")) : t;
2500
+ }
2501
+ get_schema_search() {
2502
+ var e, t;
2503
+ return (t = (e = this.cache).schema_search) == null ? e.schema_search = RegExp(`(^|(?!_)(?:[><\uff5c]|${this.src_ZPCc}))(${this.get_schema_names().source})`, "ig") : t;
2504
+ }
2505
+ get_schema_at_start() {
2506
+ var e, t;
2507
+ return (t = (e = this.cache).schema_at_start) == null ? e.schema_at_start = RegExp(`^${this.get_schema_search().source}`, "i") : t;
2508
+ }
2509
+ }, En = {
2510
+ validate: (e, t, n) => {
2511
+ let r = n.re.get_http_validator();
2512
+ r.lastIndex = t;
2513
+ let i = r.exec(e);
2514
+ return i ? i[0].length : 0;
2515
+ },
2516
+ normalize: (e, t) => t.normalize(e)
2517
+ }, Dn = {
2518
+ "http:": En,
2519
+ "https:": En,
2520
+ "ftp:": En,
2521
+ "//": {
2522
+ validate: function(e, t, n) {
2523
+ let r = n.re.get_relative_proto_validator();
2524
+ r.lastIndex = t;
2525
+ let i = r.exec(e);
2526
+ return i ? t >= 3 && e[t - 3] === ":" || t >= 3 && e[t - 3] === "/" ? 0 : i[0].length : 0;
2527
+ },
2528
+ normalize: (e, t) => t.normalize(e)
2529
+ },
2530
+ "mailto:": {
2531
+ validate: function(e, t, n) {
2532
+ let r = n.re.get_mailto_validator();
2533
+ r.lastIndex = t;
2534
+ let i = r.exec(e);
2535
+ return i ? i[0].length : 0;
2536
+ },
2537
+ normalize: (e, t) => t.normalize(e)
2538
+ }
2539
+ }, On = "a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw", kn = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф";
2540
+ function An() {
2541
+ let e = kn.split("|");
2542
+ return On.split("|").forEach((t) => {
2543
+ let n = t.indexOf(":"), r = t.slice(0, n);
2544
+ for (let i of t.slice(n + 1)) e.push(r + i);
2545
+ }), e;
2546
+ }
2547
+ var jn = {
2548
+ fuzzyLink: !1,
2549
+ fuzzyEmail: !0,
2550
+ fuzzyIP: !1,
2551
+ "---": !1,
2552
+ tlds: An(),
2553
+ urlAuth: !1,
2554
+ maxLength: 1e4
2555
+ }, Mn = class {
2556
+ constructor(e, t, n, r) {
2557
+ T(this, "schema", void 0), T(this, "index", void 0), T(this, "lastIndex", void 0), T(this, "raw", void 0), T(this, "text", void 0), T(this, "url", void 0);
2558
+ let i = e.slice(n, r);
2559
+ this.schema = t.toLowerCase(), this.index = n, this.lastIndex = r, this.raw = i, this.text = i, this.url = i;
2560
+ }
2561
+ }, Nn = class {
2562
+ constructor(e = {}) {
2563
+ T(this, "__opts__", void 0), T(this, "__schemas__", void 0), T(this, "re", void 0);
2564
+ let { rebuilder: t, ...n } = e;
2565
+ this.__opts__ = {
2566
+ ...jn,
2567
+ ...n
2568
+ }, this.__schemas__ = { ...Dn }, this.re = t || new Tn(), this.re.set({
2569
+ ...this.__opts__,
2570
+ schema_names: Object.keys(this.__schemas__)
2571
+ });
2572
+ }
2573
+ add(e, t = null) {
2574
+ if (!t) delete this.__schemas__[e];
2575
+ else {
2576
+ let n = {
2577
+ normalize: (e, t) => t.normalize(e),
2578
+ ...t
2579
+ };
2580
+ this.__schemas__[e] = n;
2581
+ }
2582
+ return this.re.set({
2583
+ ...this.__opts__,
2584
+ schema_names: Object.keys(this.__schemas__)
2585
+ }), this;
2586
+ }
2587
+ set(e = {}) {
2588
+ return this.__opts__ = {
2589
+ ...this.__opts__,
2590
+ ...e
2591
+ }, this.re.set({
2592
+ ...this.__opts__,
2593
+ schema_names: Object.keys(this.__schemas__)
2594
+ }), this;
2595
+ }
2596
+ test(e) {
2597
+ if (!e.length) return !1;
2598
+ let t, n;
2599
+ for (n = this.re.get_schema_search(), n.lastIndex = 0; (t = n.exec(e)) !== null;) if (this.testSchemaAt(e, t[2], n.lastIndex)) return !0;
2600
+ if (this.__opts__.fuzzyLink && this.__schemas__["http:"] && (n = this.re.get_fuzzy_link_search(), n.lastIndex = 0, n.exec(e) !== null)) return !0;
2601
+ if (this.__opts__.fuzzyEmail && this.__schemas__["mailto:"] && e.indexOf("@") >= 0) {
2602
+ let n = this.re.get_fuzzy_mail_host_search(), r = this.re.get_mail_name_validator();
2603
+ for (n.lastIndex = 0; (t = n.exec(e)) !== null;) {
2604
+ let n = e.slice(Math.max(0, t.index - 65), t.index);
2605
+ if (r.test(n)) return !0;
2606
+ }
2607
+ }
2608
+ return !1;
2609
+ }
2610
+ testSchemaAt(e, t, n) {
2611
+ return this.__schemas__[t.toLowerCase()] ? this.__schemas__[t.toLowerCase()].validate(e.slice(0, n + this.__opts__.maxLength), n, this) : 0;
2612
+ }
2613
+ match(e) {
2614
+ let t = [], n = this.re.get_schema_search(), r, i, a, o, s, c, l = !1, u = !1, d = !1, f = 0;
2615
+ if (!e.length) return null;
2616
+ for (n.lastIndex = 0, this.__opts__.fuzzyLink && this.__schemas__["http:"] && (r = this.re.get_fuzzy_link_search(), r.lastIndex = 0), this.__opts__.fuzzyEmail && this.__schemas__["mailto:"] && (i = this.re.get_fuzzy_mail_host_search(), i.lastIndex = 0, a = this.re.get_mail_name_validator());;) {
2617
+ let p = Math.max(f - 1, 0);
2618
+ if (i && a && !d && (!s || s.index < f)) for (i.lastIndex < p && (i.lastIndex = p);;) {
2619
+ let t = i.exec(e);
2620
+ if (!t) {
2621
+ d = !0, s = void 0;
2622
+ break;
2623
+ }
2624
+ let n = a.exec(e.slice(Math.max(0, t.index - 65), t.index));
2625
+ if (n) {
2626
+ if (s = {
2627
+ schema: "mailto:",
2628
+ index: t.index - n[1].length,
2629
+ lastIndex: t.index + t[0].length
2630
+ }, s.index >= f) break;
2631
+ i.lastIndex < p && (i.lastIndex = p);
2632
+ }
2633
+ }
2634
+ if (r && !u && (!o || o.index < f)) for (r.lastIndex < p && (r.lastIndex = p);;) {
2635
+ let t = r.exec(e);
2636
+ if (!t) {
2637
+ u = !0, o = void 0;
2638
+ break;
2639
+ }
2640
+ if (o = {
2641
+ schema: "",
2642
+ index: t.index + t[1].length,
2643
+ lastIndex: t.index + t[0].length
2644
+ }, o.index >= f) break;
2645
+ r.lastIndex < p && (r.lastIndex = p);
2646
+ }
2647
+ let m = s;
2648
+ (!m || o && (o.index < m.index || o.index === m.index && o.lastIndex > m.lastIndex)) && (m = o);
2649
+ let h;
2650
+ if (!l) for (;;) {
2651
+ if (!c) {
2652
+ n.lastIndex < p && (n.lastIndex = p);
2653
+ let t = n.exec(e);
2654
+ if (!t) {
2655
+ l = !0;
2656
+ break;
2657
+ }
2658
+ c = {
2659
+ schema: t[2],
2660
+ index: t.index + t[1].length,
2661
+ lastIndex: t.index + t[0].length
2662
+ };
2663
+ }
2664
+ if (c.index < f) {
2665
+ c = void 0;
2666
+ continue;
2667
+ }
2668
+ if (m && c.index > m.index) break;
2669
+ let t = c;
2670
+ c = void 0;
2671
+ let r = this.testSchemaAt(e, t.schema, t.lastIndex);
2672
+ if (r) {
2673
+ h = {
2674
+ schema: t.schema,
2675
+ index: t.index,
2676
+ lastIndex: t.lastIndex + r
2677
+ };
2678
+ break;
2679
+ }
2680
+ }
2681
+ let g = h;
2682
+ if ((!g || s && (s.index < g.index || s.index === g.index && s.lastIndex > g.lastIndex)) && (g = s), (!g || o && (o.index < g.index || o.index === g.index && o.lastIndex > g.lastIndex)) && (g = o), !g) break;
2683
+ g === s ? s = void 0 : g === o && (o = void 0);
2684
+ let _ = new Mn(e, g.schema, g.index, g.lastIndex);
2685
+ _.schema ? this.__schemas__[_.schema].normalize(_, this) : this.normalize(_), t.push(_), f = g.lastIndex;
2686
+ }
2687
+ return t.length ? t : null;
2688
+ }
2689
+ matchAtStart(e) {
2690
+ if (!e.length) return null;
2691
+ let t = this.re.get_schema_at_start().exec(e);
2692
+ if (!t) return null;
2693
+ let n = this.testSchemaAt(e, t[2], t[0].length);
2694
+ if (!n) return null;
2695
+ let r = new Mn(e, t[2], t.index + t[1].length, t.index + t[0].length + n);
2696
+ return this.__schemas__[r.schema].normalize(r, this), r;
2697
+ }
2698
+ tlds(e, t = !1) {
2699
+ return e = Array.isArray(e) ? e : [e], t ? this.__opts__.tlds = this.__opts__.tlds.concat(e) : this.__opts__.tlds = e, this.re.set({
2700
+ ...this.__opts__,
2701
+ schema_names: Object.keys(this.__schemas__)
2702
+ }), this;
2703
+ }
2704
+ normalize(e) {
2705
+ e.schema || (e.url = `http://${e.url}`), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = `mailto:${e.url}`);
2706
+ }
2707
+ }, J = 2147483647, Y = 36, Pn = 1, X = 26, Fn = 38, In = 700, Ln = 72, Rn = 128, zn = "-", Bn = /^xn--/, Vn = /[^\0-\x7F]/, Hn = /[\x2E\u3002\uFF0E\uFF61]/g, Un = {
2708
+ overflow: "Overflow: input needs wider integers to process",
2709
+ "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2710
+ "invalid-input": "Invalid input"
2711
+ }, Wn = 35, Z = Math.floor, Gn = String.fromCharCode;
2712
+ function Q(e) {
2713
+ throw RangeError(Un[e]);
2714
+ }
2715
+ function Kn(e, t) {
2716
+ let n = [], r = e.length;
2717
+ for (; r--;) n[r] = t(e[r]);
2718
+ return n;
2719
+ }
2720
+ function qn(e, t) {
2721
+ let n = e.split("@"), r = "";
2722
+ n.length > 1 && (r = n[0] + "@", e = n[1]), e = e.replace(Hn, ".");
2723
+ let i = Kn(e.split("."), t).join(".");
2724
+ return r + i;
2725
+ }
2726
+ function Jn(e) {
2727
+ let t = [], n = 0, r = e.length;
2728
+ for (; n < r;) {
2729
+ let i = e.charCodeAt(n++);
2730
+ if (i >= 55296 && i <= 56319 && n < r) {
2731
+ let r = e.charCodeAt(n++);
2732
+ (r & 64512) == 56320 ? t.push(((i & 1023) << 10) + (r & 1023) + 65536) : (t.push(i), n--);
2733
+ } else t.push(i);
2734
+ }
2735
+ return t;
2736
+ }
2737
+ var Yn = (e) => String.fromCodePoint(...e), Xn = function(e) {
2738
+ return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 : Y;
2739
+ }, Zn = function(e, t) {
2740
+ return e + 22 + 75 * (e < 26) - ((t != 0) << 5);
2741
+ }, Qn = function(e, t, n) {
2742
+ let r = 0;
2743
+ for (e = n ? Z(e / In) : e >> 1, e += Z(e / t); e > 455; r += Y) e = Z(e / Wn);
2744
+ return Z(r + 36 * e / (e + Fn));
2745
+ }, $n = function(e) {
2746
+ let t = [], n = e.length, r = 0, i = Rn, a = Ln, o = e.lastIndexOf(zn);
2747
+ o < 0 && (o = 0);
2748
+ for (let n = 0; n < o; ++n) e.charCodeAt(n) >= 128 && Q("not-basic"), t.push(e.charCodeAt(n));
2749
+ for (let s = o > 0 ? o + 1 : 0; s < n;) {
2750
+ let o = r;
2751
+ for (let t = 1, i = Y;; i += Y) {
2752
+ s >= n && Q("invalid-input");
2753
+ let o = Xn(e.charCodeAt(s++));
2754
+ o >= Y && Q("invalid-input"), o > Z((J - r) / t) && Q("overflow"), r += o * t;
2755
+ let c = i <= a ? Pn : i >= a + X ? X : i - a;
2756
+ if (o < c) break;
2757
+ let l = Y - c;
2758
+ t > Z(J / l) && Q("overflow"), t *= l;
2759
+ }
2760
+ let c = t.length + 1;
2761
+ a = Qn(r - o, c, o == 0), Z(r / c) > J - i && Q("overflow"), i += Z(r / c), r %= c, t.splice(r++, 0, i);
2762
+ }
2763
+ return String.fromCodePoint(...t);
2764
+ }, er = function(e) {
2765
+ let t = [];
2766
+ e = Jn(e);
2767
+ let n = e.length, r = Rn, i = 0, a = Ln;
2768
+ for (let n of e) n < 128 && t.push(Gn(n));
2769
+ let o = t.length, s = o;
2770
+ for (o && t.push(zn); s < n;) {
2771
+ let n = J;
2772
+ for (let t of e) t >= r && t < n && (n = t);
2773
+ let c = s + 1;
2774
+ n - r > Z((J - i) / c) && Q("overflow"), i += (n - r) * c, r = n;
2775
+ for (let n of e) if (n < r && ++i > J && Q("overflow"), n === r) {
2776
+ let e = i;
2777
+ for (let n = Y;; n += Y) {
2778
+ let r = n <= a ? Pn : n >= a + X ? X : n - a;
2779
+ if (e < r) break;
2780
+ let i = e - r, o = Y - r;
2781
+ t.push(Gn(Zn(r + i % o, 0))), e = Z(i / o);
2782
+ }
2783
+ t.push(Gn(Zn(e, 0))), a = Qn(i, c, s === o), i = 0, ++s;
2784
+ }
2785
+ ++i, ++r;
2786
+ }
2787
+ return t.join("");
2788
+ }, tr = {
2789
+ version: "2.3.1",
2790
+ ucs2: {
2791
+ decode: Jn,
2792
+ encode: Yn
2793
+ },
2794
+ decode: $n,
2795
+ encode: er,
2796
+ toASCII: function(e) {
2797
+ return qn(e, function(e) {
2798
+ return Vn.test(e) ? "xn--" + er(e) : e;
2799
+ });
2800
+ },
2801
+ toUnicode: function(e) {
2802
+ return qn(e, function(e) {
2803
+ return Bn.test(e) ? $n(e.slice(4).toLowerCase()) : e;
2804
+ });
2805
+ }
2806
+ }, nr = {
2807
+ default: {
2808
+ options: {
2809
+ html: !1,
2810
+ xhtmlOut: !1,
2811
+ breaks: !1,
2812
+ langPrefix: "language-",
2813
+ linkify: !1,
2814
+ typographer: !1,
2815
+ quotes: "“”‘’",
2816
+ highlight: null,
2817
+ maxNesting: 100
2818
+ },
2819
+ components: {
2820
+ core: {},
2821
+ block: {},
2822
+ inline: {}
2823
+ }
2824
+ },
2825
+ zero: {
2826
+ options: {
2827
+ html: !1,
2828
+ xhtmlOut: !1,
2829
+ breaks: !1,
2830
+ langPrefix: "language-",
2831
+ linkify: !1,
2832
+ typographer: !1,
2833
+ quotes: "“”‘’",
2834
+ highlight: null,
2835
+ maxNesting: 20
2836
+ },
2837
+ components: {
2838
+ core: { rules: [
2839
+ "normalize",
2840
+ "block",
2841
+ "strip_references",
2842
+ "inline",
2843
+ "text_join"
2844
+ ] },
2845
+ block: { rules: ["paragraph"] },
2846
+ inline: {
2847
+ rules: ["text"],
2848
+ rules2: ["balance_pairs", "fragments_join"]
2849
+ }
2850
+ }
2851
+ },
2852
+ commonmark: {
2853
+ options: {
2854
+ html: !0,
2855
+ xhtmlOut: !0,
2856
+ breaks: !1,
2857
+ langPrefix: "language-",
2858
+ linkify: !1,
2859
+ typographer: !1,
2860
+ quotes: "“”‘’",
2861
+ highlight: null,
2862
+ maxNesting: 20
2863
+ },
2864
+ components: {
2865
+ core: { rules: [
2866
+ "normalize",
2867
+ "block",
2868
+ "strip_references",
2869
+ "inline",
2870
+ "text_join"
2871
+ ] },
2872
+ block: { rules: [
2873
+ "blockquote",
2874
+ "code",
2875
+ "fence",
2876
+ "heading",
2877
+ "hr",
2878
+ "html_block",
2879
+ "lheading",
2880
+ "list",
2881
+ "reference",
2882
+ "paragraph"
2883
+ ] },
2884
+ inline: {
2885
+ rules: [
2886
+ "autolink",
2887
+ "backticks",
2888
+ "emphasis",
2889
+ "entity",
2890
+ "escape",
2891
+ "html_inline",
2892
+ "image",
2893
+ "link",
2894
+ "newline",
2895
+ "text"
2896
+ ],
2897
+ rules2: [
2898
+ "balance_pairs",
2899
+ "emphasis",
2900
+ "fragments_join"
2901
+ ]
2902
+ }
2903
+ }
2904
+ }
2905
+ }, rr = /^(vbscript|javascript|file|data):/, ir = /^data:image\/(gif|png|jpeg|webp);/, ar = [
2906
+ "http:",
2907
+ "https:",
2908
+ "mailto:"
2909
+ ], $ = class {
2910
+ validateLink(e) {
2911
+ let t = e.trim().toLowerCase();
2912
+ return !rr.test(t) || ir.test(t);
2913
+ }
2914
+ normalizeLink(e) {
2915
+ let t = b(e, !0);
2916
+ if (t.hostname && (!t.protocol || ar.indexOf(t.protocol) >= 0)) try {
2917
+ t.hostname = tr.toASCII(t.hostname);
2918
+ } catch (e) {}
2919
+ return t.auth && (t.auth = s(t.auth)), t.hostname && (t.hostname = s(t.hostname)), t.pathname && (t.pathname = s(t.pathname)), t.search && (t.search = s(t.search)), t.hash && (t.hash = s(t.hash)), c(t);
2920
+ }
2921
+ normalizeLinkText(e) {
2922
+ let t = b(e, !0);
2923
+ if (t.hostname && (!t.protocol || ar.indexOf(t.protocol) >= 0)) try {
2924
+ t.hostname = tr.toUnicode(t.hostname);
2925
+ } catch (e) {}
2926
+ return i(c(t), i.defaultChars + "%");
2927
+ }
2928
+ constructor(...e) {
2929
+ T(this, "inline", new wn()), T(this, "block", new Vt()), T(this, "core", new vt()), T(this, "renderer", new Ue()), T(this, "linkify", new Nn()), T(this, "utils", xe), T(this, "helpers", Object.assign({}, He));
2930
+ let [t, n] = e;
2931
+ typeof t == "string" ? (this.configure(t), n && this.set(n)) : (this.configure("default"), this.set(t || {}));
2932
+ }
2933
+ set(e) {
2934
+ return Object.assign(this.options, e), this;
2935
+ }
2936
+ configure(e) {
2937
+ let t;
2938
+ if (typeof e == "string") {
2939
+ let n = e;
2940
+ if (t = nr[n], !t) throw Error(`Wrong 'markdown-it' preset "${n}", check name`);
2941
+ } else t = e;
2942
+ if (!t) throw Error("Wrong `markdown-it` preset, can't be empty");
2943
+ t.options && (this.options = { ...t.options });
2944
+ let n = t.components;
2945
+ if (n) {
2946
+ var r;
2947
+ [
2948
+ "core",
2949
+ "block",
2950
+ "inline"
2951
+ ].forEach((e) => {
2952
+ var t;
2953
+ let r = (t = n[e]) == null ? void 0 : t.rules;
2954
+ r && this[e].ruler.enableOnly(r);
2955
+ });
2956
+ let e = (r = n.inline) == null ? void 0 : r.rules2;
2957
+ e && this.inline.ruler2.enableOnly(e);
2958
+ }
2959
+ return this;
2960
+ }
2961
+ enable(e, t = !1) {
2962
+ let n = [];
2963
+ Array.isArray(e) || (e = [e]), [
2964
+ "core",
2965
+ "block",
2966
+ "inline"
2967
+ ].forEach((t) => {
2968
+ n = n.concat(this[t].ruler.enable(e, !0));
2969
+ }), n = n.concat(this.inline.ruler2.enable(e, !0));
2970
+ let r = e.filter((e) => n.indexOf(e) < 0);
2971
+ if (r.length && !t) throw Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);
2972
+ return this;
2973
+ }
2974
+ disable(e, t = !1) {
2975
+ let n = [];
2976
+ Array.isArray(e) || (e = [e]), [
2977
+ "core",
2978
+ "block",
2979
+ "inline"
2980
+ ].forEach((t) => {
2981
+ n = n.concat(this[t].ruler.disable(e, !0));
2982
+ }), n = n.concat(this.inline.ruler2.disable(e, !0));
2983
+ let r = e.filter((e) => n.indexOf(e) < 0);
2984
+ if (r.length && !t) throw Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);
2985
+ return this;
2986
+ }
2987
+ use(e, ...t) {
2988
+ return e.apply(e, [this, ...t]), this;
2989
+ }
2990
+ parse(e, t) {
2991
+ if (typeof e != "string") throw Error("Input data should be a String");
2992
+ let n = new this.core.State(e, this, t);
2993
+ return this.core.process(n), n.tokens;
2994
+ }
2995
+ render(e, t = {}) {
2996
+ return this.renderer.render(this.parse(e, t), this.options, t);
2997
+ }
2998
+ parseInline(e, t) {
2999
+ let n = new this.core.State(e, this, t);
3000
+ return n.inlineMode = !0, this.core.process(n), n.tokens;
3001
+ }
3002
+ renderInline(e, t = {}) {
3003
+ return this.renderer.render(this.parseInline(e, t), this.options, t);
3004
+ }
3005
+ };
3006
+ T($, "Token", z), T($, "Ruler", B), T($, "Renderer", Ue), T($, "ParserCore", vt), T($, "StateCore", We), T($, "ParserBlock", Vt), T($, "StateBlock", yt), T($, "ParserInline", wn), T($, "StateInline", Ht);
3007
+ //#endregion
3008
+ //#region src/index.ts
3009
+ var or = Se($);
3010
+ //#endregion
3011
+ export { or as default };
3012
+
3013
+ //# sourceMappingURL=markdown-it.esm.min.mjs.map