@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,1461 @@
1
+ import { n as e } from "./chunk-DF993M8W.js";
2
+ import { A as t, E as n, F as r, G as i, W as a, _ as o, lt as s } from "./platform-BzB373NB.js";
3
+ import { $ as c, At as l, Et as u, St as d, at as f, bt as p, wt as m } from "./common-qd_KLeYO.js";
4
+ import { $l as h, Cl as ee, Fo as g, Gl as te, Ht as ne, Kl as _, Mo as re, Po as v, Sn as ie, Ur as ae, Vl as oe, Wo as se, Xf as y, Zl as b, Zo as x, af as S, br as C, f as ce, fa as le, ha as w, hr as ue, i as T, ii as de, ma as fe, mf as pe, ni as me, o as he, p as ge, pf as _e, r as E, u as ve, ul as D, vi as ye, vn as be } from "./legacy-Bqn4Q0Tf.js";
5
+ import { y as xe } from "./text_utils-ohNt_gua.js";
6
+ import { C as Se, In as Ce } from "./common-DjRFwulW.js";
7
+ import { n as we } from "./i18n-DvFMqQdJ.js";
8
+ import { s as Te } from "./text_editor-Dq1P6D2J.js";
9
+ import { t as Ee } from "./acorn-_jSanihy.js";
10
+ import { t as O } from "./objectValue.css-C9o9fdM2.js";
11
+ //#region \0qilin-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/ui/legacy/components/object_ui/customPreviewComponent.css.mjs
12
+ var De = "/*\n * Copyright 2015 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.custom-expandable-section {\n display: inline-flex;\n flex-direction: column;\n}\n\n.custom-expand-icon {\n user-select: none;\n margin-right: 4px;\n margin-bottom: -4px;\n}\n\n.custom-expandable-section-standard-section {\n display: inline-flex;\n}\n\n.custom-expandable-section-default-body {\n padding-left: 12px;\n}\n", Oe = /* @__PURE__ */ e({
13
+ RemoteObjectPreviewFormatter: () => j,
14
+ renderNodeTitle: () => M,
15
+ renderTrustedType: () => Me
16
+ }), { ifDefined: ke, repeat: Ae } = se, k = {
17
+ emptyD: "empty × {PH1}",
18
+ empty: "empty",
19
+ thePropertyIsComputedWithAGetter: "The property is computed with a getter"
20
+ }, je = m("ui/legacy/components/object_ui/RemoteObjectPreviewFormatter.ts", k), A = p.bind(void 0, je), j = class e {
21
+ static objectPropertyComparator(e, t) {
22
+ return n(e) - n(t);
23
+ function n(e) {
24
+ return e.name === "[[PromiseState]]" ? 1 : e.name === "[[PromiseResult]]" ? 2 : e.name === "[[GeneratorState]]" || e.name === "[[PrimitiveValue]]" || e.name === "[[WeakRefTarget]]" ? 3 : e.type !== S.PropertyPreviewType.Function && !e.name.startsWith("#") ? 4 : 5;
25
+ }
26
+ }
27
+ renderObjectPreview(e, t = !0) {
28
+ let n = e.description, r = new Set([
29
+ S.ObjectPreviewSubtype.Arraybuffer,
30
+ S.ObjectPreviewSubtype.Dataview,
31
+ S.ObjectPreviewSubtype.Error,
32
+ S.ObjectPreviewSubtype.Null,
33
+ S.ObjectPreviewSubtype.Regexp,
34
+ S.ObjectPreviewSubtype.Webassemblymemory,
35
+ "internal#entry",
36
+ "trustedtype"
37
+ ]);
38
+ if (e.type !== S.ObjectPreviewType.Object || e.subtype && r.has(e.subtype)) return this.renderPropertyPreview(e.type, e.subtype, void 0, n);
39
+ let i = e.subtype === S.ObjectPreviewSubtype.Array || e.subtype === S.ObjectPreviewSubtype.Typedarray, a = "";
40
+ if (n) if (i) {
41
+ let t = b.arrayLength(e), r = t > 1 ? "(" + t + ")" : "", i = b.arrayNameFromDescription(n);
42
+ a = i === "Array" ? r : i + r;
43
+ } else a = n === "Object" ? "" : n;
44
+ let o = Array.from(e.entries ? this.renderEntries(e) : i ? this.renderArrayProperties(e) : this.renderObjectProperties(e, t)), s = (e) => v`<span class=name>${/^\s|\s$|^$|\n/.test(e) ? "\"" + e.replace(/\n/g, "↵") + "\"" : e}</span>`, c = (e) => v`<span class=object-value-undefined>${e}</span>`, l = (e) => this.renderPropertyPreview(e.type, e.subtype, e.name, e.value), u = (e) => v`${e.key && v`${this.renderPropertyPreview(e.key.type, e.key.subtype, void 0, e.key.description)} => `}
45
+ ${this.renderPropertyPreview(e.value.type, e.value.subtype, void 0, e.value.description)}`;
46
+ return v`${a.length > 0 ? v`<span class=object-description>${a + "\xA0"}</span>` : x}<span class=object-properties-preview>${i ? "[" : "{"}${Ae(o, ({ name: e, entry: t, value: n, placeholder: r }, i) => v`${i > 0 ? ", " : ""}${r === void 0 ? x : c(r)}${e === void 0 ? x : s(e)}${e !== void 0 && n ? ": " : ""}${n ? l(n) : x}${t ? u(t) : x}`)}${e.overflow ? v`<span>${o.length > 0 ? ",\xA0…" : "…"}</span>` : ""}
47
+ ${i ? "]" : "}"}</span>`;
48
+ }
49
+ *renderObjectProperties(t, n) {
50
+ let r = t.properties.filter((e) => e.type !== "accessor").sort(e.objectPropertyComparator);
51
+ for (let e = 0; e < r.length; ++e) {
52
+ let i = r[e], a = i.name;
53
+ if (!(!n && (i.type === "undefined" || i.type === "object" && i.subtype === "null"))) if (t.subtype === S.ObjectPreviewSubtype.Promise && a === "[[PromiseState]]") {
54
+ let t = r.at(e + 1)?.name === "[[PromiseResult]]" ? r.at(e + 1) : void 0;
55
+ t && e++, yield {
56
+ name: "<" + i.value + ">",
57
+ value: i.value === "pending" ? void 0 : t
58
+ };
59
+ } else t.subtype === "generator" && a === "[[GeneratorState]]" ? yield { name: "<" + i.value + ">" } : a === "[[PrimitiveValue]]" ? yield { value: i } : a === "[[WeakRefTarget]]" ? i.type === S.PropertyPreviewType.Undefined ? yield { name: "<cleared>" } : yield { value: i } : yield {
60
+ name: a,
61
+ value: i
62
+ };
63
+ }
64
+ }
65
+ *renderArrayProperties(t) {
66
+ let n = b.arrayLength(t), r = t.properties.filter((e) => o(e.name) !== -1).sort(a), i = t.properties.filter((e) => o(e.name) === -1).sort(e.objectPropertyComparator);
67
+ function a(e, t) {
68
+ return o(e.name) - o(t.name);
69
+ }
70
+ function o(e) {
71
+ let t = Number(e) >>> 0;
72
+ return String(t) === e && t < n ? t : -1;
73
+ }
74
+ let s = !t.overflow, c = [];
75
+ for (let e of r) {
76
+ let t = o(e.name), n = t - (c.at(-1)?.index ?? -1) - 1, r = t !== c.length;
77
+ c.push({
78
+ property: e,
79
+ index: t,
80
+ gap: n,
81
+ hasGaps: r
82
+ });
83
+ }
84
+ let l = n - (c.at(-1)?.index ?? -1) - 1, u = (e) => ({ placeholder: e === 1 ? A(k.empty) : A(k.emptyD, { PH1: e }) });
85
+ for (let { property: e, gap: t, hasGaps: n } of c) s && t > 0 && (yield u(t)), yield {
86
+ name: !s && n ? e.name : void 0,
87
+ value: e
88
+ };
89
+ s && l > 0 && (yield u(l));
90
+ for (let e of i) yield {
91
+ name: e.name,
92
+ value: e
93
+ };
94
+ }
95
+ *renderEntries(e) {
96
+ for (let t of e.entries ?? []) yield { entry: t };
97
+ }
98
+ renderPropertyPreview(e, t, r, a) {
99
+ let o = e === "accessor" ? A(k.thePropertyIsComputedWithAGetter) : e === "object" && !t ? a : void 0;
100
+ return v`<span class='object-value-${t || e}' title=${ke(o)}>${e === "accessor" ? "(...)" : e === "function" ? "ƒ" : e === "object" && t === "trustedtype" && r ? Me(a ?? "", r) : e === "object" && t === "node" && a ? M(a) : e === "string" ? n(a ?? "") : e === "object" && !t ? ((e) => {
101
+ let t = e.split(".");
102
+ for (let e = 0; e < t.length - 1; ++e) t[e] = i(t[e], 3);
103
+ return t.length === 1 && t[0] === "Object" ? "{…}" : t.join(".");
104
+ })(a ?? "") : a}</span>`;
105
+ }
106
+ renderEvaluationResultPreview(e, t) {
107
+ if ("error" in e) return x;
108
+ if (e.exceptionDetails?.exception?.description) {
109
+ let n = e.exceptionDetails.exception.description;
110
+ return n.startsWith("TypeError: ") || t ? v`<span>${e.exceptionDetails.text} ${n}</span>` : x;
111
+ }
112
+ let { preview: n, type: r, subtype: i, className: o, description: s } = e.object;
113
+ return n && r === "object" && i !== "node" && i !== "trustedtype" ? this.renderObjectPreview(n) : this.renderPropertyPreview(r, i, o, a(s || "", 400));
114
+ }
115
+ renderEvaluationResultPreviewFragment(e, t) {
116
+ let n = document.createDocumentFragment();
117
+ return g(this.renderEvaluationResultPreview(e, t), n), n;
118
+ }
119
+ };
120
+ function M(e) {
121
+ let t = e.match(/([^#.]+)(#[^.]+)?(\..*)?/);
122
+ return t ? v`<span class=webkit-html-tag-name>${t[1]}</span>${t[2] && v`<span class=webkit-html-attribute-value>${t[2]}</span>`}${t[3] && v`<span class=webkit-html-attribute-name>${t[3]}</span>`}` : null;
123
+ }
124
+ function Me(e, t) {
125
+ return v`${t} <span class=object-value-string>"${e.replace(/\n/g, "↵")}"</span>`;
126
+ }
127
+ //#endregion
128
+ //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts
129
+ var Ne = /* @__PURE__ */ e({ JavaScriptREPL: () => N }), N = class e {
130
+ static wrapObjectLiteral(e) {
131
+ let t = /^\s*\{\s*(.*)\s*\}[\s;]*$/.exec(e);
132
+ if (t === null) return e;
133
+ let [, n] = t, r = 0;
134
+ for (let t of n) if (t === "{") r++;
135
+ else if (t === "}" && --r < 0) return e;
136
+ let i = (e) => void Ee(e, {
137
+ ecmaVersion: 2022,
138
+ allowAwaitOutsideFunction: !0,
139
+ ranges: !1,
140
+ allowReturnOutsideFunction: !0
141
+ });
142
+ try {
143
+ i("return {" + n + "};");
144
+ let e = "({" + n + "})";
145
+ return i(e), e;
146
+ } catch {
147
+ return e;
148
+ }
149
+ }
150
+ static async evaluate(t, n, r, i, a, o, s = !1, c = !1) {
151
+ let l = t.length > Pe;
152
+ if (!t || r && l) return null;
153
+ let u = t, d = n.debuggerModel.selectedCallFrame();
154
+ if (d?.script.isJavaScript()) {
155
+ let e = await Ce(d);
156
+ try {
157
+ u = await oe().javaScriptSubstitute(u, e);
158
+ } catch {}
159
+ }
160
+ u = e.wrapObjectLiteral(u);
161
+ let f = {
162
+ expression: u,
163
+ generatePreview: !0,
164
+ includeCommandLineAPI: !0,
165
+ throwOnSideEffect: r,
166
+ timeout: a,
167
+ objectGroup: o,
168
+ disableBreaks: !0,
169
+ replMode: i,
170
+ silent: c
171
+ };
172
+ return await n.evaluate(f, !1, s);
173
+ }
174
+ static async evaluateAndBuildPreview(t, n, r, i, a, o, s = !1, c = !1) {
175
+ let l = le.instance().flavor(ee);
176
+ if (!l) return {
177
+ preview: document.createDocumentFragment(),
178
+ result: null
179
+ };
180
+ let u = await e.evaluate(t, l, n, r, i, o, s, c);
181
+ return u ? {
182
+ preview: new j().renderEvaluationResultPreviewFragment(u, a),
183
+ result: u
184
+ } : {
185
+ preview: document.createDocumentFragment(),
186
+ result: null
187
+ };
188
+ }
189
+ }, Pe = 2e3, P = "/*\n * Copyright 2015 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.object-properties-section-dimmed {\n opacity: 60%;\n}\n\n.object-properties-section {\n padding: 0;\n color: var(--sys-color-on-surface);\n display: flex;\n flex-direction: column;\n overflow-x: auto;\n}\n\n.object-properties-section li,\nli.object-properties-section {\n user-select: text;\n\n &::before {\n flex-shrink: 0;\n margin-right: 2px;\n align-self: flex-start;\n }\n}\n\n.object-properties-section li.editing-sub-part {\n padding: 3px 12px 8px 6px;\n margin: -1px -6px -8px;\n text-overflow: clip;\n}\n\n.object-properties-section li.editing {\n margin-left: 10px;\n text-overflow: clip;\n}\n\n.tree-outline ol.title-less-mode {\n padding-left: 0;\n}\n\n.object-properties-section .own-property {\n font-weight: bold;\n}\n\n.object-properties-section .synthetic-property {\n color: var(--sys-color-token-subtle);\n}\n\n.object-properties-section .private-property-hash {\n color: var(--sys-color-on-surface);\n}\n\n.object-properties-section-root-element {\n display: flex;\n flex-direction: row;\n}\n\n.object-properties-section .editable-div {\n overflow: hidden;\n}\n\n.name-and-value {\n line-height: 16px;\n display: flex;\n white-space: nowrap;\n}\n\n.name-and-value .separator {\n white-space: pre;\n flex-shrink: 0;\n}\n\n.editing-sub-part .name-and-value {\n overflow: visible;\n display: inline-flex;\n}\n\n.property-prompt {\n margin-left: 4px;\n}\n\n.tree-outline.hide-selection-when-blurred .selected:focus-visible {\n background: none;\n}\n\n.tree-outline.hide-selection-when-blurred .selected:focus-visible ::slotted(*),\n.tree-outline.hide-selection-when-blurred .selected:focus-visible .tree-element-title,\n.tree-outline.hide-selection-when-blurred .selected:focus-visible .name-and-value,\n.tree-outline.hide-selection-when-blurred .selected:focus-visible .gray-info-message {\n background: var(--sys-color-state-focus-highlight);\n border-radius: 2px;\n}\n\n@media (forced-colors: active) {\n .object-properties-section-dimmed {\n opacity: 100%;\n }\n\n .tree-outline.hide-selection-when-blurred .selected:focus-visible {\n background: Highlight;\n }\n\n .tree-outline li:hover .tree-element-title,\n .tree-outline li.selected .tree-element-title {\n color: ButtonText;\n }\n\n .tree-outline.hide-selection-when-blurred .selected:focus-visible .tree-element-title,\n .tree-outline.hide-selection-when-blurred .selected:focus-visible .name-and-value {\n background: transparent;\n box-shadow: none;\n }\n\n .tree-outline.hide-selection-when-blurred .selected:focus-visible span,\n .tree-outline.hide-selection-when-blurred .selected:focus-visible .gray-info-message {\n color: HighlightText;\n }\n\n .tree-outline-disclosure:hover li.parent::before {\n background-color: ButtonText;\n }\n}\n", Fe = /* @__PURE__ */ e({
190
+ ArrayGroupTreeNode: () => H,
191
+ ArrayGroupingTreeElement: () => X,
192
+ EXPANDABLE_TEXT_DEFAULT_VIEW: () => Qe,
193
+ ExpandableTextPropertyValue: () => Z,
194
+ InitialVisibleChildrenLimit: () => 200,
195
+ OBJECT_PROPERTY_DEFAULT_VIEW: () => Ge,
196
+ ObjectPropertiesMode: () => q,
197
+ ObjectPropertiesSection: () => W,
198
+ ObjectPropertiesSectionsTreeExpandController: () => Ye,
199
+ ObjectPropertiesSectionsTreeOutline: () => K,
200
+ ObjectPropertyTreeElement: () => Y,
201
+ ObjectPropertyWidget: () => Ke,
202
+ ObjectTree: () => V,
203
+ ObjectTreeExpansionTracker: () => He,
204
+ ObjectTreeNode: () => U,
205
+ ObjectTreeNodeBase: () => B,
206
+ Renderer: () => Ze,
207
+ RootElement: () => J,
208
+ getObjectPropertiesSectionFrom: () => Ue,
209
+ objectPropertiesSectionStyles: () => P,
210
+ objectValueStyles: () => O
211
+ }), { widget: F } = de, { ref: Ie, repeat: Le, ifDefined: I, classMap: Re } = se, L = {
212
+ exceptionS: "[Exception: {PH1}]",
213
+ unknown: "unknown",
214
+ expandRecursively: "Expand recursively",
215
+ collapseChildren: "Collapse children",
216
+ noProperties: "No properties",
217
+ dots: "(...)",
218
+ invokePropertyGetter: "Invoke property getter",
219
+ showAllD: "Show all {PH1}",
220
+ valueUnavailable: "<value unavailable>",
221
+ valueNotAccessibleToTheDebugger: "Value is not accessible to the debugger",
222
+ copyValue: "Copy value",
223
+ copyPropertyPath: "Copy property path",
224
+ stringIsTooLargeToEdit: "<string is too large to edit>",
225
+ showMoreS: "Show more ({PH1})",
226
+ longTextWasTruncatedS: "long text was truncated ({PH1})",
227
+ copy: "Copy",
228
+ openInMemoryInpector: "Open in Memory inspector panel"
229
+ }, ze = m("ui/legacy/components/object_ui/ObjectPropertiesSection.ts", L), R = p.bind(void 0, ze), z = 100, Be = /* @__PURE__ */ new WeakMap(), Ve = class e {
230
+ properties = /* @__PURE__ */ new Map();
231
+ internalProperties = /* @__PURE__ */ new Map();
232
+ arrayRanges = /* @__PURE__ */ new Map();
233
+ accessors = /* @__PURE__ */ new Map();
234
+ remove(t) {
235
+ return this[t.type].delete(e.#e(t));
236
+ }
237
+ get(t) {
238
+ return this[t.type].get(e.#e(t));
239
+ }
240
+ getOrInsert(t) {
241
+ let n = this[t.type], r = e.#e(t), i = n.get(r) ?? new e();
242
+ return n.has(r) || n.set(r, i), i;
243
+ }
244
+ clear(e) {
245
+ this[e].clear();
246
+ }
247
+ clearMissing(t, n) {
248
+ let r = new Set(n.map(e.#e)), i = this[t];
249
+ for (let e of i.keys()) r.has(e) || i.delete(e);
250
+ }
251
+ get empty() {
252
+ return this.properties.size === 0 && this.internalProperties.size === 0 && this.arrayRanges.size === 0 && this.accessors.size === 0;
253
+ }
254
+ static #e(e) {
255
+ return typeof e.key == "string" ? `${e.type}:${e.key}` : `${e.type}:${e.key.fromIndex}-${e.key.toIndex}`;
256
+ }
257
+ }, He = class e {
258
+ #e = null;
259
+ static #t(e) {
260
+ if (e instanceof U) return e.parent?.children?.internalProperties?.find((t) => t.name === "[[Prototype]]" && t.children?.properties?.includes(e));
261
+ }
262
+ static #n(t) {
263
+ if (t instanceof U) {
264
+ if (t.parent?.children?.properties?.includes(t)) return "properties";
265
+ if (t.parent?.children?.internalProperties?.includes(t)) return "internalProperties";
266
+ if (t.parent?.children?.accessors?.includes(t)) return "accessors";
267
+ if (e.#t(t)) return "properties";
268
+ }
269
+ return t instanceof H && t.parent?.children?.arrayRanges?.includes(t) ? "arrayRanges" : null;
270
+ }
271
+ static #r(e, t) {
272
+ switch (e) {
273
+ case "arrayRanges": return t instanceof H ? {
274
+ type: e,
275
+ key: t.range
276
+ } : null;
277
+ default: return t instanceof U ? {
278
+ type: e,
279
+ key: t.name
280
+ } : null;
281
+ }
282
+ }
283
+ clear() {
284
+ this.#e = null;
285
+ }
286
+ async #i(t, n) {
287
+ let r = async (r) => {
288
+ let i = n.children?.[r];
289
+ if (!i) {
290
+ t.clear(r);
291
+ return;
292
+ }
293
+ let a = [];
294
+ for (let n of i) {
295
+ let i = e.#r(r, n);
296
+ if (!i) continue;
297
+ let o = t.get(i);
298
+ o && (await this.#i(o, n), a.push(i));
299
+ }
300
+ t.clearMissing(r, a);
301
+ };
302
+ n.expanded = !0, await n.populateChildrenIfNeeded(), await r("properties"), await r("internalProperties"), await r("arrayRanges"), await r("accessors");
303
+ }
304
+ async apply(e) {
305
+ if (this.#e) return await this.#i(this.#e, e);
306
+ }
307
+ static *#a(t) {
308
+ if (!t) return;
309
+ let n = e.#t(t);
310
+ n ? yield* this.#a(n) : yield* this.#a(t.parent);
311
+ let r = this.#n(t), i = r && e.#r(r, t);
312
+ i && (yield i);
313
+ }
314
+ collapse(t) {
315
+ if (!this.#e) return;
316
+ if (t instanceof V) {
317
+ this.#e = null;
318
+ return;
319
+ }
320
+ let n, r = null, i = this.#e;
321
+ for (let a of e.#a(t)) {
322
+ n = a, r = i;
323
+ let e = i.get(a);
324
+ if (!e) return;
325
+ i = e;
326
+ }
327
+ n && r && r.remove(n);
328
+ }
329
+ expand(t) {
330
+ this.#e ||= new Ve();
331
+ let n = this.#e;
332
+ for (let r of e.#a(t)) n = n.getOrInsert(r);
333
+ }
334
+ }, B = class e extends l {
335
+ parent;
336
+ options;
337
+ #e;
338
+ filter = null;
339
+ extraProperties = [];
340
+ #t = !1;
341
+ constructor(e, t) {
342
+ super(), this.parent = e, this.options = t, this.filter = e?.filter ?? null;
343
+ }
344
+ get expanded() {
345
+ return this.#t;
346
+ }
347
+ set expanded(e) {
348
+ e ? this.options.expansionTracker?.expand(this) : this.options.expansionTracker?.collapse(this), this.#t = e;
349
+ }
350
+ get readOnly() {
351
+ return this.options.readOnly;
352
+ }
353
+ get propertiesMode() {
354
+ return this.options.propertiesMode;
355
+ }
356
+ get includeNullOrUndefinedValues() {
357
+ return this.filter?.includeNullOrUndefinedValues ?? !0;
358
+ }
359
+ set includeNullOrUndefinedValues(e) {
360
+ this.setFilter({
361
+ includeNullOrUndefinedValues: e,
362
+ regex: this.filter?.regex ?? null
363
+ });
364
+ }
365
+ *#n(e = -1) {
366
+ function* t(t) {
367
+ if (t) for (let n of t) yield* n.#n(Math.max(-1, e - 1));
368
+ }
369
+ yield this, e !== 0 && (yield* t(this.#e?.properties), yield* t(this.#e?.arrayRanges), yield* t(this.#e?.internalProperties));
370
+ }
371
+ async expandRecursively(e) {
372
+ for (let t of this.#n(e)) await t.populateChildrenIfNeeded(), t.expanded = !0;
373
+ }
374
+ collapseRecursively() {
375
+ for (let e of this.#n()) e.expanded = !1;
376
+ }
377
+ setFilter(t) {
378
+ this.filter = t, this.dispatchEventToListeners(e.Events.FILTER_CHANGED), this.#n().forEach((n) => {
379
+ n.filter = t, n.dispatchEventToListeners(e.Events.FILTER_CHANGED);
380
+ });
381
+ }
382
+ removeChildren() {
383
+ this.#e = void 0, this.dispatchEventToListeners(e.Events.CHILDREN_CHANGED);
384
+ }
385
+ removeChild(t) {
386
+ n(this.#e?.arrayRanges, t), n(this.#e?.internalProperties, t), n(this.#e?.properties, t), this.dispatchEventToListeners(e.Events.CHILDREN_CHANGED);
387
+ function n(e, t) {
388
+ if (!e) return;
389
+ let n = e.indexOf(t);
390
+ n >= 0 && e.splice(n, 1);
391
+ }
392
+ }
393
+ selfOrParentIfInternal() {
394
+ return this;
395
+ }
396
+ get children() {
397
+ return this.#e;
398
+ }
399
+ #r;
400
+ async populateChildrenIfNeeded() {
401
+ return this.#e ? this.#e : (this.#r ||= this.populateChildrenIfNeededImpl().then((e) => (this.#e = e, e)).finally(() => {
402
+ this.#r = void 0;
403
+ }), await this.#r);
404
+ }
405
+ async populateChildrenIfNeededImpl() {
406
+ let t = this.object;
407
+ if (!t) return {};
408
+ let n = this.selfOrParentIfInternal();
409
+ if (this.arrayLength > We) {
410
+ let e = (await qe(t, 0, this.arrayLength - 1))?.ranges.map(([e, r, i]) => new H(t, {
411
+ fromIndex: e,
412
+ toIndex: r,
413
+ count: i
414
+ }, n, {
415
+ readOnly: this.readOnly,
416
+ propertiesMode: this.propertiesMode,
417
+ expansionTracker: this.options.expansionTracker
418
+ }));
419
+ if (!e) return {};
420
+ let { properties: r, internalProperties: i } = await b.loadFromObjectPerProto(this.object, !0, !0);
421
+ return {
422
+ arrayRanges: e,
423
+ properties: r?.map((e) => new U(e, n, {
424
+ readOnly: this.readOnly,
425
+ propertiesMode: 1,
426
+ expansionTracker: this.options.expansionTracker
427
+ })),
428
+ internalProperties: i?.map((e) => new U(e, n, {
429
+ readOnly: this.readOnly,
430
+ propertiesMode: 1,
431
+ expansionTracker: this.options.expansionTracker
432
+ }))
433
+ };
434
+ }
435
+ let r = null, i = null;
436
+ switch (this.propertiesMode) {
437
+ case 0:
438
+ ({properties: r} = await t.getAllProperties(!1, !0));
439
+ break;
440
+ case 1:
441
+ ({properties: r, internalProperties: i} = await b.loadFromObjectPerProto(t, !0));
442
+ break;
443
+ }
444
+ let a = r?.map((e) => new U(e, n, {
445
+ readOnly: this.readOnly,
446
+ propertiesMode: 1,
447
+ expansionTracker: this.options.expansionTracker
448
+ }));
449
+ a?.push(...this.extraProperties), a?.sort(W.compareProperties);
450
+ let o = a && e.getGettersAndSetters(a, this.options);
451
+ return {
452
+ properties: a,
453
+ internalProperties: i?.map((e) => new U(e, n, {
454
+ readOnly: this.readOnly,
455
+ propertiesMode: 1,
456
+ expansionTracker: this.options.expansionTracker
457
+ })),
458
+ accessors: o
459
+ };
460
+ }
461
+ get hasChildren() {
462
+ return this.object?.hasChildren ?? !1;
463
+ }
464
+ get arrayLength() {
465
+ return this.object?.arrayLength() ?? 0;
466
+ }
467
+ async setPropertyValue(e, t) {
468
+ return await this.object?.setPropertyValue(e, t);
469
+ }
470
+ addExtraProperties(...e) {
471
+ this.extraProperties.push(...e.map((e) => new U(e, this, {
472
+ readOnly: this.readOnly,
473
+ propertiesMode: 1,
474
+ expansionTracker: this.options.expansionTracker
475
+ })));
476
+ }
477
+ static getGettersAndSetters(e, t) {
478
+ let n = [];
479
+ for (let r of e) if (r.property.isOwn) {
480
+ if (r.property.getter) {
481
+ let e = new h("get " + r.property.name, r.property.getter, !1);
482
+ n.push(new U(e, r.parent, {
483
+ propertiesMode: r.propertiesMode,
484
+ readOnly: r.readOnly,
485
+ expansionTracker: t.expansionTracker
486
+ }));
487
+ }
488
+ if (r.property.setter) {
489
+ let e = new h("set " + r.property.name, r.property.setter, !1);
490
+ n.push(new U(e, r.parent, {
491
+ propertiesMode: r.propertiesMode,
492
+ readOnly: r.readOnly,
493
+ expansionTracker: t.expansionTracker
494
+ }));
495
+ }
496
+ }
497
+ return n;
498
+ }
499
+ };
500
+ (function(e) {
501
+ e.Events = /* @__PURE__ */ function(e) {
502
+ return e.VALUE_CHANGED = "value-changed", e.CHILDREN_CHANGED = "children-changed", e.FILTER_CHANGED = "filter-changed", e;
503
+ }({});
504
+ })(B ||= {});
505
+ var V = class extends B {
506
+ #e;
507
+ constructor(e, t) {
508
+ super(void 0, t), this.#e = e;
509
+ }
510
+ get object() {
511
+ return this.#e;
512
+ }
513
+ }, H = class e extends B {
514
+ #e;
515
+ #t;
516
+ constructor(e, t, n, r) {
517
+ super(n, r), this.#e = e, this.#t = t;
518
+ }
519
+ async populateChildrenIfNeededImpl() {
520
+ if (this.#t.count > X.bucketThreshold) return { arrayRanges: (await qe(this.object, this.#t.fromIndex, this.#t.toIndex))?.ranges.map(([t, n, r]) => new e(this.object, {
521
+ fromIndex: t,
522
+ toIndex: n,
523
+ count: r
524
+ }, this, {
525
+ readOnly: this.readOnly,
526
+ propertiesMode: this.propertiesMode,
527
+ expansionTracker: this.options.expansionTracker
528
+ })) };
529
+ let t = await this.#e.callFunction(Je, [
530
+ { value: this.#t.fromIndex },
531
+ { value: this.#t.toIndex },
532
+ { value: X.sparseIterationThreshold }
533
+ ]);
534
+ if (!t.object || t.wasThrown) return {};
535
+ let n = t.object, r = await n.getAllProperties(!1, !0);
536
+ n.release();
537
+ let i = r.properties?.map((e) => new U(e, this, {
538
+ propertiesMode: this.propertiesMode,
539
+ readOnly: this.readOnly,
540
+ expansionTracker: this.options.expansionTracker
541
+ }));
542
+ return i?.push(...this.extraProperties), i?.sort(W.compareProperties), {
543
+ properties: i,
544
+ accessors: i && B.getGettersAndSetters(i, this.options)
545
+ };
546
+ }
547
+ get singular() {
548
+ return this.#t.fromIndex === this.#t.toIndex;
549
+ }
550
+ get range() {
551
+ return this.#t;
552
+ }
553
+ get object() {
554
+ return this.#e;
555
+ }
556
+ }, U = class e extends B {
557
+ property;
558
+ nonSyntheticParent;
559
+ #e;
560
+ constructor(e, t, n, r) {
561
+ super(t, n), this.property = e, this.nonSyntheticParent = r;
562
+ }
563
+ get object() {
564
+ return this.property.value;
565
+ }
566
+ get isFiltered() {
567
+ return !!(this.filter && !this.property.match(this.filter));
568
+ }
569
+ get name() {
570
+ return this.property.name;
571
+ }
572
+ get path() {
573
+ if (!this.#e) {
574
+ if (this.property.synthetic) return this.#e = this.name, this.name;
575
+ let t = /^(?:[$_\p{ID_Start}])(?:[$_\u200C\u200D\p{ID_Continue}])*$/u, n = /^(?:0|[1-9]\d*)$/, r = this.parent instanceof e && !this.parent.property.synthetic ? this.parent.path : "";
576
+ this.property.private || t.test(this.name) ? this.#e = r ? `${r}.${this.name}` : this.name : n.test(this.name) ? this.#e = `${r}[${this.name}]` : this.#e = `${r}[${JSON.stringify(this.name)}]`;
577
+ }
578
+ return this.#e;
579
+ }
580
+ selfOrParentIfInternal() {
581
+ return this.name === "[[Prototype]]" ? this.parent ?? this : this;
582
+ }
583
+ async setValue(e) {
584
+ let t = b.toCallArgument(this.property.symbol || this.name);
585
+ if (e = N.wrapObjectLiteral(e.trim()), this.property.synthetic) {
586
+ let t = !1;
587
+ e && (t = await this.property.setSyntheticValue(e)), t ? this.parent?.removeChildren() : this.dispatchEventToListeners(B.Events.VALUE_CHANGED);
588
+ return;
589
+ }
590
+ let n = this.parent?.object;
591
+ if (await (e ? n.setPropertyValue(t, e) : n.deleteProperty(t))) {
592
+ this.dispatchEventToListeners(B.Events.VALUE_CHANGED);
593
+ return;
594
+ }
595
+ e ? this.parent?.removeChildren() : this.parent?.removeChild(this);
596
+ }
597
+ async invokeGetter(e) {
598
+ let t = await this.parent?.object?.callFunction("\n function invokeGetter(getter) {\n return Reflect.apply(getter, this, []);\n }", [b.toCallArgument(e)]);
599
+ t?.object && (this.property.value = t.object, this.property.wasThrown = t.wasThrown || !1, this.dispatchEventToListeners(B.Events.VALUE_CHANGED));
600
+ }
601
+ }, Ue = (e) => Be.get(e), W = class e extends he {
602
+ root;
603
+ #e;
604
+ titleElement;
605
+ skipProtoInternal;
606
+ constructor(e, t, n, r, i = !0) {
607
+ super(), this.root = new V(e, {
608
+ readOnly: !i,
609
+ propertiesMode: 1
610
+ }), r || this.setHideOverflow(!0), this.setFocusable(!0), this.setShowSelectionOnKeyboardFocus(!0), this.#e = new J(this.root, n), this.appendChild(this.#e), typeof t == "string" || !t ? (this.titleElement = this.element.createChild("span"), this.titleElement.textContent = t || "") : (this.titleElement = t, this.element.appendChild(t)), this.titleElement instanceof HTMLElement && !this.titleElement.hasAttribute("tabIndex") && (this.titleElement.tabIndex = -1), Be.set(this.element, this), this.registerRequiredCSS(O, P), this.rootElement().childrenListElement.classList.add("source-code", "object-properties-section");
611
+ }
612
+ static defaultObjectPresentation(t, n, r, i) {
613
+ let a = e.defaultObjectPropertiesSection(t, n, r, i);
614
+ return t.hasChildren ? a.element : a.titleElement;
615
+ }
616
+ static defaultObjectPropertiesSection(t, n, r, i) {
617
+ let a = document.createElement("span");
618
+ a.classList.add("source-code");
619
+ let o = be(a, { cssFile: O }), s = e.createPropertyValue(t, !1, !0);
620
+ o.appendChild(s);
621
+ let c = new e(t, a, n, void 0, !i);
622
+ return r && c.skipProto(), c;
623
+ }
624
+ static compareProperties(e, n) {
625
+ if (e instanceof U && (e = e.property), n instanceof U && (n = n.property), !e.synthetic && n.synthetic) return 1;
626
+ if (!n.synthetic && e.synthetic) return -1;
627
+ if (!e.isOwn && n.isOwn) return 1;
628
+ if (!n.isOwn && e.isOwn) return -1;
629
+ if (!e.enumerable && n.enumerable) return 1;
630
+ if (!n.enumerable && e.enumerable) return -1;
631
+ if (e.symbol && !n.symbol) return 1;
632
+ if (n.symbol && !e.symbol) return -1;
633
+ if (e.private && !n.private) return 1;
634
+ if (n.private && !e.private) return -1;
635
+ let r = e.name, i = n.name;
636
+ return r.startsWith("_") && !i.startsWith("_") ? 1 : i.startsWith("_") && !r.startsWith("_") ? -1 : t(r, i);
637
+ }
638
+ static createNameElement(e, t) {
639
+ let n = document.createElement("span");
640
+ if (n.classList.add("name"), e === null) return n;
641
+ if (/^\s|\s$|^$|\n/.test(e)) return n.textContent = `"${e.replace(/\n/g, "↵")}"`, n;
642
+ if (t) {
643
+ let t = document.createElement("span");
644
+ return t.classList.add("private-property-hash"), t.textContent = e[0], n.appendChild(t), n.appendChild(document.createTextNode(e.substring(1))), n;
645
+ }
646
+ return n.textContent = e, n;
647
+ }
648
+ static valueElementForFunctionDescription(e, t, n, r) {
649
+ let { prefix: i, body: o, abbreviation: s } = ((e, t) => {
650
+ let n = e.replace(/^function [gs]et /, "function ").replace(/^function [gs]et\(/, "function(").replace(/^[gs]et /, ""), r = n.match(/^(async\s+function)/), i = n.startsWith("function*"), a = n.startsWith("*"), o = !i && n.startsWith("function"), s = n.startsWith("class ") || n.startsWith("class{"), l = n.indexOf("=>"), u = !r && !i && !o && !s && l > 0;
651
+ if (s) {
652
+ let e = n.substring(5), r = /^[^{\s]+/.exec(e.trim()), i = t;
653
+ return r && (i = r[0].trim() || t), {
654
+ prefix: "class",
655
+ body: e,
656
+ abbreviation: i
657
+ };
658
+ }
659
+ if (r) {
660
+ let e = n.substring(r[1].length);
661
+ return {
662
+ prefix: "async ƒ",
663
+ body: e,
664
+ abbreviation: c(e)
665
+ };
666
+ }
667
+ if (i) {
668
+ let e = n.substring(9);
669
+ return {
670
+ prefix: "ƒ*",
671
+ body: e,
672
+ abbreviation: c(e)
673
+ };
674
+ }
675
+ if (a) {
676
+ let e = n.substring(1);
677
+ return {
678
+ prefix: "ƒ*",
679
+ body: e,
680
+ abbreviation: c(e)
681
+ };
682
+ }
683
+ if (o) {
684
+ let e = n.substring(8);
685
+ return {
686
+ prefix: "ƒ",
687
+ body: e,
688
+ abbreviation: c(e)
689
+ };
690
+ }
691
+ if (u) {
692
+ let e = n;
693
+ return t ? e = t + "()" : n.length > 60 && (e = n.substring(0, l + 2) + " {…}"), {
694
+ prefix: "",
695
+ body: n,
696
+ abbreviation: e
697
+ };
698
+ }
699
+ return {
700
+ prefix: "ƒ",
701
+ body: n,
702
+ abbreviation: c(n)
703
+ };
704
+ })(e ?? "", n ?? "");
705
+ return v`<span
706
+ class="object-value-function ${r ?? ""}"
707
+ title=${a(e ?? "", 500)}>${i && v`<span class=object-value-function-prefix>${i} </span>`}${t ? a(o.trim(), 200) : s.replace(/\n/g, " ")}</span>`;
708
+ function c(e) {
709
+ let t = e.indexOf("("), r = e.match(/\)\s*{/);
710
+ return t !== -1 && r?.index !== void 0 && r.index > t ? (e.substring(0, t).trim() || (n ?? "")) + e.substring(t, r.index + 1) : n + "()";
711
+ }
712
+ }
713
+ static createPropertyValueWithCustomSupport(t, n, r, i, a, o, s) {
714
+ if (t.customPreview()) {
715
+ let e = new Q(t).element;
716
+ return e.classList.add("object-properties-section-custom-section"), e;
717
+ }
718
+ return e.createPropertyValue(t, n, r, i, a, o, s);
719
+ }
720
+ static getMemoryIcon(e, t) {
721
+ return e.isLinearMemoryInspectable() ? v`<devtools-icon
722
+ name=memory
723
+ style="width: var(--sys-size-8); height: 13px; vertical-align: sub; cursor: pointer;"
724
+ @click=${(n) => {
725
+ n.consume(), f(new te(e, t));
726
+ }}
727
+ jslog=${w("open-memory-inspector").track({ click: !0 })}
728
+ title=${R(L.openInMemoryInpector)}
729
+ aria-label=${R(L.openInMemoryInpector)}></devtools-icon>` : x;
730
+ }
731
+ static appendMemoryIcon(t, n, r) {
732
+ let i = document.createDocumentFragment();
733
+ g(e.getMemoryIcon(n, r), i), t.appendChild(i);
734
+ }
735
+ static createPropertyValue(t, n, r, i, a = !1, o, s) {
736
+ let c = document.createDocumentFragment(), l = t.type, u = t.subtype, d = t.description || "", p = t.className, m = () => {
737
+ if (l === "object" && u === "internal#location") {
738
+ let e = t.debuggerModel().createRawLocationByScriptId(t.value.scriptId, t.value.lineNumber, t.value.columnNumber);
739
+ return e && i ? v`${i.linkifyRawLocation(e, "", "value")}` : v`<span class=value title=${d}>${"<" + R(L.unknown) + ">"}</span>`;
740
+ }
741
+ if (l === "string" && typeof d == "string") {
742
+ let e = JSON.stringify(d), t = d.length > G;
743
+ return v`<span class="value object-value-string" title=${I(t ? void 0 : d)}>${t ? F(Z, { text: e }) : e}</span>`;
744
+ }
745
+ if (l === "object" && u === "trustedtype") {
746
+ let e = `${p} '${d}'`, t = e.length > G;
747
+ return v`<span class="value object-value-trustedtype" title=${I(t ? void 0 : e)}>${t ? F(Z, { text: e }) : v`${p} <span class=object-value-string title=${d}>${JSON.stringify(d)}</span>`}</span>`;
748
+ }
749
+ if (l === "function") return e.valueElementForFunctionDescription(d, void 0, void 0, "value");
750
+ if (l === "object" && u === "node" && d) return v`<span class="value object-value-node"
751
+ @click=${(e) => {
752
+ f(t), e.consume(!0);
753
+ }}
754
+ @mousemove=${() => D.highlightObjectAsDOMNode(t)}
755
+ @mouseleave=${() => D.hideDOMNodeHighlight()}
756
+ >${M(d)}</span>`;
757
+ if (d.length > G) return v`<span class="value object-value-${u || l}" title=${d}>
758
+ ${F(Z, { text: d })}
759
+ </span>`;
760
+ let n = t.preview && r;
761
+ return v`<span class="value object-value-${u || l}" title=${d}>${n ? new j().renderObjectPreview(t.preview, s) : d}${a ? x : this.getMemoryIcon(t, o)}</span>`;
762
+ };
763
+ g(n ? v`<span class="error value">${we(ze, L.exceptionS, { PH1: m() })}</span>` : m(), c);
764
+ let h = c.firstElementChild;
765
+ if (!(h instanceof HTMLElement)) throw Error("Expected an HTML element");
766
+ return h;
767
+ }
768
+ static formatObjectAsFunction(t, n, r, i) {
769
+ return t.debuggerModel().functionDetailsPromise(t).then(a);
770
+ function a(a) {
771
+ r && a?.location && (n.classList.add("linkified"), n.addEventListener("click", () => (f(a.location), !1)));
772
+ let o = i ? "" : "anonymous";
773
+ a?.functionName && (o = a.functionName);
774
+ let s = document.createDocumentFragment();
775
+ g(e.valueElementForFunctionDescription(t.description, i, o), s), n.appendChild(s);
776
+ }
777
+ }
778
+ static isDisplayableProperty(e, t) {
779
+ if (!t?.synthetic) return !0;
780
+ let n = e.name;
781
+ return !(t.name === "[[Entries]]" && (n === "length" || n === "__proto__"));
782
+ }
783
+ skipProto() {
784
+ this.skipProtoInternal = !0;
785
+ }
786
+ expand() {
787
+ this.#e.expand();
788
+ }
789
+ objectTreeElement() {
790
+ return this.#e;
791
+ }
792
+ enableContextMenu() {
793
+ this.element.addEventListener("contextmenu", this.contextMenuEventFired.bind(this), !1);
794
+ }
795
+ contextMenuEventFired(e) {
796
+ let t = new C(e);
797
+ t.appendApplicableItems(this.root), this.root.object instanceof _ && (t.viewSection().appendItem(R(L.expandRecursively), this.#e.expandRecursively.bind(this.#e, z), { jslogContext: "expand-recursively" }), t.viewSection().appendItem(R(L.collapseChildren), this.#e.collapseChildren.bind(this.#e), { jslogContext: "collapse-children" })), t.show();
798
+ }
799
+ titleLessMode() {
800
+ this.#e.listItemElement.classList.add("hidden"), this.#e.childrenListElement.classList.add("title-less-mode"), this.#e.expand();
801
+ }
802
+ }, We = 100, G = 1e4, K = class extends he {
803
+ constructor() {
804
+ super(), this.registerRequiredCSS(O, P), this.contentElement.classList.add("source-code"), this.contentElement.classList.add("object-properties-section");
805
+ }
806
+ }, q = /* @__PURE__ */ function(e) {
807
+ return e[e.ALL = 0] = "ALL", e[e.OWN_AND_INTERNAL_AND_INHERITED = 1] = "OWN_AND_INTERNAL_AND_INHERITED", e;
808
+ }({}), J = class extends T {
809
+ object;
810
+ linkifier;
811
+ emptyPlaceholder;
812
+ toggleOnClick;
813
+ constructor(e, t, n) {
814
+ let r = document.createElement("slot");
815
+ super(r), this.object = e, this.object.addEventListener(B.Events.CHILDREN_CHANGED, this.onpopulate, this), this.linkifier = t, this.emptyPlaceholder = n, this.setExpandable(!0), this.selectable = !0, this.toggleOnClick = !0, this.listItemElement.classList.add("object-properties-section-root-element"), this.listItemElement.addEventListener("contextmenu", this.onContextMenu.bind(this), !1), e.expanded && this.expand();
816
+ }
817
+ onexpand() {
818
+ this.object.expanded = !0, this.treeOutline && this.treeOutline.element.classList.add("expanded");
819
+ }
820
+ oncollapse() {
821
+ this.object.expanded = !1, this.treeOutline && this.treeOutline.element.classList.remove("expanded");
822
+ }
823
+ ondblclick(e) {
824
+ return !0;
825
+ }
826
+ onContextMenu(e) {
827
+ let t = new C(e);
828
+ if (t.appendApplicableItems(this.object.object), this.object instanceof _) {
829
+ let { value: e } = this.object, n = typeof e == "object" ? JSON.stringify(e, null, 2) : e;
830
+ t.clipboardSection().appendItem(R(L.copyValue), () => {
831
+ _e.actionTaken(pe.NetworkPanelCopyValue), y.copyText(n);
832
+ }, { jslogContext: "copy-value" });
833
+ }
834
+ t.viewSection().appendItem(R(L.expandRecursively), this.expandRecursively.bind(this, z), { jslogContext: "expand-recursively" }), t.viewSection().appendItem(R(L.collapseChildren), this.collapseChildren.bind(this), { jslogContext: "collapse-children" }), t.viewSection().appendCheckboxItem(d("Show all"), () => {
835
+ this.object.includeNullOrUndefinedValues = !this.object.includeNullOrUndefinedValues;
836
+ }, {
837
+ checked: this.object.includeNullOrUndefinedValues,
838
+ jslogContext: "show-all"
839
+ }), t.show();
840
+ }
841
+ async onpopulate() {
842
+ this.removeChildren();
843
+ let e = this.treeOutline, t = e ? !!e.skipProtoInternal : !1;
844
+ return await Y.populate(this, this.object, t, !1, this.linkifier, this.emptyPlaceholder);
845
+ }
846
+ }, Ge = (e, t, n) => {
847
+ let { property: r } = e.node, a = r.synthetic && e.node.name === "[[Entries]]", o = `completions-${e.node.parent?.object?.objectId?.replaceAll(".", "-")}-${e.node.name}`, c = async (t) => {
848
+ t.target instanceof ue && e.onAutoComplete(t.detail.expression, t.detail.filter, t.detail.force);
849
+ }, l = Re({
850
+ name: !0,
851
+ "object-properties-section-dimmed": !r.enumerable,
852
+ "own-property": r.isOwn,
853
+ "synthetic-property": r.synthetic
854
+ }), u = /^\s|\s$|^$|\n/.test(r.name) ? `"${r.name.replace(/\n/g, "↵")}"` : r.name, d = !a && r.value && !r.wasThrown && r.value.hasChildren && !r.value.customPreview() && r.value.subtype !== "node" && r.value.type !== "function" && (r.value.type !== "object" || r.value.preview), f = () => {
855
+ let n = Ie((e) => {
856
+ t.valueElement = e;
857
+ });
858
+ if (a) return v`<span ${n} class=value></span>`;
859
+ if (r.value) {
860
+ let n = r.name !== "[[Prototype]]", i = W.createPropertyValueWithCustomSupport(r.value, r.wasThrown, n, e.linkifier, r.synthetic, e.node.path, e.node.includeNullOrUndefinedValues);
861
+ return t.valueElement = i, i;
862
+ }
863
+ if (r.getter) {
864
+ let t = r.getter;
865
+ return v`<span ${n}><span
866
+ class=object-value-calculate-value-button
867
+ title=${R(L.invokePropertyGetter)}
868
+ @click=${(n) => {
869
+ n.consume(), e.invokeGetter(t);
870
+ }}
871
+ >${R(L.dots)}</span></span>`;
872
+ }
873
+ return v`<span ${n}
874
+ class=object-value-unavailable
875
+ title=${R(L.valueNotAccessibleToTheDebugger)}>${R(L.valueUnavailable)}</span>`;
876
+ }, p = (t) => {
877
+ t instanceof KeyboardEvent && !s(t) || (t.consume(!0), e.editable && r.value && !r.value.customPreview() && (r.writable || r.setter) && e.startEditing());
878
+ };
879
+ g(v`<span class=name-and-value><span
880
+ ${Ie((e) => {
881
+ t.nameElement = e;
882
+ })}
883
+ class=${l}
884
+ title=${e.node.path}>${r.private ? v`<span class="private-property-hash">${r.name[0]}</span>${r.name.substring(1)}</span>` : u}</span>${a ? x : v`<span class='separator'>: </span><devtools-prompt
885
+ @commit=${(t) => e.editingCommitted(t.detail)}
886
+ @cancel=${() => e.editingEnded()}
887
+ @beforeautocomplete=${c}
888
+ @dblclick=${p}
889
+ @keydown=${p}
890
+ completions=${o}
891
+ placeholder=${R(L.stringIsTooLargeToEdit)}
892
+ ?editing=${e.editing}>
893
+ ${e.expanded && d && r.value ? v`<span
894
+ class="value object-value-${r.value.subtype || r.value.type}"
895
+ title=${I(r.value.description)}>${r.value.description === "Object" ? "" : i(r.value.description ?? "", G)}${r.synthetic ? x : W.getMemoryIcon(r.value)}</span>` : f()}
896
+ <datalist id=${o}>${Le(e.completions, (e) => v`<option>${e}</option>`)}</datalist>
897
+ </devtools-prompt></span>`}</span>`, n);
898
+ }, Ke = class extends me {
899
+ #e = [];
900
+ #t;
901
+ #n;
902
+ #r;
903
+ #i = [];
904
+ #a = !1;
905
+ #o;
906
+ #s = !1;
907
+ #c;
908
+ #l = !1;
909
+ constructor(e, t = Ge) {
910
+ super(e), this.#o = t;
911
+ }
912
+ get property() {
913
+ return this.#t;
914
+ }
915
+ set property(e) {
916
+ this.#t && (this.#t.removeEventListener(B.Events.VALUE_CHANGED, this.requestUpdate, this), this.#t.removeEventListener(B.Events.CHILDREN_CHANGED, this.requestUpdate, this), this.#t.removeEventListener(B.Events.FILTER_CHANGED, this.requestUpdate, this)), this.#t = e, this.#t.addEventListener(B.Events.VALUE_CHANGED, this.requestUpdate, this), this.#t.addEventListener(B.Events.CHILDREN_CHANGED, this.requestUpdate, this), this.#t.addEventListener(B.Events.FILTER_CHANGED, this.requestUpdate, this), this.requestUpdate();
917
+ }
918
+ get expanded() {
919
+ return this.#s;
920
+ }
921
+ set expanded(e) {
922
+ this.#s = e, this.requestUpdate();
923
+ }
924
+ get linkifier() {
925
+ return this.#c;
926
+ }
927
+ set linkifier(e) {
928
+ this.#c = e, this.requestUpdate();
929
+ }
930
+ get editable() {
931
+ return this.#l;
932
+ }
933
+ set editable(e) {
934
+ this.#l = e, this.requestUpdate();
935
+ }
936
+ performUpdate() {
937
+ if (!this.#t) return;
938
+ let e = {
939
+ editable: this.#l,
940
+ expanded: this.#s,
941
+ editing: this.#a,
942
+ editingEnded: this.#f.bind(this),
943
+ editingCommitted: this.#p.bind(this),
944
+ node: this.#t,
945
+ linkifier: this.#c,
946
+ completions: this.#a ? this.#i : [],
947
+ onAutoComplete: this.#d.bind(this),
948
+ invokeGetter: this.#m.bind(this),
949
+ startEditing: this.startEditing.bind(this)
950
+ }, t = this;
951
+ this.#o(e, {
952
+ set nameElement(e) {
953
+ t.#n = e;
954
+ },
955
+ set valueElement(e) {
956
+ t.#r = e;
957
+ }
958
+ }, this.element);
959
+ }
960
+ setSearchRegex(e, t) {
961
+ let n = ce;
962
+ return t && (n += " " + t), this.revertHighlightChanges(), this.#n && this.#u(e, this.#n, n), this.property?.object && this.property?.object.type !== "object" && this.#r && this.#u(e, this.#r, n), !!this.#e.length;
963
+ }
964
+ #u(e, t, n) {
965
+ let r = [], i = t.textContent || "";
966
+ e.lastIndex = 0;
967
+ let a = e.exec(i);
968
+ for (; a;) r.push(new xe(a.index, a[0].length)), a = e.exec(i);
969
+ r.length && ve(t, r, n, this.#e);
970
+ }
971
+ revertHighlightChanges() {
972
+ ge(this.#e), this.#e = [];
973
+ }
974
+ async #d(e, t, n) {
975
+ let r = await Te(e, t, n);
976
+ this.#i = r.map((e) => e.text), this.requestUpdate();
977
+ }
978
+ get editing() {
979
+ return this.#a;
980
+ }
981
+ startEditing() {
982
+ this.#a = !0, this.requestUpdate();
983
+ }
984
+ #f() {
985
+ this.#i = [], this.#a = !1, this.requestUpdate();
986
+ }
987
+ async #p(e) {
988
+ this.#f(), await this.#t?.setValue(e);
989
+ }
990
+ #m(e) {
991
+ this.#t?.invokeGetter(e);
992
+ }
993
+ }, Y = class e extends T {
994
+ property;
995
+ toggleOnClick;
996
+ linkifier;
997
+ maxNumPropertiesToShow;
998
+ #e;
999
+ constructor(e, t) {
1000
+ super(), this.#e = new Ke(), this.property = e, this.hidden = e.isFiltered, this.property.addEventListener(B.Events.VALUE_CHANGED, this.#t, this), this.property.addEventListener(B.Events.CHILDREN_CHANGED, this.#n, this), this.property.addEventListener(B.Events.FILTER_CHANGED, this.#r, this), this.toggleOnClick = !0, this.linkifier = t, this.maxNumPropertiesToShow = 200, this.listItemElement.addEventListener("contextmenu", this.contextMenuFired.bind(this), !1), this.listItemElement.dataset.objectPropertyNameForTest = e.name, this.updateExpandable(), this.setExpandRecursively(e.name !== "[[Prototype]]"), e.expanded && this.expand();
1001
+ }
1002
+ static async populate(t, n, r, i, a, o) {
1003
+ let s = await n.populateChildrenIfNeeded();
1004
+ s.arrayRanges ? await X.populate(t, s, a) : e.populateWithProperties(t, s, r, i, a, o);
1005
+ }
1006
+ static *createPropertyNodes({ properties: t, internalProperties: n, accessors: r, arrayRanges: i }, a, o, s, c, l) {
1007
+ let u = !0;
1008
+ i && i.length > 0 && (u = !1), t?.sort(W.compareProperties);
1009
+ let d = n?.find(({ property: e }) => e.name === "[[Entries]]");
1010
+ if (d) {
1011
+ let t = new e(d, s);
1012
+ t.setExpandable(!0), t.expand(), u = !1, yield t;
1013
+ }
1014
+ for (let n of t ?? []) if (!l?.(n.property) && (n.property.getter || !n.property.isAccessorProperty())) {
1015
+ let t = new e(n, s);
1016
+ n.property.name === "memories" && n.object?.className === "Memories" && (t.updateExpandable(), t.isExpandable() && t.expand()), u = !1, yield t;
1017
+ }
1018
+ for (let t of r ?? []) yield new e(t, s);
1019
+ for (let t of n ?? []) {
1020
+ let n = new e(t, s);
1021
+ t.property.name !== "[[Entries]]" && (t.property.name === "[[Prototype]]" && a || (u = !1, yield n));
1022
+ }
1023
+ if (u) {
1024
+ let e = document.createElement("div");
1025
+ e.classList.add("gray-info-message"), e.textContent = c || R(L.noProperties), yield new T(e);
1026
+ }
1027
+ }
1028
+ static populateWithProperties(t, n, r, i, a, o) {
1029
+ for (let s of this.createPropertyNodes(n, r, i, a, o, (n) => t instanceof e && !W.isDisplayableProperty(n, t.property?.property))) t.appendChild(s);
1030
+ }
1031
+ revertHighlightChanges() {
1032
+ this.#e.revertHighlightChanges();
1033
+ }
1034
+ setSearchRegex(e, t) {
1035
+ return this.#e.setSearchRegex(e, t);
1036
+ }
1037
+ startEditing() {
1038
+ this.#e.startEditing();
1039
+ }
1040
+ get editing() {
1041
+ return this.#e.editing;
1042
+ }
1043
+ get editable() {
1044
+ return this.#e.editable;
1045
+ }
1046
+ set editable(e) {
1047
+ this.#e.editable = e;
1048
+ }
1049
+ async applyExpression(e) {
1050
+ await this.property.setValue(e);
1051
+ }
1052
+ showAllPropertiesElementSelected(e) {
1053
+ return this.removeChild(e), this.children().forEach((e) => {
1054
+ e.hidden = !1;
1055
+ }), !1;
1056
+ }
1057
+ createShowAllPropertiesButton() {
1058
+ let e = document.createElement("div");
1059
+ e.classList.add("object-value-calculate-value-button"), e.textContent = R(L.dots), ae.install(e, R(L.showAllD, { PH1: this.childCount() }));
1060
+ let t = this.children();
1061
+ for (let e = this.maxNumPropertiesToShow; e < this.childCount(); ++e) t[e].hidden = !0;
1062
+ let n = new T(e);
1063
+ n.onselect = this.showAllPropertiesElementSelected.bind(this, n), this.appendChild(n);
1064
+ }
1065
+ async onpopulate() {
1066
+ let t = this.treeOutline, n = t ? !!t.skipProtoInternal : !1;
1067
+ this.removeChildren(), this.property.object && (await e.populate(this, this.property, n, !1, this.linkifier), this.childCount() > this.maxNumPropertiesToShow && this.createShowAllPropertiesButton());
1068
+ }
1069
+ onattach() {
1070
+ this.updateExpandable(), this.#e.markAsRoot(), this.#e.show(this.listItemElement), this.#e.property = this.property, this.#e.linkifier = this.linkifier, this.#e.editable = !this.property.readOnly;
1071
+ }
1072
+ onexpand() {
1073
+ this.property.expanded = !0, this.#e.expanded = !0;
1074
+ }
1075
+ oncollapse() {
1076
+ this.property.expanded = !1, this.#e.expanded = !1;
1077
+ }
1078
+ #t() {
1079
+ this.updateExpandable();
1080
+ }
1081
+ #n() {
1082
+ this.removeChildren(), this.onpopulate();
1083
+ }
1084
+ #r() {
1085
+ this.hidden = this.property.isFiltered;
1086
+ }
1087
+ getContextMenu(e) {
1088
+ let t = new C(e);
1089
+ if (t.appendApplicableItems(this), this.property.property.symbol && t.appendApplicableItems(this.property.property.symbol), this.property.object && (t.appendApplicableItems(this.property.object), this.property.parent?.object instanceof _)) {
1090
+ let { object: { value: e } } = this.property, n = typeof e == "object" ? JSON.stringify(e, null, 2) : e;
1091
+ t.clipboardSection().appendItem(R(L.copyValue), () => {
1092
+ _e.actionTaken(pe.NetworkPanelCopyValue), y.copyText(n);
1093
+ }, { jslogContext: "copy-value" });
1094
+ }
1095
+ if (!this.property.property.synthetic && this.property.path) {
1096
+ let e = y.copyText.bind(y, this.property.path);
1097
+ t.clipboardSection().appendItem(R(L.copyPropertyPath), e, { jslogContext: "copy-property-path" });
1098
+ }
1099
+ this.property.parent?.object instanceof _ && (t.viewSection().appendItem(R(L.expandRecursively), this.expandRecursively.bind(this, z), { jslogContext: "expand-recursively" }), t.viewSection().appendItem(R(L.collapseChildren), this.collapseChildren.bind(this), { jslogContext: "collapse-children" }));
1100
+ let n = this.property;
1101
+ for (; n.parent;) n = n.parent;
1102
+ return t.viewSection().appendCheckboxItem(d("Show all"), () => {
1103
+ n.includeNullOrUndefinedValues = !n.includeNullOrUndefinedValues;
1104
+ }, {
1105
+ checked: n.includeNullOrUndefinedValues,
1106
+ jslogContext: "show-all"
1107
+ }), t;
1108
+ }
1109
+ contextMenuFired(e) {
1110
+ this.getContextMenu(e).show();
1111
+ }
1112
+ updateExpandable() {
1113
+ this.property.object ? this.setExpandable(!this.property.object.customPreview() && this.property.object.hasChildren && !this.property.property.wasThrown) : this.setExpandable(!1);
1114
+ }
1115
+ path() {
1116
+ return this.property.path;
1117
+ }
1118
+ };
1119
+ async function qe(e, t, n) {
1120
+ return await e.callFunctionJSON(r, [
1121
+ { value: t },
1122
+ { value: n },
1123
+ { value: X.bucketThreshold },
1124
+ { value: X.sparseIterationThreshold }
1125
+ ]);
1126
+ function r(e, t, n, r) {
1127
+ if (e === void 0 || t === void 0 || r === void 0 || n === void 0) return;
1128
+ let i = null, a = t - e >= r && ArrayBuffer.isView(this);
1129
+ function* o(n) {
1130
+ if (!(e === void 0 || t === void 0 || r === void 0)) if (t - e < r) for (let r = e; r <= t; ++r) r in n && (yield r);
1131
+ else {
1132
+ i ||= Object.getOwnPropertyNames(n);
1133
+ for (let n = 0; n < i.length; ++n) {
1134
+ let r = i[n], a = Number(r) >>> 0;
1135
+ String(a) === r && e <= a && a <= t && (yield a);
1136
+ }
1137
+ }
1138
+ }
1139
+ let s = 0;
1140
+ if (a) s = t - e + 1;
1141
+ else for (let e of o(this)) ++s;
1142
+ let c = s;
1143
+ c = s <= n ? s : n ** (Math.ceil(Math.log(s) / Math.log(n)) - 1);
1144
+ let l = [];
1145
+ if (a) for (let n = e; n <= t; n += c) {
1146
+ let e = n, r = e + c - 1;
1147
+ r > t && (r = t), l.push([
1148
+ e,
1149
+ r,
1150
+ r - e + 1
1151
+ ]);
1152
+ }
1153
+ else {
1154
+ s = 0;
1155
+ let e = -1, t = 0;
1156
+ for (let n of o(this)) e === -1 && (e = n), t = n, ++s === c && (l.push([
1157
+ e,
1158
+ t,
1159
+ s
1160
+ ]), s = 0, e = -1);
1161
+ s > 0 && l.push([
1162
+ e,
1163
+ t,
1164
+ s
1165
+ ]);
1166
+ }
1167
+ return { ranges: l };
1168
+ }
1169
+ }
1170
+ function Je(e, t, n) {
1171
+ let r = Object.create(null);
1172
+ if (!(e === void 0 || t === void 0 || n === void 0)) {
1173
+ if (t - e < n) for (let n = e; n <= t; ++n) n in this && (r[n] = this[n]);
1174
+ else {
1175
+ let n = Object.getOwnPropertyNames(this);
1176
+ for (let i = 0; i < n.length; ++i) {
1177
+ let a = n[i], o = Number(a) >>> 0;
1178
+ String(o) === a && e <= o && o <= t && (r[o] = this[o]);
1179
+ }
1180
+ }
1181
+ return r;
1182
+ }
1183
+ }
1184
+ var X = class e extends T {
1185
+ toggleOnClick;
1186
+ linkifier;
1187
+ #e;
1188
+ constructor(e, t) {
1189
+ super(r("[%d … %d]", e.range.fromIndex, e.range.toIndex), !0), this.#e = e, this.#e.addEventListener(B.Events.CHILDREN_CHANGED, this.onpopulate, this), this.toggleOnClick = !0, this.linkifier = t, e.expanded && this.expand();
1190
+ }
1191
+ static async populate(t, n, r) {
1192
+ if (n.arrayRanges) {
1193
+ if (n.arrayRanges.length === 1) await Y.populate(t, n.arrayRanges[0], !1, !1, r);
1194
+ else for (let i of n.arrayRanges) i.singular ? await Y.populate(t, i, !1, !1, r) : t.appendChild(new e(i, r));
1195
+ Y.populateWithProperties(t, n, !1, !1, r);
1196
+ }
1197
+ }
1198
+ onexpand() {
1199
+ this.#e.expanded = !0;
1200
+ }
1201
+ oncollapse() {
1202
+ this.#e.expanded = !1;
1203
+ }
1204
+ async onpopulate() {
1205
+ this.removeChildren(), await Y.populate(this, this.#e, !1, !1, this.linkifier);
1206
+ }
1207
+ onattach() {
1208
+ this.listItemElement.classList.add("object-properties-section-name");
1209
+ }
1210
+ static bucketThreshold = 100;
1211
+ static sparseIterationThreshold = 25e4;
1212
+ }, Ye = class e {
1213
+ static #e = /* @__PURE__ */ new WeakMap();
1214
+ static #t = /* @__PURE__ */ new WeakMap();
1215
+ #n = /* @__PURE__ */ new Set();
1216
+ constructor(e) {
1217
+ e.addEventListener(E.ElementAttached, this.#r, this), e.addEventListener(E.ElementExpanded, this.#i, this), e.addEventListener(E.ElementCollapsed, this.#a, this);
1218
+ }
1219
+ watchSection(t, n) {
1220
+ e.#t.set(n, t), this.#n.has(t) && n.expand();
1221
+ }
1222
+ stopWatchSectionsWithId(e) {
1223
+ for (let t of this.#n) t.startsWith(e + ":") && this.#n.delete(t);
1224
+ }
1225
+ #r(e) {
1226
+ let t = e.data;
1227
+ t.isExpandable() && this.#n.has(this.#o(t)) && t.expand();
1228
+ }
1229
+ #i(e) {
1230
+ let t = e.data;
1231
+ this.#n.add(this.#o(t));
1232
+ }
1233
+ #a(e) {
1234
+ let t = e.data;
1235
+ this.#n.delete(this.#o(t));
1236
+ }
1237
+ #o(t) {
1238
+ let n = e.#e.get(t);
1239
+ if (n) return n;
1240
+ let r = t, i = r;
1241
+ if (!t.treeOutline) throw Error("No tree outline available");
1242
+ let a = t.treeOutline.rootElement(), o;
1243
+ for (; r !== a;) {
1244
+ let e = "";
1245
+ e = r instanceof Y ? r.property.name : typeof r.title == "string" ? r.title : r.title.textContent || "", o = e + (o ? "." + o : ""), i = r, r.parent && (r = r.parent);
1246
+ }
1247
+ return o = e.#t.get(i) + (o ? ":" + o : ""), e.#e.set(t, o), o;
1248
+ }
1249
+ }, Xe, Ze = class e {
1250
+ static instance(t = { forceNew: !1 }) {
1251
+ let { forceNew: n } = t;
1252
+ return (!Xe || n) && (Xe = new e()), Xe;
1253
+ }
1254
+ async render(e, t) {
1255
+ if (!(e instanceof b)) throw Error("Can't render " + e);
1256
+ let n = t?.title, r = new W(e, n, void 0, void 0, !!t?.editable);
1257
+ n || r.titleLessMode(), t?.expand && r.firstChild()?.expand();
1258
+ let i = () => {
1259
+ r.element.dispatchEvent(new CustomEvent("dimensionschanged"));
1260
+ };
1261
+ return r.addEventListener(E.ElementAttached, i), r.addEventListener(E.ElementExpanded, i), r.addEventListener(E.ElementCollapsed, i), {
1262
+ element: r.element,
1263
+ forceSelect: r.forceSelect.bind(r)
1264
+ };
1265
+ }
1266
+ }, Qe = (e, t, n) => {
1267
+ let r = u(e.byteCount), i = e.text.length < Z.MAX_DISPLAYABLE_TEXT_LENGTH, a = (t) => {
1268
+ let { target: n } = t;
1269
+ if (!(n instanceof Element)) return;
1270
+ let a = n.closest("li"), o = a && T.getTreeElementBylistItemNode(a);
1271
+ if (!(o instanceof Y)) return;
1272
+ let s = o.getContextMenu(t);
1273
+ i && !e.expanded && s.clipboardSection().appendItem(R(L.showMoreS, { PH1: r }), e.expandText, { jslogContext: "show-more" }), s.clipboardSection().appendItem(R(L.copy), e.copyText, { jslogContext: "copy" }), s.show(), t.consume(!0);
1274
+ }, o = e.text.slice(0, e.maxLength);
1275
+ g(v`<span title=${o + "…"} @contextmenu=${a}>
1276
+ ${e.expanded ? e.text : o}
1277
+ <button
1278
+ ?hidden=${e.expanded}
1279
+ @click=${i ? e.expandText : void 0}
1280
+ jslog=${I(i ? w("expand").track({ click: !0 }) : void 0)}
1281
+ class=${i ? "expandable-inline-button" : "undisplayable-text"}
1282
+ data-text=${R(i ? L.showMoreS : L.longTextWasTruncatedS, { PH1: r })}
1283
+ ></button>
1284
+ <button
1285
+ class=expandable-inline-button
1286
+ @click=${e.copyText}
1287
+ data-text=${R(L.copy)}
1288
+ jslog=${w("copy").track({ click: !0 })}
1289
+ ></button>
1290
+ </span>`, n);
1291
+ }, Z = class e extends me {
1292
+ static MAX_DISPLAYABLE_TEXT_LENGTH = 1e7;
1293
+ static EXPANDABLE_MAX_LENGTH = 50;
1294
+ #e = "";
1295
+ #t = 0;
1296
+ #n = !1;
1297
+ #r = e.EXPANDABLE_MAX_LENGTH;
1298
+ #i;
1299
+ constructor(e, t = Qe) {
1300
+ super(e), this.#i = t;
1301
+ }
1302
+ set text(e) {
1303
+ this.#e = e, this.#t = o(e), this.requestUpdate();
1304
+ }
1305
+ set maxLength(e) {
1306
+ this.#r = e, this.requestUpdate();
1307
+ }
1308
+ performUpdate() {
1309
+ let e = {
1310
+ copyText: () => y.copyText(this.#e),
1311
+ expandText: () => {
1312
+ this.#n || (this.#n = !0, this.requestUpdate());
1313
+ },
1314
+ expanded: this.#n,
1315
+ byteCount: this.#t,
1316
+ maxLength: this.#r,
1317
+ text: this.#e
1318
+ };
1319
+ this.#i(e, {}, this.contentElement);
1320
+ }
1321
+ }, $e = /* @__PURE__ */ e({
1322
+ CustomPreviewComponent: () => Q,
1323
+ CustomPreviewSection: () => rt
1324
+ }), et = { showAsJavascriptObject: "Show as JavaScript object" }, tt = m("ui/legacy/components/object_ui/CustomPreviewComponent.ts", et), nt = p.bind(void 0, tt), rt = class e {
1325
+ sectionElement;
1326
+ object;
1327
+ expanded;
1328
+ cachedContent;
1329
+ header;
1330
+ expandIcon;
1331
+ constructor(e) {
1332
+ this.sectionElement = document.createElement("span"), this.sectionElement.classList.add("custom-expandable-section"), this.object = e, this.expanded = !1, this.cachedContent = null;
1333
+ let t = e.customPreview();
1334
+ if (!t) return;
1335
+ let n;
1336
+ try {
1337
+ n = JSON.parse(t.header);
1338
+ } catch (e) {
1339
+ c.instance().error("Broken formatter: header is invalid json " + e);
1340
+ return;
1341
+ }
1342
+ if (this.header = this.renderJSONMLTag(n), this.header.nodeType === Node.TEXT_NODE) {
1343
+ c.instance().error("Broken formatter: header should be an element node.");
1344
+ return;
1345
+ }
1346
+ t.bodyGetterId && (this.header instanceof Element && this.header.classList.add("custom-expandable-section-header"), this.header.addEventListener("click", this.onClick.bind(this), !1), this.expandIcon = re("triangle-right", "custom-expand-icon"), this.header.insertBefore(this.expandIcon, this.header.firstChild)), this.sectionElement.appendChild(this.header);
1347
+ }
1348
+ element() {
1349
+ return this.sectionElement;
1350
+ }
1351
+ renderJSONMLTag(e) {
1352
+ return Array.isArray(e) ? e[0] === "object" ? this.layoutObjectTag(e) : this.renderElement(e) : document.createTextNode(String(e));
1353
+ }
1354
+ renderElement(e) {
1355
+ let t = e.shift();
1356
+ if (!it.includes(t)) return c.instance().error("Broken formatter: element " + t + " is not allowed!"), document.createElement("span");
1357
+ let n = document.createElement(t);
1358
+ if (typeof e[0] == "object" && !Array.isArray(e[0])) {
1359
+ let t = e.shift();
1360
+ for (let e in t) {
1361
+ let r = t[e];
1362
+ e !== "style" || typeof r != "string" || n.setAttribute(e, r);
1363
+ }
1364
+ }
1365
+ return this.appendJsonMLTags(n, e), n;
1366
+ }
1367
+ layoutObjectTag(t) {
1368
+ t.shift();
1369
+ let n = t.shift(), r = this.object.runtimeModel().createRemoteObject(n);
1370
+ if (r.customPreview()) return new e(r).element();
1371
+ let i = W.defaultObjectPresentation(r);
1372
+ return i.classList.toggle("custom-expandable-section-standard-section", r.hasChildren), i;
1373
+ }
1374
+ appendJsonMLTags(e, t) {
1375
+ for (let n = 0; n < t.length; ++n) e.appendChild(this.renderJSONMLTag(t[n]));
1376
+ }
1377
+ onClick(e) {
1378
+ e.consume(!0), this.cachedContent ? this.toggleExpand() : this.loadBody();
1379
+ }
1380
+ toggleExpand() {
1381
+ this.expanded = !this.expanded, this.header instanceof Element && this.header.classList.toggle("expanded", this.expanded), this.cachedContent instanceof Element && this.cachedContent.classList.toggle("hidden", !this.expanded), this.expandIcon && (this.expanded ? this.expandIcon.name = "triangle-down" : this.expandIcon.name = "triangle-right");
1382
+ }
1383
+ defaultBodyTreeOutline;
1384
+ async loadBody() {
1385
+ let e = this.object.customPreview();
1386
+ if (e && e.bodyGetterId) {
1387
+ let t = await this.object.callFunctionJSON((e) => e(), [{ objectId: e.bodyGetterId }]);
1388
+ t === null ? (this.defaultBodyTreeOutline = new K(), this.defaultBodyTreeOutline.setShowSelectionOnKeyboardFocus(!0, !1), this.defaultBodyTreeOutline.element.classList.add("custom-expandable-section-default-body"), Y.populate(this.defaultBodyTreeOutline.rootElement(), new V(this.object, {
1389
+ readOnly: !0,
1390
+ propertiesMode: q.OWN_AND_INTERNAL_AND_INHERITED
1391
+ }), !1, !1), this.cachedContent = this.defaultBodyTreeOutline.element) : this.cachedContent = this.renderJSONMLTag(t), this.sectionElement.appendChild(this.cachedContent), this.toggleExpand();
1392
+ }
1393
+ }
1394
+ }, it = [
1395
+ "span",
1396
+ "div",
1397
+ "ol",
1398
+ "li",
1399
+ "table",
1400
+ "tr",
1401
+ "td"
1402
+ ], Q = class {
1403
+ object;
1404
+ customPreviewSection;
1405
+ element;
1406
+ constructor(e) {
1407
+ this.object = e, this.customPreviewSection = new rt(e), this.element = document.createElement("span"), this.element.classList.add("source-code");
1408
+ let t = be(this.element, { cssFile: De });
1409
+ this.element.addEventListener("contextmenu", this.contextMenuEventFired.bind(this), !1), t.appendChild(this.customPreviewSection.element());
1410
+ }
1411
+ expandIfPossible() {
1412
+ let e = this.object.customPreview();
1413
+ e && e.bodyGetterId && this.customPreviewSection && this.customPreviewSection.loadBody();
1414
+ }
1415
+ contextMenuEventFired(e) {
1416
+ let t = new C(e);
1417
+ this.customPreviewSection && t.revealSection().appendItem(nt(et.showAsJavascriptObject), this.disassemble.bind(this), { jslogContext: "show-as-javascript-object" }), t.appendApplicableItems(this.object), t.show();
1418
+ }
1419
+ disassemble() {
1420
+ this.element.shadowRoot && (this.element.shadowRoot.textContent = "", this.customPreviewSection = null, this.element.shadowRoot.appendChild(W.defaultObjectPresentation(this.object)));
1421
+ }
1422
+ }, $ = "/*\n * Copyright 2017 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.widget:has(.object-popover-tree) {\n padding: 0;\n border-radius: var(--sys-shape-corner-extra-small);\n}\n\n.object-popover-content {\n display: flex;\n position: relative;\n overflow: hidden;\n flex: 1 1 auto;\n flex-direction: column;\n}\n\n.object-popover-title {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n font-weight: bold;\n padding-left: 18px;\n padding-bottom: 2px;\n padding-top: var(--sys-size-3);\n flex-shrink: 0;\n}\n\n.object-popover-tree {\n border-top: 1px solid var(--sys-color-divider);\n overflow: auto;\n width: 100%;\n height: calc(100% - 13px);\n}\n\n.object-popover-container {\n display: inline-block;\n}\n\n.object-popover-description-box {\n padding: 6px;\n max-width: 350px;\n line-height: 1.4;\n}\n\n.object-popover-footer {\n margin-top: 8px;\n}\n", at = /* @__PURE__ */ e({ ObjectPopoverHelper: () => lt }), ot = { learnMore: "Learn more" }, st = m("ui/legacy/components/object_ui/ObjectPopoverHelper.ts", ot), ct = p.bind(void 0, st), lt = class e {
1423
+ linkifier;
1424
+ resultHighlightedAsDOM;
1425
+ constructor(e, t) {
1426
+ this.linkifier = e, this.resultHighlightedAsDOM = t;
1427
+ }
1428
+ dispose() {
1429
+ this.resultHighlightedAsDOM && D.hideDOMNodeHighlight(), this.linkifier && this.linkifier.dispose();
1430
+ }
1431
+ static async buildObjectPopover(t, n) {
1432
+ let r = a(t.description || "", ut), i = null;
1433
+ if (t.type === "function" || t.type === "object") {
1434
+ let a = null, o = !1;
1435
+ if (t.subtype === "node" && (D.highlightObjectAsDOMNode(t), o = !0), t.customPreview()) {
1436
+ let e = new Q(t);
1437
+ e.expandIfPossible(), i = e.element;
1438
+ } else {
1439
+ i = document.createElement("div"), i.classList.add("object-popover-content"), n.registerRequiredCSS(O, $);
1440
+ let e = i.createChild("div", "object-popover-title");
1441
+ t.type === "function" ? (e.classList.add("source-code"), g(W.valueElementForFunctionDescription(t.description), e)) : (e.classList.add("monospace"), e.createChild("span").textContent = r), a = new Se();
1442
+ let o = new W(t, "", a, !0);
1443
+ o.element.classList.add("object-popover-tree"), o.titleLessMode(), i.appendChild(o.element);
1444
+ }
1445
+ return i.dataset.stableNameForTest = "object-popover-content", n.setMaxContentSize(new ye(300, 250)), n.setSizeBehavior(ne.SET_EXACT_SIZE), n.contentElement.appendChild(i), new e(a, o);
1446
+ }
1447
+ i = document.createElement("span"), i.dataset.stableNameForTest = "object-popover-content", n.registerRequiredCSS(O, $);
1448
+ let o = i.createChild("span", "monospace object-value-" + t.type);
1449
+ return o.style.whiteSpace = "pre", t.type === "string" ? ie(o, `"${r}"`) : o.textContent = r, n.contentElement.appendChild(i), new e(null, !1);
1450
+ }
1451
+ static buildDescriptionPopover(t, n, r) {
1452
+ let i = document.createElement("div");
1453
+ i.classList.add("object-popover-description-box");
1454
+ let a = document.createElement("div");
1455
+ a.dataset.stableNameForTest = "object-popover-content", r.registerRequiredCSS($), a.textContent = t;
1456
+ let o = fe.create(n, ct(ot.learnMore), void 0, "learn-more"), s = document.createElement("div");
1457
+ return s.classList.add("object-popover-footer"), s.appendChild(o), i.appendChild(a), i.appendChild(s), r.contentElement.appendChild(i), new e(null, !1);
1458
+ }
1459
+ }, ut = 1e4;
1460
+ //#endregion
1461
+ export { P as _, Z as a, j as b, Fe as c, Y as d, V as f, J as g, B as h, $e as i, Ye as l, U as m, at as n, q as o, He as p, Q as r, W as s, lt as t, K as u, N as v, Oe as x, Ne as y };