@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.
- package/README.i18n.yaml +49 -0
- package/README.md +179 -2
- package/README.zh.md +180 -0
- package/cordis.patch.yml +5 -0
- package/icon.svg +12 -0
- package/lib/client.js +3572 -0
- package/lib/client.page.js +314 -0
- package/lib/devtools/Images/3d-center.svg +3 -0
- package/lib/devtools/Images/3d-pan.svg +3 -0
- package/lib/devtools/Images/3d-rotate.svg +3 -0
- package/lib/devtools/Images/accelerometer-back.svg +69 -0
- package/lib/devtools/Images/accelerometer-bottom.png +0 -0
- package/lib/devtools/Images/accelerometer-front.svg +28 -0
- package/lib/devtools/Images/accelerometer-left.png +0 -0
- package/lib/devtools/Images/accelerometer-right.png +0 -0
- package/lib/devtools/Images/accelerometer-top.png +0 -0
- package/lib/devtools/Images/account-tree.svg +10 -0
- package/lib/devtools/Images/add-photo.svg +3 -0
- package/lib/devtools/Images/ai-explorer-badge.svg +114 -0
- package/lib/devtools/Images/align-content-center.svg +5 -0
- package/lib/devtools/Images/align-content-end.svg +5 -0
- package/lib/devtools/Images/align-content-space-around.svg +6 -0
- package/lib/devtools/Images/align-content-space-between.svg +4 -0
- package/lib/devtools/Images/align-content-space-evenly.svg +6 -0
- package/lib/devtools/Images/align-content-start.svg +5 -0
- package/lib/devtools/Images/align-content-stretch.svg +4 -0
- package/lib/devtools/Images/align-items-baseline.svg +4 -0
- package/lib/devtools/Images/align-items-center.svg +5 -0
- package/lib/devtools/Images/align-items-end.svg +5 -0
- package/lib/devtools/Images/align-items-start.svg +5 -0
- package/lib/devtools/Images/align-items-stretch.svg +6 -0
- package/lib/devtools/Images/align-self-center.svg +3 -0
- package/lib/devtools/Images/align-self-end.svg +4 -0
- package/lib/devtools/Images/align-self-start.svg +4 -0
- package/lib/devtools/Images/align-self-stretch.svg +5 -0
- package/lib/devtools/Images/animation.svg +3 -0
- package/lib/devtools/Images/arrow-back.svg +4 -0
- package/lib/devtools/Images/arrow-collapse.svg +3 -0
- package/lib/devtools/Images/arrow-down.svg +10 -0
- package/lib/devtools/Images/arrow-drop-down-dark.svg +3 -0
- package/lib/devtools/Images/arrow-drop-down-light.svg +3 -0
- package/lib/devtools/Images/arrow-drop-down.svg +3 -0
- package/lib/devtools/Images/arrow-forward.svg +4 -0
- package/lib/devtools/Images/arrow-right-circle.svg +3 -0
- package/lib/devtools/Images/arrow-up-down-circle.svg +3 -0
- package/lib/devtools/Images/arrow-up-down.svg +3 -0
- package/lib/devtools/Images/arrow-up.svg +10 -0
- package/lib/devtools/Images/attach-file.svg +3 -0
- package/lib/devtools/Images/baseline-high-availability.svg +17 -0
- package/lib/devtools/Images/baseline-limited-availability.svg +19 -0
- package/lib/devtools/Images/baseline-low-availability.svg +31 -0
- package/lib/devtools/Images/bell.svg +3 -0
- package/lib/devtools/Images/bezier-curve-filled.svg +3 -0
- package/lib/devtools/Images/bin.svg +1 -0
- package/lib/devtools/Images/bottom-panel-close.svg +1 -0
- package/lib/devtools/Images/bottom-panel-open.svg +1 -0
- package/lib/devtools/Images/brackets.svg +1 -0
- package/lib/devtools/Images/breakpoint-circle.svg +4 -0
- package/lib/devtools/Images/breakpoint-crossed-filled.svg +1 -0
- package/lib/devtools/Images/breakpoint-crossed.svg +1 -0
- package/lib/devtools/Images/brush-2.svg +3 -0
- package/lib/devtools/Images/brush-filled.svg +1 -0
- package/lib/devtools/Images/brush.svg +1 -0
- package/lib/devtools/Images/bucket.svg +4 -0
- package/lib/devtools/Images/bug.svg +3 -0
- package/lib/devtools/Images/button-magic.svg +3 -0
- package/lib/devtools/Images/calendar-today.svg +3 -0
- package/lib/devtools/Images/center-focus-weak.svg +3 -0
- package/lib/devtools/Images/check-circle.svg +3 -0
- package/lib/devtools/Images/check-double.svg +3 -0
- package/lib/devtools/Images/checker.svg +12 -0
- package/lib/devtools/Images/checkmark.svg +1 -0
- package/lib/devtools/Images/chevron-double-right.svg +3 -0
- package/lib/devtools/Images/chevron-down.svg +3 -0
- package/lib/devtools/Images/chevron-left-dot.svg +4 -0
- package/lib/devtools/Images/chevron-left.svg +3 -0
- package/lib/devtools/Images/chevron-right.svg +3 -0
- package/lib/devtools/Images/chevron-up.svg +3 -0
- package/lib/devtools/Images/chromeLeft.avif +0 -0
- package/lib/devtools/Images/chromeMiddle.avif +0 -0
- package/lib/devtools/Images/chromeRight.avif +0 -0
- package/lib/devtools/Images/class.svg +6 -0
- package/lib/devtools/Images/clear-list.svg +3 -0
- package/lib/devtools/Images/clear.svg +3 -0
- package/lib/devtools/Images/cloud.svg +3 -0
- package/lib/devtools/Images/code-circle.svg +5 -0
- package/lib/devtools/Images/code-whisperer-badge.svg +166 -0
- package/lib/devtools/Images/code.svg +3 -0
- package/lib/devtools/Images/colon.svg +4 -0
- package/lib/devtools/Images/color-picker-filled.svg +3 -0
- package/lib/devtools/Images/color-picker.svg +3 -0
- package/lib/devtools/Images/compress.svg +8 -0
- package/lib/devtools/Images/console-conditional-breakpoint.svg +1 -0
- package/lib/devtools/Images/console-logpoint.svg +1 -0
- package/lib/devtools/Images/container.svg +4 -0
- package/lib/devtools/Images/cookie.svg +3 -0
- package/lib/devtools/Images/cookie_off.svg +3 -0
- package/lib/devtools/Images/copy.svg +3 -0
- package/lib/devtools/Images/corporate-fare.svg +3 -0
- package/lib/devtools/Images/credit-card.svg +3 -0
- package/lib/devtools/Images/cross-circle-filled.svg +3 -0
- package/lib/devtools/Images/cross-circle.svg +3 -0
- package/lib/devtools/Images/cross.svg +3 -0
- package/lib/devtools/Images/cssoverview_icons_2x.avif +0 -0
- package/lib/devtools/Images/database-off.svg +1 -0
- package/lib/devtools/Images/database.svg +3 -0
- package/lib/devtools/Images/deployed.svg +3 -0
- package/lib/devtools/Images/device-fold.svg +1 -0
- package/lib/devtools/Images/devices.svg +3 -0
- package/lib/devtools/Images/devtools-thumbnail.svg +57 -0
- package/lib/devtools/Images/devtools-tips.svg +61 -0
- package/lib/devtools/Images/devtools-user-badge.svg +129 -0
- package/lib/devtools/Images/devtools.svg +13 -0
- package/lib/devtools/Images/difference.svg +3 -0
- package/lib/devtools/Images/dock-bottom.svg +3 -0
- package/lib/devtools/Images/dock-left.svg +3 -0
- package/lib/devtools/Images/dock-right.svg +3 -0
- package/lib/devtools/Images/dock-window.svg +3 -0
- package/lib/devtools/Images/document.svg +3 -0
- package/lib/devtools/Images/dog-paw.svg +10 -0
- package/lib/devtools/Images/dom-detective-badge.svg +136 -0
- package/lib/devtools/Images/domain.svg +3 -0
- package/lib/devtools/Images/dots-horizontal.svg +1 -0
- package/lib/devtools/Images/dots-vertical.svg +3 -0
- package/lib/devtools/Images/download.svg +3 -0
- package/lib/devtools/Images/edit.svg +1 -0
- package/lib/devtools/Images/empty.svg +2 -0
- package/lib/devtools/Images/errorWave.svg +74 -0
- package/lib/devtools/Images/exclamation.svg +3 -0
- package/lib/devtools/Images/expand.svg +1 -0
- package/lib/devtools/Images/experiment-check.svg +1 -0
- package/lib/devtools/Images/experiment.svg +3 -0
- package/lib/devtools/Images/extension.svg +1 -0
- package/lib/devtools/Images/eye-crossed.svg +3 -0
- package/lib/devtools/Images/eye.svg +3 -0
- package/lib/devtools/Images/file-document.svg +3 -0
- package/lib/devtools/Images/file-fetch-xhr.svg +3 -0
- package/lib/devtools/Images/file-font.svg +4 -0
- package/lib/devtools/Images/file-generic.svg +3 -0
- package/lib/devtools/Images/file-image.svg +3 -0
- package/lib/devtools/Images/file-json.svg +4 -0
- package/lib/devtools/Images/file-manifest.svg +3 -0
- package/lib/devtools/Images/file-media.svg +3 -0
- package/lib/devtools/Images/file-script.svg +3 -0
- package/lib/devtools/Images/file-snippet.svg +4 -0
- package/lib/devtools/Images/file-stylesheet.svg +4 -0
- package/lib/devtools/Images/file-wasm.svg +5 -0
- package/lib/devtools/Images/file-websocket.svg +3 -0
- package/lib/devtools/Images/filter-clear.svg +3 -0
- package/lib/devtools/Images/filter-filled.svg +3 -0
- package/lib/devtools/Images/filter.svg +3 -0
- package/lib/devtools/Images/flex-direction.svg +5 -0
- package/lib/devtools/Images/flex-no-wrap.svg +5 -0
- package/lib/devtools/Images/flex-wrap.svg +8 -0
- package/lib/devtools/Images/flow.svg +3 -0
- package/lib/devtools/Images/flowsheet.svg +1 -0
- package/lib/devtools/Images/fold-more.svg +3 -0
- package/lib/devtools/Images/folder-asterisk.svg +10 -0
- package/lib/devtools/Images/folder-off.svg +3 -0
- package/lib/devtools/Images/folder.svg +3 -0
- package/lib/devtools/Images/frame-crossed.svg +3 -0
- package/lib/devtools/Images/frame-icon.svg +54 -0
- package/lib/devtools/Images/frame.svg +3 -0
- package/lib/devtools/Images/gdp-logo-dark.png +0 -0
- package/lib/devtools/Images/gdp-logo-light.png +0 -0
- package/lib/devtools/Images/gear-filled.svg +3 -0
- package/lib/devtools/Images/gear.svg +4 -0
- package/lib/devtools/Images/gears.svg +3 -0
- package/lib/devtools/Images/geminiInDevTools.png +0 -0
- package/lib/devtools/Images/geminiInDevTools_2x.png +0 -0
- package/lib/devtools/Images/global.svg +5 -0
- package/lib/devtools/Images/google.svg +3 -0
- package/lib/devtools/Images/goto-filled.svg +1 -0
- package/lib/devtools/Images/grid-direction.svg +6 -0
- package/lib/devtools/Images/grid-on.svg +10 -0
- package/lib/devtools/Images/group.svg +3 -0
- package/lib/devtools/Images/heap-snapshot.svg +6 -0
- package/lib/devtools/Images/heap-snapshots.svg +7 -0
- package/lib/devtools/Images/help.svg +3 -0
- package/lib/devtools/Images/history.svg +3 -0
- package/lib/devtools/Images/home.svg +3 -0
- package/lib/devtools/Images/hover.svg +6 -0
- package/lib/devtools/Images/iframe-crossed.svg +3 -0
- package/lib/devtools/Images/iframe.svg +3 -0
- package/lib/devtools/Images/import.svg +3 -0
- package/lib/devtools/Images/indeterminate-question-box.svg +3 -0
- package/lib/devtools/Images/info-filled.svg +3 -0
- package/lib/devtools/Images/info.svg +3 -0
- package/lib/devtools/Images/issue-cross-filled.svg +3 -0
- package/lib/devtools/Images/issue-exclamation-filled.svg +3 -0
- package/lib/devtools/Images/issue-questionmark-filled.svg +3 -0
- package/lib/devtools/Images/issue-text-filled.svg +3 -0
- package/lib/devtools/Images/justify-content-center.svg +5 -0
- package/lib/devtools/Images/justify-content-end.svg +5 -0
- package/lib/devtools/Images/justify-content-space-around.svg +6 -0
- package/lib/devtools/Images/justify-content-space-between.svg +4 -0
- package/lib/devtools/Images/justify-content-space-evenly.svg +6 -0
- package/lib/devtools/Images/justify-content-start.svg +5 -0
- package/lib/devtools/Images/justify-content-stretch.svg +4 -0
- package/lib/devtools/Images/justify-items-center.svg +4 -0
- package/lib/devtools/Images/justify-items-end.svg +4 -0
- package/lib/devtools/Images/justify-items-start.svg +4 -0
- package/lib/devtools/Images/justify-items-stretch.svg +4 -0
- package/lib/devtools/Images/keyboard-arrow-right.svg +1 -0
- package/lib/devtools/Images/keyboard-full.svg +10 -0
- package/lib/devtools/Images/keyboard-pen.svg +1 -0
- package/lib/devtools/Images/keyboard.svg +3 -0
- package/lib/devtools/Images/label-auto.svg +3 -0
- package/lib/devtools/Images/label.svg +10 -0
- package/lib/devtools/Images/large-arrow-right-filled.svg +1 -0
- package/lib/devtools/Images/layers-filled.svg +1 -0
- package/lib/devtools/Images/layers.svg +1 -0
- package/lib/devtools/Images/left-panel-close.svg +1 -0
- package/lib/devtools/Images/left-panel-open.svg +1 -0
- package/lib/devtools/Images/lightbulb-spark.svg +13 -0
- package/lib/devtools/Images/lightbulb.svg +3 -0
- package/lib/devtools/Images/lighthouse_logo.svg +158 -0
- package/lib/devtools/Images/list.svg +3 -0
- package/lib/devtools/Images/location-on.svg +3 -0
- package/lib/devtools/Images/lock-person.svg +1 -0
- package/lib/devtools/Images/lock.svg +3 -0
- package/lib/devtools/Images/mark-email-unread.svg +3 -0
- package/lib/devtools/Images/match-case.svg +3 -0
- package/lib/devtools/Images/match-whole-word.svg +1 -0
- package/lib/devtools/Images/memory.svg +6 -0
- package/lib/devtools/Images/minus.svg +3 -0
- package/lib/devtools/Images/mop.svg +1 -0
- package/lib/devtools/Images/mouse.svg +4 -0
- package/lib/devtools/Images/navigationControls.png +0 -0
- package/lib/devtools/Images/navigationControls_2x.png +0 -0
- package/lib/devtools/Images/network-settings.svg +3 -0
- package/lib/devtools/Images/node-stack-icon.svg +1 -0
- package/lib/devtools/Images/nodeIcon.avif +0 -0
- package/lib/devtools/Images/open-externally.svg +3 -0
- package/lib/devtools/Images/override.svg +11 -0
- package/lib/devtools/Images/palette.svg +10 -0
- package/lib/devtools/Images/pause-circle.svg +1 -0
- package/lib/devtools/Images/pause.svg +1 -0
- package/lib/devtools/Images/pen-spark.svg +3 -0
- package/lib/devtools/Images/performance-panel-delete-annotation.svg +32 -0
- package/lib/devtools/Images/performance-panel-diagram.svg +34 -0
- package/lib/devtools/Images/performance-panel-entry-label.svg +75 -0
- package/lib/devtools/Images/performance-panel-time-range.svg +15 -0
- package/lib/devtools/Images/performance.svg +3 -0
- package/lib/devtools/Images/person.svg +3 -0
- package/lib/devtools/Images/photo-camera.svg +10 -0
- package/lib/devtools/Images/play.svg +3 -0
- package/lib/devtools/Images/plus.svg +3 -0
- package/lib/devtools/Images/policy.svg +3 -0
- package/lib/devtools/Images/popoverArrows.png +0 -0
- package/lib/devtools/Images/popup.svg +3 -0
- package/lib/devtools/Images/preview_feature_video_thumbnail.svg +92 -0
- package/lib/devtools/Images/profile.svg +3 -0
- package/lib/devtools/Images/psychiatry.svg +3 -0
- package/lib/devtools/Images/puzzle.svg +3 -0
- package/lib/devtools/Images/record-start.svg +4 -0
- package/lib/devtools/Images/record-stop.svg +4 -0
- package/lib/devtools/Images/redo.svg +3 -0
- package/lib/devtools/Images/refresh.svg +10 -0
- package/lib/devtools/Images/regular-expression.svg +3 -0
- package/lib/devtools/Images/replace.svg +1 -0
- package/lib/devtools/Images/replay.svg +3 -0
- package/lib/devtools/Images/report.svg +1 -0
- package/lib/devtools/Images/resizeDiagonal.svg +1 -0
- package/lib/devtools/Images/resizeHorizontal.svg +1 -0
- package/lib/devtools/Images/resizeVertical.svg +1 -0
- package/lib/devtools/Images/resume.svg +1 -0
- package/lib/devtools/Images/revert.svg +3 -0
- package/lib/devtools/Images/review.svg +5 -0
- package/lib/devtools/Images/right-panel-close.svg +1 -0
- package/lib/devtools/Images/right-panel-open.svg +1 -0
- package/lib/devtools/Images/scissors.svg +3 -0
- package/lib/devtools/Images/screen-rotation.svg +1 -0
- package/lib/devtools/Images/search.svg +3 -0
- package/lib/devtools/Images/select-element.svg +3 -0
- package/lib/devtools/Images/send.svg +3 -0
- package/lib/devtools/Images/shadow.svg +3 -0
- package/lib/devtools/Images/shield.svg +3 -0
- package/lib/devtools/Images/small-status-dot.svg +3 -0
- package/lib/devtools/Images/smart-assistant.svg +3 -0
- package/lib/devtools/Images/snippet.svg +4 -0
- package/lib/devtools/Images/spark-info.svg +3 -0
- package/lib/devtools/Images/spark.svg +3 -0
- package/lib/devtools/Images/speculative-loads.svg +1 -0
- package/lib/devtools/Images/speedster-badge.svg +166 -0
- package/lib/devtools/Images/star.svg +3 -0
- package/lib/devtools/Images/step-into.svg +1 -0
- package/lib/devtools/Images/step-out.svg +1 -0
- package/lib/devtools/Images/step-over.svg +1 -0
- package/lib/devtools/Images/step.svg +1 -0
- package/lib/devtools/Images/stop.svg +3 -0
- package/lib/devtools/Images/symbol.svg +3 -0
- package/lib/devtools/Images/sync.svg +3 -0
- package/lib/devtools/Images/tab-move.svg +1 -0
- package/lib/devtools/Images/table.svg +3 -0
- package/lib/devtools/Images/terminal.svg +10 -0
- package/lib/devtools/Images/text-analysis.svg +3 -0
- package/lib/devtools/Images/thumb-down-filled.svg +3 -0
- package/lib/devtools/Images/thumb-down.svg +3 -0
- package/lib/devtools/Images/thumb-up-filled.svg +3 -0
- package/lib/devtools/Images/thumb-up.svg +3 -0
- package/lib/devtools/Images/tonality.svg +10 -0
- package/lib/devtools/Images/toolbarResizerVertical.png +0 -0
- package/lib/devtools/Images/top-panel-close.svg +1 -0
- package/lib/devtools/Images/top-panel-open.svg +1 -0
- package/lib/devtools/Images/touch-app.svg +4 -0
- package/lib/devtools/Images/touchCursor.png +0 -0
- package/lib/devtools/Images/touchCursor_2x.png +0 -0
- package/lib/devtools/Images/triangle-bottom-right.svg +3 -0
- package/lib/devtools/Images/triangle-down.svg +1 -0
- package/lib/devtools/Images/triangle-left.svg +1 -0
- package/lib/devtools/Images/triangle-right.svg +1 -0
- package/lib/devtools/Images/triangle-up.svg +3 -0
- package/lib/devtools/Images/trophy.svg +3 -0
- package/lib/devtools/Images/tune.svg +3 -0
- package/lib/devtools/Images/undo.svg +1 -0
- package/lib/devtools/Images/warning-filled.svg +3 -0
- package/lib/devtools/Images/warning.svg +3 -0
- package/lib/devtools/Images/watch.svg +3 -0
- package/lib/devtools/Images/whatsnew.svg +61 -0
- package/lib/devtools/Images/width.svg +3 -0
- package/lib/devtools/Images/zoom-in.svg +3 -0
- package/lib/devtools/LICENSE +27 -0
- package/lib/devtools/application_tokens.css +413 -0
- package/lib/devtools/chunks/FormatterActions-FcPgI0uV.js +19 -0
- package/lib/devtools/chunks/UIFilter-CIzBruM3.js +18 -0
- package/lib/devtools/chunks/UIRequestLocation-CtGcVN3I.js +48 -0
- package/lib/devtools/chunks/_qilin-devtools_empty-BvRk9kiK.js +0 -0
- package/lib/devtools/chunks/accessibility-CwvHp3sj.js +2718 -0
- package/lib/devtools/chunks/acorn-_jSanihy.js +3232 -0
- package/lib/devtools/chunks/adorners-D4aU6nuY.js +45 -0
- package/lib/devtools/chunks/ai_assistance-BU6E0Wio.js +4255 -0
- package/lib/devtools/chunks/angular-Dutmu-L9.js +117 -0
- package/lib/devtools/chunks/animation-TEwO5UI_.js +922 -0
- package/lib/devtools/chunks/application-SCf6MiCN.js +12740 -0
- package/lib/devtools/chunks/autofill-Dp3nMnuK.js +198 -0
- package/lib/devtools/chunks/autofill_manager-BXntqfdp.js +58 -0
- package/lib/devtools/chunks/bindings-DgoVEdsr.js +4105 -0
- package/lib/devtools/chunks/browser-DL1S1Kiu.js +62 -0
- package/lib/devtools/chunks/browser_debugger-p7Rr4IBR.js +629 -0
- package/lib/devtools/chunks/changes-DeW5MC9u.js +2 -0
- package/lib/devtools/chunks/changes-k42bihtm.js +393 -0
- package/lib/devtools/chunks/checkbox.css-CZJJ6atQ.js +4 -0
- package/lib/devtools/chunks/chunk-DF993M8W.js +11 -0
- package/lib/devtools/chunks/code_highlighter-BnTPt9_G.js +210 -0
- package/lib/devtools/chunks/codemirror-CBR9VJma.js +15842 -0
- package/lib/devtools/chunks/color_picker-Cuh_X19Y.js +1566 -0
- package/lib/devtools/chunks/common-DjRFwulW.js +15145 -0
- package/lib/devtools/chunks/common-Uu9A2glf.js +2 -0
- package/lib/devtools/chunks/common-qd_KLeYO.js +6639 -0
- package/lib/devtools/chunks/components-CnPGgDUW.js +704 -0
- package/lib/devtools/chunks/components-Cw5tHQqN.js +1338 -0
- package/lib/devtools/chunks/components-EJwviLtZ.js +1090 -0
- package/lib/devtools/chunks/console-D1WlMaFQ.js +3855 -0
- package/lib/devtools/chunks/console-yMm3XVTY.js +2 -0
- package/lib/devtools/chunks/console_counters-9SfIdrUo.js +103 -0
- package/lib/devtools/chunks/coverage-BbFH390Q.js +1176 -0
- package/lib/devtools/chunks/coverage-CLBpovLw.js +2 -0
- package/lib/devtools/chunks/cpp-CdElSCaB.js +435 -0
- package/lib/devtools/chunks/css_overview-cITV9auE.js +1288 -0
- package/lib/devtools/chunks/data_grid-pC5qqfsJ.js +1671 -0
- package/lib/devtools/chunks/developer_resources-4DqQIvy6.js +240 -0
- package/lib/devtools/chunks/diff-qn55JSCS.js +444 -0
- package/lib/devtools/chunks/dom_extension-BfrKZ4JG.js +172 -0
- package/lib/devtools/chunks/elements-CgEYz3mX.js +2 -0
- package/lib/devtools/chunks/elements-Dbx4q9-v.js +11407 -0
- package/lib/devtools/chunks/emulation-C6XKPPGu.js +1306 -0
- package/lib/devtools/chunks/emulation-D8xbdsAj.js +2 -0
- package/lib/devtools/chunks/emulation-EtJlEukP.js +2732 -0
- package/lib/devtools/chunks/emulation-cjFPXHT9.js +157 -0
- package/lib/devtools/chunks/event_listeners-BeTH3gi2.js +414 -0
- package/lib/devtools/chunks/explain-P_aDGFSD.js +747 -0
- package/lib/devtools/chunks/greendev-BU0QcVPX.js +152 -0
- package/lib/devtools/chunks/heap_snapshot-CZt2KUPL.js +427 -0
- package/lib/devtools/chunks/helper-CI72KvIC.js +33 -0
- package/lib/devtools/chunks/helpers--xrfGSwQ.js +29 -0
- package/lib/devtools/chunks/i18n-DvFMqQdJ.js +17 -0
- package/lib/devtools/chunks/icon_button-BebVdJD8.js +83 -0
- package/lib/devtools/chunks/inline_editor-D54X5UUr.js +1309 -0
- package/lib/devtools/chunks/inspector_main-DRbdXLmF.js +279 -0
- package/lib/devtools/chunks/issue_counter-CeOjTNGW.js +193 -0
- package/lib/devtools/chunks/issues-CegBKEda.js +1649 -0
- package/lib/devtools/chunks/issues_manager-D7nfNPN1.js +3009 -0
- package/lib/devtools/chunks/java-7g_qfFa2.js +263 -0
- package/lib/devtools/chunks/layer_viewer-CaFC5oyv.js +1423 -0
- package/lib/devtools/chunks/layers-CXqlD9zH.js +370 -0
- package/lib/devtools/chunks/legacy-Bqn4Q0Tf.js +41804 -0
- package/lib/devtools/chunks/legacy-DOCLCisy.js +1434 -0
- package/lib/devtools/chunks/less-DXiRNbd4.js +195 -0
- package/lib/devtools/chunks/lighthouse-DtpzvfT6.js +3920 -0
- package/lib/devtools/chunks/lighthouse-T9ZpmENr.js +2 -0
- package/lib/devtools/chunks/linear_memory_inspector-C50PtM45.js +305 -0
- package/lib/devtools/chunks/live-metrics-Bs7wxibB.js +284 -0
- package/lib/devtools/chunks/main-C5y6NscM.js +2 -0
- package/lib/devtools/chunks/main-DcgYyEI0.js +755 -0
- package/lib/devtools/chunks/markdown-tZoR6Bsu.js +1512 -0
- package/lib/devtools/chunks/markdown_view-C67b2DdG.js +461 -0
- package/lib/devtools/chunks/marked-zGgfoDxO.js +1362 -0
- package/lib/devtools/chunks/media-BhuqASbO.js +1337 -0
- package/lib/devtools/chunks/media-Wfo1AbXC.js +2 -0
- package/lib/devtools/chunks/menus-BAUukA5-.js +969 -0
- package/lib/devtools/chunks/mobile_throttling-C26zde8o.js +2 -0
- package/lib/devtools/chunks/mobile_throttling-Cw4AkJH4.js +1052 -0
- package/lib/devtools/chunks/network-C3gIloDN.js +2 -0
- package/lib/devtools/chunks/network-CaxdpGU2.js +9181 -0
- package/lib/devtools/chunks/objectValue.css-C9o9fdM2.js +4 -0
- package/lib/devtools/chunks/object_ui-BYgPTK_b.js +1461 -0
- package/lib/devtools/chunks/object_ui-E7eR7aD-.js +2 -0
- package/lib/devtools/chunks/perf_ui-BqzJrt4p.js +2 -0
- package/lib/devtools/chunks/perf_ui-CQMkYfn3.js +3143 -0
- package/lib/devtools/chunks/performance_monitor-B2kUoCv0.js +385 -0
- package/lib/devtools/chunks/php-tl5gKrxu.js +423 -0
- package/lib/devtools/chunks/platform-BzB373NB.js +600 -0
- package/lib/devtools/chunks/profiler-BGu3akEf.js +4608 -0
- package/lib/devtools/chunks/protocol_client-Cwf_jb8R.js +24329 -0
- package/lib/devtools/chunks/protocol_monitor-B9nMqAAE.js +2 -0
- package/lib/devtools/chunks/protocol_monitor-CvLQ8ms1.js +1224 -0
- package/lib/devtools/chunks/puppeteer-CaOjgj3v.js +13299 -0
- package/lib/devtools/chunks/python-D9AdRkMm.js +580 -0
- package/lib/devtools/chunks/quick_open-C3IZ69m9.js +2 -0
- package/lib/devtools/chunks/quick_open-DRITaPnZ.js +722 -0
- package/lib/devtools/chunks/recorder-C0f1n95b.js +5465 -0
- package/lib/devtools/chunks/recorder-actions-S2RfLX4H.js +6 -0
- package/lib/devtools/chunks/request_link_icon-fGy57GcW.js +87 -0
- package/lib/devtools/chunks/root-DbVQo07X.js +255 -0
- package/lib/devtools/chunks/sass-BPQlMmw2.js +370 -0
- package/lib/devtools/chunks/security-NbgKa3ux.js +898 -0
- package/lib/devtools/chunks/sensors-nM7qcBE4.js +752 -0
- package/lib/devtools/chunks/settings-aKtQC12v.js +1433 -0
- package/lib/devtools/chunks/settings_ui-CzxAFzIb.js +175 -0
- package/lib/devtools/chunks/snackbars-lPThuWYs.js +12010 -0
- package/lib/devtools/chunks/snippets-dIuBmVBv.js +173 -0
- package/lib/devtools/chunks/source_frame-CSjno3kf.js +1352 -0
- package/lib/devtools/chunks/sources-BIZssBei.js +8216 -0
- package/lib/devtools/chunks/sources-Bf8QJxju.js +2 -0
- package/lib/devtools/chunks/suggestion_input-Duuu5pyd.js +196 -0
- package/lib/devtools/chunks/svelte-DJS1itbE.js +744 -0
- package/lib/devtools/chunks/textInput.css-DPvwvIic.js +4 -0
- package/lib/devtools/chunks/text_editor-Dq1P6D2J.js +15706 -0
- package/lib/devtools/chunks/text_utils-ohNt_gua.js +608 -0
- package/lib/devtools/chunks/theme_support-CbSSLkbO.js +92 -0
- package/lib/devtools/chunks/third-party-web-DGiPoc0U.js +12626 -0
- package/lib/devtools/chunks/timeline-BE_ysZxO.js +2 -0
- package/lib/devtools/chunks/timeline-C4vCX79k.js +16347 -0
- package/lib/devtools/chunks/utils-CELci976.js +298 -0
- package/lib/devtools/chunks/vue-CjH9yovn.js +73 -0
- package/lib/devtools/chunks/wast-CbGHiqaW.js +109 -0
- package/lib/devtools/chunks/web_audio-IdfBLjwV.js +277 -0
- package/lib/devtools/chunks/webauthn-iRZlbjGV.js +522 -0
- package/lib/devtools/chunks/whats_new-DOTPf2xJ.js +177 -0
- package/lib/devtools/chunks/xml-DI9dcP5w.js +327 -0
- package/lib/devtools/connect.js +9 -0
- package/lib/devtools/design_system_tokens.css +1061 -0
- package/lib/devtools/device_mode_emulation_frame.html +25 -0
- package/lib/devtools/devtools_app.html +25 -0
- package/lib/devtools/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPad-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPad-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/optimized_images.gni +53 -0
- package/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +4 -0
- package/lib/devtools/entrypoints/devtools_app/devtools_app.js +6240 -0
- package/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +2810 -0
- package/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +2142 -0
- package/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +290095 -0
- package/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +3403 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOrigin.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +18 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameSite.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/CompatibilityModeQuirks.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/CookieAttributeValueExceedsMaxSize.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/LowTextContrast.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeNavigationContextDowngrade.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/arInsecureContext.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/arOsSourceIgnored.md +18 -0
- package/lib/devtools/models/issues_manager/descriptions/arOsTriggerIgnored.md +19 -0
- package/lib/devtools/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/arSourceIgnored.md +13 -0
- package/lib/devtools/models/issues_manager/descriptions/arTriggerIgnored.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/arWebAndOsHeaders.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/bounceTrackingMitigations.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidAllowlistItemType.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidHeader.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidUrlPattern.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistItemNotInnerList.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistMoreThanOneList.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistReportingEndpointNotToken.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieCrossSiteRedirectDowngrade.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeDomainNonAscii.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutRead.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutSet.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnDomainNonAscii.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutRead.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutSet.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsAllowCredentialsRequired.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsDisabledScheme.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsDisallowedByMode.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsHeaderDisallowedByPreflightResponse.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsInvalidHeaderValues.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsLocalNetworkAccessPermissionDenied.md +19 -0
- package/lib/devtools/models/issues_manager/descriptions/corsMethodDisallowedByPreflightResponse.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsNoCorsRedirectModeNotFollow.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsOriginMismatch.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsPreflightResponseInvalid.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsRedirectContainsCredentials.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsWildcardOriginNotAllowed.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cspEvalViolation.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/cspInlineViolation.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesPolicyViolation.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesSinkViolation.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cspURLViolation.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/deprecation.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsFetchFailed.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestInvalidEmail.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestUserLoggedOut.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestApprovalDeclined.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestCanceled.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorFetchingSignin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestInvalidSigninResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestTooManyRequests.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoApiPermission.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotIframe.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/fetchingPartitionedBlobURL.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/genericBackUINavigationWouldSkipAd.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormAriaLabelledByToNonExistingIdError.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormAutocompleteAttributeEmptyError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormDuplicateIdForInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputWithNoLabelError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForMatchesNonExistingIdError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForNameError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolDescription.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingTitleAndDescription.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextRequiredParameterMissingName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericNavigationEntryMarkedSkippable.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/genericResponseWasBlockedByORB.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/heavyAd.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/mixedContent.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/navigatingPartitionedBlobURL.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/propertyRuleInvalidNameIssue.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/propertyRuleIssue.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedSelectChild.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectivePermissionsIntervention.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedArrayBuffer.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorDictionaryLoadFailure.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorExpiredResponse.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInsufficientResources.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidTTLField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNavigationRequest.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNoMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonIntegerTTLField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonListMatchDestField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonSecureContext.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringIdField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringInMatchDestList.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonTokenTypeField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorRequestAborted.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorShuttingDown.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorTooLongIdField.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorUnsupportedType.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureHeader.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureInputHeader.md +15 -0
- package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureHeader.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureInputHeader.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsIncorrectLength.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsNotByteSequence.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsParameterized.md +15 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentName.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentType.md +13 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidParameter.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderKeyIdLength.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingLabel.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueMissingComponents.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueNotInnerList.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedInvalidLength.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureExpired.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureMismatch.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/stylesheetLateImport.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/stylesheetRequestFailed.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestLength.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestType.md +17 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestMalformedDictionary.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestUnknownAlgorithm.md +15 -0
- package/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -0
- package/lib/devtools/panels/recorder/injected/injected.generated.js +1 -0
- package/lib/devtools/panels/whats_new/resources/WNDT.md +14 -0
- package/lib/devtools/resource-manifest.json +3818 -0
- package/lib/devtools/third_party/acorn/package/LICENSE +21 -0
- package/lib/devtools/third_party/axe-core/LICENSE +362 -0
- package/lib/devtools/third_party/chromium/LICENSE +27 -0
- package/lib/devtools/third_party/codemirror/package/LICENSE +21 -0
- package/lib/devtools/third_party/codemirror.next/LICENSE +21 -0
- package/lib/devtools/third_party/csp_evaluator/package/LICENSE +202 -0
- package/lib/devtools/third_party/diff/LICENSE +202 -0
- package/lib/devtools/third_party/i18n/LICENSE +202 -0
- package/lib/devtools/third_party/intl-messageformat/LICENSE +33 -0
- package/lib/devtools/third_party/intl-messageformat/package/LICENSE.md +33 -0
- package/lib/devtools/third_party/json5/LICENSE +23 -0
- package/lib/devtools/third_party/legacy-javascript/LICENSE +202 -0
- package/lib/devtools/third_party/lighthouse/LICENSE +202 -0
- package/lib/devtools/third_party/lit/LICENSE +28 -0
- package/lib/devtools/third_party/marked/LICENSE +39 -0
- package/lib/devtools/third_party/marked/package/LICENSE.md +44 -0
- package/lib/devtools/third_party/puppeteer/LICENSE +202 -0
- package/lib/devtools/third_party/puppeteer/third_party/mitt/LICENSE +21 -0
- package/lib/devtools/third_party/puppeteer/third_party/parsel/LICENSE +21 -0
- package/lib/devtools/third_party/puppeteer/third_party/rxjs/LICENSE +201 -0
- package/lib/devtools/third_party/puppeteer-replay/package/LICENSE +202 -0
- package/lib/devtools/third_party/source-map-scopes-codec/LICENSE +26 -0
- package/lib/devtools/third_party/source-map-scopes-codec/package/LICENSE +26 -0
- package/lib/devtools/third_party/third-party-web/LICENSE +20 -0
- package/lib/devtools/third_party/third-party-web/package/LICENSE +20 -0
- package/lib/devtools/third_party/vscode.web-custom-data/package/LICENSE.md +21 -0
- package/lib/devtools/third_party/wasmparser/package/LICENSE +177 -0
- package/lib/devtools/third_party/web-vitals/package/LICENSE +202 -0
- package/lib/index.js +2554 -0
- package/lib/types/client/bottom/keyboard.d.ts +10 -0
- package/lib/types/client/bottom/locales.d.ts +17 -0
- package/lib/types/client/bottom/page.d.ts +10 -0
- package/lib/types/client/bottom/resize.d.ts +12 -0
- package/lib/types/client/bridge/controller.d.ts +10 -0
- package/lib/types/client/bridge/dispatcher.d.ts +26 -0
- package/lib/types/client/bridge/lifecycle.d.ts +22 -0
- package/lib/types/client/bridge/locales.d.ts +3 -0
- package/lib/types/client/bridge/publisher.d.ts +42 -0
- package/lib/types/client/bridge/rpc.d.ts +13 -0
- package/lib/types/client/bridge/transport.d.ts +41 -0
- package/lib/types/client/cdp/console.d.ts +45 -0
- package/lib/types/client/cdp/debugger.d.ts +8 -0
- package/lib/types/client/cdp/errors.d.ts +8 -0
- package/lib/types/client/cdp/heap-profiler.d.ts +8 -0
- package/lib/types/client/cdp/index.d.ts +10 -0
- package/lib/types/client/cdp/objects.d.ts +69 -0
- package/lib/types/client/cdp/profiler.d.ts +8 -0
- package/lib/types/client/cdp/properties.d.ts +16 -0
- package/lib/types/client/cdp/runtime.d.ts +79 -0
- package/lib/types/client/cdp/sources.d.ts +53 -0
- package/lib/types/client/cdp/stack.d.ts +27 -0
- package/lib/types/client/index.d.ts +3 -0
- package/lib/types/client/inspection/cordis.d.ts +3 -0
- package/lib/types/client/inspection/network.d.ts +4 -0
- package/lib/types/client/inspection/realm.d.ts +27 -0
- package/lib/types/client/plugin.d.ts +29 -0
- package/lib/types/host/bridge/controller.d.ts +108 -0
- package/lib/types/host/bridge/dispatcher.d.ts +16 -0
- package/lib/types/host/bridge/lifecycle.d.ts +42 -0
- package/lib/types/host/bridge/publisher.d.ts +31 -0
- package/lib/types/host/bridge/rpc.d.ts +15 -0
- package/lib/types/host/bridge/transport.d.ts +28 -0
- package/lib/types/host/cdp/console.d.ts +14 -0
- package/lib/types/host/cdp/debugger.d.ts +8 -0
- package/lib/types/host/cdp/errors.d.ts +6 -0
- package/lib/types/host/cdp/heap-profiler.d.ts +8 -0
- package/lib/types/host/cdp/index.d.ts +10 -0
- package/lib/types/host/cdp/objects.d.ts +8 -0
- package/lib/types/host/cdp/profiler.d.ts +8 -0
- package/lib/types/host/cdp/properties.d.ts +7 -0
- package/lib/types/host/cdp/runtime.d.ts +16 -0
- package/lib/types/host/cdp/sources.d.ts +14 -0
- package/lib/types/host/cdp/stack.d.ts +4 -0
- package/lib/types/host/index.d.ts +3 -0
- package/lib/types/host/inspection/cordis.d.ts +3 -0
- package/lib/types/host/inspection/network.d.ts +23 -0
- package/lib/types/host/inspection/realm.d.ts +9 -0
- package/lib/types/host/plugin.d.ts +19 -0
- package/lib/types/index.d.ts +50 -0
- package/lib/types/shared/bridge/buffer.d.ts +62 -0
- package/lib/types/shared/bridge/codec.d.ts +4 -0
- package/lib/types/shared/bridge/control-codec.d.ts +27 -0
- package/lib/types/shared/bridge/ids.d.ts +19 -0
- package/lib/types/shared/bridge/messages/control.d.ts +64 -0
- package/lib/types/shared/bridge/messages/cordis.d.ts +4 -0
- package/lib/types/shared/bridge/messages/network.d.ts +4 -0
- package/lib/types/shared/bridge/messages/observation.d.ts +110 -0
- package/lib/types/shared/bridge/messages/query/codec.d.ts +40 -0
- package/lib/types/shared/bridge/messages/query/commands.d.ts +35 -0
- package/lib/types/shared/bridge/messages/query/frames.d.ts +31 -0
- package/lib/types/shared/bridge/messages/query/index.d.ts +5 -0
- package/lib/types/shared/bridge/messages/runtime/command-codec.d.ts +9 -0
- package/lib/types/shared/bridge/messages/runtime/commands.d.ts +76 -0
- package/lib/types/shared/bridge/messages/runtime/console-frames.d.ts +52 -0
- package/lib/types/shared/bridge/messages/runtime/frames.d.ts +98 -0
- package/lib/types/shared/bridge/messages/runtime/index.d.ts +5 -0
- package/lib/types/shared/bridge/messages/runtime/value-codec.d.ts +28 -0
- package/lib/types/shared/bridge/messages/sources/codec.d.ts +15 -0
- package/lib/types/shared/bridge/messages/sources/commands.d.ts +42 -0
- package/lib/types/shared/bridge/messages/sources/frames.d.ts +67 -0
- package/lib/types/shared/bridge/messages/sources/index.d.ts +5 -0
- package/lib/types/shared/bridge/publisher.d.ts +33 -0
- package/lib/types/shared/bridge/query-reader.d.ts +10 -0
- package/lib/types/shared/bridge/rpc.d.ts +62 -0
- package/lib/types/shared/bridge/validation.d.ts +3 -0
- package/lib/types/shared/bridge/version.d.ts +3 -0
- package/lib/types/shared/cdp/capabilities.d.ts +17 -0
- package/lib/types/shared/cdp/console.d.ts +28 -0
- package/lib/types/shared/cdp/debugger.d.ts +69 -0
- package/lib/types/shared/cdp/errors.d.ts +27 -0
- package/lib/types/shared/cdp/ids.d.ts +9 -0
- package/lib/types/shared/cdp/index.d.ts +11 -0
- package/lib/types/shared/cdp/operations.d.ts +86 -0
- package/lib/types/shared/cdp/property.d.ts +28 -0
- package/lib/types/shared/cdp/realm.d.ts +137 -0
- package/lib/types/shared/cdp/remote-object.d.ts +44 -0
- package/lib/types/shared/cdp/sources.d.ts +18 -0
- package/lib/types/shared/cordis/collector.d.ts +26 -0
- package/lib/types/shared/cordis/ids.d.ts +7 -0
- package/lib/types/shared/cordis/model.d.ts +61 -0
- package/lib/types/shared/cordis/object-reference.d.ts +14 -0
- package/lib/types/shared/cordis/object-registry.d.ts +80 -0
- package/lib/types/shared/cordis/observer.d.ts +15 -0
- package/lib/types/shared/cordis/projector.d.ts +34 -0
- package/lib/types/shared/cordis/publisher.d.ts +13 -0
- package/lib/types/shared/cordis/reader.d.ts +18 -0
- package/lib/types/shared/cordis/snapshot.d.ts +39 -0
- package/lib/types/shared/dispose.d.ts +11 -0
- package/lib/types/shared/identity.d.ts +12 -0
- package/lib/types/shared/index.d.ts +18 -0
- package/lib/types/shared/json.d.ts +35 -0
- package/lib/types/shared/network/event-source.d.ts +20 -0
- package/lib/types/shared/network/observation.d.ts +52 -0
- package/lib/types/shared/service.d.ts +23 -0
- package/lib/types/shared/validation.d.ts +52 -0
- package/lib/types/shared/web.d.ts +16 -0
- package/lib/types/worker/bridge/endpoint.d.ts +49 -0
- package/lib/types/worker/bridge/hub.d.ts +108 -0
- package/lib/types/worker/bridge/runtime-rpc.d.ts +90 -0
- package/lib/types/worker/bridge/session.d.ts +15 -0
- package/lib/types/worker/bridge/source-rpc.d.ts +42 -0
- package/lib/types/worker/cdp/domains/debugger/cdp-params.d.ts +15 -0
- package/lib/types/worker/cdp/domains/debugger/index.d.ts +6 -0
- package/lib/types/worker/cdp/domains/debugger/projector.d.ts +22 -0
- package/lib/types/worker/cdp/domains/debugger/script-registry.d.ts +70 -0
- package/lib/types/worker/cdp/domains/debugger/session.d.ts +47 -0
- package/lib/types/worker/cdp/domains/dom/index.d.ts +4 -0
- package/lib/types/worker/cdp/domains/dom/model.d.ts +121 -0
- package/lib/types/worker/cdp/domains/dom/session.d.ts +78 -0
- package/lib/types/worker/cdp/domains/native.d.ts +25 -0
- package/lib/types/worker/cdp/domains/network/session.d.ts +46 -0
- package/lib/types/worker/cdp/domains/runtime/cdp-params.d.ts +82 -0
- package/lib/types/worker/cdp/domains/runtime/index.d.ts +3 -0
- package/lib/types/worker/cdp/domains/runtime/object-table.d.ts +117 -0
- package/lib/types/worker/cdp/domains/runtime/session.d.ts +97 -0
- package/lib/types/worker/cdp/ids.d.ts +37 -0
- package/lib/types/worker/cdp/protocol.d.ts +46 -0
- package/lib/types/worker/cdp/realm-sessions.d.ts +67 -0
- package/lib/types/worker/cdp/session.d.ts +39 -0
- package/lib/types/worker/cdp/target.d.ts +17 -0
- package/lib/types/worker/entry.d.ts +3 -0
- package/lib/types/worker/inspection/cordis-query.d.ts +11 -0
- package/lib/types/worker/inspection/cordis-store.d.ts +94 -0
- package/lib/types/worker/inspection/network-store.d.ts +110 -0
- package/lib/types/worker/inspection/query-router.d.ts +78 -0
- package/lib/types/worker/inspection/realm-store.d.ts +58 -0
- package/lib/types/worker/inspection/realm.d.ts +43 -0
- package/lib/types/worker/realms/client/bridge.d.ts +18 -0
- package/lib/types/worker/realms/client/console.d.ts +21 -0
- package/lib/types/worker/realms/client/debugger.d.ts +8 -0
- package/lib/types/worker/realms/client/index.d.ts +18 -0
- package/lib/types/worker/realms/client/runtime.d.ts +28 -0
- package/lib/types/worker/realms/client/scripts.d.ts +15 -0
- package/lib/types/worker/realms/client/sources.d.ts +30 -0
- package/lib/types/worker/realms/client/values.d.ts +55 -0
- package/lib/types/worker/realms/host/bridge.d.ts +49 -0
- package/lib/types/worker/realms/host/console.d.ts +25 -0
- package/lib/types/worker/realms/host/debugger.d.ts +25 -0
- package/lib/types/worker/realms/host/index.d.ts +13 -0
- package/lib/types/worker/realms/host/runtime.d.ts +54 -0
- package/lib/types/worker/realms/host/scripts.d.ts +9 -0
- package/lib/types/worker/realms/host/sources.d.ts +26 -0
- package/lib/types/worker/realms/host/values.d.ts +22 -0
- package/lib/types/worker/server.d.ts +16 -0
- package/lib/worker.js +7289 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +90 -3
|
@@ -0,0 +1,1337 @@
|
|
|
1
|
+
import { n as e } from "./chunk-DF993M8W.js";
|
|
2
|
+
import { D as t, lt as n } from "./platform-BzB373NB.js";
|
|
3
|
+
import { Pt as r, St as i, bt as a, d as o, tn as s, vt as c, wt as l } from "./common-qd_KLeYO.js";
|
|
4
|
+
import { $n as u, C as d, Dt as f, Fo as p, Hr as m, L as h, La as g, Md as _, Nd as v, Of as y, Po as b, Wo as x, Yr as S, Zo as C, br as w, ei as T, er as ee, ff as te, g as ne, qa as E, tr as re, vn as ie, xn as D, yr as ae } from "./legacy-Bqn4Q0Tf.js";
|
|
5
|
+
import { n as oe, t as se } from "./theme_support-CbSSLkbO.js";
|
|
6
|
+
import { c as ce, d as le, l as ue } from "./data_grid-pC5qqfsJ.js";
|
|
7
|
+
import { n as de, r as fe } from "./source_frame-CSjno3kf.js";
|
|
8
|
+
import { A as pe, M as me, O as he } from "./perf_ui-CQMkYfn3.js";
|
|
9
|
+
//#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/panels/media/eventDisplayTable.css.mjs
|
|
10
|
+
var ge = "/*\n * Copyright 2019 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.no-border-top-datagrid > .data-grid {\n /* make sure there is no top border, it ruins the menu view */\n border-top: 0;\n}\n\n.event-display-table-contents-table-container > .widget > .data-grid {\n height: 100%;\n}\n\n.data-grid .event-display-table-basic-text-table-entry {\n line-height: 26px;\n}\n\n.event-display-table-contents-json-wrapper > .json-view {\n overflow: visible;\n}\n", _e = /* @__PURE__ */ e({
|
|
11
|
+
EventNode: () => be,
|
|
12
|
+
MediaEventColumnKeys: () => ye,
|
|
13
|
+
PlayerEventsView: () => xe
|
|
14
|
+
}), O = {
|
|
15
|
+
timestamp: "Timestamp",
|
|
16
|
+
eventName: "Event name",
|
|
17
|
+
value: "Value",
|
|
18
|
+
eventDisplay: "Event display"
|
|
19
|
+
}, ve = l("panels/media/EventDisplayTable.ts", O), k = a.bind(void 0, ve), ye = /* @__PURE__ */ function(e) {
|
|
20
|
+
return e.TIMESTAMP = "displayTimestamp", e.EVENT = "event", e.VALUE = "value", e;
|
|
21
|
+
}({}), be = class extends ue {
|
|
22
|
+
expandableElement;
|
|
23
|
+
constructor(e) {
|
|
24
|
+
super(e, !1), this.expandableElement = null;
|
|
25
|
+
}
|
|
26
|
+
createCell(e) {
|
|
27
|
+
let t = this.createTD(e), n = this.data[e];
|
|
28
|
+
if (e === "value") {
|
|
29
|
+
let e = t.createChild("div", "event-display-table-contents-json-wrapper");
|
|
30
|
+
this.expandableElement = new de(new fe(n, "", ""), !0), this.expandableElement.markAsRoot(), this.expandableElement.show(e);
|
|
31
|
+
} else t.classList.add("event-display-table-basic-text-table-entry"), D(t, n);
|
|
32
|
+
return t;
|
|
33
|
+
}
|
|
34
|
+
}, xe = class e extends T {
|
|
35
|
+
dataGrid;
|
|
36
|
+
firstEventTime;
|
|
37
|
+
constructor() {
|
|
38
|
+
super({ jslog: `${E("events")}` }), this.registerRequiredCSS(ge), this.contentElement.classList.add("event-display-table-contents-table-container"), this.dataGrid = this.createDataGrid([
|
|
39
|
+
{
|
|
40
|
+
id: "displayTimestamp",
|
|
41
|
+
title: k(O.timestamp),
|
|
42
|
+
weight: 1,
|
|
43
|
+
sortable: !1
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: "event",
|
|
47
|
+
title: k(O.eventName),
|
|
48
|
+
weight: 2,
|
|
49
|
+
sortable: !1
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: "value",
|
|
53
|
+
title: k(O.value),
|
|
54
|
+
weight: 7,
|
|
55
|
+
sortable: !1
|
|
56
|
+
}
|
|
57
|
+
]), this.firstEventTime = 0, this.dataGrid.setStriped(!0), this.dataGrid.asWidget().show(this.contentElement);
|
|
58
|
+
}
|
|
59
|
+
createDataGrid(t) {
|
|
60
|
+
let n = [];
|
|
61
|
+
for (let r of t) n.push(e.convertToGridDescriptor(r));
|
|
62
|
+
let r = new ce({
|
|
63
|
+
displayName: k(O.eventDisplay),
|
|
64
|
+
columns: n
|
|
65
|
+
});
|
|
66
|
+
return r.asWidget().contentElement.classList.add("no-border-top-datagrid"), r;
|
|
67
|
+
}
|
|
68
|
+
onEvent(e) {
|
|
69
|
+
this.firstEventTime === 0 && typeof e.timestamp == "number" && (this.firstEventTime = e.timestamp), e = this.subtractFirstEventTime(e);
|
|
70
|
+
let t = e.value;
|
|
71
|
+
try {
|
|
72
|
+
let n = JSON.parse(t);
|
|
73
|
+
e.event = n.event, delete n.event, e.value = n;
|
|
74
|
+
let r = new be(e), i = this.dataGrid.scrollContainer, a = i.scrollTop === i.scrollHeight - i.offsetHeight;
|
|
75
|
+
this.dataGrid.rootNode().appendChild(r), a && (i.scrollTop = i.scrollHeight);
|
|
76
|
+
} catch {}
|
|
77
|
+
}
|
|
78
|
+
subtractFirstEventTime(e) {
|
|
79
|
+
return typeof e.timestamp == "number" && (e.displayTimestamp = (e.timestamp - this.firstEventTime).toFixed(3)), e;
|
|
80
|
+
}
|
|
81
|
+
static convertToGridDescriptor(e) {
|
|
82
|
+
return {
|
|
83
|
+
id: e.id,
|
|
84
|
+
title: e.title,
|
|
85
|
+
sortable: e.sortable,
|
|
86
|
+
weight: e.weight || 0,
|
|
87
|
+
sort: le.Ascending
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}, Se = /* @__PURE__ */ e({
|
|
91
|
+
Events: () => A,
|
|
92
|
+
MediaModel: () => j
|
|
93
|
+
}), A = /* @__PURE__ */ function(e) {
|
|
94
|
+
return e.PLAYER_PROPERTIES_CHANGED = "PlayerPropertiesChanged", e.PLAYER_EVENTS_ADDED = "PlayerEventsAdded", e.PLAYER_MESSAGES_LOGGED = "PlayerMessagesLogged", e.PLAYER_ERRORS_RAISED = "PlayerErrorsRaised", e.PLAYER_CREATED = "PlayerCreated", e;
|
|
95
|
+
}({}), j = class extends te {
|
|
96
|
+
enabled;
|
|
97
|
+
agent;
|
|
98
|
+
constructor(e) {
|
|
99
|
+
super(e), this.enabled = !1, this.agent = e.mediaAgent(), e.registerMediaDispatcher(this);
|
|
100
|
+
}
|
|
101
|
+
async resumeModel() {
|
|
102
|
+
if (!this.enabled) return await Promise.resolve();
|
|
103
|
+
await this.agent.invoke_enable();
|
|
104
|
+
}
|
|
105
|
+
ensureEnabled() {
|
|
106
|
+
this.agent.invoke_enable(), this.enabled = !0;
|
|
107
|
+
}
|
|
108
|
+
playerPropertiesChanged(e) {
|
|
109
|
+
this.dispatchEventToListeners("PlayerPropertiesChanged", e);
|
|
110
|
+
}
|
|
111
|
+
playerEventsAdded(e) {
|
|
112
|
+
this.dispatchEventToListeners("PlayerEventsAdded", e);
|
|
113
|
+
}
|
|
114
|
+
playerMessagesLogged(e) {
|
|
115
|
+
this.dispatchEventToListeners("PlayerMessagesLogged", e);
|
|
116
|
+
}
|
|
117
|
+
playerErrorsRaised(e) {
|
|
118
|
+
this.dispatchEventToListeners("PlayerErrorsRaised", e);
|
|
119
|
+
}
|
|
120
|
+
playerCreated({ player: e }) {
|
|
121
|
+
this.dispatchEventToListeners("PlayerCreated", e);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
te.register(j, {
|
|
125
|
+
capabilities: v.MEDIA,
|
|
126
|
+
autostart: !1
|
|
127
|
+
});
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/media/TickingFlameChartHelpers.ts
|
|
130
|
+
var Ce = /* @__PURE__ */ e({
|
|
131
|
+
Bounds: () => N,
|
|
132
|
+
formatMillisecondsToSeconds: () => M
|
|
133
|
+
});
|
|
134
|
+
function M(e, t) {
|
|
135
|
+
let n = 10 ** (3 - t), r = 10 ** Math.max(0, t);
|
|
136
|
+
return `${Math.round(e / n) / r} s`;
|
|
137
|
+
}
|
|
138
|
+
var N = class {
|
|
139
|
+
#e;
|
|
140
|
+
#t;
|
|
141
|
+
#n;
|
|
142
|
+
#r;
|
|
143
|
+
maxRange;
|
|
144
|
+
minRange;
|
|
145
|
+
constructor(e, t, n, r) {
|
|
146
|
+
this.#e = e, this.#t = t, this.#n = this.#e, this.#r = this.#t, this.maxRange = n, this.minRange = r;
|
|
147
|
+
}
|
|
148
|
+
get low() {
|
|
149
|
+
return this.#n;
|
|
150
|
+
}
|
|
151
|
+
get high() {
|
|
152
|
+
return this.#r;
|
|
153
|
+
}
|
|
154
|
+
get min() {
|
|
155
|
+
return this.#e;
|
|
156
|
+
}
|
|
157
|
+
get max() {
|
|
158
|
+
return this.#t;
|
|
159
|
+
}
|
|
160
|
+
get range() {
|
|
161
|
+
return this.#r - this.#n;
|
|
162
|
+
}
|
|
163
|
+
reassertBounds() {
|
|
164
|
+
let e = !0;
|
|
165
|
+
for (; e;) {
|
|
166
|
+
if (e = !1, this.range < this.minRange) {
|
|
167
|
+
e = !0;
|
|
168
|
+
let t = (this.minRange - this.range) / 2;
|
|
169
|
+
this.#r += t, this.#n -= t;
|
|
170
|
+
}
|
|
171
|
+
this.#n < this.#e && (e = !0, this.#n = this.#e), this.#r > this.#t && (e = !0, this.#r = this.#t);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
zoomOut(e, t) {
|
|
175
|
+
let n = this.#r - this.#n, r = n * 1.1 ** e - n, i = r * t, a = r - i;
|
|
176
|
+
this.#n -= i, this.#r += a, this.reassertBounds();
|
|
177
|
+
}
|
|
178
|
+
zoomIn(e, t) {
|
|
179
|
+
let n = this.#r - this.#n;
|
|
180
|
+
if (this.range <= this.minRange) return;
|
|
181
|
+
let r = n - n / 1.1 ** e, i = r * t, a = r - i;
|
|
182
|
+
this.#n += i, this.#r -= a, this.reassertBounds();
|
|
183
|
+
}
|
|
184
|
+
addMax(e) {
|
|
185
|
+
let t = this.#r - this.#n, n = this.#r === this.#t, r = this.#n === this.#e || t >= this.maxRange;
|
|
186
|
+
this.#t += e, n && r && (this.#r = this.#t), this.reassertBounds();
|
|
187
|
+
}
|
|
188
|
+
pushMaxAtLeastTo(e) {
|
|
189
|
+
return this.#t < e ? (this.addMax(e - this.#t), !0) : !1;
|
|
190
|
+
}
|
|
191
|
+
}, we = /* @__PURE__ */ e({
|
|
192
|
+
ColdColorScheme: () => I,
|
|
193
|
+
Event: () => Oe,
|
|
194
|
+
HotColorScheme: () => F,
|
|
195
|
+
TickingFlameChart: () => ke
|
|
196
|
+
}), Te = "11px " + y();
|
|
197
|
+
function P() {
|
|
198
|
+
return oe.instance().getComputedValue("--sys-color-on-surface");
|
|
199
|
+
}
|
|
200
|
+
var Ee = () => ({
|
|
201
|
+
height: 20,
|
|
202
|
+
padding: 2,
|
|
203
|
+
collapsible: me.NEVER,
|
|
204
|
+
font: Te,
|
|
205
|
+
color: P(),
|
|
206
|
+
backgroundColor: "rgba(100 0 0 / 10%)",
|
|
207
|
+
nestingLevel: 0,
|
|
208
|
+
itemsHeight: 20,
|
|
209
|
+
shareHeaderLine: !1,
|
|
210
|
+
useFirstLineForOverview: !1,
|
|
211
|
+
useDecoratorsForOverview: !1
|
|
212
|
+
}), F = [
|
|
213
|
+
"#ffba08",
|
|
214
|
+
"#faa307",
|
|
215
|
+
"#f48c06",
|
|
216
|
+
"#e85d04",
|
|
217
|
+
"#dc2f02",
|
|
218
|
+
"#d00000",
|
|
219
|
+
"#9d0208"
|
|
220
|
+
], I = [
|
|
221
|
+
"#7400b8",
|
|
222
|
+
"#6930c3",
|
|
223
|
+
"#5e60ce",
|
|
224
|
+
"#5390d9",
|
|
225
|
+
"#4ea8de",
|
|
226
|
+
"#48bfe3",
|
|
227
|
+
"#56cfe1",
|
|
228
|
+
"#64dfdf"
|
|
229
|
+
];
|
|
230
|
+
function De(e) {
|
|
231
|
+
let t = s(e)?.as(r.HSL);
|
|
232
|
+
return t && t.l < .5 ? "#eee" : "#444";
|
|
233
|
+
}
|
|
234
|
+
var Oe = class {
|
|
235
|
+
timelineData;
|
|
236
|
+
setLive;
|
|
237
|
+
setComplete;
|
|
238
|
+
updateMaxTime;
|
|
239
|
+
selfIndex;
|
|
240
|
+
#e;
|
|
241
|
+
title;
|
|
242
|
+
#t;
|
|
243
|
+
#n;
|
|
244
|
+
constructor(e, t, n = {
|
|
245
|
+
color: void 0,
|
|
246
|
+
duration: void 0,
|
|
247
|
+
level: 0,
|
|
248
|
+
name: "",
|
|
249
|
+
startTime: 0
|
|
250
|
+
}) {
|
|
251
|
+
this.timelineData = e, this.setLive = t.setLive, this.setComplete = t.setComplete, this.updateMaxTime = t.updateMaxTime, this.selfIndex = this.timelineData.entryLevels.length, this.#e = !1;
|
|
252
|
+
let r = n.duration === void 0 ? 0 : n.duration;
|
|
253
|
+
this.timelineData.entryLevels.push(n.level || 0), this.timelineData.entryStartTimes.push(n.startTime || 0), this.timelineData.entryTotalTimes.push(r), r === -1 && (this.endTime = -1), this.title = n.name || "", this.#t = n.color || F[0], this.#n = De(this.#t);
|
|
254
|
+
}
|
|
255
|
+
decorate(e) {
|
|
256
|
+
e.createChild("span").textContent = `Name: ${this.title}`, e.createChild("br");
|
|
257
|
+
let t = M(this.startTime, 2);
|
|
258
|
+
if (this.#e) e.createChild("span").textContent = `Duration: ${t} - LIVE!`;
|
|
259
|
+
else if (isNaN(this.duration)) e.createChild("span").textContent = `Time: ${t}`;
|
|
260
|
+
else {
|
|
261
|
+
let n = M(this.duration + this.startTime, 2);
|
|
262
|
+
e.createChild("span").textContent = `Duration: ${t} - ${n}`;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
set endTime(e) {
|
|
266
|
+
if (e === -1) this.timelineData.entryTotalTimes[this.selfIndex] = this.setLive(this.selfIndex), this.#e = !0;
|
|
267
|
+
else {
|
|
268
|
+
this.#e = !1;
|
|
269
|
+
let t = e - this.timelineData.entryStartTimes[this.selfIndex];
|
|
270
|
+
this.timelineData.entryTotalTimes[this.selfIndex] = t, this.setComplete(this.selfIndex), this.updateMaxTime(e);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
get id() {
|
|
274
|
+
return this.selfIndex;
|
|
275
|
+
}
|
|
276
|
+
set level(e) {
|
|
277
|
+
this.timelineData.entryLevels[this.selfIndex] = e;
|
|
278
|
+
}
|
|
279
|
+
set color(e) {
|
|
280
|
+
this.#t = e, this.#n = De(this.#t);
|
|
281
|
+
}
|
|
282
|
+
get color() {
|
|
283
|
+
return this.#t;
|
|
284
|
+
}
|
|
285
|
+
get fontColor() {
|
|
286
|
+
return this.#n;
|
|
287
|
+
}
|
|
288
|
+
get startTime() {
|
|
289
|
+
return this.timelineData.entryStartTimes[this.selfIndex];
|
|
290
|
+
}
|
|
291
|
+
get duration() {
|
|
292
|
+
return this.timelineData.entryTotalTimes[this.selfIndex];
|
|
293
|
+
}
|
|
294
|
+
get live() {
|
|
295
|
+
return this.#e;
|
|
296
|
+
}
|
|
297
|
+
}, ke = class extends T {
|
|
298
|
+
intervalTimer;
|
|
299
|
+
lastTimestamp;
|
|
300
|
+
#e;
|
|
301
|
+
ticking;
|
|
302
|
+
isShown;
|
|
303
|
+
bounds;
|
|
304
|
+
dataProvider;
|
|
305
|
+
delegate;
|
|
306
|
+
chartGroupExpansionSetting;
|
|
307
|
+
chart;
|
|
308
|
+
stoppedPermanently;
|
|
309
|
+
constructor() {
|
|
310
|
+
super(), this.intervalTimer = 0, this.lastTimestamp = 0, this.#e = !0, this.ticking = !1, this.isShown = !1, this.bounds = new N(0, 1e3, 3e4, 1e3), this.dataProvider = new je(this.bounds, this.updateMaxTime.bind(this)), this.delegate = new Ae(), this.chartGroupExpansionSetting = o.instance().createSetting("media-flame-chart-group-expansion", {}), this.chart = new he(this.dataProvider, this.delegate, this.chartGroupExpansionSetting), this.chart.disableRangeSelection(), this.chart.bindCanvasEvent("wheel", (e) => {
|
|
311
|
+
this.onScroll(e);
|
|
312
|
+
}), this.chart.show(this.contentElement);
|
|
313
|
+
}
|
|
314
|
+
addMarker(e) {
|
|
315
|
+
e.duration = NaN, this.startEvent(e);
|
|
316
|
+
}
|
|
317
|
+
startEvent(e) {
|
|
318
|
+
e.duration === void 0 && (e.duration = -1);
|
|
319
|
+
let t = e.startTime || 0, n = this.dataProvider.startEvent(e);
|
|
320
|
+
return this.updateMaxTime(t), n;
|
|
321
|
+
}
|
|
322
|
+
addGroup(e, t) {
|
|
323
|
+
this.dataProvider.addGroup(e, t);
|
|
324
|
+
}
|
|
325
|
+
updateMaxTime(e) {
|
|
326
|
+
this.bounds.pushMaxAtLeastTo(e) && this.updateRender();
|
|
327
|
+
}
|
|
328
|
+
onScroll(e) {
|
|
329
|
+
let t = Math.round(e.deltaY / 50), n = e.offsetX / e.srcElement.clientWidth;
|
|
330
|
+
t > 0 ? this.bounds.zoomOut(t, n) : this.bounds.zoomIn(-t, n), this.updateRender();
|
|
331
|
+
}
|
|
332
|
+
willHide() {
|
|
333
|
+
super.willHide(), this.isShown = !1, this.ticking && this.stop();
|
|
334
|
+
}
|
|
335
|
+
wasShown() {
|
|
336
|
+
super.wasShown(), this.isShown = !0, this.#e && !this.ticking && this.start();
|
|
337
|
+
}
|
|
338
|
+
set canTick(e) {
|
|
339
|
+
this.#e = e, this.ticking && !e && this.stop(), !this.ticking && this.isShown && e && this.start();
|
|
340
|
+
}
|
|
341
|
+
start() {
|
|
342
|
+
this.lastTimestamp === 0 && (this.lastTimestamp = Date.now()), !(this.intervalTimer !== 0 || this.stoppedPermanently) && (this.intervalTimer = window.setInterval(this.updateRender.bind(this), 16), this.ticking = !0);
|
|
343
|
+
}
|
|
344
|
+
stop(e = !1) {
|
|
345
|
+
window.clearInterval(this.intervalTimer), this.intervalTimer = 0, e && (this.stoppedPermanently = !0), this.ticking = !1;
|
|
346
|
+
}
|
|
347
|
+
updateRender() {
|
|
348
|
+
if (this.ticking) {
|
|
349
|
+
let e = Date.now(), t = e - this.lastTimestamp;
|
|
350
|
+
this.lastTimestamp = e, this.bounds.addMax(t);
|
|
351
|
+
}
|
|
352
|
+
this.dataProvider.updateMaxTime(this.bounds), this.chart.setWindowTimes(this.bounds.low, this.bounds.high, !0), this.chart.scheduleUpdate();
|
|
353
|
+
}
|
|
354
|
+
}, Ae = class {
|
|
355
|
+
windowChanged(e, t, n) {}
|
|
356
|
+
updateRangeSelection(e, t) {}
|
|
357
|
+
updateSelectedGroup(e, t) {}
|
|
358
|
+
}, je = class {
|
|
359
|
+
updateMaxTimeHandle;
|
|
360
|
+
bounds;
|
|
361
|
+
liveEvents;
|
|
362
|
+
eventMap;
|
|
363
|
+
#e;
|
|
364
|
+
maxLevel;
|
|
365
|
+
constructor(e, t) {
|
|
366
|
+
this.updateMaxTimeHandle = t, this.bounds = e, this.liveEvents = /* @__PURE__ */ new Set(), this.eventMap = /* @__PURE__ */ new Map(), this.#e = pe.createEmpty(), this.maxLevel = 0;
|
|
367
|
+
}
|
|
368
|
+
hasTrackConfigurationMode() {
|
|
369
|
+
return !1;
|
|
370
|
+
}
|
|
371
|
+
addGroup(e, t) {
|
|
372
|
+
if (this.#e.groups) {
|
|
373
|
+
let t = {
|
|
374
|
+
name: e,
|
|
375
|
+
startLevel: this.maxLevel,
|
|
376
|
+
expanded: !0,
|
|
377
|
+
selectable: !1,
|
|
378
|
+
style: Ee(),
|
|
379
|
+
track: null
|
|
380
|
+
};
|
|
381
|
+
this.#e.groups.push(t), oe.instance().addEventListener(se.eventName, () => {
|
|
382
|
+
t.style.color = P();
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
this.maxLevel += t;
|
|
386
|
+
}
|
|
387
|
+
startEvent(e) {
|
|
388
|
+
if (e.level = e.level || 0, e.level > this.maxLevel) throw Error(`level ${e.level} is above the maximum allowed of ${this.maxLevel}`);
|
|
389
|
+
let t = new Oe(this.#e, {
|
|
390
|
+
setLive: this.setLive.bind(this),
|
|
391
|
+
setComplete: this.setComplete.bind(this),
|
|
392
|
+
updateMaxTime: this.updateMaxTimeHandle
|
|
393
|
+
}, e);
|
|
394
|
+
return this.eventMap.set(t.id, t), t;
|
|
395
|
+
}
|
|
396
|
+
setLive(e) {
|
|
397
|
+
return this.liveEvents.add(e), this.bounds.max;
|
|
398
|
+
}
|
|
399
|
+
setComplete(e) {
|
|
400
|
+
this.liveEvents.delete(e);
|
|
401
|
+
}
|
|
402
|
+
updateMaxTime(e) {
|
|
403
|
+
this.bounds = e;
|
|
404
|
+
for (let e of this.liveEvents.entries()) this.eventMap.get(e[0]).endTime = -1;
|
|
405
|
+
}
|
|
406
|
+
maxStackDepth() {
|
|
407
|
+
return this.maxLevel + 1;
|
|
408
|
+
}
|
|
409
|
+
timelineData() {
|
|
410
|
+
return this.#e;
|
|
411
|
+
}
|
|
412
|
+
minimumBoundary() {
|
|
413
|
+
return this.bounds.low;
|
|
414
|
+
}
|
|
415
|
+
totalTime() {
|
|
416
|
+
return this.bounds.high;
|
|
417
|
+
}
|
|
418
|
+
entryColor(e) {
|
|
419
|
+
return this.eventMap.get(e).color;
|
|
420
|
+
}
|
|
421
|
+
textColor(e) {
|
|
422
|
+
return this.eventMap.get(e).fontColor;
|
|
423
|
+
}
|
|
424
|
+
entryTitle(e) {
|
|
425
|
+
return this.eventMap.get(e).title;
|
|
426
|
+
}
|
|
427
|
+
entryFont(e) {
|
|
428
|
+
return Te;
|
|
429
|
+
}
|
|
430
|
+
decorateEntry(e, t, n, r, i, a, o, s, c) {
|
|
431
|
+
return !1;
|
|
432
|
+
}
|
|
433
|
+
forceDecoration(e) {
|
|
434
|
+
return !1;
|
|
435
|
+
}
|
|
436
|
+
preparePopoverElement(e) {
|
|
437
|
+
let t = document.createElement("div");
|
|
438
|
+
return this.eventMap.get(e).decorate(t), t;
|
|
439
|
+
}
|
|
440
|
+
formatValue(e, t) {
|
|
441
|
+
return e += Math.round(this.bounds.low), this.bounds.range < 2800 ? M(e, 2) : this.bounds.range < 3e4 ? M(e, 1) : M(e, 0);
|
|
442
|
+
}
|
|
443
|
+
canJumpToEntry(e) {
|
|
444
|
+
return !1;
|
|
445
|
+
}
|
|
446
|
+
}, Me = -1.5, L = {
|
|
447
|
+
playbackStatus: "Playback Status",
|
|
448
|
+
bufferingStatus: "Buffering Status"
|
|
449
|
+
}, Ne = l("panels/media/EventTimelineView.ts", L), Pe = a.bind(void 0, Ne), Fe = class extends ke {
|
|
450
|
+
normalizedTimestamp;
|
|
451
|
+
playbackStatusLastEvent;
|
|
452
|
+
audioBufferingStateEvent;
|
|
453
|
+
videoBufferingStateEvent;
|
|
454
|
+
constructor() {
|
|
455
|
+
super(), this.element.setAttribute("jslog", `${E("timeline")}`), this.normalizedTimestamp = Me, this.addGroup(Pe(L.playbackStatus), 2), this.addGroup(Pe(L.bufferingStatus), 2), this.playbackStatusLastEvent = null, this.audioBufferingStateEvent = null, this.videoBufferingStateEvent = null;
|
|
456
|
+
}
|
|
457
|
+
ensureNoPreviousPlaybackEvent(e) {
|
|
458
|
+
this.playbackStatusLastEvent !== null && (this.playbackStatusLastEvent.endTime = e, this.playbackStatusLastEvent = null);
|
|
459
|
+
}
|
|
460
|
+
onPlaybackEvent(e, t) {
|
|
461
|
+
switch (e.event) {
|
|
462
|
+
case "kPlay":
|
|
463
|
+
this.canTick = !0, this.ensureNoPreviousPlaybackEvent(t), this.playbackStatusLastEvent = this.startEvent({
|
|
464
|
+
level: 0,
|
|
465
|
+
startTime: t,
|
|
466
|
+
name: "Play"
|
|
467
|
+
});
|
|
468
|
+
break;
|
|
469
|
+
case "kPause":
|
|
470
|
+
this.ensureNoPreviousPlaybackEvent(t), this.playbackStatusLastEvent = this.startEvent({
|
|
471
|
+
level: 0,
|
|
472
|
+
startTime: t,
|
|
473
|
+
name: "Pause",
|
|
474
|
+
color: F[1]
|
|
475
|
+
});
|
|
476
|
+
break;
|
|
477
|
+
case "kWebMediaPlayerDestroyed":
|
|
478
|
+
this.canTick = !1, this.ensureNoPreviousPlaybackEvent(t), this.addMarker({
|
|
479
|
+
level: 1,
|
|
480
|
+
startTime: t,
|
|
481
|
+
name: "Destroyed",
|
|
482
|
+
color: F[4]
|
|
483
|
+
});
|
|
484
|
+
break;
|
|
485
|
+
case "kSuspended":
|
|
486
|
+
this.canTick = !1, this.ensureNoPreviousPlaybackEvent(t), this.playbackStatusLastEvent = this.startEvent({
|
|
487
|
+
level: 1,
|
|
488
|
+
startTime: t,
|
|
489
|
+
name: "Suspended",
|
|
490
|
+
color: F[3]
|
|
491
|
+
});
|
|
492
|
+
break;
|
|
493
|
+
case "kEnded":
|
|
494
|
+
this.ensureNoPreviousPlaybackEvent(t), this.playbackStatusLastEvent = this.startEvent({
|
|
495
|
+
level: 1,
|
|
496
|
+
startTime: t,
|
|
497
|
+
name: "Ended",
|
|
498
|
+
color: F[2]
|
|
499
|
+
});
|
|
500
|
+
break;
|
|
501
|
+
default: throw Error(`_onPlaybackEvent cant handle ${e.event}`);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
bufferedEnough(e) {
|
|
505
|
+
return e.state === "BUFFERING_HAVE_ENOUGH";
|
|
506
|
+
}
|
|
507
|
+
onBufferingStatus(e, t) {
|
|
508
|
+
let n = null, r = null;
|
|
509
|
+
switch (e.event) {
|
|
510
|
+
case "kBufferingStateChanged":
|
|
511
|
+
n = e.value.audio_buffering_state, r = e.value.video_buffering_state, n && (this.audioBufferingStateEvent !== null && (this.audioBufferingStateEvent.endTime = t, this.audioBufferingStateEvent = null), this.bufferedEnough(n) || (this.audioBufferingStateEvent = this.startEvent({
|
|
512
|
+
level: 3,
|
|
513
|
+
startTime: t,
|
|
514
|
+
name: "Audio Buffering",
|
|
515
|
+
color: I[1]
|
|
516
|
+
}))), r && (this.videoBufferingStateEvent !== null && (this.videoBufferingStateEvent.endTime = t, this.videoBufferingStateEvent = null), this.bufferedEnough(r) || (this.videoBufferingStateEvent = this.startEvent({
|
|
517
|
+
level: 2,
|
|
518
|
+
startTime: t,
|
|
519
|
+
name: "Video Buffering",
|
|
520
|
+
color: I[0]
|
|
521
|
+
})));
|
|
522
|
+
break;
|
|
523
|
+
default: throw Error(`_onPlaybackEvent cant handle ${e.event}`);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
onEvent(e) {
|
|
527
|
+
this.normalizedTimestamp === Me && (this.normalizedTimestamp = Number(e.timestamp));
|
|
528
|
+
let t = (Number(e.timestamp) - this.normalizedTimestamp) * 1e3;
|
|
529
|
+
switch (e.event) {
|
|
530
|
+
case "kPlay":
|
|
531
|
+
case "kPause":
|
|
532
|
+
case "kWebMediaPlayerDestroyed":
|
|
533
|
+
case "kSuspended":
|
|
534
|
+
case "kEnded": return this.onPlaybackEvent(e, t);
|
|
535
|
+
case "kBufferingStateChanged": return this.onBufferingStatus(e, t);
|
|
536
|
+
default:
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}, Ie = "/*\n * Copyright 2020 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.media-messages-header {\n background-color: var(--sys-color-cdt-base-container);\n border-bottom: 1px solid var(--sys-color-divider);\n min-height: 26px;\n}\n\n.media-messages-body {\n overflow-y: scroll;\n}\n\n.media-messages-level-dropdown-element {\n height: 18px;\n line-height: 18px;\n}\n\n.media-messages-level-dropdown-text {\n float: left;\n}\n\n.media-messages-level-dropdown-checkbox {\n float: left;\n width: 18px;\n height: 100%;\n padding-left: 2px;\n}\n\n.media-messages-message-container {\n margin: 4px;\n font-size: 14px;\n line-height: 18px;\n padding: 4px;\n user-select: text;\n}\n\n.media-messages-message-container + .media-messages-message-container {\n border-top: 1px solid var(--sys-color-divider);\n\n &.media-message-warning,\n &.media-message-error {\n border: none;\n }\n}\n\n.media-message-warning {\n border-radius: 5px;\n background-color: var(--sys-color-surface-yellow);\n color: var(--sys-color-on-surface-yellow);\n}\n\n.media-message-error {\n border-radius: 5px;\n background-color: var(--sys-color-surface-error);\n color: var(--sys-color-on-surface-error);\n}\n\n.media-messages-message-filtered {\n display: none;\n}\n\n.media-messages-message-unselected {\n display: none;\n}\n\n.status-error-box {\n font-family: var(--monospace-font-family);\n border: 1px solid var(--sys-color-error-outline);\n border-radius: 5px;\n padding: 4px;\n}\n\n.status-error-field-label {\n padding-right: 10px;\n color: var(--sys-color-token-subtle);\n}\n\n.status-error-field-labeled {\n display: flex;\n}\n", Le = /* @__PURE__ */ e({ PlayerMessagesView: () => Be }), R = {
|
|
540
|
+
default: "Default",
|
|
541
|
+
custom: "Custom",
|
|
542
|
+
all: "All",
|
|
543
|
+
error: "Error",
|
|
544
|
+
warning: "Warning",
|
|
545
|
+
info: "Info",
|
|
546
|
+
debug: "Debug",
|
|
547
|
+
logLevel: "Log level:",
|
|
548
|
+
filterByLogMessages: "Filter by log messages",
|
|
549
|
+
errorGroupLabel: "Error Group:",
|
|
550
|
+
errorCodeLabel: "Error Code:",
|
|
551
|
+
errorDataLabel: "Data:",
|
|
552
|
+
errorStackLabel: "Stacktrace:",
|
|
553
|
+
errorCauseLabel: "Caused by:"
|
|
554
|
+
}, Re = l("panels/media/PlayerMessagesView.ts", R), z = a.bind(void 0, Re), ze = class {
|
|
555
|
+
items;
|
|
556
|
+
view;
|
|
557
|
+
itemMap;
|
|
558
|
+
hiddenLevels;
|
|
559
|
+
bitFieldValue;
|
|
560
|
+
#e;
|
|
561
|
+
customTitle;
|
|
562
|
+
allTitle;
|
|
563
|
+
elementsForItems;
|
|
564
|
+
constructor(e, t) {
|
|
565
|
+
this.items = e, this.view = t, this.itemMap = /* @__PURE__ */ new Map(), this.hiddenLevels = [], this.bitFieldValue = 7, this.#e = z(R.default), this.customTitle = z(R.custom), this.allTitle = z(R.all), this.elementsForItems = /* @__PURE__ */ new WeakMap();
|
|
566
|
+
}
|
|
567
|
+
defaultTitle() {
|
|
568
|
+
return this.#e;
|
|
569
|
+
}
|
|
570
|
+
setDefault(e) {
|
|
571
|
+
e.selectItem(this.items.at(0));
|
|
572
|
+
}
|
|
573
|
+
populate() {
|
|
574
|
+
this.items.insert(this.items.length, {
|
|
575
|
+
title: this.#e,
|
|
576
|
+
overwrite: !0,
|
|
577
|
+
stringValue: "",
|
|
578
|
+
value: 7
|
|
579
|
+
}), this.items.insert(this.items.length, {
|
|
580
|
+
title: this.allTitle,
|
|
581
|
+
overwrite: !0,
|
|
582
|
+
stringValue: "",
|
|
583
|
+
value: 15
|
|
584
|
+
}), this.items.insert(this.items.length, {
|
|
585
|
+
title: z(R.error),
|
|
586
|
+
overwrite: !1,
|
|
587
|
+
stringValue: "error",
|
|
588
|
+
value: 1
|
|
589
|
+
}), this.items.insert(this.items.length, {
|
|
590
|
+
title: z(R.warning),
|
|
591
|
+
overwrite: !1,
|
|
592
|
+
stringValue: "warning",
|
|
593
|
+
value: 2
|
|
594
|
+
}), this.items.insert(this.items.length, {
|
|
595
|
+
title: z(R.info),
|
|
596
|
+
overwrite: !1,
|
|
597
|
+
stringValue: "info",
|
|
598
|
+
value: 4
|
|
599
|
+
}), this.items.insert(this.items.length, {
|
|
600
|
+
title: z(R.debug),
|
|
601
|
+
overwrite: !1,
|
|
602
|
+
stringValue: "debug",
|
|
603
|
+
value: 8
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
updateCheckMarks() {
|
|
607
|
+
this.hiddenLevels = [];
|
|
608
|
+
for (let [e, t] of this.itemMap) if (!t.overwrite) {
|
|
609
|
+
let n = this.elementsForItems.get(t);
|
|
610
|
+
n?.firstChild && n.firstChild.remove(), n && e & this.bitFieldValue ? D(n.createChild("div"), "✓") : this.hiddenLevels.push(t.stringValue);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
titleFor(e) {
|
|
614
|
+
if (e.overwrite ? this.bitFieldValue = e.value : this.bitFieldValue ^= e.value, this.bitFieldValue === 7) return this.#e;
|
|
615
|
+
if (this.bitFieldValue === 15) return this.allTitle;
|
|
616
|
+
let t = this.itemMap.get(this.bitFieldValue);
|
|
617
|
+
return t ? t.title : this.customTitle;
|
|
618
|
+
}
|
|
619
|
+
createElementForItem(e) {
|
|
620
|
+
let t = document.createElement("div"), n = ie(t, { cssFile: Ie }).createChild("div", "media-messages-level-dropdown-element"), r = n.createChild("div", "media-messages-level-dropdown-checkbox");
|
|
621
|
+
return D(n.createChild("span", "media-messages-level-dropdown-text"), e.title), this.elementsForItems.set(e, r), this.itemMap.set(e.value, e), this.updateCheckMarks(), this.view.regenerateMessageDisplayCss(this.hiddenLevels), t;
|
|
622
|
+
}
|
|
623
|
+
isItemSelectable(e) {
|
|
624
|
+
return !0;
|
|
625
|
+
}
|
|
626
|
+
itemSelected(e) {
|
|
627
|
+
this.updateCheckMarks(), this.view.regenerateMessageDisplayCss(this.hiddenLevels);
|
|
628
|
+
}
|
|
629
|
+
highlightedItemChanged(e, t, n, r) {}
|
|
630
|
+
}, Be = class extends T {
|
|
631
|
+
headerPanel;
|
|
632
|
+
bodyPanel;
|
|
633
|
+
messageLevelSelector;
|
|
634
|
+
constructor() {
|
|
635
|
+
super({ jslog: `${E("messages")}` }), this.registerRequiredCSS(Ie), this.headerPanel = this.contentElement.createChild("div", "media-messages-header"), this.bodyPanel = this.contentElement.createChild("div", "media-messages-body"), this.buildToolbar();
|
|
636
|
+
}
|
|
637
|
+
buildToolbar() {
|
|
638
|
+
let e = this.headerPanel.createChild("devtools-toolbar", "media-messages-toolbar");
|
|
639
|
+
e.appendText(z(R.logLevel)), e.appendToolbarItem(this.createDropdown()), e.appendSeparator(), e.appendToolbarItem(this.createFilterInput());
|
|
640
|
+
}
|
|
641
|
+
createDropdown() {
|
|
642
|
+
let e = new ae();
|
|
643
|
+
this.messageLevelSelector = new ze(e, this);
|
|
644
|
+
let t = new ne(e, this.messageLevelSelector, "log-level");
|
|
645
|
+
t.setRowHeight(18), this.messageLevelSelector.populate(), this.messageLevelSelector.setDefault(t);
|
|
646
|
+
let n = new re(t.element);
|
|
647
|
+
return n.element.classList.add("toolbar-has-dropdown"), n.setEnabled(!0), n.setTitle(this.messageLevelSelector.defaultTitle()), f(n.element, `${z(R.logLevel)} ${this.messageLevelSelector.defaultTitle()}`), n;
|
|
648
|
+
}
|
|
649
|
+
createFilterInput() {
|
|
650
|
+
let e = new u(z(R.filterByLogMessages), 1, 1);
|
|
651
|
+
return e.addEventListener(ee.Event.TEXT_CHANGED, (e) => {
|
|
652
|
+
this.filterByString(e);
|
|
653
|
+
}, this), e;
|
|
654
|
+
}
|
|
655
|
+
regenerateMessageDisplayCss(e) {
|
|
656
|
+
let t = this.bodyPanel.getElementsByClassName("media-messages-message-container");
|
|
657
|
+
for (let n of t) this.matchesHiddenLevels(n, e) ? n.classList.add("media-messages-message-unselected") : n.classList.remove("media-messages-message-unselected");
|
|
658
|
+
}
|
|
659
|
+
matchesHiddenLevels(e, t) {
|
|
660
|
+
for (let n of t) if (e.classList.contains("media-message-" + n)) return !0;
|
|
661
|
+
return !1;
|
|
662
|
+
}
|
|
663
|
+
filterByString(e) {
|
|
664
|
+
let t = e.data, n = this.bodyPanel.getElementsByClassName("media-messages-message-container");
|
|
665
|
+
for (let e of n) t === "" || e.textContent?.includes(t) ? e.classList.remove("media-messages-message-filtered") : e.classList.add("media-messages-message-filtered");
|
|
666
|
+
}
|
|
667
|
+
addMessage(e) {
|
|
668
|
+
D(this.bodyPanel.createChild("div", "media-messages-message-container media-message-" + e.level), e.message);
|
|
669
|
+
}
|
|
670
|
+
renderError(e) {
|
|
671
|
+
return b`
|
|
672
|
+
<div class="status-error-box">
|
|
673
|
+
<div class="status-error-field-labeled">
|
|
674
|
+
<span class="status-error-field-label"
|
|
675
|
+
>${z(R.errorGroupLabel)}</span
|
|
676
|
+
>
|
|
677
|
+
<span>${e.errorType}</span>
|
|
678
|
+
</div>
|
|
679
|
+
<div class="status-error-field-labeled">
|
|
680
|
+
<span class="status-error-field-label"
|
|
681
|
+
>${z(R.errorCodeLabel)}</span
|
|
682
|
+
>
|
|
683
|
+
<span>${e.code}</span>
|
|
684
|
+
</div>
|
|
685
|
+
<div class="status-error-field-labeled">
|
|
686
|
+
${Object.keys(e.data).length === 0 ? C : b`<span class="status-error-field-label"
|
|
687
|
+
>${z(R.errorDataLabel)}</span
|
|
688
|
+
>
|
|
689
|
+
<div>
|
|
690
|
+
${Object.entries(e.data).map(([e, t]) => b`<div>${e}: ${t}</div>`)}
|
|
691
|
+
</div>`}
|
|
692
|
+
</div>
|
|
693
|
+
<div class="status-error-field-labeled">
|
|
694
|
+
${e.stack.length === 0 ? C : b`<span class="status-error-field-label"
|
|
695
|
+
>${z(R.errorStackLabel)}</span
|
|
696
|
+
>
|
|
697
|
+
<div>
|
|
698
|
+
${e.stack.map((e) => b`<div>${e.file}:${e.line}</div>`)}
|
|
699
|
+
</div>`}
|
|
700
|
+
</div>
|
|
701
|
+
<div class="status-error-field-labeled">
|
|
702
|
+
${e.cause.length === 0 ? C : b`
|
|
703
|
+
<span class="status-error-field-label"
|
|
704
|
+
>${z(R.errorCauseLabel)}</span
|
|
705
|
+
>
|
|
706
|
+
${this.renderError(e.cause[0])}
|
|
707
|
+
`}
|
|
708
|
+
</div>
|
|
709
|
+
</div>
|
|
710
|
+
`;
|
|
711
|
+
}
|
|
712
|
+
addError(e) {
|
|
713
|
+
let t = this.bodyPanel.createChild("div", "media-messages-message-container media-message-error");
|
|
714
|
+
p(this.renderError(e), t);
|
|
715
|
+
}
|
|
716
|
+
}, Ve = "/*\n * Copyright 2019 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.media-attributes-view {\n border-bottom: 1px solid var(--sys-color-divider);\n}\n\n.media-property-renderer {\n line-height: 20px;\n min-height: 28px;\n padding: 4px 10px;\n display: block;\n overflow: hidden;\n\n &:hover {\n background: var(--sys-color-state-hover-on-subtle);\n }\n}\n\n.media-property-renderer:nth-child(even):not(:hover) {\n background: var(--sys-color-surface1);\n}\n\n.media-property-renderer:has(.json-view) {\n padding-bottom: 0;\n}\n\n.media-property-renderer:has(.json-view > .expanded) {\n padding-bottom: 4px;\n}\n\n.media-property-renderer-hidden {\n display: none;\n}\n\n.media-property-renderer-title {\n font-size: 12px;\n float: left;\n width: 150px;\n}\n\n.media-property-renderer-title::first-letter {\n text-transform: uppercase;\n}\n\n.media-property-renderer-contents {\n position: relative;\n\n & > .json-view {\n overflow: hidden;\n padding: 0;\n }\n}\n\n.media-properties-frame {\n display: block;\n overflow-x: hidden;\n}\n", He = /* @__PURE__ */ e({
|
|
717
|
+
AttributesView: () => K,
|
|
718
|
+
AudioTrackManager: () => Je,
|
|
719
|
+
DefaultPropertyRenderer: () => G,
|
|
720
|
+
FormattedPropertyRenderer: () => W,
|
|
721
|
+
NestedPropertyRenderer: () => Ge,
|
|
722
|
+
PlayerPropertiesView: () => $e,
|
|
723
|
+
PlayerPropertyKeys: () => H,
|
|
724
|
+
PropertyRenderer: () => U,
|
|
725
|
+
TextTrackManager: () => qe,
|
|
726
|
+
TrackManager: () => q,
|
|
727
|
+
VideoTrackManager: () => Ke
|
|
728
|
+
}), B = {
|
|
729
|
+
video: "Video",
|
|
730
|
+
audio: "Audio",
|
|
731
|
+
track: "Track",
|
|
732
|
+
decoder: "Decoder",
|
|
733
|
+
properties: "Properties",
|
|
734
|
+
textTrack: "Text track",
|
|
735
|
+
noTextTracks: "No text tracks",
|
|
736
|
+
resolution: "Resolution",
|
|
737
|
+
fileSize: "File size",
|
|
738
|
+
bitrate: "Bitrate",
|
|
739
|
+
duration: "Duration",
|
|
740
|
+
startTime: "Start time",
|
|
741
|
+
streaming: "Streaming",
|
|
742
|
+
playbackFrameUrl: "Playback frame URL",
|
|
743
|
+
playbackFrameTitle: "Playback frame title",
|
|
744
|
+
singleoriginPlayback: "Single-origin playback",
|
|
745
|
+
rangeHeaderSupport: "`Range` header support",
|
|
746
|
+
frameRate: "Frame rate",
|
|
747
|
+
videoPlaybackRoughness: "Video playback roughness",
|
|
748
|
+
videoFreezingScore: "Video freezing score",
|
|
749
|
+
rendererName: "Renderer name",
|
|
750
|
+
decoderName: "Decoder name",
|
|
751
|
+
noDecoder: "No decoder",
|
|
752
|
+
hardwareDecoder: "Hardware decoder",
|
|
753
|
+
decryptingDemuxer: "Decrypting demuxer",
|
|
754
|
+
encoderName: "Encoder name",
|
|
755
|
+
noEncoder: "No encoder",
|
|
756
|
+
hardwareEncoder: "Hardware encoder",
|
|
757
|
+
hlsBufferedRanges: "Buffered media ranges"
|
|
758
|
+
}, Ue = l("panels/media/PlayerPropertiesView.ts", B), V = a.bind(void 0, Ue), We = c.bind(void 0, Ue), H = /* @__PURE__ */ function(e) {
|
|
759
|
+
return e.RESOLUTION = "kResolution", e.TOTAL_BYTES = "kTotalBytes", e.BITRATE = "kBitrate", e.MAX_DURATION = "kMaxDuration", e.START_TIME = "kStartTime", e.IS_CDM_ATTACHED = "kIsCdmAttached", e.IS_STREAMING = "kIsStreaming", e.FRAME_URL = "kFrameUrl", e.FRAME_TITLE = "kFrameTitle", e.IS_SINGLE_ORIGIN = "kIsSingleOrigin", e.IS_RANGE_HEADER_SUPPORTED = "kIsRangeHeaderSupported", e.RENDERER_NAME = "kRendererName", e.VIDEO_DECODER_NAME = "kVideoDecoderName", e.AUDIO_DECODER_NAME = "kAudioDecoderName", e.IS_PLATFORM_VIDEO_DECODER = "kIsPlatformVideoDecoder", e.IS_PLATFORM_AUDIO_DECODER = "kIsPlatformAudioDecoder", e.VIDEO_ENCODER_NAME = "kVideoEncoderName", e.IS_PLATFORM_VIDEO_ENCODER = "kIsPlatformVideoEncoder", e.IS_VIDEO_DECRYPTION_DEMUXER_STREAM = "kIsVideoDecryptingDemuxerStream", e.IS_AUDIO_DECRYPTING_DEMUXER_STREAM = "kIsAudioDecryptingDemuxerStream", e.AUDIO_TRACKS = "kAudioTracks", e.TEXT_TRACKS = "kTextTracks", e.VIDEO_TRACKS = "kVideoTracks", e.FRAMERATE = "kFramerate", e.VIDEO_PLAYBACK_ROUGHNESS = "kVideoPlaybackRoughness", e.VIDEO_PLAYBACK_FREEZING = "kVideoPlaybackFreezing", e.HLS_BUFFERED_RANGES = "kHlsBufferedRanges", e;
|
|
760
|
+
}({}), U = class extends T {
|
|
761
|
+
contents;
|
|
762
|
+
value;
|
|
763
|
+
pseudoColorProtectionElement;
|
|
764
|
+
constructor(e) {
|
|
765
|
+
super(), this.contentElement.classList.add("media-property-renderer");
|
|
766
|
+
let t = this.contentElement.createChild("span", "media-property-renderer-title");
|
|
767
|
+
this.contents = this.contentElement.createChild("div", "media-property-renderer-contents"), D(t, e), this.value = null, this.pseudoColorProtectionElement = null, this.contentElement.classList.add("media-property-renderer-hidden");
|
|
768
|
+
}
|
|
769
|
+
updateData(e) {
|
|
770
|
+
if (e === "" || e === null) this.changeContents(null);
|
|
771
|
+
else if (this.value === e) return;
|
|
772
|
+
else this.value = e, this.updateDataInternal(e);
|
|
773
|
+
}
|
|
774
|
+
updateDataInternal(e) {
|
|
775
|
+
try {
|
|
776
|
+
let t = JSON.parse(e);
|
|
777
|
+
this.changeContents(t);
|
|
778
|
+
} catch {
|
|
779
|
+
this.changeContents(e);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
unsetNestedContents() {
|
|
783
|
+
this.contentElement.classList.add("media-property-renderer-hidden"), this.pseudoColorProtectionElement === null && (this.pseudoColorProtectionElement = document.createElement("div"), this.pseudoColorProtectionElement.classList.add("media-property-renderer"), this.pseudoColorProtectionElement.classList.add("media-property-renderer-hidden"), this.contentElement.parentNode.insertBefore(this.pseudoColorProtectionElement, this.contentElement));
|
|
784
|
+
}
|
|
785
|
+
changeNestedContents(e) {
|
|
786
|
+
e === null || Object.keys(e).length === 0 ? this.unsetNestedContents() : (this.pseudoColorProtectionElement !== null && (this.pseudoColorProtectionElement.remove(), this.pseudoColorProtectionElement = null), this.contentElement.classList.remove("media-property-renderer-hidden"), this.contents.removeChildren(), new de(new fe(e, "", ""), !0).show(this.contents));
|
|
787
|
+
}
|
|
788
|
+
changeContents(e) {
|
|
789
|
+
if (e === null) this.unsetNestedContents();
|
|
790
|
+
else {
|
|
791
|
+
this.pseudoColorProtectionElement !== null && (this.pseudoColorProtectionElement.remove(), this.pseudoColorProtectionElement = null), this.contentElement.classList.remove("media-property-renderer-hidden"), this.contents.removeChildren();
|
|
792
|
+
let t = document.createElement("span");
|
|
793
|
+
t.textContent = e, this.contents.appendChild(t);
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
}, W = class extends U {
|
|
797
|
+
formatfunction;
|
|
798
|
+
constructor(e, t) {
|
|
799
|
+
super(e), this.formatfunction = t;
|
|
800
|
+
}
|
|
801
|
+
updateDataInternal(e) {
|
|
802
|
+
try {
|
|
803
|
+
let t = JSON.parse(e);
|
|
804
|
+
this.changeContents(this.formatfunction(t));
|
|
805
|
+
} catch {
|
|
806
|
+
let t = e;
|
|
807
|
+
this.changeContents(this.formatfunction(t));
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}, G = class extends U {
|
|
811
|
+
constructor(e, t) {
|
|
812
|
+
super(e), this.changeContents(t);
|
|
813
|
+
}
|
|
814
|
+
}, Ge = class extends U {
|
|
815
|
+
constructor(e, t) {
|
|
816
|
+
super(e), this.changeNestedContents(t);
|
|
817
|
+
}
|
|
818
|
+
}, K = class extends T {
|
|
819
|
+
contentHash;
|
|
820
|
+
constructor(e) {
|
|
821
|
+
super(), this.contentHash = 0, this.contentElement.classList.add("media-attributes-view");
|
|
822
|
+
for (let n of e) {
|
|
823
|
+
n.show(this.contentElement);
|
|
824
|
+
let e = this.contentElement.textContent;
|
|
825
|
+
e !== null && (this.contentHash += t(e));
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
getContentHash() {
|
|
829
|
+
return this.contentHash;
|
|
830
|
+
}
|
|
831
|
+
}, q = class {
|
|
832
|
+
type;
|
|
833
|
+
view;
|
|
834
|
+
constructor(e, t) {
|
|
835
|
+
this.type = t, this.view = e;
|
|
836
|
+
}
|
|
837
|
+
updateData(e) {
|
|
838
|
+
let t = this.view.getTabs(this.type), n = JSON.parse(e), r = 1;
|
|
839
|
+
for (let e of n) this.addNewTab(t, e, r), r++;
|
|
840
|
+
}
|
|
841
|
+
addNewTab(e, t, n) {
|
|
842
|
+
let r = [];
|
|
843
|
+
for (let [e, n] of Object.entries(t)) typeof n == "object" ? r.push(new Ge(i(e), n)) : r.push(new G(i(e), n));
|
|
844
|
+
let a = new K(r);
|
|
845
|
+
e.addNewTab(n, a);
|
|
846
|
+
}
|
|
847
|
+
}, Ke = class extends q {
|
|
848
|
+
constructor(e) {
|
|
849
|
+
super(e, "video");
|
|
850
|
+
}
|
|
851
|
+
}, qe = class extends q {
|
|
852
|
+
constructor(e) {
|
|
853
|
+
super(e, "text");
|
|
854
|
+
}
|
|
855
|
+
}, Je = class extends q {
|
|
856
|
+
constructor(e) {
|
|
857
|
+
super(e, "audio");
|
|
858
|
+
}
|
|
859
|
+
}, Ye = {
|
|
860
|
+
Video: We(B.video),
|
|
861
|
+
Audio: We(B.audio)
|
|
862
|
+
}, Xe = class extends m {
|
|
863
|
+
decoderName;
|
|
864
|
+
trackName;
|
|
865
|
+
constructor(e, t = V(B.track)) {
|
|
866
|
+
super(), this.decoderName = e, this.trackName = t;
|
|
867
|
+
}
|
|
868
|
+
addNewTab(e, t) {
|
|
869
|
+
let n = V(B.track), r = `track-${e}`;
|
|
870
|
+
if (this.hasTab(r)) {
|
|
871
|
+
let e = this.tabView(r);
|
|
872
|
+
if (e === null || e.getContentHash() === t.getContentHash()) return;
|
|
873
|
+
this.closeTab(r, !1);
|
|
874
|
+
}
|
|
875
|
+
this.appendTab(r, `${this.trackName} #${e}`, t, `${this.decoderName} ${n} #${e}`);
|
|
876
|
+
}
|
|
877
|
+
}, Ze = class extends Xe {
|
|
878
|
+
constructor(e, t) {
|
|
879
|
+
super(e);
|
|
880
|
+
let n = `${e} ${V(B.decoder)}`, r = `${n} ${V(B.properties)}`;
|
|
881
|
+
this.appendTab("decoder-properties", n, t, r);
|
|
882
|
+
}
|
|
883
|
+
}, Qe = class extends T {
|
|
884
|
+
isPlaceholder;
|
|
885
|
+
wrapping;
|
|
886
|
+
constructor(e, t) {
|
|
887
|
+
super(), this.isPlaceholder = !0, this.wrapping = e, this.wrapping.appendTab("_placeholder", t, new T(), t), this.wrapping.show(this.contentElement);
|
|
888
|
+
}
|
|
889
|
+
addNewTab(e, t) {
|
|
890
|
+
this.isPlaceholder &&= (this.wrapping.closeTab("_placeholder"), !1), this.wrapping.addNewTab(e, t);
|
|
891
|
+
}
|
|
892
|
+
}, $e = class extends T {
|
|
893
|
+
mediaElements;
|
|
894
|
+
videoDecoderElements;
|
|
895
|
+
audioDecoderElements;
|
|
896
|
+
attributeMap;
|
|
897
|
+
videoProperties;
|
|
898
|
+
videoDecoderProperties;
|
|
899
|
+
audioDecoderProperties;
|
|
900
|
+
videoDecoderTabs;
|
|
901
|
+
audioDecoderTabs;
|
|
902
|
+
textTracksTabs;
|
|
903
|
+
constructor() {
|
|
904
|
+
super({ jslog: `${E("properties")}` }), this.registerRequiredCSS(Ve), this.contentElement.classList.add("media-properties-frame"), this.mediaElements = [], this.videoDecoderElements = [], this.audioDecoderElements = [], this.attributeMap = /* @__PURE__ */ new Map(), this.populateAttributesAndElements(), this.videoProperties = new K(this.mediaElements), this.videoDecoderProperties = new K(this.videoDecoderElements), this.audioDecoderProperties = new K(this.audioDecoderElements), this.videoProperties.show(this.contentElement), this.videoDecoderTabs = new Ze(Ye.Video(), this.videoDecoderProperties), this.videoDecoderTabs.show(this.contentElement), this.audioDecoderTabs = new Ze(Ye.Audio(), this.audioDecoderProperties), this.audioDecoderTabs.show(this.contentElement), this.textTracksTabs = null;
|
|
905
|
+
}
|
|
906
|
+
lazyCreateTrackTabs() {
|
|
907
|
+
let e = this.textTracksTabs;
|
|
908
|
+
return e === null && (e = new Qe(new Xe(V(B.textTrack)), V(B.noTextTracks)), e.show(this.contentElement), this.textTracksTabs = e), e;
|
|
909
|
+
}
|
|
910
|
+
getTabs(e) {
|
|
911
|
+
if (e === "audio") return this.audioDecoderTabs;
|
|
912
|
+
if (e === "video") return this.videoDecoderTabs;
|
|
913
|
+
if (e === "text") return this.lazyCreateTrackTabs();
|
|
914
|
+
throw Error("Unreachable");
|
|
915
|
+
}
|
|
916
|
+
onProperty(e) {
|
|
917
|
+
let t = this.attributeMap.get(e.name);
|
|
918
|
+
if (!t) throw Error(`Player property "${e.name}" not supported.`);
|
|
919
|
+
t.updateData(e.value);
|
|
920
|
+
}
|
|
921
|
+
formatKbps(e) {
|
|
922
|
+
return e === "" ? "0 kbps" : `${Math.floor(Number(e) / 1e3)} kbps`;
|
|
923
|
+
}
|
|
924
|
+
formatTime(e) {
|
|
925
|
+
if (e === "") return "0:00";
|
|
926
|
+
let t = /* @__PURE__ */ new Date();
|
|
927
|
+
return t.setSeconds(Number(e)), t.toISOString().substr(11, 8);
|
|
928
|
+
}
|
|
929
|
+
formatFileSize(e) {
|
|
930
|
+
if (e === "") return "0 bytes";
|
|
931
|
+
let t = Number(e);
|
|
932
|
+
if (t < 1e3) return `${e} bytes`;
|
|
933
|
+
let n = Math.floor(Math.log10(t) / 3), r = [
|
|
934
|
+
"bytes",
|
|
935
|
+
"kB",
|
|
936
|
+
"MB",
|
|
937
|
+
"GB",
|
|
938
|
+
"TB"
|
|
939
|
+
][n];
|
|
940
|
+
return `${(t / 1e3 ** n).toFixed(2)} ${r}`;
|
|
941
|
+
}
|
|
942
|
+
formatBufferedRanges(e) {
|
|
943
|
+
return e.map((e) => "[" + e[0] + " → " + e[1] + "]").join(", ");
|
|
944
|
+
}
|
|
945
|
+
populateAttributesAndElements() {
|
|
946
|
+
let e = new U(V(B.resolution));
|
|
947
|
+
this.mediaElements.push(e), this.attributeMap.set("kResolution", e);
|
|
948
|
+
let t = new W(V(B.fileSize), this.formatFileSize);
|
|
949
|
+
this.mediaElements.push(t), this.attributeMap.set("kTotalBytes", t);
|
|
950
|
+
let n = new W(V(B.bitrate), this.formatKbps);
|
|
951
|
+
this.mediaElements.push(n), this.attributeMap.set("kBitrate", n);
|
|
952
|
+
let r = new W(V(B.duration), this.formatTime);
|
|
953
|
+
this.mediaElements.push(r), this.attributeMap.set("kMaxDuration", r);
|
|
954
|
+
let i = new U(V(B.startTime));
|
|
955
|
+
this.mediaElements.push(i), this.attributeMap.set("kStartTime", i);
|
|
956
|
+
let a = new U(V(B.streaming));
|
|
957
|
+
this.mediaElements.push(a), this.attributeMap.set("kIsStreaming", a);
|
|
958
|
+
let o = new U(V(B.playbackFrameUrl));
|
|
959
|
+
this.mediaElements.push(o), this.attributeMap.set("kFrameUrl", o);
|
|
960
|
+
let s = new U(V(B.playbackFrameTitle));
|
|
961
|
+
this.mediaElements.push(s), this.attributeMap.set("kFrameTitle", s);
|
|
962
|
+
let c = new U(V(B.singleoriginPlayback));
|
|
963
|
+
this.mediaElements.push(c), this.attributeMap.set("kIsSingleOrigin", c);
|
|
964
|
+
let l = new U(V(B.rangeHeaderSupport));
|
|
965
|
+
this.mediaElements.push(l), this.attributeMap.set("kIsRangeHeaderSupported", l);
|
|
966
|
+
let u = new U(V(B.frameRate));
|
|
967
|
+
this.mediaElements.push(u), this.attributeMap.set("kFramerate", u);
|
|
968
|
+
let d = new U(V(B.videoPlaybackRoughness));
|
|
969
|
+
this.mediaElements.push(d), this.attributeMap.set("kVideoPlaybackRoughness", d);
|
|
970
|
+
let f = new U(V(B.videoFreezingScore));
|
|
971
|
+
this.mediaElements.push(f), this.attributeMap.set("kVideoPlaybackFreezing", f);
|
|
972
|
+
let p = new U(V(B.rendererName));
|
|
973
|
+
this.mediaElements.push(p), this.attributeMap.set("kRendererName", p);
|
|
974
|
+
let m = new W(V(B.hlsBufferedRanges), this.formatBufferedRanges);
|
|
975
|
+
this.mediaElements.push(m), this.attributeMap.set("kHlsBufferedRanges", m);
|
|
976
|
+
let h = new G(V(B.decoderName), V(B.noDecoder));
|
|
977
|
+
this.videoDecoderElements.push(h), this.attributeMap.set("kVideoDecoderName", h);
|
|
978
|
+
let g = new U(V(B.hardwareDecoder));
|
|
979
|
+
this.videoDecoderElements.push(g), this.attributeMap.set("kIsPlatformVideoDecoder", g);
|
|
980
|
+
let _ = new G(V(B.encoderName), V(B.noEncoder));
|
|
981
|
+
this.videoDecoderElements.push(_), this.attributeMap.set("kVideoEncoderName", _);
|
|
982
|
+
let v = new U(V(B.hardwareEncoder));
|
|
983
|
+
this.videoDecoderElements.push(v), this.attributeMap.set("kIsPlatformVideoEncoder", v);
|
|
984
|
+
let y = new U(V(B.decryptingDemuxer));
|
|
985
|
+
this.videoDecoderElements.push(y), this.attributeMap.set("kIsVideoDecryptingDemuxerStream", y);
|
|
986
|
+
let b = new Ke(this);
|
|
987
|
+
this.attributeMap.set("kVideoTracks", b);
|
|
988
|
+
let x = new G(V(B.decoderName), V(B.noDecoder));
|
|
989
|
+
this.audioDecoderElements.push(x), this.attributeMap.set("kAudioDecoderName", x);
|
|
990
|
+
let S = new U(V(B.hardwareDecoder));
|
|
991
|
+
this.audioDecoderElements.push(S), this.attributeMap.set("kIsPlatformAudioDecoder", S);
|
|
992
|
+
let C = new U(V(B.decryptingDemuxer));
|
|
993
|
+
this.audioDecoderElements.push(C), this.attributeMap.set("kIsAudioDecryptingDemuxerStream", C);
|
|
994
|
+
let w = new Je(this);
|
|
995
|
+
this.attributeMap.set("kAudioTracks", w);
|
|
996
|
+
let T = new qe(this);
|
|
997
|
+
this.attributeMap.set("kTextTracks", T);
|
|
998
|
+
}
|
|
999
|
+
}, et = /* @__PURE__ */ e({
|
|
1000
|
+
PlayerDetailView: () => rt,
|
|
1001
|
+
PlayerDetailViewTabs: () => nt
|
|
1002
|
+
}), J = {
|
|
1003
|
+
properties: "Properties",
|
|
1004
|
+
playerProperties: "Player properties",
|
|
1005
|
+
events: "Events",
|
|
1006
|
+
playerEvents: "Player events",
|
|
1007
|
+
messages: "Messages",
|
|
1008
|
+
playerMessages: "Player messages",
|
|
1009
|
+
timeline: "Timeline",
|
|
1010
|
+
playerTimeline: "Player timeline"
|
|
1011
|
+
}, tt = l("panels/media/PlayerDetailView.ts", J), Y = a.bind(void 0, tt), nt = /* @__PURE__ */ function(e) {
|
|
1012
|
+
return e.EVENTS = "events", e.PROPERTIES = "properties", e.MESSAGES = "messages", e.TIMELINE = "timeline", e;
|
|
1013
|
+
}({}), rt = class extends m {
|
|
1014
|
+
eventView;
|
|
1015
|
+
propertyView;
|
|
1016
|
+
messageView;
|
|
1017
|
+
timelineView;
|
|
1018
|
+
constructor() {
|
|
1019
|
+
super(), this.eventView = new xe(), this.propertyView = new $e(), this.messageView = new Be(), this.timelineView = new Fe(), this.appendTab("properties", Y(J.properties), this.propertyView, Y(J.playerProperties)), this.appendTab("events", Y(J.events), this.eventView, Y(J.playerEvents)), this.appendTab("messages", Y(J.messages), this.messageView, Y(J.playerMessages)), this.appendTab("timeline", Y(J.timeline), this.timelineView, Y(J.playerTimeline));
|
|
1020
|
+
}
|
|
1021
|
+
onProperty(e) {
|
|
1022
|
+
this.propertyView.onProperty(e);
|
|
1023
|
+
}
|
|
1024
|
+
onError(e) {
|
|
1025
|
+
this.messageView.addError(e);
|
|
1026
|
+
}
|
|
1027
|
+
onMessage(e) {
|
|
1028
|
+
this.messageView.addMessage(e);
|
|
1029
|
+
}
|
|
1030
|
+
onEvent(e) {
|
|
1031
|
+
this.eventView.onEvent(e), this.timelineView.onEvent(e);
|
|
1032
|
+
}
|
|
1033
|
+
}, it = "/*\n * Copyright 2019 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.tree-outline {\n padding-left: 0;\n color: var(--sys-color-token-subtle);\n}\n\nli.storage-group-list-item {\n padding: 10px 8px 6px;\n}\n\nli.storage-group-list-item:not(:first-child) {\n border-top: 1px solid var(--sys-color-divider);\n}\n\nli.storage-group-list-item::before {\n display: none;\n}\n\n.player-entry-row {\n height: 26px;\n min-height: 26px;\n line-height: 26px;\n\n &:nth-child(odd) {\n background: var(--sys-color-surface1);\n }\n\n &:hover {\n background: var(--sys-color-state-hover-on-subtle);\n }\n\n &:focus-visible {\n outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);\n outline-offset: calc(var(--sys-size-2) * -1);\n }\n\n &.selected {\n background: var(--sys-color-tonal-container);\n color: var(--sys-color-on-tonal-container);\n }\n}\n\n.player-entry-status-icon-centering {\n margin: auto;\n display: inherit;\n\n & > devtools-icon {\n height: 16px;\n width: 16px;\n }\n}\n\n.player-entry-status-icon {\n width: 28px;\n min-width: 28px;\n height: 26px;\n border-right: 1px solid var(--sys-color-divider);\n overflow: hidden;\n}\n\n.player-entry-frame-title {\n height: 26px;\n width: 125px;\n min-width: 125px;\n text-overflow: ellipsis;\n padding: 0 10px;\n border-right: 1px solid var(--sys-color-divider);\n overflow: hidden;\n}\n\n.player-entry-player-title {\n height: 26px;\n padding-left: 10px;\n overflow: hidden;\n}\n\n.player-entry-header {\n height: 27px;\n line-height: 27px;\n min-height: 27px;\n padding-left: 10px;\n border-bottom: 1px solid var(--sys-color-divider);\n}\n", at = /* @__PURE__ */ e({ PlayerListView: () => lt }), { classMap: ot } = x, X = {
|
|
1034
|
+
hidePlayer: "Hide player",
|
|
1035
|
+
hideAllOthers: "Hide all others",
|
|
1036
|
+
savePlayerInfo: "Save player info",
|
|
1037
|
+
players: "Players"
|
|
1038
|
+
}, st = l("panels/media/PlayerListView.ts", X), Z = a.bind(void 0, st), ct = (e, t, r) => {
|
|
1039
|
+
p(b`
|
|
1040
|
+
<style>${it}</style>
|
|
1041
|
+
<div class="player-entry-header" id="players-header">${Z(X.players)}</div>
|
|
1042
|
+
<div role="listbox" aria-labelledby="players-header">
|
|
1043
|
+
${e.players.map((t) => {
|
|
1044
|
+
let r = t.playerID === e.selectedPlayerID;
|
|
1045
|
+
return b`
|
|
1046
|
+
<div class=${ot({
|
|
1047
|
+
"player-entry-row": !0,
|
|
1048
|
+
hbox: !0,
|
|
1049
|
+
selected: r,
|
|
1050
|
+
"force-white-icons": r
|
|
1051
|
+
})}
|
|
1052
|
+
tabindex="0"
|
|
1053
|
+
@click=${() => e.onPlayerClick(t.playerID)}
|
|
1054
|
+
@keydown=${(r) => {
|
|
1055
|
+
n(r) && (r.preventDefault(), e.onPlayerClick(t.playerID));
|
|
1056
|
+
}}
|
|
1057
|
+
@contextmenu=${(n) => e.onPlayerContextMenu(t.playerID, n)}
|
|
1058
|
+
role="option"
|
|
1059
|
+
aria-selected=${r}
|
|
1060
|
+
jslog=${g("player").track({
|
|
1061
|
+
click: !0,
|
|
1062
|
+
resize: !0
|
|
1063
|
+
})}>
|
|
1064
|
+
<div class="player-entry-status-icon vbox">
|
|
1065
|
+
<div class="player-entry-status-icon-centering">
|
|
1066
|
+
<devtools-icon name=${t.iconName}></devtools-icon>
|
|
1067
|
+
</div>
|
|
1068
|
+
</div>
|
|
1069
|
+
<div class="player-entry-frame-title">${t.frameTitle}</div>
|
|
1070
|
+
<div class="player-entry-player-title">${t.playerTitle}</div>
|
|
1071
|
+
</div>
|
|
1072
|
+
`;
|
|
1073
|
+
})}
|
|
1074
|
+
</div>
|
|
1075
|
+
`, r);
|
|
1076
|
+
}, lt = class extends T {
|
|
1077
|
+
#e;
|
|
1078
|
+
playerStatuses;
|
|
1079
|
+
playerEntriesWithHostnameFrameTitle;
|
|
1080
|
+
mainContainer;
|
|
1081
|
+
currentlySelectedPlayerID;
|
|
1082
|
+
constructor(e, t = ct) {
|
|
1083
|
+
super({ useShadowDom: !0 }), this.#e = t, this.playerStatuses = /* @__PURE__ */ new Map(), this.playerEntriesWithHostnameFrameTitle = /* @__PURE__ */ new Set(), this.mainContainer = e, this.currentlySelectedPlayerID = null, this.requestUpdate();
|
|
1084
|
+
}
|
|
1085
|
+
performUpdate() {
|
|
1086
|
+
let e = {
|
|
1087
|
+
players: Array.from(this.playerStatuses.values()),
|
|
1088
|
+
selectedPlayerID: this.currentlySelectedPlayerID,
|
|
1089
|
+
onPlayerClick: this.selectPlayer.bind(this),
|
|
1090
|
+
onPlayerContextMenu: this.rightClickPlayer.bind(this)
|
|
1091
|
+
};
|
|
1092
|
+
this.#e(e, {}, this.contentElement);
|
|
1093
|
+
}
|
|
1094
|
+
selectPlayerById(e) {
|
|
1095
|
+
this.playerStatuses.has(e) && this.selectPlayer(e);
|
|
1096
|
+
}
|
|
1097
|
+
selectPlayer(e) {
|
|
1098
|
+
this.mainContainer.renderMainPanel(e), this.currentlySelectedPlayerID = e, this.requestUpdate();
|
|
1099
|
+
}
|
|
1100
|
+
rightClickPlayer(e, t) {
|
|
1101
|
+
let n = new w(t);
|
|
1102
|
+
n.headerSection().appendItem(Z(X.hidePlayer), this.mainContainer.markPlayerForDeletion.bind(this.mainContainer, e), { jslogContext: "hide-player" }), n.headerSection().appendItem(Z(X.hideAllOthers), this.mainContainer.markOtherPlayersForDeletion.bind(this.mainContainer, e), { jslogContext: "hide-all-others" }), n.headerSection().appendItem(Z(X.savePlayerInfo), this.mainContainer.exportPlayerData.bind(this.mainContainer, e), { jslogContext: "save-player-info" }), n.show();
|
|
1103
|
+
}
|
|
1104
|
+
setMediaElementFrameTitle(e, t, n) {
|
|
1105
|
+
if (this.playerEntriesWithHostnameFrameTitle.has(e)) n || this.playerEntriesWithHostnameFrameTitle.delete(e);
|
|
1106
|
+
else if (n) return;
|
|
1107
|
+
if (!this.playerStatuses.has(e)) return;
|
|
1108
|
+
let r = this.playerStatuses.get(e);
|
|
1109
|
+
r && (r.frameTitle = t, this.requestUpdate());
|
|
1110
|
+
}
|
|
1111
|
+
setMediaElementPlayerTitle(e, t) {
|
|
1112
|
+
if (!this.playerStatuses.has(e)) return;
|
|
1113
|
+
let n = this.playerStatuses.get(e);
|
|
1114
|
+
n && (n.playerTitle = t, this.requestUpdate());
|
|
1115
|
+
}
|
|
1116
|
+
setMediaElementPlayerIcon(e, t) {
|
|
1117
|
+
if (!this.playerStatuses.has(e)) return;
|
|
1118
|
+
let n = this.playerStatuses.get(e);
|
|
1119
|
+
n && (n.iconName = t, this.requestUpdate());
|
|
1120
|
+
}
|
|
1121
|
+
formatAndEvaluate(e, t, n, r, i) {
|
|
1122
|
+
n.length <= r || (n.length >= i && (n = n.substring(0, i - 1) + "…"), t.bind(this)(e, n));
|
|
1123
|
+
}
|
|
1124
|
+
addMediaElementItem(e) {
|
|
1125
|
+
this.playerStatuses.set(e, {
|
|
1126
|
+
playerTitle: "PlayerTitle",
|
|
1127
|
+
frameTitle: "FrameTitle",
|
|
1128
|
+
playerID: e,
|
|
1129
|
+
exists: !0,
|
|
1130
|
+
playing: !1,
|
|
1131
|
+
titleEdited: !1,
|
|
1132
|
+
iconName: "pause"
|
|
1133
|
+
}), this.playerEntriesWithHostnameFrameTitle.add(e), this.requestUpdate();
|
|
1134
|
+
}
|
|
1135
|
+
deletePlayer(e) {
|
|
1136
|
+
this.playerStatuses.has(e) && (this.playerStatuses.delete(e), this.requestUpdate());
|
|
1137
|
+
}
|
|
1138
|
+
onEvent(e, t) {
|
|
1139
|
+
let n = JSON.parse(t.value), r = n.event;
|
|
1140
|
+
if (r === "kLoad") {
|
|
1141
|
+
let t = n.url, r = t.substring(t.lastIndexOf("/") + 1);
|
|
1142
|
+
this.formatAndEvaluate(e, this.setMediaElementPlayerTitle, r, 1, 20);
|
|
1143
|
+
return;
|
|
1144
|
+
}
|
|
1145
|
+
if (r === "kPlay") {
|
|
1146
|
+
this.setMediaElementPlayerIcon(e, "play");
|
|
1147
|
+
return;
|
|
1148
|
+
}
|
|
1149
|
+
if (r === "kPause" || r === "kEnded") {
|
|
1150
|
+
this.setMediaElementPlayerIcon(e, "pause");
|
|
1151
|
+
return;
|
|
1152
|
+
}
|
|
1153
|
+
if (r === "kWebMediaPlayerDestroyed") {
|
|
1154
|
+
this.setMediaElementPlayerIcon(e, "cross");
|
|
1155
|
+
return;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
onProperty(e, t) {
|
|
1159
|
+
if (t.name === H.FRAME_URL) {
|
|
1160
|
+
let n = new URL(t.value).hostname;
|
|
1161
|
+
this.formatAndEvaluate(e, this.setMediaElementFrameTitle, n, 1, 20);
|
|
1162
|
+
return;
|
|
1163
|
+
}
|
|
1164
|
+
if (t.name === H.FRAME_TITLE && t.value) {
|
|
1165
|
+
this.formatAndEvaluate(e, this.setMediaElementFrameTitle, t.value, 1, 20);
|
|
1166
|
+
return;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
onError(e, t) {}
|
|
1170
|
+
onMessage(e, t) {}
|
|
1171
|
+
}, ut = /* @__PURE__ */ e({
|
|
1172
|
+
MainView: () => ht,
|
|
1173
|
+
PlayerDataDownloadManager: () => mt
|
|
1174
|
+
}), Q = {
|
|
1175
|
+
noPlayerDetailsSelected: "No media player selected",
|
|
1176
|
+
selectToViewDetails: "Select a media player to inspect its details.",
|
|
1177
|
+
noMediaPlayer: "No media player",
|
|
1178
|
+
mediaPlayerDescription: "On this page you can view and export media player details."
|
|
1179
|
+
}, dt = l("panels/media/MainView.ts", Q), $ = a.bind(void 0, dt), ft = "https://developer.chrome.com/docs/devtools/media-panel#hide-show", pt = class {
|
|
1180
|
+
properties;
|
|
1181
|
+
messages;
|
|
1182
|
+
events;
|
|
1183
|
+
errors;
|
|
1184
|
+
constructor() {
|
|
1185
|
+
this.properties = /* @__PURE__ */ new Map(), this.messages = [], this.events = [], this.errors = [];
|
|
1186
|
+
}
|
|
1187
|
+
onProperty(e) {
|
|
1188
|
+
this.properties.set(e.name, e.value);
|
|
1189
|
+
}
|
|
1190
|
+
onError(e) {
|
|
1191
|
+
this.errors.push(e);
|
|
1192
|
+
}
|
|
1193
|
+
onMessage(e) {
|
|
1194
|
+
this.messages.push(e);
|
|
1195
|
+
}
|
|
1196
|
+
onEvent(e) {
|
|
1197
|
+
this.events.push(e);
|
|
1198
|
+
}
|
|
1199
|
+
export() {
|
|
1200
|
+
return {
|
|
1201
|
+
properties: this.properties,
|
|
1202
|
+
messages: this.messages,
|
|
1203
|
+
events: this.events,
|
|
1204
|
+
errors: this.errors
|
|
1205
|
+
};
|
|
1206
|
+
}
|
|
1207
|
+
}, mt = class {
|
|
1208
|
+
playerDataCollection;
|
|
1209
|
+
constructor() {
|
|
1210
|
+
this.playerDataCollection = /* @__PURE__ */ new Map();
|
|
1211
|
+
}
|
|
1212
|
+
addPlayer(e) {
|
|
1213
|
+
this.playerDataCollection.set(e, new pt());
|
|
1214
|
+
}
|
|
1215
|
+
onProperty(e, t) {
|
|
1216
|
+
let n = this.playerDataCollection.get(e);
|
|
1217
|
+
n && n.onProperty(t);
|
|
1218
|
+
}
|
|
1219
|
+
onError(e, t) {
|
|
1220
|
+
let n = this.playerDataCollection.get(e);
|
|
1221
|
+
n && n.onError(t);
|
|
1222
|
+
}
|
|
1223
|
+
onMessage(e, t) {
|
|
1224
|
+
let n = this.playerDataCollection.get(e);
|
|
1225
|
+
n && n.onMessage(t);
|
|
1226
|
+
}
|
|
1227
|
+
onEvent(e, t) {
|
|
1228
|
+
let n = this.playerDataCollection.get(e);
|
|
1229
|
+
n && n.onEvent(t);
|
|
1230
|
+
}
|
|
1231
|
+
exportPlayerData(e) {
|
|
1232
|
+
let t = this.playerDataCollection.get(e);
|
|
1233
|
+
if (!t) throw Error("Unable to find player");
|
|
1234
|
+
return t.export();
|
|
1235
|
+
}
|
|
1236
|
+
deletePlayer(e) {
|
|
1237
|
+
this.playerDataCollection.delete(e);
|
|
1238
|
+
}
|
|
1239
|
+
}, ht = class extends d {
|
|
1240
|
+
detailPanels;
|
|
1241
|
+
deletedPlayers;
|
|
1242
|
+
downloadStore;
|
|
1243
|
+
sidebar;
|
|
1244
|
+
#e;
|
|
1245
|
+
#t;
|
|
1246
|
+
#n;
|
|
1247
|
+
#r;
|
|
1248
|
+
#i = () => {};
|
|
1249
|
+
constructor(e = new mt()) {
|
|
1250
|
+
super("media"), this.detailPanels = /* @__PURE__ */ new Map(), this.#e = /* @__PURE__ */ new Map(), this.#t = /* @__PURE__ */ new Map(), this.#r = new Promise((e) => {
|
|
1251
|
+
this.#i = e;
|
|
1252
|
+
}), this.deletedPlayers = /* @__PURE__ */ new Set(), this.downloadStore = e, this.sidebar = new lt(this), this.sidebar.show(this.panelSidebarElement()), this.splitWidget().hideSidebar(), this.#n = new h($(Q.noMediaPlayer), Q.mediaPlayerDescription), this.#n.show(this.mainElement()), this.#n.link = ft, _.instance().observeModels(j, this, { scoped: !0 });
|
|
1253
|
+
}
|
|
1254
|
+
renderMainPanel(e) {
|
|
1255
|
+
if (!this.detailPanels.has(e)) return;
|
|
1256
|
+
let t = this.splitWidget().mainWidget();
|
|
1257
|
+
t && t.detachChildWidgets(), this.detailPanels.get(e)?.show(this.mainElement());
|
|
1258
|
+
}
|
|
1259
|
+
wasShown() {
|
|
1260
|
+
super.wasShown();
|
|
1261
|
+
for (let e of _.instance().models(j, { scoped: !0 })) this.addEventListeners(e);
|
|
1262
|
+
}
|
|
1263
|
+
willHide() {
|
|
1264
|
+
super.willHide();
|
|
1265
|
+
for (let e of _.instance().models(j, { scoped: !0 })) this.removeEventListeners(e);
|
|
1266
|
+
}
|
|
1267
|
+
modelAdded(e) {
|
|
1268
|
+
this.isShowing() && this.addEventListeners(e);
|
|
1269
|
+
}
|
|
1270
|
+
modelRemoved(e) {
|
|
1271
|
+
this.removeEventListeners(e);
|
|
1272
|
+
}
|
|
1273
|
+
addEventListeners(e) {
|
|
1274
|
+
e.ensureEnabled(), e.addEventListener(A.PLAYER_PROPERTIES_CHANGED, this.propertiesChanged, this), e.addEventListener(A.PLAYER_EVENTS_ADDED, this.eventsAdded, this), e.addEventListener(A.PLAYER_MESSAGES_LOGGED, this.messagesLogged, this), e.addEventListener(A.PLAYER_ERRORS_RAISED, this.errorsRaised, this), e.addEventListener(A.PLAYER_CREATED, this.playerCreated, this);
|
|
1275
|
+
}
|
|
1276
|
+
removeEventListeners(e) {
|
|
1277
|
+
e.removeEventListener(A.PLAYER_PROPERTIES_CHANGED, this.propertiesChanged, this), e.removeEventListener(A.PLAYER_EVENTS_ADDED, this.eventsAdded, this), e.removeEventListener(A.PLAYER_MESSAGES_LOGGED, this.messagesLogged, this), e.removeEventListener(A.PLAYER_ERRORS_RAISED, this.errorsRaised, this), e.removeEventListener(A.PLAYER_CREATED, this.playerCreated, this);
|
|
1278
|
+
}
|
|
1279
|
+
propertiesChanged(e) {
|
|
1280
|
+
for (let t of e.data.properties) this.onProperty(e.data.playerId, t);
|
|
1281
|
+
}
|
|
1282
|
+
eventsAdded(e) {
|
|
1283
|
+
for (let t of e.data.events) this.onEvent(e.data.playerId, t);
|
|
1284
|
+
}
|
|
1285
|
+
messagesLogged(e) {
|
|
1286
|
+
for (let t of e.data.messages) this.onMessage(e.data.playerId, t);
|
|
1287
|
+
}
|
|
1288
|
+
errorsRaised(e) {
|
|
1289
|
+
for (let t of e.data.errors) this.onError(e.data.playerId, t);
|
|
1290
|
+
}
|
|
1291
|
+
shouldPropagate(e) {
|
|
1292
|
+
return !this.deletedPlayers.has(e) && this.detailPanels.has(e);
|
|
1293
|
+
}
|
|
1294
|
+
onProperty(e, t) {
|
|
1295
|
+
this.shouldPropagate(e) && (this.sidebar.onProperty(e, t), this.downloadStore.onProperty(e, t), this.detailPanels.get(e)?.onProperty(t));
|
|
1296
|
+
}
|
|
1297
|
+
onError(e, t) {
|
|
1298
|
+
this.shouldPropagate(e) && (this.sidebar.onError(e, t), this.downloadStore.onError(e, t), this.detailPanels.get(e)?.onError(t));
|
|
1299
|
+
}
|
|
1300
|
+
onMessage(e, t) {
|
|
1301
|
+
this.shouldPropagate(e) && (this.sidebar.onMessage(e, t), this.downloadStore.onMessage(e, t), this.detailPanels.get(e)?.onMessage(t));
|
|
1302
|
+
}
|
|
1303
|
+
onEvent(e, t) {
|
|
1304
|
+
this.shouldPropagate(e) && (this.sidebar.onEvent(e, t), this.downloadStore.onEvent(e, t), this.detailPanels.get(e)?.onEvent(t));
|
|
1305
|
+
}
|
|
1306
|
+
selectPlayerByDOMNodeId(e) {
|
|
1307
|
+
let t = this.#t.get(e);
|
|
1308
|
+
if (!t) return;
|
|
1309
|
+
let n = this.#e.get(t);
|
|
1310
|
+
n && this.sidebar.selectPlayerById(n.playerId);
|
|
1311
|
+
}
|
|
1312
|
+
waitForInitialPlayers() {
|
|
1313
|
+
return this.#r;
|
|
1314
|
+
}
|
|
1315
|
+
playerCreated(e) {
|
|
1316
|
+
let t = e.data;
|
|
1317
|
+
this.#e.set(t.playerId, t), t.domNodeId && this.#t.set(t.domNodeId, t.playerId), this.splitWidget().showMode() !== S.BOTH && this.splitWidget().showBoth(), this.sidebar.addMediaElementItem(t.playerId), this.detailPanels.set(t.playerId, new rt()), this.downloadStore.addPlayer(t.playerId), this.detailPanels.size === 1 && (this.#n.header = $(Q.noPlayerDetailsSelected), this.#n.text = $(Q.selectToViewDetails)), this.#i();
|
|
1318
|
+
}
|
|
1319
|
+
markPlayerForDeletion(e) {
|
|
1320
|
+
this.deletedPlayers.add(e), this.detailPanels.delete(e);
|
|
1321
|
+
let t = this.#e.get(e);
|
|
1322
|
+
if (t?.domNodeId && this.#t.delete(t.domNodeId), this.#e.delete(e), this.sidebar.deletePlayer(e), this.downloadStore.deletePlayer(e), this.detailPanels.size === 0) {
|
|
1323
|
+
this.#n.header = $(Q.noMediaPlayer), this.#n.text = $(Q.mediaPlayerDescription), this.splitWidget().hideSidebar();
|
|
1324
|
+
let e = this.splitWidget().mainWidget();
|
|
1325
|
+
e && e.detachChildWidgets(), this.#n.show(this.mainElement());
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
markOtherPlayersForDeletion(e) {
|
|
1329
|
+
for (let t of this.detailPanels.keys()) t !== e && this.markPlayerForDeletion(t);
|
|
1330
|
+
}
|
|
1331
|
+
exportPlayerData(e) {
|
|
1332
|
+
let t = this.downloadStore.exportPlayerData(e), n = "data:application/octet-stream," + encodeURIComponent(JSON.stringify(t, null, 2)), r = document.createElement("a");
|
|
1333
|
+
r.href = n, r.download = e + ".json", r.click();
|
|
1334
|
+
}
|
|
1335
|
+
};
|
|
1336
|
+
//#endregion
|
|
1337
|
+
export { He as a, Ce as c, et as i, Se as l, ut as n, Le as o, at as r, we as s, ht as t, _e as u };
|