@qilin-agent/experimental-inspector 0.0.0-stage → 3.1.3

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 (930) hide show
  1. package/README.i18n.yaml +49 -0
  2. package/README.md +179 -2
  3. package/README.zh.md +180 -0
  4. package/cordis.patch.yml +5 -0
  5. package/icon.svg +12 -0
  6. package/lib/client.js +3572 -0
  7. package/lib/client.page.js +314 -0
  8. package/lib/devtools/Images/3d-center.svg +3 -0
  9. package/lib/devtools/Images/3d-pan.svg +3 -0
  10. package/lib/devtools/Images/3d-rotate.svg +3 -0
  11. package/lib/devtools/Images/accelerometer-back.svg +69 -0
  12. package/lib/devtools/Images/accelerometer-bottom.png +0 -0
  13. package/lib/devtools/Images/accelerometer-front.svg +28 -0
  14. package/lib/devtools/Images/accelerometer-left.png +0 -0
  15. package/lib/devtools/Images/accelerometer-right.png +0 -0
  16. package/lib/devtools/Images/accelerometer-top.png +0 -0
  17. package/lib/devtools/Images/account-tree.svg +10 -0
  18. package/lib/devtools/Images/add-photo.svg +3 -0
  19. package/lib/devtools/Images/ai-explorer-badge.svg +114 -0
  20. package/lib/devtools/Images/align-content-center.svg +5 -0
  21. package/lib/devtools/Images/align-content-end.svg +5 -0
  22. package/lib/devtools/Images/align-content-space-around.svg +6 -0
  23. package/lib/devtools/Images/align-content-space-between.svg +4 -0
  24. package/lib/devtools/Images/align-content-space-evenly.svg +6 -0
  25. package/lib/devtools/Images/align-content-start.svg +5 -0
  26. package/lib/devtools/Images/align-content-stretch.svg +4 -0
  27. package/lib/devtools/Images/align-items-baseline.svg +4 -0
  28. package/lib/devtools/Images/align-items-center.svg +5 -0
  29. package/lib/devtools/Images/align-items-end.svg +5 -0
  30. package/lib/devtools/Images/align-items-start.svg +5 -0
  31. package/lib/devtools/Images/align-items-stretch.svg +6 -0
  32. package/lib/devtools/Images/align-self-center.svg +3 -0
  33. package/lib/devtools/Images/align-self-end.svg +4 -0
  34. package/lib/devtools/Images/align-self-start.svg +4 -0
  35. package/lib/devtools/Images/align-self-stretch.svg +5 -0
  36. package/lib/devtools/Images/animation.svg +3 -0
  37. package/lib/devtools/Images/arrow-back.svg +4 -0
  38. package/lib/devtools/Images/arrow-collapse.svg +3 -0
  39. package/lib/devtools/Images/arrow-down.svg +10 -0
  40. package/lib/devtools/Images/arrow-drop-down-dark.svg +3 -0
  41. package/lib/devtools/Images/arrow-drop-down-light.svg +3 -0
  42. package/lib/devtools/Images/arrow-drop-down.svg +3 -0
  43. package/lib/devtools/Images/arrow-forward.svg +4 -0
  44. package/lib/devtools/Images/arrow-right-circle.svg +3 -0
  45. package/lib/devtools/Images/arrow-up-down-circle.svg +3 -0
  46. package/lib/devtools/Images/arrow-up-down.svg +3 -0
  47. package/lib/devtools/Images/arrow-up.svg +10 -0
  48. package/lib/devtools/Images/attach-file.svg +3 -0
  49. package/lib/devtools/Images/baseline-high-availability.svg +17 -0
  50. package/lib/devtools/Images/baseline-limited-availability.svg +19 -0
  51. package/lib/devtools/Images/baseline-low-availability.svg +31 -0
  52. package/lib/devtools/Images/bell.svg +3 -0
  53. package/lib/devtools/Images/bezier-curve-filled.svg +3 -0
  54. package/lib/devtools/Images/bin.svg +1 -0
  55. package/lib/devtools/Images/bottom-panel-close.svg +1 -0
  56. package/lib/devtools/Images/bottom-panel-open.svg +1 -0
  57. package/lib/devtools/Images/brackets.svg +1 -0
  58. package/lib/devtools/Images/breakpoint-circle.svg +4 -0
  59. package/lib/devtools/Images/breakpoint-crossed-filled.svg +1 -0
  60. package/lib/devtools/Images/breakpoint-crossed.svg +1 -0
  61. package/lib/devtools/Images/brush-2.svg +3 -0
  62. package/lib/devtools/Images/brush-filled.svg +1 -0
  63. package/lib/devtools/Images/brush.svg +1 -0
  64. package/lib/devtools/Images/bucket.svg +4 -0
  65. package/lib/devtools/Images/bug.svg +3 -0
  66. package/lib/devtools/Images/button-magic.svg +3 -0
  67. package/lib/devtools/Images/calendar-today.svg +3 -0
  68. package/lib/devtools/Images/center-focus-weak.svg +3 -0
  69. package/lib/devtools/Images/check-circle.svg +3 -0
  70. package/lib/devtools/Images/check-double.svg +3 -0
  71. package/lib/devtools/Images/checker.svg +12 -0
  72. package/lib/devtools/Images/checkmark.svg +1 -0
  73. package/lib/devtools/Images/chevron-double-right.svg +3 -0
  74. package/lib/devtools/Images/chevron-down.svg +3 -0
  75. package/lib/devtools/Images/chevron-left-dot.svg +4 -0
  76. package/lib/devtools/Images/chevron-left.svg +3 -0
  77. package/lib/devtools/Images/chevron-right.svg +3 -0
  78. package/lib/devtools/Images/chevron-up.svg +3 -0
  79. package/lib/devtools/Images/chromeLeft.avif +0 -0
  80. package/lib/devtools/Images/chromeMiddle.avif +0 -0
  81. package/lib/devtools/Images/chromeRight.avif +0 -0
  82. package/lib/devtools/Images/class.svg +6 -0
  83. package/lib/devtools/Images/clear-list.svg +3 -0
  84. package/lib/devtools/Images/clear.svg +3 -0
  85. package/lib/devtools/Images/cloud.svg +3 -0
  86. package/lib/devtools/Images/code-circle.svg +5 -0
  87. package/lib/devtools/Images/code-whisperer-badge.svg +166 -0
  88. package/lib/devtools/Images/code.svg +3 -0
  89. package/lib/devtools/Images/colon.svg +4 -0
  90. package/lib/devtools/Images/color-picker-filled.svg +3 -0
  91. package/lib/devtools/Images/color-picker.svg +3 -0
  92. package/lib/devtools/Images/compress.svg +8 -0
  93. package/lib/devtools/Images/console-conditional-breakpoint.svg +1 -0
  94. package/lib/devtools/Images/console-logpoint.svg +1 -0
  95. package/lib/devtools/Images/container.svg +4 -0
  96. package/lib/devtools/Images/cookie.svg +3 -0
  97. package/lib/devtools/Images/cookie_off.svg +3 -0
  98. package/lib/devtools/Images/copy.svg +3 -0
  99. package/lib/devtools/Images/corporate-fare.svg +3 -0
  100. package/lib/devtools/Images/credit-card.svg +3 -0
  101. package/lib/devtools/Images/cross-circle-filled.svg +3 -0
  102. package/lib/devtools/Images/cross-circle.svg +3 -0
  103. package/lib/devtools/Images/cross.svg +3 -0
  104. package/lib/devtools/Images/cssoverview_icons_2x.avif +0 -0
  105. package/lib/devtools/Images/database-off.svg +1 -0
  106. package/lib/devtools/Images/database.svg +3 -0
  107. package/lib/devtools/Images/deployed.svg +3 -0
  108. package/lib/devtools/Images/device-fold.svg +1 -0
  109. package/lib/devtools/Images/devices.svg +3 -0
  110. package/lib/devtools/Images/devtools-thumbnail.svg +57 -0
  111. package/lib/devtools/Images/devtools-tips.svg +61 -0
  112. package/lib/devtools/Images/devtools-user-badge.svg +129 -0
  113. package/lib/devtools/Images/devtools.svg +13 -0
  114. package/lib/devtools/Images/difference.svg +3 -0
  115. package/lib/devtools/Images/dock-bottom.svg +3 -0
  116. package/lib/devtools/Images/dock-left.svg +3 -0
  117. package/lib/devtools/Images/dock-right.svg +3 -0
  118. package/lib/devtools/Images/dock-window.svg +3 -0
  119. package/lib/devtools/Images/document.svg +3 -0
  120. package/lib/devtools/Images/dog-paw.svg +10 -0
  121. package/lib/devtools/Images/dom-detective-badge.svg +136 -0
  122. package/lib/devtools/Images/domain.svg +3 -0
  123. package/lib/devtools/Images/dots-horizontal.svg +1 -0
  124. package/lib/devtools/Images/dots-vertical.svg +3 -0
  125. package/lib/devtools/Images/download.svg +3 -0
  126. package/lib/devtools/Images/edit.svg +1 -0
  127. package/lib/devtools/Images/empty.svg +2 -0
  128. package/lib/devtools/Images/errorWave.svg +74 -0
  129. package/lib/devtools/Images/exclamation.svg +3 -0
  130. package/lib/devtools/Images/expand.svg +1 -0
  131. package/lib/devtools/Images/experiment-check.svg +1 -0
  132. package/lib/devtools/Images/experiment.svg +3 -0
  133. package/lib/devtools/Images/extension.svg +1 -0
  134. package/lib/devtools/Images/eye-crossed.svg +3 -0
  135. package/lib/devtools/Images/eye.svg +3 -0
  136. package/lib/devtools/Images/file-document.svg +3 -0
  137. package/lib/devtools/Images/file-fetch-xhr.svg +3 -0
  138. package/lib/devtools/Images/file-font.svg +4 -0
  139. package/lib/devtools/Images/file-generic.svg +3 -0
  140. package/lib/devtools/Images/file-image.svg +3 -0
  141. package/lib/devtools/Images/file-json.svg +4 -0
  142. package/lib/devtools/Images/file-manifest.svg +3 -0
  143. package/lib/devtools/Images/file-media.svg +3 -0
  144. package/lib/devtools/Images/file-script.svg +3 -0
  145. package/lib/devtools/Images/file-snippet.svg +4 -0
  146. package/lib/devtools/Images/file-stylesheet.svg +4 -0
  147. package/lib/devtools/Images/file-wasm.svg +5 -0
  148. package/lib/devtools/Images/file-websocket.svg +3 -0
  149. package/lib/devtools/Images/filter-clear.svg +3 -0
  150. package/lib/devtools/Images/filter-filled.svg +3 -0
  151. package/lib/devtools/Images/filter.svg +3 -0
  152. package/lib/devtools/Images/flex-direction.svg +5 -0
  153. package/lib/devtools/Images/flex-no-wrap.svg +5 -0
  154. package/lib/devtools/Images/flex-wrap.svg +8 -0
  155. package/lib/devtools/Images/flow.svg +3 -0
  156. package/lib/devtools/Images/flowsheet.svg +1 -0
  157. package/lib/devtools/Images/fold-more.svg +3 -0
  158. package/lib/devtools/Images/folder-asterisk.svg +10 -0
  159. package/lib/devtools/Images/folder-off.svg +3 -0
  160. package/lib/devtools/Images/folder.svg +3 -0
  161. package/lib/devtools/Images/frame-crossed.svg +3 -0
  162. package/lib/devtools/Images/frame-icon.svg +54 -0
  163. package/lib/devtools/Images/frame.svg +3 -0
  164. package/lib/devtools/Images/gdp-logo-dark.png +0 -0
  165. package/lib/devtools/Images/gdp-logo-light.png +0 -0
  166. package/lib/devtools/Images/gear-filled.svg +3 -0
  167. package/lib/devtools/Images/gear.svg +4 -0
  168. package/lib/devtools/Images/gears.svg +3 -0
  169. package/lib/devtools/Images/geminiInDevTools.png +0 -0
  170. package/lib/devtools/Images/geminiInDevTools_2x.png +0 -0
  171. package/lib/devtools/Images/global.svg +5 -0
  172. package/lib/devtools/Images/google.svg +3 -0
  173. package/lib/devtools/Images/goto-filled.svg +1 -0
  174. package/lib/devtools/Images/grid-direction.svg +6 -0
  175. package/lib/devtools/Images/grid-on.svg +10 -0
  176. package/lib/devtools/Images/group.svg +3 -0
  177. package/lib/devtools/Images/heap-snapshot.svg +6 -0
  178. package/lib/devtools/Images/heap-snapshots.svg +7 -0
  179. package/lib/devtools/Images/help.svg +3 -0
  180. package/lib/devtools/Images/history.svg +3 -0
  181. package/lib/devtools/Images/home.svg +3 -0
  182. package/lib/devtools/Images/hover.svg +6 -0
  183. package/lib/devtools/Images/iframe-crossed.svg +3 -0
  184. package/lib/devtools/Images/iframe.svg +3 -0
  185. package/lib/devtools/Images/import.svg +3 -0
  186. package/lib/devtools/Images/indeterminate-question-box.svg +3 -0
  187. package/lib/devtools/Images/info-filled.svg +3 -0
  188. package/lib/devtools/Images/info.svg +3 -0
  189. package/lib/devtools/Images/issue-cross-filled.svg +3 -0
  190. package/lib/devtools/Images/issue-exclamation-filled.svg +3 -0
  191. package/lib/devtools/Images/issue-questionmark-filled.svg +3 -0
  192. package/lib/devtools/Images/issue-text-filled.svg +3 -0
  193. package/lib/devtools/Images/justify-content-center.svg +5 -0
  194. package/lib/devtools/Images/justify-content-end.svg +5 -0
  195. package/lib/devtools/Images/justify-content-space-around.svg +6 -0
  196. package/lib/devtools/Images/justify-content-space-between.svg +4 -0
  197. package/lib/devtools/Images/justify-content-space-evenly.svg +6 -0
  198. package/lib/devtools/Images/justify-content-start.svg +5 -0
  199. package/lib/devtools/Images/justify-content-stretch.svg +4 -0
  200. package/lib/devtools/Images/justify-items-center.svg +4 -0
  201. package/lib/devtools/Images/justify-items-end.svg +4 -0
  202. package/lib/devtools/Images/justify-items-start.svg +4 -0
  203. package/lib/devtools/Images/justify-items-stretch.svg +4 -0
  204. package/lib/devtools/Images/keyboard-arrow-right.svg +1 -0
  205. package/lib/devtools/Images/keyboard-full.svg +10 -0
  206. package/lib/devtools/Images/keyboard-pen.svg +1 -0
  207. package/lib/devtools/Images/keyboard.svg +3 -0
  208. package/lib/devtools/Images/label-auto.svg +3 -0
  209. package/lib/devtools/Images/label.svg +10 -0
  210. package/lib/devtools/Images/large-arrow-right-filled.svg +1 -0
  211. package/lib/devtools/Images/layers-filled.svg +1 -0
  212. package/lib/devtools/Images/layers.svg +1 -0
  213. package/lib/devtools/Images/left-panel-close.svg +1 -0
  214. package/lib/devtools/Images/left-panel-open.svg +1 -0
  215. package/lib/devtools/Images/lightbulb-spark.svg +13 -0
  216. package/lib/devtools/Images/lightbulb.svg +3 -0
  217. package/lib/devtools/Images/lighthouse_logo.svg +158 -0
  218. package/lib/devtools/Images/list.svg +3 -0
  219. package/lib/devtools/Images/location-on.svg +3 -0
  220. package/lib/devtools/Images/lock-person.svg +1 -0
  221. package/lib/devtools/Images/lock.svg +3 -0
  222. package/lib/devtools/Images/mark-email-unread.svg +3 -0
  223. package/lib/devtools/Images/match-case.svg +3 -0
  224. package/lib/devtools/Images/match-whole-word.svg +1 -0
  225. package/lib/devtools/Images/memory.svg +6 -0
  226. package/lib/devtools/Images/minus.svg +3 -0
  227. package/lib/devtools/Images/mop.svg +1 -0
  228. package/lib/devtools/Images/mouse.svg +4 -0
  229. package/lib/devtools/Images/navigationControls.png +0 -0
  230. package/lib/devtools/Images/navigationControls_2x.png +0 -0
  231. package/lib/devtools/Images/network-settings.svg +3 -0
  232. package/lib/devtools/Images/node-stack-icon.svg +1 -0
  233. package/lib/devtools/Images/nodeIcon.avif +0 -0
  234. package/lib/devtools/Images/open-externally.svg +3 -0
  235. package/lib/devtools/Images/override.svg +11 -0
  236. package/lib/devtools/Images/palette.svg +10 -0
  237. package/lib/devtools/Images/pause-circle.svg +1 -0
  238. package/lib/devtools/Images/pause.svg +1 -0
  239. package/lib/devtools/Images/pen-spark.svg +3 -0
  240. package/lib/devtools/Images/performance-panel-delete-annotation.svg +32 -0
  241. package/lib/devtools/Images/performance-panel-diagram.svg +34 -0
  242. package/lib/devtools/Images/performance-panel-entry-label.svg +75 -0
  243. package/lib/devtools/Images/performance-panel-time-range.svg +15 -0
  244. package/lib/devtools/Images/performance.svg +3 -0
  245. package/lib/devtools/Images/person.svg +3 -0
  246. package/lib/devtools/Images/photo-camera.svg +10 -0
  247. package/lib/devtools/Images/play.svg +3 -0
  248. package/lib/devtools/Images/plus.svg +3 -0
  249. package/lib/devtools/Images/policy.svg +3 -0
  250. package/lib/devtools/Images/popoverArrows.png +0 -0
  251. package/lib/devtools/Images/popup.svg +3 -0
  252. package/lib/devtools/Images/preview_feature_video_thumbnail.svg +92 -0
  253. package/lib/devtools/Images/profile.svg +3 -0
  254. package/lib/devtools/Images/psychiatry.svg +3 -0
  255. package/lib/devtools/Images/puzzle.svg +3 -0
  256. package/lib/devtools/Images/record-start.svg +4 -0
  257. package/lib/devtools/Images/record-stop.svg +4 -0
  258. package/lib/devtools/Images/redo.svg +3 -0
  259. package/lib/devtools/Images/refresh.svg +10 -0
  260. package/lib/devtools/Images/regular-expression.svg +3 -0
  261. package/lib/devtools/Images/replace.svg +1 -0
  262. package/lib/devtools/Images/replay.svg +3 -0
  263. package/lib/devtools/Images/report.svg +1 -0
  264. package/lib/devtools/Images/resizeDiagonal.svg +1 -0
  265. package/lib/devtools/Images/resizeHorizontal.svg +1 -0
  266. package/lib/devtools/Images/resizeVertical.svg +1 -0
  267. package/lib/devtools/Images/resume.svg +1 -0
  268. package/lib/devtools/Images/revert.svg +3 -0
  269. package/lib/devtools/Images/review.svg +5 -0
  270. package/lib/devtools/Images/right-panel-close.svg +1 -0
  271. package/lib/devtools/Images/right-panel-open.svg +1 -0
  272. package/lib/devtools/Images/scissors.svg +3 -0
  273. package/lib/devtools/Images/screen-rotation.svg +1 -0
  274. package/lib/devtools/Images/search.svg +3 -0
  275. package/lib/devtools/Images/select-element.svg +3 -0
  276. package/lib/devtools/Images/send.svg +3 -0
  277. package/lib/devtools/Images/shadow.svg +3 -0
  278. package/lib/devtools/Images/shield.svg +3 -0
  279. package/lib/devtools/Images/small-status-dot.svg +3 -0
  280. package/lib/devtools/Images/smart-assistant.svg +3 -0
  281. package/lib/devtools/Images/snippet.svg +4 -0
  282. package/lib/devtools/Images/spark-info.svg +3 -0
  283. package/lib/devtools/Images/spark.svg +3 -0
  284. package/lib/devtools/Images/speculative-loads.svg +1 -0
  285. package/lib/devtools/Images/speedster-badge.svg +166 -0
  286. package/lib/devtools/Images/star.svg +3 -0
  287. package/lib/devtools/Images/step-into.svg +1 -0
  288. package/lib/devtools/Images/step-out.svg +1 -0
  289. package/lib/devtools/Images/step-over.svg +1 -0
  290. package/lib/devtools/Images/step.svg +1 -0
  291. package/lib/devtools/Images/stop.svg +3 -0
  292. package/lib/devtools/Images/symbol.svg +3 -0
  293. package/lib/devtools/Images/sync.svg +3 -0
  294. package/lib/devtools/Images/tab-move.svg +1 -0
  295. package/lib/devtools/Images/table.svg +3 -0
  296. package/lib/devtools/Images/terminal.svg +10 -0
  297. package/lib/devtools/Images/text-analysis.svg +3 -0
  298. package/lib/devtools/Images/thumb-down-filled.svg +3 -0
  299. package/lib/devtools/Images/thumb-down.svg +3 -0
  300. package/lib/devtools/Images/thumb-up-filled.svg +3 -0
  301. package/lib/devtools/Images/thumb-up.svg +3 -0
  302. package/lib/devtools/Images/tonality.svg +10 -0
  303. package/lib/devtools/Images/toolbarResizerVertical.png +0 -0
  304. package/lib/devtools/Images/top-panel-close.svg +1 -0
  305. package/lib/devtools/Images/top-panel-open.svg +1 -0
  306. package/lib/devtools/Images/touch-app.svg +4 -0
  307. package/lib/devtools/Images/touchCursor.png +0 -0
  308. package/lib/devtools/Images/touchCursor_2x.png +0 -0
  309. package/lib/devtools/Images/triangle-bottom-right.svg +3 -0
  310. package/lib/devtools/Images/triangle-down.svg +1 -0
  311. package/lib/devtools/Images/triangle-left.svg +1 -0
  312. package/lib/devtools/Images/triangle-right.svg +1 -0
  313. package/lib/devtools/Images/triangle-up.svg +3 -0
  314. package/lib/devtools/Images/trophy.svg +3 -0
  315. package/lib/devtools/Images/tune.svg +3 -0
  316. package/lib/devtools/Images/undo.svg +1 -0
  317. package/lib/devtools/Images/warning-filled.svg +3 -0
  318. package/lib/devtools/Images/warning.svg +3 -0
  319. package/lib/devtools/Images/watch.svg +3 -0
  320. package/lib/devtools/Images/whatsnew.svg +61 -0
  321. package/lib/devtools/Images/width.svg +3 -0
  322. package/lib/devtools/Images/zoom-in.svg +3 -0
  323. package/lib/devtools/LICENSE +27 -0
  324. package/lib/devtools/application_tokens.css +413 -0
  325. package/lib/devtools/chunks/FormatterActions-FcPgI0uV.js +19 -0
  326. package/lib/devtools/chunks/UIFilter-CIzBruM3.js +18 -0
  327. package/lib/devtools/chunks/UIRequestLocation-CtGcVN3I.js +48 -0
  328. package/lib/devtools/chunks/_qilin-devtools_empty-BvRk9kiK.js +0 -0
  329. package/lib/devtools/chunks/accessibility-CwvHp3sj.js +2718 -0
  330. package/lib/devtools/chunks/acorn-_jSanihy.js +3232 -0
  331. package/lib/devtools/chunks/adorners-D4aU6nuY.js +45 -0
  332. package/lib/devtools/chunks/ai_assistance-BU6E0Wio.js +4255 -0
  333. package/lib/devtools/chunks/angular-Dutmu-L9.js +117 -0
  334. package/lib/devtools/chunks/animation-TEwO5UI_.js +922 -0
  335. package/lib/devtools/chunks/application-SCf6MiCN.js +12740 -0
  336. package/lib/devtools/chunks/autofill-Dp3nMnuK.js +198 -0
  337. package/lib/devtools/chunks/autofill_manager-BXntqfdp.js +58 -0
  338. package/lib/devtools/chunks/bindings-DgoVEdsr.js +4105 -0
  339. package/lib/devtools/chunks/browser-DL1S1Kiu.js +62 -0
  340. package/lib/devtools/chunks/browser_debugger-p7Rr4IBR.js +629 -0
  341. package/lib/devtools/chunks/changes-DeW5MC9u.js +2 -0
  342. package/lib/devtools/chunks/changes-k42bihtm.js +393 -0
  343. package/lib/devtools/chunks/checkbox.css-CZJJ6atQ.js +4 -0
  344. package/lib/devtools/chunks/chunk-DF993M8W.js +11 -0
  345. package/lib/devtools/chunks/code_highlighter-BnTPt9_G.js +210 -0
  346. package/lib/devtools/chunks/codemirror-CBR9VJma.js +15842 -0
  347. package/lib/devtools/chunks/color_picker-Cuh_X19Y.js +1566 -0
  348. package/lib/devtools/chunks/common-DjRFwulW.js +15145 -0
  349. package/lib/devtools/chunks/common-Uu9A2glf.js +2 -0
  350. package/lib/devtools/chunks/common-qd_KLeYO.js +6639 -0
  351. package/lib/devtools/chunks/components-CnPGgDUW.js +704 -0
  352. package/lib/devtools/chunks/components-Cw5tHQqN.js +1338 -0
  353. package/lib/devtools/chunks/components-EJwviLtZ.js +1090 -0
  354. package/lib/devtools/chunks/console-D1WlMaFQ.js +3855 -0
  355. package/lib/devtools/chunks/console-yMm3XVTY.js +2 -0
  356. package/lib/devtools/chunks/console_counters-9SfIdrUo.js +103 -0
  357. package/lib/devtools/chunks/coverage-BbFH390Q.js +1176 -0
  358. package/lib/devtools/chunks/coverage-CLBpovLw.js +2 -0
  359. package/lib/devtools/chunks/cpp-CdElSCaB.js +435 -0
  360. package/lib/devtools/chunks/css_overview-cITV9auE.js +1288 -0
  361. package/lib/devtools/chunks/data_grid-pC5qqfsJ.js +1671 -0
  362. package/lib/devtools/chunks/developer_resources-4DqQIvy6.js +240 -0
  363. package/lib/devtools/chunks/diff-qn55JSCS.js +444 -0
  364. package/lib/devtools/chunks/dom_extension-BfrKZ4JG.js +172 -0
  365. package/lib/devtools/chunks/elements-CgEYz3mX.js +2 -0
  366. package/lib/devtools/chunks/elements-Dbx4q9-v.js +11407 -0
  367. package/lib/devtools/chunks/emulation-C6XKPPGu.js +1306 -0
  368. package/lib/devtools/chunks/emulation-D8xbdsAj.js +2 -0
  369. package/lib/devtools/chunks/emulation-EtJlEukP.js +2732 -0
  370. package/lib/devtools/chunks/emulation-cjFPXHT9.js +157 -0
  371. package/lib/devtools/chunks/event_listeners-BeTH3gi2.js +414 -0
  372. package/lib/devtools/chunks/explain-P_aDGFSD.js +747 -0
  373. package/lib/devtools/chunks/greendev-BU0QcVPX.js +152 -0
  374. package/lib/devtools/chunks/heap_snapshot-CZt2KUPL.js +427 -0
  375. package/lib/devtools/chunks/helper-CI72KvIC.js +33 -0
  376. package/lib/devtools/chunks/helpers--xrfGSwQ.js +29 -0
  377. package/lib/devtools/chunks/i18n-DvFMqQdJ.js +17 -0
  378. package/lib/devtools/chunks/icon_button-BebVdJD8.js +83 -0
  379. package/lib/devtools/chunks/inline_editor-D54X5UUr.js +1309 -0
  380. package/lib/devtools/chunks/inspector_main-DRbdXLmF.js +279 -0
  381. package/lib/devtools/chunks/issue_counter-CeOjTNGW.js +193 -0
  382. package/lib/devtools/chunks/issues-CegBKEda.js +1649 -0
  383. package/lib/devtools/chunks/issues_manager-D7nfNPN1.js +3009 -0
  384. package/lib/devtools/chunks/java-7g_qfFa2.js +263 -0
  385. package/lib/devtools/chunks/layer_viewer-CaFC5oyv.js +1423 -0
  386. package/lib/devtools/chunks/layers-CXqlD9zH.js +370 -0
  387. package/lib/devtools/chunks/legacy-Bqn4Q0Tf.js +41804 -0
  388. package/lib/devtools/chunks/legacy-DOCLCisy.js +1434 -0
  389. package/lib/devtools/chunks/less-DXiRNbd4.js +195 -0
  390. package/lib/devtools/chunks/lighthouse-DtpzvfT6.js +3920 -0
  391. package/lib/devtools/chunks/lighthouse-T9ZpmENr.js +2 -0
  392. package/lib/devtools/chunks/linear_memory_inspector-C50PtM45.js +305 -0
  393. package/lib/devtools/chunks/live-metrics-Bs7wxibB.js +284 -0
  394. package/lib/devtools/chunks/main-C5y6NscM.js +2 -0
  395. package/lib/devtools/chunks/main-DcgYyEI0.js +755 -0
  396. package/lib/devtools/chunks/markdown-tZoR6Bsu.js +1512 -0
  397. package/lib/devtools/chunks/markdown_view-C67b2DdG.js +461 -0
  398. package/lib/devtools/chunks/marked-zGgfoDxO.js +1362 -0
  399. package/lib/devtools/chunks/media-BhuqASbO.js +1337 -0
  400. package/lib/devtools/chunks/media-Wfo1AbXC.js +2 -0
  401. package/lib/devtools/chunks/menus-BAUukA5-.js +969 -0
  402. package/lib/devtools/chunks/mobile_throttling-C26zde8o.js +2 -0
  403. package/lib/devtools/chunks/mobile_throttling-Cw4AkJH4.js +1052 -0
  404. package/lib/devtools/chunks/network-C3gIloDN.js +2 -0
  405. package/lib/devtools/chunks/network-CaxdpGU2.js +9181 -0
  406. package/lib/devtools/chunks/objectValue.css-C9o9fdM2.js +4 -0
  407. package/lib/devtools/chunks/object_ui-BYgPTK_b.js +1461 -0
  408. package/lib/devtools/chunks/object_ui-E7eR7aD-.js +2 -0
  409. package/lib/devtools/chunks/perf_ui-BqzJrt4p.js +2 -0
  410. package/lib/devtools/chunks/perf_ui-CQMkYfn3.js +3143 -0
  411. package/lib/devtools/chunks/performance_monitor-B2kUoCv0.js +385 -0
  412. package/lib/devtools/chunks/php-tl5gKrxu.js +423 -0
  413. package/lib/devtools/chunks/platform-BzB373NB.js +600 -0
  414. package/lib/devtools/chunks/profiler-BGu3akEf.js +4608 -0
  415. package/lib/devtools/chunks/protocol_client-Cwf_jb8R.js +24329 -0
  416. package/lib/devtools/chunks/protocol_monitor-B9nMqAAE.js +2 -0
  417. package/lib/devtools/chunks/protocol_monitor-CvLQ8ms1.js +1224 -0
  418. package/lib/devtools/chunks/puppeteer-CaOjgj3v.js +13299 -0
  419. package/lib/devtools/chunks/python-D9AdRkMm.js +580 -0
  420. package/lib/devtools/chunks/quick_open-C3IZ69m9.js +2 -0
  421. package/lib/devtools/chunks/quick_open-DRITaPnZ.js +722 -0
  422. package/lib/devtools/chunks/recorder-C0f1n95b.js +5465 -0
  423. package/lib/devtools/chunks/recorder-actions-S2RfLX4H.js +6 -0
  424. package/lib/devtools/chunks/request_link_icon-fGy57GcW.js +87 -0
  425. package/lib/devtools/chunks/root-DbVQo07X.js +255 -0
  426. package/lib/devtools/chunks/sass-BPQlMmw2.js +370 -0
  427. package/lib/devtools/chunks/security-NbgKa3ux.js +898 -0
  428. package/lib/devtools/chunks/sensors-nM7qcBE4.js +752 -0
  429. package/lib/devtools/chunks/settings-aKtQC12v.js +1433 -0
  430. package/lib/devtools/chunks/settings_ui-CzxAFzIb.js +175 -0
  431. package/lib/devtools/chunks/snackbars-lPThuWYs.js +12010 -0
  432. package/lib/devtools/chunks/snippets-dIuBmVBv.js +173 -0
  433. package/lib/devtools/chunks/source_frame-CSjno3kf.js +1352 -0
  434. package/lib/devtools/chunks/sources-BIZssBei.js +8216 -0
  435. package/lib/devtools/chunks/sources-Bf8QJxju.js +2 -0
  436. package/lib/devtools/chunks/suggestion_input-Duuu5pyd.js +196 -0
  437. package/lib/devtools/chunks/svelte-DJS1itbE.js +744 -0
  438. package/lib/devtools/chunks/textInput.css-DPvwvIic.js +4 -0
  439. package/lib/devtools/chunks/text_editor-Dq1P6D2J.js +15706 -0
  440. package/lib/devtools/chunks/text_utils-ohNt_gua.js +608 -0
  441. package/lib/devtools/chunks/theme_support-CbSSLkbO.js +92 -0
  442. package/lib/devtools/chunks/third-party-web-DGiPoc0U.js +12626 -0
  443. package/lib/devtools/chunks/timeline-BE_ysZxO.js +2 -0
  444. package/lib/devtools/chunks/timeline-C4vCX79k.js +16347 -0
  445. package/lib/devtools/chunks/utils-CELci976.js +298 -0
  446. package/lib/devtools/chunks/vue-CjH9yovn.js +73 -0
  447. package/lib/devtools/chunks/wast-CbGHiqaW.js +109 -0
  448. package/lib/devtools/chunks/web_audio-IdfBLjwV.js +277 -0
  449. package/lib/devtools/chunks/webauthn-iRZlbjGV.js +522 -0
  450. package/lib/devtools/chunks/whats_new-DOTPf2xJ.js +177 -0
  451. package/lib/devtools/chunks/xml-DI9dcP5w.js +327 -0
  452. package/lib/devtools/connect.js +9 -0
  453. package/lib/devtools/design_system_tokens.css +1061 -0
  454. package/lib/devtools/device_mode_emulation_frame.html +25 -0
  455. package/lib/devtools/devtools_app.html +25 -0
  456. package/lib/devtools/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
  457. package/lib/devtools/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
  458. package/lib/devtools/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
  459. package/lib/devtools/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
  460. package/lib/devtools/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
  461. package/lib/devtools/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
  462. package/lib/devtools/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
  463. package/lib/devtools/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
  464. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
  465. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
  466. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
  467. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
  468. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
  469. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
  470. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
  471. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
  472. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
  473. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
  474. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
  475. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
  476. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
  477. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
  478. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
  479. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
  480. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
  481. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
  482. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
  483. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
  484. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
  485. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
  486. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
  487. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
  488. package/lib/devtools/emulated_devices/optimized/iPad-landscape.avif +0 -0
  489. package/lib/devtools/emulated_devices/optimized/iPad-portrait.avif +0 -0
  490. package/lib/devtools/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
  491. package/lib/devtools/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
  492. package/lib/devtools/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
  493. package/lib/devtools/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
  494. package/lib/devtools/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
  495. package/lib/devtools/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
  496. package/lib/devtools/emulated_devices/optimized/optimized_images.gni +53 -0
  497. package/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +4 -0
  498. package/lib/devtools/entrypoints/devtools_app/devtools_app.js +6240 -0
  499. package/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +2810 -0
  500. package/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +2142 -0
  501. package/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +290095 -0
  502. package/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +3403 -0
  503. package/lib/devtools/models/issues_manager/descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md +4 -0
  504. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOrigin.md +8 -0
  505. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +18 -0
  506. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameSite.md +7 -0
  507. package/lib/devtools/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +10 -0
  508. package/lib/devtools/models/issues_manager/descriptions/CompatibilityModeQuirks.md +5 -0
  509. package/lib/devtools/models/issues_manager/descriptions/CookieAttributeValueExceedsMaxSize.md +5 -0
  510. package/lib/devtools/models/issues_manager/descriptions/LowTextContrast.md +5 -0
  511. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeRead.md +8 -0
  512. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeSet.md +8 -0
  513. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeNavigationContextDowngrade.md +8 -0
  514. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorRead.md +8 -0
  515. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorSet.md +8 -0
  516. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnRead.md +8 -0
  517. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnSet.md +8 -0
  518. package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +9 -0
  519. package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +9 -0
  520. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeRead.md +8 -0
  521. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeSet.md +8 -0
  522. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +8 -0
  523. package/lib/devtools/models/issues_manager/descriptions/arInsecureContext.md +7 -0
  524. package/lib/devtools/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
  525. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +5 -0
  526. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +5 -0
  527. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +5 -0
  528. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +5 -0
  529. package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
  530. package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +6 -0
  531. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
  532. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
  533. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
  534. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
  535. package/lib/devtools/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
  536. package/lib/devtools/models/issues_manager/descriptions/arOsSourceIgnored.md +18 -0
  537. package/lib/devtools/models/issues_manager/descriptions/arOsTriggerIgnored.md +19 -0
  538. package/lib/devtools/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +8 -0
  539. package/lib/devtools/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +9 -0
  540. package/lib/devtools/models/issues_manager/descriptions/arSourceIgnored.md +13 -0
  541. package/lib/devtools/models/issues_manager/descriptions/arTriggerIgnored.md +12 -0
  542. package/lib/devtools/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +10 -0
  543. package/lib/devtools/models/issues_manager/descriptions/arWebAndOsHeaders.md +11 -0
  544. package/lib/devtools/models/issues_manager/descriptions/bounceTrackingMitigations.md +3 -0
  545. package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md +4 -0
  546. package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md +4 -0
  547. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidAllowlistItemType.md +12 -0
  548. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidHeader.md +12 -0
  549. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidUrlPattern.md +8 -0
  550. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistItemNotInnerList.md +12 -0
  551. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistMoreThanOneList.md +7 -0
  552. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistReportingEndpointNotToken.md +10 -0
  553. package/lib/devtools/models/issues_manager/descriptions/cookieCrossSiteRedirectDowngrade.md +12 -0
  554. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +4 -0
  555. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeDomainNonAscii.md +11 -0
  556. package/lib/devtools/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
  557. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
  558. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutRead.md +6 -0
  559. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutSet.md +6 -0
  560. package/lib/devtools/models/issues_manager/descriptions/cookieWarnDomainNonAscii.md +11 -0
  561. package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +4 -0
  562. package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +4 -0
  563. package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutRead.md +6 -0
  564. package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutSet.md +6 -0
  565. package/lib/devtools/models/issues_manager/descriptions/corsAllowCredentialsRequired.md +6 -0
  566. package/lib/devtools/models/issues_manager/descriptions/corsDisabledScheme.md +7 -0
  567. package/lib/devtools/models/issues_manager/descriptions/corsDisallowedByMode.md +7 -0
  568. package/lib/devtools/models/issues_manager/descriptions/corsHeaderDisallowedByPreflightResponse.md +5 -0
  569. package/lib/devtools/models/issues_manager/descriptions/corsInvalidHeaderValues.md +7 -0
  570. package/lib/devtools/models/issues_manager/descriptions/corsLocalNetworkAccessPermissionDenied.md +19 -0
  571. package/lib/devtools/models/issues_manager/descriptions/corsMethodDisallowedByPreflightResponse.md +5 -0
  572. package/lib/devtools/models/issues_manager/descriptions/corsNoCorsRedirectModeNotFollow.md +5 -0
  573. package/lib/devtools/models/issues_manager/descriptions/corsOriginMismatch.md +6 -0
  574. package/lib/devtools/models/issues_manager/descriptions/corsPreflightResponseInvalid.md +5 -0
  575. package/lib/devtools/models/issues_manager/descriptions/corsRedirectContainsCredentials.md +5 -0
  576. package/lib/devtools/models/issues_manager/descriptions/corsWildcardOriginNotAllowed.md +8 -0
  577. package/lib/devtools/models/issues_manager/descriptions/cspEvalViolation.md +9 -0
  578. package/lib/devtools/models/issues_manager/descriptions/cspInlineViolation.md +10 -0
  579. package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesPolicyViolation.md +5 -0
  580. package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesSinkViolation.md +8 -0
  581. package/lib/devtools/models/issues_manager/descriptions/cspURLViolation.md +10 -0
  582. package/lib/devtools/models/issues_manager/descriptions/deprecation.md +3 -0
  583. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsFetchFailed.md +1 -0
  584. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -0
  585. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestInvalidEmail.md +1 -0
  586. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -0
  587. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -0
  588. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -0
  589. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -0
  590. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -0
  591. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -0
  592. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -0
  593. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenNoResponse.md +1 -0
  594. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestUserLoggedOut.md +1 -0
  595. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -0
  596. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -0
  597. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -0
  598. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -0
  599. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -0
  600. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -0
  601. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -0
  602. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -0
  603. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -0
  604. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -0
  605. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsHttpNotFound.md +1 -0
  606. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsInvalidResponse.md +1 -0
  607. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsNoResponse.md +1 -0
  608. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestApprovalDeclined.md +1 -0
  609. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestCanceled.md +1 -0
  610. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorFetchingSignin.md +1 -0
  611. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -0
  612. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenHttpNotFound.md +1 -0
  613. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -0
  614. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -0
  615. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -0
  616. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestInvalidSigninResponse.md +1 -0
  617. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestHttpNotFound.md +1 -0
  618. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestInvalidResponse.md +1 -0
  619. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestNoResponse.md +1 -0
  620. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestTooManyRequests.md +1 -0
  621. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +1 -0
  622. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +1 -0
  623. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +1 -0
  624. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoApiPermission.md +1 -0
  625. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +1 -0
  626. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotIframe.md +1 -0
  627. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +1 -0
  628. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +1 -0
  629. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +1 -0
  630. package/lib/devtools/models/issues_manager/descriptions/fetchingPartitionedBlobURL.md +7 -0
  631. package/lib/devtools/models/issues_manager/descriptions/genericBackUINavigationWouldSkipAd.md +4 -0
  632. package/lib/devtools/models/issues_manager/descriptions/genericFormAriaLabelledByToNonExistingIdError.md +8 -0
  633. package/lib/devtools/models/issues_manager/descriptions/genericFormAutocompleteAttributeEmptyError.md +5 -0
  634. package/lib/devtools/models/issues_manager/descriptions/genericFormDuplicateIdForInputError.md +5 -0
  635. package/lib/devtools/models/issues_manager/descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +5 -0
  636. package/lib/devtools/models/issues_manager/descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +5 -0
  637. package/lib/devtools/models/issues_manager/descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +5 -0
  638. package/lib/devtools/models/issues_manager/descriptions/genericFormInputWithNoLabelError.md +5 -0
  639. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForMatchesNonExistingIdError.md +5 -0
  640. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForNameError.md +5 -0
  641. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +5 -0
  642. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolDescription.md +5 -0
  643. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolName.md +5 -0
  644. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingName.md +5 -0
  645. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingTitleAndDescription.md +5 -0
  646. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextRequiredParameterMissingName.md +5 -0
  647. package/lib/devtools/models/issues_manager/descriptions/genericNavigationEntryMarkedSkippable.md +7 -0
  648. package/lib/devtools/models/issues_manager/descriptions/genericResponseWasBlockedByORB.md +4 -0
  649. package/lib/devtools/models/issues_manager/descriptions/heavyAd.md +10 -0
  650. package/lib/devtools/models/issues_manager/descriptions/mixedContent.md +5 -0
  651. package/lib/devtools/models/issues_manager/descriptions/navigatingPartitionedBlobURL.md +5 -0
  652. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
  653. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
  654. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
  655. package/lib/devtools/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
  656. package/lib/devtools/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
  657. package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
  658. package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
  659. package/lib/devtools/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
  660. package/lib/devtools/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
  661. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
  662. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
  663. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
  664. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
  665. package/lib/devtools/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
  666. package/lib/devtools/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
  667. package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
  668. package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
  669. package/lib/devtools/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
  670. package/lib/devtools/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
  671. package/lib/devtools/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
  672. package/lib/devtools/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
  673. package/lib/devtools/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
  674. package/lib/devtools/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
  675. package/lib/devtools/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
  676. package/lib/devtools/models/issues_manager/descriptions/propertyRuleInvalidNameIssue.md +3 -0
  677. package/lib/devtools/models/issues_manager/descriptions/propertyRuleIssue.md +7 -0
  678. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +7 -0
  679. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedSelectChild.md +7 -0
  680. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +3 -0
  681. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +3 -0
  682. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +3 -0
  683. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +3 -0
  684. package/lib/devtools/models/issues_manager/descriptions/selectivePermissionsIntervention.md +7 -0
  685. package/lib/devtools/models/issues_manager/descriptions/sharedArrayBuffer.md +7 -0
  686. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +1 -0
  687. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorDictionaryLoadFailure.md +3 -0
  688. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +3 -0
  689. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +1 -0
  690. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +1 -0
  691. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +1 -0
  692. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorExpiredResponse.md +3 -0
  693. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +3 -0
  694. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInsufficientResources.md +1 -0
  695. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidMatchField.md +1 -0
  696. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +1 -0
  697. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidTTLField.md +1 -0
  698. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNavigationRequest.md +3 -0
  699. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNoMatchField.md +1 -0
  700. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonIntegerTTLField.md +1 -0
  701. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonListMatchDestField.md +1 -0
  702. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonSecureContext.md +3 -0
  703. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringIdField.md +1 -0
  704. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringInMatchDestList.md +1 -0
  705. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringMatchField.md +1 -0
  706. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonTokenTypeField.md +1 -0
  707. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorRequestAborted.md +1 -0
  708. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorShuttingDown.md +1 -0
  709. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorTooLongIdField.md +3 -0
  710. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorUnsupportedType.md +3 -0
  711. package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureHeader.md +14 -0
  712. package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureInputHeader.md +15 -0
  713. package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureHeader.md +8 -0
  714. package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureInputHeader.md +7 -0
  715. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsIncorrectLength.md +11 -0
  716. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsNotByteSequence.md +14 -0
  717. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsParameterized.md +15 -0
  718. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentName.md +8 -0
  719. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentType.md +13 -0
  720. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +4 -0
  721. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +5 -0
  722. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidParameter.md +11 -0
  723. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderKeyIdLength.md +12 -0
  724. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingLabel.md +6 -0
  725. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +8 -0
  726. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueMissingComponents.md +11 -0
  727. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueNotInnerList.md +11 -0
  728. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +10 -0
  729. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedInvalidLength.md +5 -0
  730. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureExpired.md +6 -0
  731. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureMismatch.md +11 -0
  732. package/lib/devtools/models/issues_manager/descriptions/stylesheetLateImport.md +4 -0
  733. package/lib/devtools/models/issues_manager/descriptions/stylesheetRequestFailed.md +3 -0
  734. package/lib/devtools/models/issues_manager/descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +3 -0
  735. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestLength.md +12 -0
  736. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestType.md +17 -0
  737. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestMalformedDictionary.md +14 -0
  738. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestUnknownAlgorithm.md +15 -0
  739. package/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -0
  740. package/lib/devtools/panels/recorder/injected/injected.generated.js +1 -0
  741. package/lib/devtools/panels/whats_new/resources/WNDT.md +14 -0
  742. package/lib/devtools/resource-manifest.json +3818 -0
  743. package/lib/devtools/third_party/acorn/package/LICENSE +21 -0
  744. package/lib/devtools/third_party/axe-core/LICENSE +362 -0
  745. package/lib/devtools/third_party/chromium/LICENSE +27 -0
  746. package/lib/devtools/third_party/codemirror/package/LICENSE +21 -0
  747. package/lib/devtools/third_party/codemirror.next/LICENSE +21 -0
  748. package/lib/devtools/third_party/csp_evaluator/package/LICENSE +202 -0
  749. package/lib/devtools/third_party/diff/LICENSE +202 -0
  750. package/lib/devtools/third_party/i18n/LICENSE +202 -0
  751. package/lib/devtools/third_party/intl-messageformat/LICENSE +33 -0
  752. package/lib/devtools/third_party/intl-messageformat/package/LICENSE.md +33 -0
  753. package/lib/devtools/third_party/json5/LICENSE +23 -0
  754. package/lib/devtools/third_party/legacy-javascript/LICENSE +202 -0
  755. package/lib/devtools/third_party/lighthouse/LICENSE +202 -0
  756. package/lib/devtools/third_party/lit/LICENSE +28 -0
  757. package/lib/devtools/third_party/marked/LICENSE +39 -0
  758. package/lib/devtools/third_party/marked/package/LICENSE.md +44 -0
  759. package/lib/devtools/third_party/puppeteer/LICENSE +202 -0
  760. package/lib/devtools/third_party/puppeteer/third_party/mitt/LICENSE +21 -0
  761. package/lib/devtools/third_party/puppeteer/third_party/parsel/LICENSE +21 -0
  762. package/lib/devtools/third_party/puppeteer/third_party/rxjs/LICENSE +201 -0
  763. package/lib/devtools/third_party/puppeteer-replay/package/LICENSE +202 -0
  764. package/lib/devtools/third_party/source-map-scopes-codec/LICENSE +26 -0
  765. package/lib/devtools/third_party/source-map-scopes-codec/package/LICENSE +26 -0
  766. package/lib/devtools/third_party/third-party-web/LICENSE +20 -0
  767. package/lib/devtools/third_party/third-party-web/package/LICENSE +20 -0
  768. package/lib/devtools/third_party/vscode.web-custom-data/package/LICENSE.md +21 -0
  769. package/lib/devtools/third_party/wasmparser/package/LICENSE +177 -0
  770. package/lib/devtools/third_party/web-vitals/package/LICENSE +202 -0
  771. package/lib/index.js +2554 -0
  772. package/lib/types/client/bottom/keyboard.d.ts +10 -0
  773. package/lib/types/client/bottom/locales.d.ts +17 -0
  774. package/lib/types/client/bottom/page.d.ts +10 -0
  775. package/lib/types/client/bottom/resize.d.ts +12 -0
  776. package/lib/types/client/bridge/controller.d.ts +10 -0
  777. package/lib/types/client/bridge/dispatcher.d.ts +26 -0
  778. package/lib/types/client/bridge/lifecycle.d.ts +22 -0
  779. package/lib/types/client/bridge/locales.d.ts +3 -0
  780. package/lib/types/client/bridge/publisher.d.ts +42 -0
  781. package/lib/types/client/bridge/rpc.d.ts +13 -0
  782. package/lib/types/client/bridge/transport.d.ts +41 -0
  783. package/lib/types/client/cdp/console.d.ts +45 -0
  784. package/lib/types/client/cdp/debugger.d.ts +8 -0
  785. package/lib/types/client/cdp/errors.d.ts +8 -0
  786. package/lib/types/client/cdp/heap-profiler.d.ts +8 -0
  787. package/lib/types/client/cdp/index.d.ts +10 -0
  788. package/lib/types/client/cdp/objects.d.ts +69 -0
  789. package/lib/types/client/cdp/profiler.d.ts +8 -0
  790. package/lib/types/client/cdp/properties.d.ts +16 -0
  791. package/lib/types/client/cdp/runtime.d.ts +79 -0
  792. package/lib/types/client/cdp/sources.d.ts +53 -0
  793. package/lib/types/client/cdp/stack.d.ts +27 -0
  794. package/lib/types/client/index.d.ts +3 -0
  795. package/lib/types/client/inspection/cordis.d.ts +3 -0
  796. package/lib/types/client/inspection/network.d.ts +4 -0
  797. package/lib/types/client/inspection/realm.d.ts +27 -0
  798. package/lib/types/client/plugin.d.ts +29 -0
  799. package/lib/types/host/bridge/controller.d.ts +108 -0
  800. package/lib/types/host/bridge/dispatcher.d.ts +16 -0
  801. package/lib/types/host/bridge/lifecycle.d.ts +42 -0
  802. package/lib/types/host/bridge/publisher.d.ts +31 -0
  803. package/lib/types/host/bridge/rpc.d.ts +15 -0
  804. package/lib/types/host/bridge/transport.d.ts +28 -0
  805. package/lib/types/host/cdp/console.d.ts +14 -0
  806. package/lib/types/host/cdp/debugger.d.ts +8 -0
  807. package/lib/types/host/cdp/errors.d.ts +6 -0
  808. package/lib/types/host/cdp/heap-profiler.d.ts +8 -0
  809. package/lib/types/host/cdp/index.d.ts +10 -0
  810. package/lib/types/host/cdp/objects.d.ts +8 -0
  811. package/lib/types/host/cdp/profiler.d.ts +8 -0
  812. package/lib/types/host/cdp/properties.d.ts +7 -0
  813. package/lib/types/host/cdp/runtime.d.ts +16 -0
  814. package/lib/types/host/cdp/sources.d.ts +14 -0
  815. package/lib/types/host/cdp/stack.d.ts +4 -0
  816. package/lib/types/host/index.d.ts +3 -0
  817. package/lib/types/host/inspection/cordis.d.ts +3 -0
  818. package/lib/types/host/inspection/network.d.ts +23 -0
  819. package/lib/types/host/inspection/realm.d.ts +9 -0
  820. package/lib/types/host/plugin.d.ts +19 -0
  821. package/lib/types/index.d.ts +50 -0
  822. package/lib/types/shared/bridge/buffer.d.ts +62 -0
  823. package/lib/types/shared/bridge/codec.d.ts +4 -0
  824. package/lib/types/shared/bridge/control-codec.d.ts +27 -0
  825. package/lib/types/shared/bridge/ids.d.ts +19 -0
  826. package/lib/types/shared/bridge/messages/control.d.ts +64 -0
  827. package/lib/types/shared/bridge/messages/cordis.d.ts +4 -0
  828. package/lib/types/shared/bridge/messages/network.d.ts +4 -0
  829. package/lib/types/shared/bridge/messages/observation.d.ts +110 -0
  830. package/lib/types/shared/bridge/messages/query/codec.d.ts +40 -0
  831. package/lib/types/shared/bridge/messages/query/commands.d.ts +35 -0
  832. package/lib/types/shared/bridge/messages/query/frames.d.ts +31 -0
  833. package/lib/types/shared/bridge/messages/query/index.d.ts +5 -0
  834. package/lib/types/shared/bridge/messages/runtime/command-codec.d.ts +9 -0
  835. package/lib/types/shared/bridge/messages/runtime/commands.d.ts +76 -0
  836. package/lib/types/shared/bridge/messages/runtime/console-frames.d.ts +52 -0
  837. package/lib/types/shared/bridge/messages/runtime/frames.d.ts +98 -0
  838. package/lib/types/shared/bridge/messages/runtime/index.d.ts +5 -0
  839. package/lib/types/shared/bridge/messages/runtime/value-codec.d.ts +28 -0
  840. package/lib/types/shared/bridge/messages/sources/codec.d.ts +15 -0
  841. package/lib/types/shared/bridge/messages/sources/commands.d.ts +42 -0
  842. package/lib/types/shared/bridge/messages/sources/frames.d.ts +67 -0
  843. package/lib/types/shared/bridge/messages/sources/index.d.ts +5 -0
  844. package/lib/types/shared/bridge/publisher.d.ts +33 -0
  845. package/lib/types/shared/bridge/query-reader.d.ts +10 -0
  846. package/lib/types/shared/bridge/rpc.d.ts +62 -0
  847. package/lib/types/shared/bridge/validation.d.ts +3 -0
  848. package/lib/types/shared/bridge/version.d.ts +3 -0
  849. package/lib/types/shared/cdp/capabilities.d.ts +17 -0
  850. package/lib/types/shared/cdp/console.d.ts +28 -0
  851. package/lib/types/shared/cdp/debugger.d.ts +69 -0
  852. package/lib/types/shared/cdp/errors.d.ts +27 -0
  853. package/lib/types/shared/cdp/ids.d.ts +9 -0
  854. package/lib/types/shared/cdp/index.d.ts +11 -0
  855. package/lib/types/shared/cdp/operations.d.ts +86 -0
  856. package/lib/types/shared/cdp/property.d.ts +28 -0
  857. package/lib/types/shared/cdp/realm.d.ts +137 -0
  858. package/lib/types/shared/cdp/remote-object.d.ts +44 -0
  859. package/lib/types/shared/cdp/sources.d.ts +18 -0
  860. package/lib/types/shared/cordis/collector.d.ts +26 -0
  861. package/lib/types/shared/cordis/ids.d.ts +7 -0
  862. package/lib/types/shared/cordis/model.d.ts +61 -0
  863. package/lib/types/shared/cordis/object-reference.d.ts +14 -0
  864. package/lib/types/shared/cordis/object-registry.d.ts +80 -0
  865. package/lib/types/shared/cordis/observer.d.ts +15 -0
  866. package/lib/types/shared/cordis/projector.d.ts +34 -0
  867. package/lib/types/shared/cordis/publisher.d.ts +13 -0
  868. package/lib/types/shared/cordis/reader.d.ts +18 -0
  869. package/lib/types/shared/cordis/snapshot.d.ts +39 -0
  870. package/lib/types/shared/dispose.d.ts +11 -0
  871. package/lib/types/shared/identity.d.ts +12 -0
  872. package/lib/types/shared/index.d.ts +18 -0
  873. package/lib/types/shared/json.d.ts +35 -0
  874. package/lib/types/shared/network/event-source.d.ts +20 -0
  875. package/lib/types/shared/network/observation.d.ts +52 -0
  876. package/lib/types/shared/service.d.ts +23 -0
  877. package/lib/types/shared/validation.d.ts +52 -0
  878. package/lib/types/shared/web.d.ts +16 -0
  879. package/lib/types/worker/bridge/endpoint.d.ts +49 -0
  880. package/lib/types/worker/bridge/hub.d.ts +108 -0
  881. package/lib/types/worker/bridge/runtime-rpc.d.ts +90 -0
  882. package/lib/types/worker/bridge/session.d.ts +15 -0
  883. package/lib/types/worker/bridge/source-rpc.d.ts +42 -0
  884. package/lib/types/worker/cdp/domains/debugger/cdp-params.d.ts +15 -0
  885. package/lib/types/worker/cdp/domains/debugger/index.d.ts +6 -0
  886. package/lib/types/worker/cdp/domains/debugger/projector.d.ts +22 -0
  887. package/lib/types/worker/cdp/domains/debugger/script-registry.d.ts +70 -0
  888. package/lib/types/worker/cdp/domains/debugger/session.d.ts +47 -0
  889. package/lib/types/worker/cdp/domains/dom/index.d.ts +4 -0
  890. package/lib/types/worker/cdp/domains/dom/model.d.ts +121 -0
  891. package/lib/types/worker/cdp/domains/dom/session.d.ts +78 -0
  892. package/lib/types/worker/cdp/domains/native.d.ts +25 -0
  893. package/lib/types/worker/cdp/domains/network/session.d.ts +46 -0
  894. package/lib/types/worker/cdp/domains/runtime/cdp-params.d.ts +82 -0
  895. package/lib/types/worker/cdp/domains/runtime/index.d.ts +3 -0
  896. package/lib/types/worker/cdp/domains/runtime/object-table.d.ts +117 -0
  897. package/lib/types/worker/cdp/domains/runtime/session.d.ts +97 -0
  898. package/lib/types/worker/cdp/ids.d.ts +37 -0
  899. package/lib/types/worker/cdp/protocol.d.ts +46 -0
  900. package/lib/types/worker/cdp/realm-sessions.d.ts +67 -0
  901. package/lib/types/worker/cdp/session.d.ts +39 -0
  902. package/lib/types/worker/cdp/target.d.ts +17 -0
  903. package/lib/types/worker/entry.d.ts +3 -0
  904. package/lib/types/worker/inspection/cordis-query.d.ts +11 -0
  905. package/lib/types/worker/inspection/cordis-store.d.ts +94 -0
  906. package/lib/types/worker/inspection/network-store.d.ts +110 -0
  907. package/lib/types/worker/inspection/query-router.d.ts +78 -0
  908. package/lib/types/worker/inspection/realm-store.d.ts +58 -0
  909. package/lib/types/worker/inspection/realm.d.ts +43 -0
  910. package/lib/types/worker/realms/client/bridge.d.ts +18 -0
  911. package/lib/types/worker/realms/client/console.d.ts +21 -0
  912. package/lib/types/worker/realms/client/debugger.d.ts +8 -0
  913. package/lib/types/worker/realms/client/index.d.ts +18 -0
  914. package/lib/types/worker/realms/client/runtime.d.ts +28 -0
  915. package/lib/types/worker/realms/client/scripts.d.ts +15 -0
  916. package/lib/types/worker/realms/client/sources.d.ts +30 -0
  917. package/lib/types/worker/realms/client/values.d.ts +55 -0
  918. package/lib/types/worker/realms/host/bridge.d.ts +49 -0
  919. package/lib/types/worker/realms/host/console.d.ts +25 -0
  920. package/lib/types/worker/realms/host/debugger.d.ts +25 -0
  921. package/lib/types/worker/realms/host/index.d.ts +13 -0
  922. package/lib/types/worker/realms/host/runtime.d.ts +54 -0
  923. package/lib/types/worker/realms/host/scripts.d.ts +9 -0
  924. package/lib/types/worker/realms/host/sources.d.ts +26 -0
  925. package/lib/types/worker/realms/host/values.d.ts +22 -0
  926. package/lib/types/worker/server.d.ts +16 -0
  927. package/lib/worker.js +7289 -0
  928. package/locale/en.json +6 -0
  929. package/locale/zh.json +6 -0
  930. package/package.json +90 -3
@@ -0,0 +1,1362 @@
1
+ //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/third_party/marked/package/lib/marked.esm.js
2
+ function e() {
3
+ return {
4
+ async: !1,
5
+ breaks: !1,
6
+ extensions: null,
7
+ gfm: !0,
8
+ hooks: null,
9
+ pedantic: !1,
10
+ renderer: null,
11
+ silent: !1,
12
+ tokenizer: null,
13
+ walkTokens: null
14
+ };
15
+ }
16
+ var t = e();
17
+ function n(e) {
18
+ t = e;
19
+ }
20
+ var r = /[&<>"']/, i = new RegExp(r.source, "g"), a = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, o = new RegExp(a.source, "g"), s = {
21
+ "&": "&amp;",
22
+ "<": "&lt;",
23
+ ">": "&gt;",
24
+ "\"": "&quot;",
25
+ "'": "&#39;"
26
+ }, c = (e) => s[e];
27
+ function l(e, t) {
28
+ if (t) {
29
+ if (r.test(e)) return e.replace(i, c);
30
+ } else if (a.test(e)) return e.replace(o, c);
31
+ return e;
32
+ }
33
+ var u = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;
34
+ function d(e) {
35
+ return e.replace(u, (e, t) => (t = t.toLowerCase(), t === "colon" ? ":" : t.charAt(0) === "#" ? t.charAt(1) === "x" ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1)) : ""));
36
+ }
37
+ var f = /(^|[^\[])\^/g;
38
+ function p(e, t) {
39
+ let n = typeof e == "string" ? e : e.source;
40
+ t ||= "";
41
+ let r = {
42
+ replace: (e, t) => {
43
+ let i = typeof t == "string" ? t : t.source;
44
+ return i = i.replace(f, "$1"), n = n.replace(e, i), r;
45
+ },
46
+ getRegex: () => new RegExp(n, t)
47
+ };
48
+ return r;
49
+ }
50
+ function m(e) {
51
+ try {
52
+ e = encodeURI(e).replace(/%25/g, "%");
53
+ } catch {
54
+ return null;
55
+ }
56
+ return e;
57
+ }
58
+ var h = { exec: () => null };
59
+ function g(e, t) {
60
+ let n = e.replace(/\|/g, (e, t, n) => {
61
+ let r = !1, i = t;
62
+ for (; --i >= 0 && n[i] === "\\";) r = !r;
63
+ return r ? "|" : " |";
64
+ }).split(/ \|/), r = 0;
65
+ if (n[0].trim() || n.shift(), n.length > 0 && !n[n.length - 1].trim() && n.pop(), t) if (n.length > t) n.splice(t);
66
+ else for (; n.length < t;) n.push("");
67
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(/\\\|/g, "|");
68
+ return n;
69
+ }
70
+ function _(e, t, n) {
71
+ let r = e.length;
72
+ if (r === 0) return "";
73
+ let i = 0;
74
+ for (; i < r;) {
75
+ let a = e.charAt(r - i - 1);
76
+ if (a === t && !n) i++;
77
+ else if (a !== t && n) i++;
78
+ else break;
79
+ }
80
+ return e.slice(0, r - i);
81
+ }
82
+ function ee(e, t) {
83
+ if (e.indexOf(t[1]) === -1) return -1;
84
+ let n = 0;
85
+ for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
86
+ else if (e[r] === t[0]) n++;
87
+ else if (e[r] === t[1] && (n--, n < 0)) return r;
88
+ return -1;
89
+ }
90
+ function v(e, t, n, r) {
91
+ let i = t.href, a = t.title ? l(t.title) : null, o = e[1].replace(/\\([\[\]])/g, "$1");
92
+ if (e[0].charAt(0) !== "!") {
93
+ r.state.inLink = !0;
94
+ let e = {
95
+ type: "link",
96
+ raw: n,
97
+ href: i,
98
+ title: a,
99
+ text: o,
100
+ tokens: r.inlineTokens(o)
101
+ };
102
+ return r.state.inLink = !1, e;
103
+ }
104
+ return {
105
+ type: "image",
106
+ raw: n,
107
+ href: i,
108
+ title: a,
109
+ text: l(o)
110
+ };
111
+ }
112
+ function te(e, t) {
113
+ let n = e.match(/^(\s+)(?:```)/);
114
+ if (n === null) return t;
115
+ let r = n[1];
116
+ return t.split("\n").map((e) => {
117
+ let t = e.match(/^\s+/);
118
+ if (t === null) return e;
119
+ let [n] = t;
120
+ return n.length >= r.length ? e.slice(r.length) : e;
121
+ }).join("\n");
122
+ }
123
+ var y = class {
124
+ options;
125
+ rules;
126
+ lexer;
127
+ constructor(e) {
128
+ this.options = e || t;
129
+ }
130
+ space(e) {
131
+ let t = this.rules.block.newline.exec(e);
132
+ if (t && t[0].length > 0) return {
133
+ type: "space",
134
+ raw: t[0]
135
+ };
136
+ }
137
+ code(e) {
138
+ let t = this.rules.block.code.exec(e);
139
+ if (t) {
140
+ let e = t[0].replace(/^ {1,4}/gm, "");
141
+ return {
142
+ type: "code",
143
+ raw: t[0],
144
+ codeBlockStyle: "indented",
145
+ text: this.options.pedantic ? e : _(e, "\n")
146
+ };
147
+ }
148
+ }
149
+ fences(e) {
150
+ let t = this.rules.block.fences.exec(e);
151
+ if (t) {
152
+ let e = t[0], n = te(e, t[3] || "");
153
+ return {
154
+ type: "code",
155
+ raw: e,
156
+ lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2],
157
+ text: n
158
+ };
159
+ }
160
+ }
161
+ heading(e) {
162
+ let t = this.rules.block.heading.exec(e);
163
+ if (t) {
164
+ let e = t[2].trim();
165
+ if (/#$/.test(e)) {
166
+ let t = _(e, "#");
167
+ (this.options.pedantic || !t || / $/.test(t)) && (e = t.trim());
168
+ }
169
+ return {
170
+ type: "heading",
171
+ raw: t[0],
172
+ depth: t[1].length,
173
+ text: e,
174
+ tokens: this.lexer.inline(e)
175
+ };
176
+ }
177
+ }
178
+ hr(e) {
179
+ let t = this.rules.block.hr.exec(e);
180
+ if (t) return {
181
+ type: "hr",
182
+ raw: _(t[0], "\n")
183
+ };
184
+ }
185
+ blockquote(e) {
186
+ let t = this.rules.block.blockquote.exec(e);
187
+ if (t) {
188
+ let e = _(t[0], "\n").split("\n"), n = "", r = "", i = [];
189
+ for (; e.length > 0;) {
190
+ let t = !1, a = [], o;
191
+ for (o = 0; o < e.length; o++) if (/^ {0,3}>/.test(e[o])) a.push(e[o]), t = !0;
192
+ else if (!t) a.push(e[o]);
193
+ else break;
194
+ e = e.slice(o);
195
+ let s = a.join("\n"), c = s.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g, "\n $1").replace(/^ {0,3}>[ \t]?/gm, "");
196
+ n = n ? `${n}\n${s}` : s, r = r ? `${r}\n${c}` : c;
197
+ let l = this.lexer.state.top;
198
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(c, i, !0), this.lexer.state.top = l, e.length === 0) break;
199
+ let u = i[i.length - 1];
200
+ if (u?.type === "code") break;
201
+ if (u?.type === "blockquote") {
202
+ let t = u, a = t.raw + "\n" + e.join("\n"), o = this.blockquote(a);
203
+ i[i.length - 1] = o, n = n.substring(0, n.length - t.raw.length) + o.raw, r = r.substring(0, r.length - t.text.length) + o.text;
204
+ break;
205
+ } else if (u?.type === "list") {
206
+ let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
207
+ i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i[i.length - 1].raw.length).split("\n");
208
+ continue;
209
+ }
210
+ }
211
+ return {
212
+ type: "blockquote",
213
+ raw: n,
214
+ tokens: i,
215
+ text: r
216
+ };
217
+ }
218
+ }
219
+ list(e) {
220
+ let t = this.rules.block.list.exec(e);
221
+ if (t) {
222
+ let n = t[1].trim(), r = n.length > 1, i = {
223
+ type: "list",
224
+ raw: "",
225
+ ordered: r,
226
+ start: r ? +n.slice(0, -1) : "",
227
+ loose: !1,
228
+ items: []
229
+ };
230
+ n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
231
+ let a = RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`), o = "", s = "", c = !1;
232
+ for (; e;) {
233
+ let n = !1;
234
+ if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
235
+ o = t[0], e = e.substring(o.length);
236
+ let r = t[2].split("\n", 1)[0].replace(/^\t+/, (e) => " ".repeat(3 * e.length)), l = e.split("\n", 1)[0], u = 0;
237
+ this.options.pedantic ? (u = 2, s = r.trimStart()) : (u = t[2].search(/[^ ]/), u = u > 4 ? 1 : u, s = r.slice(u), u += t[1].length);
238
+ let d = !1;
239
+ if (!r && /^ *$/.test(l) && (o += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
240
+ let t = RegExp(`^ {0,${Math.min(3, u - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`), n = RegExp(`^ {0,${Math.min(3, u - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), i = RegExp(`^ {0,${Math.min(3, u - 1)}}(?:\`\`\`|~~~)`), a = RegExp(`^ {0,${Math.min(3, u - 1)}}#`);
241
+ for (; e;) {
242
+ let c = e.split("\n", 1)[0];
243
+ if (l = c, this.options.pedantic && (l = l.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), i.test(l) || a.test(l) || t.test(l) || n.test(e)) break;
244
+ if (l.search(/[^ ]/) >= u || !l.trim()) s += "\n" + l.slice(u);
245
+ else {
246
+ if (d || r.search(/[^ ]/) >= 4 || i.test(r) || a.test(r) || n.test(r)) break;
247
+ s += "\n" + l;
248
+ }
249
+ !d && !l.trim() && (d = !0), o += c + "\n", e = e.substring(c.length + 1), r = l.slice(u);
250
+ }
251
+ }
252
+ i.loose || (c ? i.loose = !0 : /\n *\n *$/.test(o) && (c = !0));
253
+ let f = null, p;
254
+ this.options.gfm && (f = /^\[[ xX]\] /.exec(s), f && (p = f[0] !== "[ ] ", s = s.replace(/^\[[ xX]\] +/, ""))), i.items.push({
255
+ type: "list_item",
256
+ raw: o,
257
+ task: !!f,
258
+ checked: p,
259
+ loose: !1,
260
+ text: s,
261
+ tokens: []
262
+ }), i.raw += o;
263
+ }
264
+ i.items[i.items.length - 1].raw = o.trimEnd(), i.items[i.items.length - 1].text = s.trimEnd(), i.raw = i.raw.trimEnd();
265
+ for (let e = 0; e < i.items.length; e++) if (this.lexer.state.top = !1, i.items[e].tokens = this.lexer.blockTokens(i.items[e].text, []), !i.loose) {
266
+ let t = i.items[e].tokens.filter((e) => e.type === "space");
267
+ i.loose = t.length > 0 && t.some((e) => /\n.*\n/.test(e.raw));
268
+ }
269
+ if (i.loose) for (let e = 0; e < i.items.length; e++) i.items[e].loose = !0;
270
+ return i;
271
+ }
272
+ }
273
+ html(e) {
274
+ let t = this.rules.block.html.exec(e);
275
+ if (t) return {
276
+ type: "html",
277
+ block: !0,
278
+ raw: t[0],
279
+ pre: t[1] === "pre" || t[1] === "script" || t[1] === "style",
280
+ text: t[0]
281
+ };
282
+ }
283
+ def(e) {
284
+ let t = this.rules.block.def.exec(e);
285
+ if (t) {
286
+ let e = t[1].toLowerCase().replace(/\s+/g, " "), n = t[2] ? t[2].replace(/^<(.*)>$/, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", r = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
287
+ return {
288
+ type: "def",
289
+ tag: e,
290
+ raw: t[0],
291
+ href: n,
292
+ title: r
293
+ };
294
+ }
295
+ }
296
+ table(e) {
297
+ let t = this.rules.block.table.exec(e);
298
+ if (!t || !/[:|]/.test(t[2])) return;
299
+ let n = g(t[1]), r = t[2].replace(/^\||\| *$/g, "").split("|"), i = t[3] && t[3].trim() ? t[3].replace(/\n[ \t]*$/, "").split("\n") : [], a = {
300
+ type: "table",
301
+ raw: t[0],
302
+ header: [],
303
+ align: [],
304
+ rows: []
305
+ };
306
+ if (n.length === r.length) {
307
+ for (let e of r) /^ *-+: *$/.test(e) ? a.align.push("right") : /^ *:-+: *$/.test(e) ? a.align.push("center") : /^ *:-+ *$/.test(e) ? a.align.push("left") : a.align.push(null);
308
+ for (let e = 0; e < n.length; e++) a.header.push({
309
+ text: n[e],
310
+ tokens: this.lexer.inline(n[e]),
311
+ header: !0,
312
+ align: a.align[e]
313
+ });
314
+ for (let e of i) a.rows.push(g(e, a.header.length).map((e, t) => ({
315
+ text: e,
316
+ tokens: this.lexer.inline(e),
317
+ header: !1,
318
+ align: a.align[t]
319
+ })));
320
+ return a;
321
+ }
322
+ }
323
+ lheading(e) {
324
+ let t = this.rules.block.lheading.exec(e);
325
+ if (t) return {
326
+ type: "heading",
327
+ raw: t[0],
328
+ depth: t[2].charAt(0) === "=" ? 1 : 2,
329
+ text: t[1],
330
+ tokens: this.lexer.inline(t[1])
331
+ };
332
+ }
333
+ paragraph(e) {
334
+ let t = this.rules.block.paragraph.exec(e);
335
+ if (t) {
336
+ let e = t[1].charAt(t[1].length - 1) === "\n" ? t[1].slice(0, -1) : t[1];
337
+ return {
338
+ type: "paragraph",
339
+ raw: t[0],
340
+ text: e,
341
+ tokens: this.lexer.inline(e)
342
+ };
343
+ }
344
+ }
345
+ text(e) {
346
+ let t = this.rules.block.text.exec(e);
347
+ if (t) return {
348
+ type: "text",
349
+ raw: t[0],
350
+ text: t[0],
351
+ tokens: this.lexer.inline(t[0])
352
+ };
353
+ }
354
+ escape(e) {
355
+ let t = this.rules.inline.escape.exec(e);
356
+ if (t) return {
357
+ type: "escape",
358
+ raw: t[0],
359
+ text: l(t[1])
360
+ };
361
+ }
362
+ tag(e) {
363
+ let t = this.rules.inline.tag.exec(e);
364
+ if (t) return !this.lexer.state.inLink && /^<a /i.test(t[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && /^<\/a>/i.test(t[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(t[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0]) && (this.lexer.state.inRawBlock = !1), {
365
+ type: "html",
366
+ raw: t[0],
367
+ inLink: this.lexer.state.inLink,
368
+ inRawBlock: this.lexer.state.inRawBlock,
369
+ block: !1,
370
+ text: t[0]
371
+ };
372
+ }
373
+ link(e) {
374
+ let t = this.rules.inline.link.exec(e);
375
+ if (t) {
376
+ let e = t[2].trim();
377
+ if (!this.options.pedantic && /^</.test(e)) {
378
+ if (!/>$/.test(e)) return;
379
+ let t = _(e.slice(0, -1), "\\");
380
+ if ((e.length - t.length) % 2 == 0) return;
381
+ } else {
382
+ let e = ee(t[2], "()");
383
+ if (e > -1) {
384
+ let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
385
+ t[2] = t[2].substring(0, e), t[0] = t[0].substring(0, n).trim(), t[3] = "";
386
+ }
387
+ }
388
+ let n = t[2], r = "";
389
+ if (this.options.pedantic) {
390
+ let e = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);
391
+ e && (n = e[1], r = e[3]);
392
+ } else r = t[3] ? t[3].slice(1, -1) : "";
393
+ return n = n.trim(), /^</.test(n) && (n = this.options.pedantic && !/>$/.test(e) ? n.slice(1) : n.slice(1, -1)), v(t, {
394
+ href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
395
+ title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
396
+ }, t[0], this.lexer);
397
+ }
398
+ }
399
+ reflink(e, t) {
400
+ let n;
401
+ if ((n = this.rules.inline.reflink.exec(e)) || (n = this.rules.inline.nolink.exec(e))) {
402
+ let e = t[(n[2] || n[1]).replace(/\s+/g, " ").toLowerCase()];
403
+ if (!e) {
404
+ let e = n[0].charAt(0);
405
+ return {
406
+ type: "text",
407
+ raw: e,
408
+ text: e
409
+ };
410
+ }
411
+ return v(n, e, n[0], this.lexer);
412
+ }
413
+ }
414
+ emStrong(e, t, n = "") {
415
+ let r = this.rules.inline.emStrongLDelim.exec(e);
416
+ if (r && !(r[3] && n.match(/[\p{L}\p{N}]/u)) && (!(r[1] || r[2]) || !n || this.rules.inline.punctuation.exec(n))) {
417
+ let n = [...r[0]].length - 1, i, a, o = n, s = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
418
+ for (c.lastIndex = 0, t = t.slice(-1 * e.length + n); (r = c.exec(t)) != null;) {
419
+ if (i = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !i) continue;
420
+ if (a = [...i].length, r[3] || r[4]) {
421
+ o += a;
422
+ continue;
423
+ } else if ((r[5] || r[6]) && n % 3 && !((n + a) % 3)) {
424
+ s += a;
425
+ continue;
426
+ }
427
+ if (o -= a, o > 0) continue;
428
+ a = Math.min(a, a + o + s);
429
+ let t = [...r[0]][0].length, c = e.slice(0, n + r.index + t + a);
430
+ if (Math.min(n, a) % 2) {
431
+ let e = c.slice(1, -1);
432
+ return {
433
+ type: "em",
434
+ raw: c,
435
+ text: e,
436
+ tokens: this.lexer.inlineTokens(e)
437
+ };
438
+ }
439
+ let l = c.slice(2, -2);
440
+ return {
441
+ type: "strong",
442
+ raw: c,
443
+ text: l,
444
+ tokens: this.lexer.inlineTokens(l)
445
+ };
446
+ }
447
+ }
448
+ }
449
+ codespan(e) {
450
+ let t = this.rules.inline.code.exec(e);
451
+ if (t) {
452
+ let e = t[2].replace(/\n/g, " "), n = /[^ ]/.test(e), r = /^ /.test(e) && / $/.test(e);
453
+ return n && r && (e = e.substring(1, e.length - 1)), e = l(e, !0), {
454
+ type: "codespan",
455
+ raw: t[0],
456
+ text: e
457
+ };
458
+ }
459
+ }
460
+ br(e) {
461
+ let t = this.rules.inline.br.exec(e);
462
+ if (t) return {
463
+ type: "br",
464
+ raw: t[0]
465
+ };
466
+ }
467
+ del(e) {
468
+ let t = this.rules.inline.del.exec(e);
469
+ if (t) return {
470
+ type: "del",
471
+ raw: t[0],
472
+ text: t[2],
473
+ tokens: this.lexer.inlineTokens(t[2])
474
+ };
475
+ }
476
+ autolink(e) {
477
+ let t = this.rules.inline.autolink.exec(e);
478
+ if (t) {
479
+ let e, n;
480
+ return t[2] === "@" ? (e = l(t[1]), n = "mailto:" + e) : (e = l(t[1]), n = e), {
481
+ type: "link",
482
+ raw: t[0],
483
+ text: e,
484
+ href: n,
485
+ tokens: [{
486
+ type: "text",
487
+ raw: e,
488
+ text: e
489
+ }]
490
+ };
491
+ }
492
+ }
493
+ url(e) {
494
+ let t;
495
+ if (t = this.rules.inline.url.exec(e)) {
496
+ let e, n;
497
+ if (t[2] === "@") e = l(t[0]), n = "mailto:" + e;
498
+ else {
499
+ let r;
500
+ do
501
+ r = t[0], t[0] = this.rules.inline._backpedal.exec(t[0])?.[0] ?? "";
502
+ while (r !== t[0]);
503
+ e = l(t[0]), n = t[1] === "www." ? "http://" + t[0] : t[0];
504
+ }
505
+ return {
506
+ type: "link",
507
+ raw: t[0],
508
+ text: e,
509
+ href: n,
510
+ tokens: [{
511
+ type: "text",
512
+ raw: e,
513
+ text: e
514
+ }]
515
+ };
516
+ }
517
+ }
518
+ inlineText(e) {
519
+ let t = this.rules.inline.text.exec(e);
520
+ if (t) {
521
+ let e;
522
+ return e = this.lexer.state.inRawBlock ? t[0] : l(t[0]), {
523
+ type: "text",
524
+ raw: t[0],
525
+ text: e
526
+ };
527
+ }
528
+ }
529
+ }, ne = /^(?: *(?:\n|$))+/, re = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, b = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, x = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ie = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, S = /(?:[*+-]|\d{1,9}[.)])/, C = p(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, S).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), w = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ae = /^[^\n]+/, T = /(?!\s*\])(?:\\.|[^\[\]\\])+/, oe = p(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", T).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), se = p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, S).getRegex(), E = "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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", D = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ce = p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", D).replace("tag", E).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), O = p(w).replace("hr", x).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", E).getRegex(), k = {
530
+ blockquote: p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", O).getRegex(),
531
+ code: re,
532
+ def: oe,
533
+ fences: b,
534
+ heading: ie,
535
+ hr: x,
536
+ html: ce,
537
+ lheading: C,
538
+ list: se,
539
+ newline: ne,
540
+ paragraph: O,
541
+ table: h,
542
+ text: ae
543
+ }, A = p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", x).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", E).getRegex(), le = {
544
+ ...k,
545
+ table: A,
546
+ paragraph: p(w).replace("hr", x).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", A).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", E).getRegex()
547
+ }, ue = {
548
+ ...k,
549
+ html: p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", D).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
550
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
551
+ heading: /^(#{1,6})(.*)(?:\n+|$)/,
552
+ fences: h,
553
+ lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
554
+ paragraph: p(w).replace("hr", x).replace("heading", " *#{1,6} *[^\n]").replace("lheading", C).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
555
+ }, j = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, de = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, M = /^( {2,}|\\)\n(?!\s*$)/, fe = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, N = "\\p{P}\\p{S}", P = p(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, N).getRegex(), pe = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, me = p(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, N).getRegex(), F = p("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, N).getRegex(), I = p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, N).getRegex(), L = p(/\\([punct])/, "gu").replace(/punct/g, N).getRegex(), R = p(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[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])?)+(?![-_])/).getRegex(), he = p(D).replace("(?:-->|$)", "-->").getRegex(), ge = p("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", he).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), z = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, _e = p(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", z).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), B = p(/^!?\[(label)\]\[(ref)\]/).replace("label", z).replace("ref", T).getRegex(), V = p(/^!?\[(ref)\](?:\[\])?/).replace("ref", T).getRegex(), H = {
556
+ _backpedal: h,
557
+ anyPunctuation: L,
558
+ autolink: R,
559
+ blockSkip: pe,
560
+ br: M,
561
+ code: de,
562
+ del: h,
563
+ emStrongLDelim: me,
564
+ emStrongRDelimAst: F,
565
+ emStrongRDelimUnd: I,
566
+ escape: j,
567
+ link: _e,
568
+ nolink: V,
569
+ punctuation: P,
570
+ reflink: B,
571
+ reflinkSearch: p("reflink|nolink(?!\\()", "g").replace("reflink", B).replace("nolink", V).getRegex(),
572
+ tag: ge,
573
+ text: fe,
574
+ url: h
575
+ }, ve = {
576
+ ...H,
577
+ link: p(/^!?\[(label)\]\((.*?)\)/).replace("label", z).getRegex(),
578
+ reflink: p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", z).getRegex()
579
+ }, U = {
580
+ ...H,
581
+ escape: p(j).replace("])", "~|])").getRegex(),
582
+ url: p(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
583
+ _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
584
+ del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
585
+ text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
586
+ }, ye = {
587
+ ...U,
588
+ br: p(M).replace("{2,}", "*").getRegex(),
589
+ text: p(U.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
590
+ }, W = {
591
+ normal: k,
592
+ gfm: le,
593
+ pedantic: ue
594
+ }, G = {
595
+ normal: H,
596
+ gfm: U,
597
+ breaks: ye,
598
+ pedantic: ve
599
+ }, K = class e {
600
+ tokens;
601
+ options;
602
+ state;
603
+ tokenizer;
604
+ inlineQueue;
605
+ constructor(e) {
606
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || t, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
607
+ inLink: !1,
608
+ inRawBlock: !1,
609
+ top: !0
610
+ };
611
+ let n = {
612
+ block: W.normal,
613
+ inline: G.normal
614
+ };
615
+ this.options.pedantic ? (n.block = W.pedantic, n.inline = G.pedantic) : this.options.gfm && (n.block = W.gfm, this.options.breaks ? n.inline = G.breaks : n.inline = G.gfm), this.tokenizer.rules = n;
616
+ }
617
+ static get rules() {
618
+ return {
619
+ block: W,
620
+ inline: G
621
+ };
622
+ }
623
+ static lex(t, n) {
624
+ return new e(n).lex(t);
625
+ }
626
+ static lexInline(t, n) {
627
+ return new e(n).inlineTokens(t);
628
+ }
629
+ lex(e) {
630
+ e = e.replace(/\r\n|\r/g, "\n"), this.blockTokens(e, this.tokens);
631
+ for (let e = 0; e < this.inlineQueue.length; e++) {
632
+ let t = this.inlineQueue[e];
633
+ this.inlineTokens(t.src, t.tokens);
634
+ }
635
+ return this.inlineQueue = [], this.tokens;
636
+ }
637
+ blockTokens(e, t = [], n = !1) {
638
+ e = this.options.pedantic ? e.replace(/\t/g, " ").replace(/^ +$/gm, "") : e.replace(/^( *)(\t+)/gm, (e, t, n) => t + " ".repeat(n.length));
639
+ let r, i, a;
640
+ for (; e;) if (!(this.options.extensions && this.options.extensions.block && this.options.extensions.block.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1))) {
641
+ if (r = this.tokenizer.space(e)) {
642
+ e = e.substring(r.raw.length), r.raw.length === 1 && t.length > 0 ? t[t.length - 1].raw += "\n" : t.push(r);
643
+ continue;
644
+ }
645
+ if (r = this.tokenizer.code(e)) {
646
+ e = e.substring(r.raw.length), i = t[t.length - 1], i && (i.type === "paragraph" || i.type === "text") ? (i.raw += "\n" + r.raw, i.text += "\n" + r.text, this.inlineQueue[this.inlineQueue.length - 1].src = i.text) : t.push(r);
647
+ continue;
648
+ }
649
+ if (r = this.tokenizer.fences(e)) {
650
+ e = e.substring(r.raw.length), t.push(r);
651
+ continue;
652
+ }
653
+ if (r = this.tokenizer.heading(e)) {
654
+ e = e.substring(r.raw.length), t.push(r);
655
+ continue;
656
+ }
657
+ if (r = this.tokenizer.hr(e)) {
658
+ e = e.substring(r.raw.length), t.push(r);
659
+ continue;
660
+ }
661
+ if (r = this.tokenizer.blockquote(e)) {
662
+ e = e.substring(r.raw.length), t.push(r);
663
+ continue;
664
+ }
665
+ if (r = this.tokenizer.list(e)) {
666
+ e = e.substring(r.raw.length), t.push(r);
667
+ continue;
668
+ }
669
+ if (r = this.tokenizer.html(e)) {
670
+ e = e.substring(r.raw.length), t.push(r);
671
+ continue;
672
+ }
673
+ if (r = this.tokenizer.def(e)) {
674
+ e = e.substring(r.raw.length), i = t[t.length - 1], i && (i.type === "paragraph" || i.type === "text") ? (i.raw += "\n" + r.raw, i.text += "\n" + r.raw, this.inlineQueue[this.inlineQueue.length - 1].src = i.text) : this.tokens.links[r.tag] || (this.tokens.links[r.tag] = {
675
+ href: r.href,
676
+ title: r.title
677
+ });
678
+ continue;
679
+ }
680
+ if (r = this.tokenizer.table(e)) {
681
+ e = e.substring(r.raw.length), t.push(r);
682
+ continue;
683
+ }
684
+ if (r = this.tokenizer.lheading(e)) {
685
+ e = e.substring(r.raw.length), t.push(r);
686
+ continue;
687
+ }
688
+ if (a = e, this.options.extensions && this.options.extensions.startBlock) {
689
+ let t = Infinity, n = e.slice(1), r;
690
+ this.options.extensions.startBlock.forEach((e) => {
691
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
692
+ }), t < Infinity && t >= 0 && (a = e.substring(0, t + 1));
693
+ }
694
+ if (this.state.top && (r = this.tokenizer.paragraph(a))) {
695
+ i = t[t.length - 1], n && i?.type === "paragraph" ? (i.raw += "\n" + r.raw, i.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue[this.inlineQueue.length - 1].src = i.text) : t.push(r), n = a.length !== e.length, e = e.substring(r.raw.length);
696
+ continue;
697
+ }
698
+ if (r = this.tokenizer.text(e)) {
699
+ e = e.substring(r.raw.length), i = t[t.length - 1], i && i.type === "text" ? (i.raw += "\n" + r.raw, i.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue[this.inlineQueue.length - 1].src = i.text) : t.push(r);
700
+ continue;
701
+ }
702
+ if (e) {
703
+ let t = "Infinite loop on byte: " + e.charCodeAt(0);
704
+ if (this.options.silent) {
705
+ console.error(t);
706
+ break;
707
+ } else throw Error(t);
708
+ }
709
+ }
710
+ return this.state.top = !0, t;
711
+ }
712
+ inline(e, t = []) {
713
+ return this.inlineQueue.push({
714
+ src: e,
715
+ tokens: t
716
+ }), t;
717
+ }
718
+ inlineTokens(e, t = []) {
719
+ let n, r, i, a = e, o, s, c;
720
+ if (this.tokens.links) {
721
+ let e = Object.keys(this.tokens.links);
722
+ if (e.length > 0) for (; (o = this.tokenizer.rules.inline.reflinkSearch.exec(a)) != null;) e.includes(o[0].slice(o[0].lastIndexOf("[") + 1, -1)) && (a = a.slice(0, o.index) + "[" + "a".repeat(o[0].length - 2) + "]" + a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
723
+ }
724
+ for (; (o = this.tokenizer.rules.inline.blockSkip.exec(a)) != null;) a = a.slice(0, o.index) + "[" + "a".repeat(o[0].length - 2) + "]" + a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
725
+ for (; (o = this.tokenizer.rules.inline.anyPunctuation.exec(a)) != null;) a = a.slice(0, o.index) + "++" + a.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
726
+ for (; e;) if (s || (c = ""), s = !1, !(this.options.extensions && this.options.extensions.inline && this.options.extensions.inline.some((r) => (n = r.call({ lexer: this }, e, t)) ? (e = e.substring(n.raw.length), t.push(n), !0) : !1))) {
727
+ if (n = this.tokenizer.escape(e)) {
728
+ e = e.substring(n.raw.length), t.push(n);
729
+ continue;
730
+ }
731
+ if (n = this.tokenizer.tag(e)) {
732
+ e = e.substring(n.raw.length), r = t[t.length - 1], r && n.type === "text" && r.type === "text" ? (r.raw += n.raw, r.text += n.text) : t.push(n);
733
+ continue;
734
+ }
735
+ if (n = this.tokenizer.link(e)) {
736
+ e = e.substring(n.raw.length), t.push(n);
737
+ continue;
738
+ }
739
+ if (n = this.tokenizer.reflink(e, this.tokens.links)) {
740
+ e = e.substring(n.raw.length), r = t[t.length - 1], r && n.type === "text" && r.type === "text" ? (r.raw += n.raw, r.text += n.text) : t.push(n);
741
+ continue;
742
+ }
743
+ if (n = this.tokenizer.emStrong(e, a, c)) {
744
+ e = e.substring(n.raw.length), t.push(n);
745
+ continue;
746
+ }
747
+ if (n = this.tokenizer.codespan(e)) {
748
+ e = e.substring(n.raw.length), t.push(n);
749
+ continue;
750
+ }
751
+ if (n = this.tokenizer.br(e)) {
752
+ e = e.substring(n.raw.length), t.push(n);
753
+ continue;
754
+ }
755
+ if (n = this.tokenizer.del(e)) {
756
+ e = e.substring(n.raw.length), t.push(n);
757
+ continue;
758
+ }
759
+ if (n = this.tokenizer.autolink(e)) {
760
+ e = e.substring(n.raw.length), t.push(n);
761
+ continue;
762
+ }
763
+ if (!this.state.inLink && (n = this.tokenizer.url(e))) {
764
+ e = e.substring(n.raw.length), t.push(n);
765
+ continue;
766
+ }
767
+ if (i = e, this.options.extensions && this.options.extensions.startInline) {
768
+ let t = Infinity, n = e.slice(1), r;
769
+ this.options.extensions.startInline.forEach((e) => {
770
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
771
+ }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
772
+ }
773
+ if (n = this.tokenizer.inlineText(i)) {
774
+ e = e.substring(n.raw.length), n.raw.slice(-1) !== "_" && (c = n.raw.slice(-1)), s = !0, r = t[t.length - 1], r && r.type === "text" ? (r.raw += n.raw, r.text += n.text) : t.push(n);
775
+ continue;
776
+ }
777
+ if (e) {
778
+ let t = "Infinite loop on byte: " + e.charCodeAt(0);
779
+ if (this.options.silent) {
780
+ console.error(t);
781
+ break;
782
+ } else throw Error(t);
783
+ }
784
+ }
785
+ return t;
786
+ }
787
+ }, q = class {
788
+ options;
789
+ parser;
790
+ constructor(e) {
791
+ this.options = e || t;
792
+ }
793
+ space(e) {
794
+ return "";
795
+ }
796
+ code({ text: e, lang: t, escaped: n }) {
797
+ let r = (t || "").match(/^\S*/)?.[0], i = e.replace(/\n$/, "") + "\n";
798
+ return r ? "<pre><code class=\"language-" + l(r) + "\">" + (n ? i : l(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : l(i, !0)) + "</code></pre>\n";
799
+ }
800
+ blockquote({ tokens: e }) {
801
+ return `<blockquote>\n${this.parser.parse(e)}</blockquote>\n`;
802
+ }
803
+ html({ text: e }) {
804
+ return e;
805
+ }
806
+ heading({ tokens: e, depth: t }) {
807
+ return `<h${t}>${this.parser.parseInline(e)}</h${t}>\n`;
808
+ }
809
+ hr(e) {
810
+ return "<hr>\n";
811
+ }
812
+ list(e) {
813
+ let t = e.ordered, n = e.start, r = "";
814
+ for (let t = 0; t < e.items.length; t++) {
815
+ let n = e.items[t];
816
+ r += this.listitem(n);
817
+ }
818
+ let i = t ? "ol" : "ul", a = t && n !== 1 ? " start=\"" + n + "\"" : "";
819
+ return "<" + i + a + ">\n" + r + "</" + i + ">\n";
820
+ }
821
+ listitem(e) {
822
+ let t = "";
823
+ if (e.task) {
824
+ let n = this.checkbox({ checked: !!e.checked });
825
+ e.loose ? e.tokens.length > 0 && e.tokens[0].type === "paragraph" ? (e.tokens[0].text = n + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = n + " " + e.tokens[0].tokens[0].text)) : e.tokens.unshift({
826
+ type: "text",
827
+ raw: n + " ",
828
+ text: n + " "
829
+ }) : t += n + " ";
830
+ }
831
+ return t += this.parser.parse(e.tokens, !!e.loose), `<li>${t}</li>\n`;
832
+ }
833
+ checkbox({ checked: e }) {
834
+ return "<input " + (e ? "checked=\"\" " : "") + "disabled=\"\" type=\"checkbox\">";
835
+ }
836
+ paragraph({ tokens: e }) {
837
+ return `<p>${this.parser.parseInline(e)}</p>\n`;
838
+ }
839
+ table(e) {
840
+ let t = "", n = "";
841
+ for (let t = 0; t < e.header.length; t++) n += this.tablecell(e.header[t]);
842
+ t += this.tablerow({ text: n });
843
+ let r = "";
844
+ for (let t = 0; t < e.rows.length; t++) {
845
+ let i = e.rows[t];
846
+ n = "";
847
+ for (let e = 0; e < i.length; e++) n += this.tablecell(i[e]);
848
+ r += this.tablerow({ text: n });
849
+ }
850
+ return r &&= `<tbody>${r}</tbody>`, "<table>\n<thead>\n" + t + "</thead>\n" + r + "</table>\n";
851
+ }
852
+ tablerow({ text: e }) {
853
+ return `<tr>\n${e}</tr>\n`;
854
+ }
855
+ tablecell(e) {
856
+ let t = this.parser.parseInline(e.tokens), n = e.header ? "th" : "td";
857
+ return (e.align ? `<${n} align="${e.align}">` : `<${n}>`) + t + `</${n}>\n`;
858
+ }
859
+ strong({ tokens: e }) {
860
+ return `<strong>${this.parser.parseInline(e)}</strong>`;
861
+ }
862
+ em({ tokens: e }) {
863
+ return `<em>${this.parser.parseInline(e)}</em>`;
864
+ }
865
+ codespan({ text: e }) {
866
+ return `<code>${e}</code>`;
867
+ }
868
+ br(e) {
869
+ return "<br>";
870
+ }
871
+ del({ tokens: e }) {
872
+ return `<del>${this.parser.parseInline(e)}</del>`;
873
+ }
874
+ link({ href: e, title: t, tokens: n }) {
875
+ let r = this.parser.parseInline(n), i = m(e);
876
+ if (i === null) return r;
877
+ e = i;
878
+ let a = "<a href=\"" + e + "\"";
879
+ return t && (a += " title=\"" + t + "\""), a += ">" + r + "</a>", a;
880
+ }
881
+ image({ href: e, title: t, text: n }) {
882
+ let r = m(e);
883
+ if (r === null) return n;
884
+ e = r;
885
+ let i = `<img src="${e}" alt="${n}"`;
886
+ return t && (i += ` title="${t}"`), i += ">", i;
887
+ }
888
+ text(e) {
889
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : e.text;
890
+ }
891
+ }, J = class {
892
+ strong({ text: e }) {
893
+ return e;
894
+ }
895
+ em({ text: e }) {
896
+ return e;
897
+ }
898
+ codespan({ text: e }) {
899
+ return e;
900
+ }
901
+ del({ text: e }) {
902
+ return e;
903
+ }
904
+ html({ text: e }) {
905
+ return e;
906
+ }
907
+ text({ text: e }) {
908
+ return e;
909
+ }
910
+ link({ text: e }) {
911
+ return "" + e;
912
+ }
913
+ image({ text: e }) {
914
+ return "" + e;
915
+ }
916
+ br() {
917
+ return "";
918
+ }
919
+ }, Y = class e {
920
+ options;
921
+ renderer;
922
+ textRenderer;
923
+ constructor(e) {
924
+ this.options = e || t, this.options.renderer = this.options.renderer || new q(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new J();
925
+ }
926
+ static parse(t, n) {
927
+ return new e(n).parse(t);
928
+ }
929
+ static parseInline(t, n) {
930
+ return new e(n).parseInline(t);
931
+ }
932
+ parse(e, t = !0) {
933
+ let n = "";
934
+ for (let r = 0; r < e.length; r++) {
935
+ let i = e[r];
936
+ if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[i.type]) {
937
+ let e = i, t = this.options.extensions.renderers[e.type].call({ parser: this }, e);
938
+ if (t !== !1 || ![
939
+ "space",
940
+ "hr",
941
+ "heading",
942
+ "code",
943
+ "table",
944
+ "blockquote",
945
+ "list",
946
+ "html",
947
+ "paragraph",
948
+ "text"
949
+ ].includes(e.type)) {
950
+ n += t || "";
951
+ continue;
952
+ }
953
+ }
954
+ let a = i;
955
+ switch (a.type) {
956
+ case "space":
957
+ n += this.renderer.space(a);
958
+ continue;
959
+ case "hr":
960
+ n += this.renderer.hr(a);
961
+ continue;
962
+ case "heading":
963
+ n += this.renderer.heading(a);
964
+ continue;
965
+ case "code":
966
+ n += this.renderer.code(a);
967
+ continue;
968
+ case "table":
969
+ n += this.renderer.table(a);
970
+ continue;
971
+ case "blockquote":
972
+ n += this.renderer.blockquote(a);
973
+ continue;
974
+ case "list":
975
+ n += this.renderer.list(a);
976
+ continue;
977
+ case "html":
978
+ n += this.renderer.html(a);
979
+ continue;
980
+ case "paragraph":
981
+ n += this.renderer.paragraph(a);
982
+ continue;
983
+ case "text": {
984
+ let i = a, o = this.renderer.text(i);
985
+ for (; r + 1 < e.length && e[r + 1].type === "text";) i = e[++r], o += "\n" + this.renderer.text(i);
986
+ t ? n += this.renderer.paragraph({
987
+ type: "paragraph",
988
+ raw: o,
989
+ text: o,
990
+ tokens: [{
991
+ type: "text",
992
+ raw: o,
993
+ text: o
994
+ }]
995
+ }) : n += o;
996
+ continue;
997
+ }
998
+ default: {
999
+ let e = "Token with \"" + a.type + "\" type was not found.";
1000
+ if (this.options.silent) return console.error(e), "";
1001
+ throw Error(e);
1002
+ }
1003
+ }
1004
+ }
1005
+ return n;
1006
+ }
1007
+ parseInline(e, t) {
1008
+ t ||= this.renderer;
1009
+ let n = "";
1010
+ for (let r = 0; r < e.length; r++) {
1011
+ let i = e[r];
1012
+ if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[i.type]) {
1013
+ let e = this.options.extensions.renderers[i.type].call({ parser: this }, i);
1014
+ if (e !== !1 || ![
1015
+ "escape",
1016
+ "html",
1017
+ "link",
1018
+ "image",
1019
+ "strong",
1020
+ "em",
1021
+ "codespan",
1022
+ "br",
1023
+ "del",
1024
+ "text"
1025
+ ].includes(i.type)) {
1026
+ n += e || "";
1027
+ continue;
1028
+ }
1029
+ }
1030
+ let a = i;
1031
+ switch (a.type) {
1032
+ case "escape":
1033
+ n += t.text(a);
1034
+ break;
1035
+ case "html":
1036
+ n += t.html(a);
1037
+ break;
1038
+ case "link":
1039
+ n += t.link(a);
1040
+ break;
1041
+ case "image":
1042
+ n += t.image(a);
1043
+ break;
1044
+ case "strong":
1045
+ n += t.strong(a);
1046
+ break;
1047
+ case "em":
1048
+ n += t.em(a);
1049
+ break;
1050
+ case "codespan":
1051
+ n += t.codespan(a);
1052
+ break;
1053
+ case "br":
1054
+ n += t.br(a);
1055
+ break;
1056
+ case "del":
1057
+ n += t.del(a);
1058
+ break;
1059
+ case "text":
1060
+ n += t.text(a);
1061
+ break;
1062
+ default: {
1063
+ let e = "Token with \"" + a.type + "\" type was not found.";
1064
+ if (this.options.silent) return console.error(e), "";
1065
+ throw Error(e);
1066
+ }
1067
+ }
1068
+ }
1069
+ return n;
1070
+ }
1071
+ }, X = class {
1072
+ options;
1073
+ constructor(e) {
1074
+ this.options = e || t;
1075
+ }
1076
+ static passThroughHooks = new Set([
1077
+ "preprocess",
1078
+ "postprocess",
1079
+ "processAllTokens"
1080
+ ]);
1081
+ preprocess(e) {
1082
+ return e;
1083
+ }
1084
+ postprocess(e) {
1085
+ return e;
1086
+ }
1087
+ processAllTokens(e) {
1088
+ return e;
1089
+ }
1090
+ }, Z = class {
1091
+ defaults = e();
1092
+ options = this.setOptions;
1093
+ parse = this.#t(K.lex, Y.parse);
1094
+ parseInline = this.#t(K.lexInline, Y.parseInline);
1095
+ Parser = Y;
1096
+ Renderer = q;
1097
+ TextRenderer = J;
1098
+ Lexer = K;
1099
+ Tokenizer = y;
1100
+ Hooks = X;
1101
+ constructor(...e) {
1102
+ this.use(...e);
1103
+ }
1104
+ walkTokens(e, t) {
1105
+ let n = [];
1106
+ for (let r of e) switch (n = n.concat(t.call(this, r)), r.type) {
1107
+ case "table": {
1108
+ let e = r;
1109
+ for (let r of e.header) n = n.concat(this.walkTokens(r.tokens, t));
1110
+ for (let r of e.rows) for (let e of r) n = n.concat(this.walkTokens(e.tokens, t));
1111
+ break;
1112
+ }
1113
+ case "list": {
1114
+ let e = r;
1115
+ n = n.concat(this.walkTokens(e.items, t));
1116
+ break;
1117
+ }
1118
+ default: {
1119
+ let e = r;
1120
+ this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((r) => {
1121
+ let i = e[r].flat(Infinity);
1122
+ n = n.concat(this.walkTokens(i, t));
1123
+ }) : e.tokens && (n = n.concat(this.walkTokens(e.tokens, t)));
1124
+ }
1125
+ }
1126
+ return n;
1127
+ }
1128
+ use(...e) {
1129
+ let t = this.defaults.extensions || {
1130
+ renderers: {},
1131
+ childTokens: {}
1132
+ };
1133
+ return e.forEach((e) => {
1134
+ let n = { ...e };
1135
+ if (n.async = this.defaults.async || n.async || !1, e.extensions && (e.extensions.forEach((e) => {
1136
+ if (!e.name) throw Error("extension name required");
1137
+ if ("renderer" in e) {
1138
+ let n = t.renderers[e.name];
1139
+ n ? t.renderers[e.name] = function(...t) {
1140
+ let r = e.renderer.apply(this, t);
1141
+ return r === !1 && (r = n.apply(this, t)), r;
1142
+ } : t.renderers[e.name] = e.renderer;
1143
+ }
1144
+ if ("tokenizer" in e) {
1145
+ if (!e.level || e.level !== "block" && e.level !== "inline") throw Error("extension level must be 'block' or 'inline'");
1146
+ let n = t[e.level];
1147
+ n ? n.unshift(e.tokenizer) : t[e.level] = [e.tokenizer], e.start && (e.level === "block" ? t.startBlock ? t.startBlock.push(e.start) : t.startBlock = [e.start] : e.level === "inline" && (t.startInline ? t.startInline.push(e.start) : t.startInline = [e.start]));
1148
+ }
1149
+ "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
1150
+ }), n.extensions = t), e.renderer) {
1151
+ let t = this.defaults.renderer || new q(this.defaults);
1152
+ for (let n in e.renderer) {
1153
+ if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
1154
+ if (["options", "parser"].includes(n)) continue;
1155
+ let r = n, i = e.renderer[r], a = t[r];
1156
+ t[r] = (...n) => {
1157
+ e.useNewRenderer || (i = this.#e(i, r, t));
1158
+ let o = i.apply(t, n);
1159
+ return o === !1 && (o = a.apply(t, n)), o || "";
1160
+ };
1161
+ }
1162
+ n.renderer = t;
1163
+ }
1164
+ if (e.tokenizer) {
1165
+ let t = this.defaults.tokenizer || new y(this.defaults);
1166
+ for (let n in e.tokenizer) {
1167
+ if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
1168
+ if ([
1169
+ "options",
1170
+ "rules",
1171
+ "lexer"
1172
+ ].includes(n)) continue;
1173
+ let r = n, i = e.tokenizer[r], a = t[r];
1174
+ t[r] = (...e) => {
1175
+ let n = i.apply(t, e);
1176
+ return n === !1 && (n = a.apply(t, e)), n;
1177
+ };
1178
+ }
1179
+ n.tokenizer = t;
1180
+ }
1181
+ if (e.hooks) {
1182
+ let t = this.defaults.hooks || new X();
1183
+ for (let n in e.hooks) {
1184
+ if (!(n in t)) throw Error(`hook '${n}' does not exist`);
1185
+ if (n === "options") continue;
1186
+ let r = n, i = e.hooks[r], a = t[r];
1187
+ X.passThroughHooks.has(n) ? t[r] = (e) => {
1188
+ if (this.defaults.async) return Promise.resolve(i.call(t, e)).then((e) => a.call(t, e));
1189
+ let n = i.call(t, e);
1190
+ return a.call(t, n);
1191
+ } : t[r] = (...e) => {
1192
+ let n = i.apply(t, e);
1193
+ return n === !1 && (n = a.apply(t, e)), n;
1194
+ };
1195
+ }
1196
+ n.hooks = t;
1197
+ }
1198
+ if (e.walkTokens) {
1199
+ let t = this.defaults.walkTokens, r = e.walkTokens;
1200
+ n.walkTokens = function(e) {
1201
+ let n = [];
1202
+ return n.push(r.call(this, e)), t && (n = n.concat(t.call(this, e))), n;
1203
+ };
1204
+ }
1205
+ this.defaults = {
1206
+ ...this.defaults,
1207
+ ...n
1208
+ };
1209
+ }), this;
1210
+ }
1211
+ #e(e, t, n) {
1212
+ switch (t) {
1213
+ case "heading": return function(r) {
1214
+ return !r.type || r.type !== t ? e.apply(this, arguments) : e.call(this, n.parser.parseInline(r.tokens), r.depth, d(n.parser.parseInline(r.tokens, n.parser.textRenderer)));
1215
+ };
1216
+ case "code": return function(n) {
1217
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, n.text, n.lang, !!n.escaped);
1218
+ };
1219
+ case "table": return function(n) {
1220
+ if (!n.type || n.type !== t) return e.apply(this, arguments);
1221
+ let r = "", i = "";
1222
+ for (let e = 0; e < n.header.length; e++) i += this.tablecell({
1223
+ text: n.header[e].text,
1224
+ tokens: n.header[e].tokens,
1225
+ header: !0,
1226
+ align: n.align[e]
1227
+ });
1228
+ r += this.tablerow({ text: i });
1229
+ let a = "";
1230
+ for (let e = 0; e < n.rows.length; e++) {
1231
+ let t = n.rows[e];
1232
+ i = "";
1233
+ for (let e = 0; e < t.length; e++) i += this.tablecell({
1234
+ text: t[e].text,
1235
+ tokens: t[e].tokens,
1236
+ header: !1,
1237
+ align: n.align[e]
1238
+ });
1239
+ a += this.tablerow({ text: i });
1240
+ }
1241
+ return e.call(this, r, a);
1242
+ };
1243
+ case "blockquote": return function(n) {
1244
+ if (!n.type || n.type !== t) return e.apply(this, arguments);
1245
+ let r = this.parser.parse(n.tokens);
1246
+ return e.call(this, r);
1247
+ };
1248
+ case "list": return function(n) {
1249
+ if (!n.type || n.type !== t) return e.apply(this, arguments);
1250
+ let r = n.ordered, i = n.start, a = n.loose, o = "";
1251
+ for (let e = 0; e < n.items.length; e++) {
1252
+ let t = n.items[e], r = t.checked, i = t.task, s = "";
1253
+ if (t.task) {
1254
+ let e = this.checkbox({ checked: !!r });
1255
+ a ? t.tokens.length > 0 && t.tokens[0].type === "paragraph" ? (t.tokens[0].text = e + " " + t.tokens[0].text, t.tokens[0].tokens && t.tokens[0].tokens.length > 0 && t.tokens[0].tokens[0].type === "text" && (t.tokens[0].tokens[0].text = e + " " + t.tokens[0].tokens[0].text)) : t.tokens.unshift({
1256
+ type: "text",
1257
+ text: e + " "
1258
+ }) : s += e + " ";
1259
+ }
1260
+ s += this.parser.parse(t.tokens, a), o += this.listitem({
1261
+ type: "list_item",
1262
+ raw: s,
1263
+ text: s,
1264
+ task: i,
1265
+ checked: !!r,
1266
+ loose: a,
1267
+ tokens: t.tokens
1268
+ });
1269
+ }
1270
+ return e.call(this, o, r, i);
1271
+ };
1272
+ case "html": return function(n) {
1273
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, n.text, n.block);
1274
+ };
1275
+ case "paragraph": return function(n) {
1276
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, this.parser.parseInline(n.tokens));
1277
+ };
1278
+ case "escape": return function(n) {
1279
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, n.text);
1280
+ };
1281
+ case "link": return function(n) {
1282
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, n.href, n.title, this.parser.parseInline(n.tokens));
1283
+ };
1284
+ case "image": return function(n) {
1285
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, n.href, n.title, n.text);
1286
+ };
1287
+ case "strong": return function(n) {
1288
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, this.parser.parseInline(n.tokens));
1289
+ };
1290
+ case "em": return function(n) {
1291
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, this.parser.parseInline(n.tokens));
1292
+ };
1293
+ case "codespan": return function(n) {
1294
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, n.text);
1295
+ };
1296
+ case "del": return function(n) {
1297
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, this.parser.parseInline(n.tokens));
1298
+ };
1299
+ case "text": return function(n) {
1300
+ return !n.type || n.type !== t ? e.apply(this, arguments) : e.call(this, n.text);
1301
+ };
1302
+ }
1303
+ return e;
1304
+ }
1305
+ setOptions(e) {
1306
+ return this.defaults = {
1307
+ ...this.defaults,
1308
+ ...e
1309
+ }, this;
1310
+ }
1311
+ lexer(e, t) {
1312
+ return K.lex(e, t ?? this.defaults);
1313
+ }
1314
+ parser(e, t) {
1315
+ return Y.parse(e, t ?? this.defaults);
1316
+ }
1317
+ #t(e, t) {
1318
+ return (n, r) => {
1319
+ let i = { ...r }, a = {
1320
+ ...this.defaults,
1321
+ ...i
1322
+ };
1323
+ this.defaults.async === !0 && i.async === !1 && (a.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), a.async = !0);
1324
+ let o = this.#n(!!a.silent, !!a.async);
1325
+ if (n == null) return o(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1326
+ if (typeof n != "string") return o(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
1327
+ if (a.hooks && (a.hooks.options = a), a.async) return Promise.resolve(a.hooks ? a.hooks.preprocess(n) : n).then((t) => e(t, a)).then((e) => a.hooks ? a.hooks.processAllTokens(e) : e).then((e) => a.walkTokens ? Promise.all(this.walkTokens(e, a.walkTokens)).then(() => e) : e).then((e) => t(e, a)).then((e) => a.hooks ? a.hooks.postprocess(e) : e).catch(o);
1328
+ try {
1329
+ a.hooks && (n = a.hooks.preprocess(n));
1330
+ let r = e(n, a);
1331
+ a.hooks && (r = a.hooks.processAllTokens(r)), a.walkTokens && this.walkTokens(r, a.walkTokens);
1332
+ let i = t(r, a);
1333
+ return a.hooks && (i = a.hooks.postprocess(i)), i;
1334
+ } catch (e) {
1335
+ return o(e);
1336
+ }
1337
+ };
1338
+ }
1339
+ #n(e, t) {
1340
+ return (n) => {
1341
+ if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1342
+ let e = "<p>An error occurred:</p><pre>" + l(n.message + "", !0) + "</pre>";
1343
+ return t ? Promise.resolve(e) : e;
1344
+ }
1345
+ if (t) return Promise.reject(n);
1346
+ throw n;
1347
+ };
1348
+ }
1349
+ }, Q = new Z();
1350
+ function $(e, t) {
1351
+ return Q.parse(e, t);
1352
+ }
1353
+ $.options = $.setOptions = function(e) {
1354
+ return Q.setOptions(e), $.defaults = Q.defaults, n($.defaults), $;
1355
+ }, $.getDefaults = e, $.defaults = t, $.use = function(...e) {
1356
+ return Q.use(...e), $.defaults = Q.defaults, n($.defaults), $;
1357
+ }, $.walkTokens = function(e, t) {
1358
+ return Q.walkTokens(e, t);
1359
+ }, $.parseInline = Q.parseInline, $.Parser = Y, $.parser = Y.parse, $.Renderer = q, $.TextRenderer = J, $.Lexer = K, $.lexer = K.lex, $.Tokenizer = y, $.Hooks = X, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, Y.parse;
1360
+ var be = K.lex;
1361
+ //#endregion
1362
+ export { be as n, Z as t };