ember-native-devtools 1.0.2
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/bin/devtools.js +95 -0
- package/download/chrome-devtools-frontend.appspot.com/robots.txt/index.html +4 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/3d-center.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/3d-pan.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/3d-rotate.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/Images.js +259 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/accelerometer-back.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/accelerometer-bottom.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/accelerometer-front.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/accelerometer-left.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/accelerometer-right.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/accelerometer-top.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/account-box.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-content-center.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-content-end.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-content-space-around.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-content-space-between.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-content-space-evenly.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-content-start.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-content-stretch.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-items-baseline.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-items-center.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-items-end.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-items-start.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-items-stretch.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-self-center.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-self-end.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-self-start.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/align-self-stretch.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-back.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-down.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-drop-down-dark.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-drop-down-light.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-forward.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-up-down-circle.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-up-down.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/arrow-up.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/bell.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/bezier-curve-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/bin.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/bottom-panel-close.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/bottom-panel-open.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/brackets.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/breakpoint-circle.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/breakpoint-crossed-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/breakpoint-crossed.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/brush-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/brush.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/bug.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/bundle.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/calendar-today.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/check-circle.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/check-double.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/checker.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/checkmark.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chevron-double-right.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chevron-down.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chevron-left-dot.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chevron-left.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chevron-right.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chevron-up.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chromeLeft.avif +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chromeMiddle.avif +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/chromeRight.avif +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/class.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/clear-list.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/clear.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/cloud.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/code-circle.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/code.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/colon.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/color-picker-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/color-picker.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/console-conditional-breakpoint.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/console-logpoint.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/cookie.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/copy.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/corporate-fare.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/credit-card.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/cross-circle-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/cross-circle.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/cross.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/cssoverview_icons_2x.avif +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/custom-typography.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/database.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/deployed.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/device-fold.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/devices.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/devtools.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/dock-bottom.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/dock-left.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/dock-right.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/dock-window.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/document.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/dog-paw.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/dots-horizontal.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/dots-vertical.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/download.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/edit.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/empty.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/errorWave.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/exclamation.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/experiment-check.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/experiment.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/extension.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/eye.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-document.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-fetch-xhr.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-font.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-generic.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-image.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-json.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-manifest.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-media.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-script.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-snippet.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-stylesheet.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-wasm.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/file-websocket.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/filter-clear.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/filter-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/filter.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/flex-direction.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/flex-no-wrap.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/flex-wrap.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/flow.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/fold-more.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/folder.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/frame-crossed.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/frame-icon.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/frame.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/gear-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/gear.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/gears.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/globe.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/google.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/goto-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/heap-snapshot.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/heap-snapshots.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/help.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/hover.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/iframe-crossed.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/iframe.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/import.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/indeterminate-question-box.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/info-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/info.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/issue-cross-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/issue-exclamation-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/issue-questionmark-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/issue-text-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-content-center.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-content-end.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-content-space-around.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-content-space-between.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-content-space-evenly.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-content-start.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-items-center.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-items-end.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-items-start.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/justify-items-stretch.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/keyboard-arrow-right.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/keyboard-pen.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/keyboard.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/large-arrow-right-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/layers-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/layers.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/left-panel-close.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/left-panel-open.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/lightbulb-spark.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/lightbulb.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/lighthouse_logo.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/list.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/location-on.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/lock.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/match-case.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/match-whole-word.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/memory.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/minus.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/mop.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/mouse.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/navigationControls.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/navigationControls_2x.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/network-settings.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/nodeIcon.avif +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/open-externally.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/pause.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/pen-spark.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/performance.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/person.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/play.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/plus.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/policy.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/popoverArrows.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/popup.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/preview_feature_video_thumbnail.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/profile.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/psychiatry.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/record-start.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/record-stop.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/redo.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/refresh.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/regular-expression.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/replace.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/replay.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/report.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/resizeDiagonal.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/resizeHorizontal.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/resizeVertical.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/resume.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/review.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/right-panel-close.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/right-panel-open.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/scissors.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/screen-rotation.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/search.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/select-element.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/send.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/shadow.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/small-status-dot.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/snippet.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/spark-info.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/spark.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/star.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/step-into.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/step-out.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/step-over.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/step.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/stop.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/symbol.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/sync.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/table.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/thumb-down.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/thumb-up.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/toolbarResizerVertical.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/top-panel-close.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/top-panel-open.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/touch-app.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/touchCursor.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/touchCursor_2x.png +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/triangle-bottom-right.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/triangle-down.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/triangle-left.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/triangle-right.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/triangle-up.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/tune.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/undo.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/warning-filled.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/warning.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/watch.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/whatsnew.avif +0 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/width.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/Images/zoom-in.svg +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/common/common.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/dom_extension/dom_extension.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/host/host.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/i18n/i18n.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/i18n/locales/en-US.json +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/platform/platform.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/protocol_client/protocol_client.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/root/root.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/core/sdk/sdk.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/devtools_app.html +18 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/devtools_compatibility.js +1774 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ember_app.html +26 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/devtools_app/devtools_app.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/formatter_worker/formatter_worker-entrypoint.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/formatter_worker/formatter_worker.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/heap_snapshot_worker/heap_snapshot_worker.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/inspector/inspector.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/inspector_main/inspector_main.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/lighthouse_worker/lighthouse_worker.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/main/main.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/shell/shell.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/entrypoints/wasmparser_worker/wasmparser_worker.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/inspector.html +18 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/autofill_manager/autofill_manager.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/bindings/bindings.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/breakpoints/breakpoints.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/cpu_profile/cpu_profile.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/crux-manager/crux-manager.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/emulation/emulation.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/extensions/extensions.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/formatter/formatter.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/har/har.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/heap_snapshot_model/heap_snapshot_model.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/issues_manager/issues_manager.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/javascript_metadata/javascript_metadata.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/live-metrics/live-metrics.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/live-metrics/web-vitals-injected/spec/spec.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/logs/logs.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/persistence/persistence.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/source_map_scopes/source_map_scopes.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/text_utils/text_utils.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/timeline_model/timeline_model.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/extras/extras.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/handlers/handlers.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/helpers/helpers.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/insights/insights.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/lantern/core/core.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/lantern/graph/graph.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/lantern/lantern.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/lantern/metrics/metrics.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/lantern/simulation/simulation.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/lantern/types/types.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/root-causes/root-causes.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/trace.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/trace/types/types.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/workspace/workspace.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/models/workspace_diff/workspace_diff.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/accessibility/accessibility.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/animation/animation.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/application/application.js +41 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/application/components/components.js +614 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/application/preloading/components/components.js +292 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/application/preloading/helper/helper.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/autofill/autofill.js +88 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/browser_debugger/browser_debugger.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/changes/changes.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/console/console.js +6 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/console_counters/console_counters.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/coverage/coverage.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/css_overview/components/components.js +23 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/css_overview/css_overview.js +147 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/developer_resources/developer_resources.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/elements/components/components.js +272 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/elements/elements.js +8 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/emulation/components/components.js +39 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/emulation/emulation.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/event_listeners/event_listeners.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/explain/explain.js +203 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/freestyler/freestyler.js +177 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/issues/components/components.js +14 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/issues/issues.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/layer_viewer/layer_viewer.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/layers/layers.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/lighthouse/lighthouse.js +64 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/linear_memory_inspector/components/components.js +177 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/linear_memory_inspector/linear_memory_inspector.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/media/media.js +25 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/mobile_throttling/mobile_throttling.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/network/components/components.js +315 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/network/forward/forward.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/network/network.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/performance_monitor/performance_monitor.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/profiler/profiler.js +8 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/protocol_monitor/components/components.js +180 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/protocol_monitor/protocol_monitor.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/components/components.js +714 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/controllers/controllers.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/converters/converters.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/extensions/extensions.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/injected/injected.generated.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/models/models.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/recorder.js +120 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/recorder/util/util.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/screencast/screencast.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/search/search.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/security/security.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/sensors/sensors.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/settings/components/components.js +23 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/settings/emulation/components/components.js +222 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/settings/emulation/emulation.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/settings/emulation/utils/utils.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/settings/settings.js +130 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/snippets/snippets.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/sources/components/components.js +162 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/sources/sources.js +14 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/timeline/components/components.js +623 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/timeline/components/insights/insights.js +85 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/timeline/extensions/extensions.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/timeline/overlays/components/components.js +52 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/timeline/overlays/overlays.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/timeline/timeline.js +4 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/timeline/utils/utils.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/utils/utils.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/web_audio/graph_visualizer/graph_visualizer.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/web_audio/web_audio.js +23 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/panels/webauthn/webauthn.js +6 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/services/puppeteer/puppeteer.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/services/trace_bounds/trace_bounds.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/services/tracing/tracing.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/services/window_bounds/window_bounds.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/setup-ember-extension.js +160 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/acorn/acorn.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/chromium/client-variations/client-variations.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/angular.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/codemirror.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/cpp.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/java.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/legacy.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/less.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/markdown.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/php.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/python.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/sass.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/svelte.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/vue.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/wast.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/chunk/xml.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/codemirror.next/codemirror.next.js +2 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/csp_evaluator/csp_evaluator.js +194 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/diff/diff.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/i18n/i18n.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/intl-messageformat/intl-messageformat.js +15 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/lighthouse/lighthouse-dt-bundle.js +2137 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/lighthouse/report/report.js +39 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/lit/lit.js +110 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/marked/marked.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/puppeteer/debug/index.html +4 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/puppeteer/puppeteer.js +378 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/puppeteer-replay/lighthouse/index.html +4 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/puppeteer-replay/puppeteer/index.html +4 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/puppeteer-replay/puppeteer-replay.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/third_party/wasmparser/wasmparser.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/adorners/adorners.js +3 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/buttons/buttons.js +11 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/chrome_link/chrome_link.js +5 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/code_highlighter/code_highlighter.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/data_grid/data_grid.js +69 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/dialogs/dialogs.js +81 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/diff_view/diff_view.js +8 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/expandable_list/expandable_list.js +17 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/helpers/helpers.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/highlighting/highlighting.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/icon_button/icon_button.js +12 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/input/input.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/issue_counter/issue_counter.js +9 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/legacy_wrapper/legacy_wrapper.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/linkifier/linkifier.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/markdown_view/markdown_view.js +41 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/menus/menus.js +73 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/node_text/node_text.js +3 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/panel_feedback/panel_feedback.js +37 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/panel_introduction_steps/panel_introduction_steps.js +9 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/render_coordinator/render_coordinator.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/report_view/report_view.js +21 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/request_link_icon/request_link_icon.js +8 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/settings/settings.js +16 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/split_view/split_view.js +9 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/srgb_overlay/srgb_overlay.js +6 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/suggestion_input/suggestion_input.js +29 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/switch/switch.js +10 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/text_editor/text_editor.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/text_prompt/text_prompt.js +3 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/components/tree_outline/tree_outline.js +30 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/color_picker/color_picker.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/cookie_table/cookie_table.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/data_grid/data_grid.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/inline_editor/inline_editor.js +46 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/object_ui/object_ui.js +9 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/perf_ui/perf_ui.js +59 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/quick_open/quick_open.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/source_frame/source_frame.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/components/utils/utils.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/legacy.js +3 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/legacy/theme_support/theme_support.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/lit-html/lit-html.js +1 -0
- package/download/chrome-devtools-frontend.appspot.com/serve_file/@abb728f8afc6a86cc66b1313f5056728ce422ddd/ui/visual_logging/visual_logging.js +1 -0
- package/download/googlechrome.github.io/lighthouse/scorecalc/calc.js +838 -0
- package/download/googlechrome.github.io/lighthouse/scorecalc/index.html +78 -0
- package/download/googlechrome.github.io/lighthouse/scorecalc/style.css +554 -0
- package/download/wicg.github.io/attribution-reporting-api/validate-headers/index.html +104 -0
- package/download/wicg.github.io/attribution-reporting-api/validate-headers.js +1 -0
- package/package.json +31 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"../../models/heap_snapshot_model/heap_snapshot_model.js";import*as t from"../../core/i18n/i18n.js";import*as s from"../../core/platform/platform.js";import*as n from"../../models/text_utils/text_utils.js";class i{#e;#t;#s;#n;#i;#o;#r;constructor(e,t){this.#e=e.strings,this.#t=1,this.#s=[],this.#n={},this.#i={},this.#o={},this.#r=null,this.#a(e),this.#d(e,t)}#a(e){const t=this.#e,s=e.snapshot.meta.trace_function_info_fields,n=s.indexOf("name"),i=s.indexOf("script_name"),o=s.indexOf("script_id"),r=s.indexOf("line"),d=s.indexOf("column"),h=s.length,l=e.trace_function_infos,c=l.length,u=this.#s=new Array(c/h);let g=0;for(let e=0;e<c;e+=h)u[g++]=new a(t[l[e+n]],t[l[e+i]],l[e+o],l[e+r],l[e+d])}#d(e,t){const s=e.trace_tree,n=this.#s,i=this.#i,r=e.snapshot.meta.trace_node_fields,a=r.indexOf("id"),d=r.indexOf("function_info_index"),h=r.indexOf("count"),l=r.indexOf("size"),c=r.indexOf("children"),u=r.length;return function e(s,r,g){const p=n[s[r+d]],f=s[r+a],I=t[f],x=I?I.count:0,m=I?I.size:0,N=new o(f,p,s[r+h],s[r+l],x,m,g);i[f]=N,p.addTraceTopNode(N);const y=s[r+c];for(let t=0;t<y.length;t+=u)N.children.push(e(y,t,N));return N}(s,0,null)}serializeTraceTops(){if(this.#r)return this.#r;const e=this.#r=[],t=this.#s;for(let s=0;s<t.length;s++){const n=t[s];if(0===n.totalCount)continue;const i=this.#t++,o=0===s;e.push(this.#h(i,n,n.totalCount,n.totalSize,n.totalLiveCount,n.totalLiveSize,!o)),this.#o[i]=n}return e.sort((function(e,t){return t.size-e.size})),e}serializeCallers(t){let s=this.#l(t);const n=[];for(;1===s.callers().length;)s=s.callers()[0],n.push(this.#c(s));const i=[],o=s.callers();for(let e=0;e<o.length;e++)i.push(this.#c(o[e]));return new e.HeapSnapshotModel.AllocationNodeCallers(n,i)}serializeAllocationStack(t){let s=this.#i[t];const n=[];for(;s;){const t=s.functionInfo;n.push(new e.HeapSnapshotModel.AllocationStackFrame(t.functionName,t.scriptName,t.scriptId,t.line,t.column)),s=s.parent}return n}traceIds(e){return this.#l(e).traceTopIds}#l(e){let t=this.#n[e];if(!t){t=this.#o[e].bottomUpRoot(),delete this.#o[e],this.#n[e]=t}return t}#c(e){const t=this.#t++;return this.#n[t]=e,this.#h(t,e.functionInfo,e.allocationCount,e.allocationSize,e.liveCount,e.liveSize,e.hasCallers())}#h(t,s,n,i,o,r,a){return new e.HeapSnapshotModel.SerializedAllocationNode(t,s.functionName,s.scriptName,s.scriptId,s.line,s.column,n,i,o,r,a)}}class o{id;functionInfo;allocationCount;allocationSize;liveCount;liveSize;parent;children;constructor(e,t,s,n,i,o,r){this.id=e,this.functionInfo=t,this.allocationCount=s,this.allocationSize=n,this.liveCount=i,this.liveSize=o,this.parent=r,this.children=[]}}class r{functionInfo;allocationCount;allocationSize;liveCount;liveSize;traceTopIds;#u;constructor(e){this.functionInfo=e,this.allocationCount=0,this.allocationSize=0,this.liveCount=0,this.liveSize=0,this.traceTopIds=[],this.#u=[]}addCaller(e){const t=e.functionInfo;let s;for(let e=0;e<this.#u.length;e++){const n=this.#u[e];if(n.functionInfo===t){s=n;break}}return s||(s=new r(t),this.#u.push(s)),s}callers(){return this.#u}hasCallers(){return this.#u.length>0}}class a{functionName;scriptName;scriptId;line;column;totalCount;totalSize;totalLiveCount;totalLiveSize;#r;#g;constructor(e,t,s,n,i){this.functionName=e,this.scriptName=t,this.scriptId=s,this.line=n,this.column=i,this.totalCount=0,this.totalSize=0,this.totalLiveCount=0,this.totalLiveSize=0,this.#r=[]}addTraceTopNode(e){0!==e.allocationCount&&(this.#r.push(e),this.totalCount+=e.allocationCount,this.totalSize+=e.allocationSize,this.totalLiveCount+=e.liveCount,this.totalLiveSize+=e.liveSize)}bottomUpRoot(){return this.#r.length?(this.#g||this.#p(),this.#g):null}#p(){this.#g=new r(this);for(let e=0;e<this.#r.length;e++){let t=this.#r[e],s=this.#g;const n=t.allocationCount,i=t.allocationSize,o=t.liveCount,r=t.liveSize,a=t.id;for(;s.allocationCount+=n,s.allocationSize+=i,s.liveCount+=o,s.liveSize+=r,s.traceTopIds.push(a),t=t.parent,null!==t;)s=s.addCaller(t)}}}var d=Object.freeze({__proto__:null,AllocationProfile:i,TopDownAllocationNode:o,BottomUpAllocationNode:r,FunctionAllocationInfo:a});class h{snapshot;edges;edgeIndex;constructor(e,t){this.snapshot=e,this.edges=e.containmentEdges,this.edgeIndex=t||0}clone(){return new h(this.snapshot,this.edgeIndex)}hasStringName(){throw new Error("Not implemented")}name(){throw new Error("Not implemented")}node(){return this.snapshot.createNode(this.nodeIndex())}nodeIndex(){if(void 0===this.snapshot.edgeToNodeOffset)throw new Error("edgeToNodeOffset is undefined");return this.edges.getValue(this.edgeIndex+this.snapshot.edgeToNodeOffset)}toString(){return"HeapSnapshotEdge: "+this.name()}type(){return this.snapshot.edgeTypes[this.rawType()]}itemIndex(){return this.edgeIndex}serialize(){return new e.HeapSnapshotModel.Edge(this.name(),this.node().serialize(),this.type(),this.edgeIndex)}rawType(){if(void 0===this.snapshot.edgeTypeOffset)throw new Error("edgeTypeOffset is undefined");return this.edges.getValue(this.edgeIndex+this.snapshot.edgeTypeOffset)}isInternal(){throw new Error("Not implemented")}isInvisible(){throw new Error("Not implemented")}isWeak(){throw new Error("Not implemented")}getValueForSorting(e){throw new Error("Not implemented")}nameIndex(){throw new Error("Not implemented")}}class l{#f;constructor(e){this.#f=e.createNode()}itemForIndex(e){return this.#f.nodeIndex=e,this.#f}}class c{#I;constructor(e){this.#I=e.createEdge(0)}itemForIndex(e){return this.#I.edgeIndex=e,this.#I}}class u{#x;constructor(e){this.#x=e.createRetainingEdge(0)}itemForIndex(e){return this.#x.setRetainerIndex(e),this.#x}}class g{#m;edge;constructor(e){this.#m=e,this.edge=e.snapshot.createEdge(e.edgeIndexesStart())}hasNext(){return this.edge.edgeIndex<this.#m.edgeIndexesEnd()}item(){return this.edge}next(){if(void 0===this.edge.snapshot.edgeFieldsCount)throw new Error("edgeFieldsCount is undefined");this.edge.edgeIndex+=this.edge.snapshot.edgeFieldsCount}}class p{snapshot;#N;#y;#S;#w;#T;constructor(e,t){this.snapshot=e,this.setRetainerIndex(t)}clone(){return new p(this.snapshot,this.retainerIndex())}hasStringName(){return this.edge().hasStringName()}name(){return this.edge().name()}nameIndex(){return this.edge().nameIndex()}node(){return this.nodeInternal()}nodeIndex(){if(void 0===this.#S)throw new Error("retainingNodeIndex is undefined");return this.#S}retainerIndex(){return this.#N}setRetainerIndex(e){if(e!==this.#N){if(!this.snapshot.retainingEdges||!this.snapshot.retainingNodes)throw new Error("Snapshot does not contain retaining edges or retaining nodes");this.#N=e,this.#y=this.snapshot.retainingEdges[e],this.#S=this.snapshot.retainingNodes[e],this.#w=null,this.#T=null}}set edgeIndex(e){this.setRetainerIndex(e)}nodeInternal(){return this.#T||(this.#T=this.snapshot.createNode(this.#S)),this.#T}edge(){return this.#w||(this.#w=this.snapshot.createEdge(this.#y)),this.#w}toString(){return this.edge().toString()}itemIndex(){return this.#N}serialize(){const t=this.node(),s=t.serialize();return s.distance=this.#O(),s.ignored=this.snapshot.isNodeIgnoredInRetainersView(t.nodeIndex),new e.HeapSnapshotModel.Edge(this.name(),s,this.type(),this.#y)}type(){return this.edge().type()}isInternal(){return this.edge().isInternal()}getValueForSorting(e){if("!edgeDistance"===e)return this.#O();throw new Error("Invalid field name")}#O(){return this.snapshot.isEdgeIgnoredInRetainersView(this.#y)?e.HeapSnapshotModel.baseUnreachableDistance:this.node().distanceForRetainersView()}}class f{#C;retainer;constructor(e){const t=e.snapshot,s=e.ordinal();if(!t.firstRetainerIndex)throw new Error("Snapshot does not contain firstRetainerIndex");const n=t.firstRetainerIndex[s];this.#C=t.firstRetainerIndex[s+1],this.retainer=t.createRetainingEdge(n)}hasNext(){return this.retainer.retainerIndex()<this.#C}item(){return this.retainer}next(){this.retainer.setRetainerIndex(this.retainer.retainerIndex()+1)}}class I{snapshot;nodeIndex;constructor(e,t){this.snapshot=e,this.nodeIndex=t||0}distance(){return this.snapshot.nodeDistances[this.nodeIndex/this.snapshot.nodeFieldCount]}distanceForRetainersView(){return this.snapshot.getDistanceForRetainersView(this.nodeIndex)}className(){return this.snapshot.strings[this.classIndex()]}classIndex(){return this.#E()>>>T}setClassIndex(e){let t=this.#E();if(t&=w,t|=e<<T,this.#F(t),this.classIndex()!==e)throw new Error("String index overflow")}dominatorIndex(){const e=this.snapshot.nodeFieldCount;return this.snapshot.dominatorsTree[this.nodeIndex/this.snapshot.nodeFieldCount]*e}edges(){return new g(this)}edgesCount(){return(this.edgeIndexesEnd()-this.edgeIndexesStart())/this.snapshot.edgeFieldsCount}id(){throw new Error("Not implemented")}rawName(){return this.snapshot.strings[this.nameInternal()]}isRoot(){return this.nodeIndex===this.snapshot.rootNodeIndex}isUserRoot(){throw new Error("Not implemented")}isHidden(){throw new Error("Not implemented")}isArray(){throw new Error("Not implemented")}isSynthetic(){throw new Error("Not implemented")}isDocumentDOMTreesRoot(){throw new Error("Not implemented")}name(){return this.rawName()}retainedSize(){return this.snapshot.retainedSizes[this.ordinal()]}retainers(){return new f(this)}retainersCount(){const e=this.snapshot,t=this.ordinal();return e.firstRetainerIndex[t+1]-e.firstRetainerIndex[t]}selfSize(){const e=this.snapshot;return e.nodes.getValue(this.nodeIndex+e.nodeSelfSizeOffset)}type(){return this.snapshot.nodeTypes[this.rawType()]}traceNodeId(){const e=this.snapshot;return e.nodes.getValue(this.nodeIndex+e.nodeTraceNodeIdOffset)}itemIndex(){return this.nodeIndex}serialize(){return new e.HeapSnapshotModel.Node(this.id(),this.name(),this.distance(),this.nodeIndex,this.retainedSize(),this.selfSize(),this.type())}nameInternal(){const e=this.snapshot;return e.nodes.getValue(this.nodeIndex+e.nodeNameOffset)}edgeIndexesStart(){return this.snapshot.firstEdgeIndexes[this.ordinal()]}edgeIndexesEnd(){return this.snapshot.firstEdgeIndexes[this.ordinal()+1]}ordinal(){return this.nodeIndex/this.snapshot.nodeFieldCount}nextNodeIndex(){return this.nodeIndex+this.snapshot.nodeFieldCount}rawType(){const e=this.snapshot;return e.nodes.getValue(this.nodeIndex+e.nodeTypeOffset)}isFlatConsString(){if(this.rawType()!==this.snapshot.nodeConsStringType)return!1;for(let e=this.edges();e.hasNext();e.next()){const t=e.edge;if(!t.isInternal())continue;const s=t.name();if(("first"===s||"second"===s)&&""===t.node().name())return!0}return!1}#E(){const{snapshot:e,nodeIndex:t}=this,s=e.nodeDetachednessAndClassIndexOffset;return-1!==s?e.nodes.getValue(t+s):e.detachednessAndClassIndexArray[t/e.nodeFieldCount]}#F(e){const{snapshot:t,nodeIndex:s}=this,n=t.nodeDetachednessAndClassIndexOffset;-1!==n?t.nodes.setValue(s+n,e):t.detachednessAndClassIndexArray[s/t.nodeFieldCount]=e}detachedness(){return this.#E()&w}setDetachedness(e){let t=this.#E();t&=~w,t|=e,this.#F(t)}}class x{node;#b;constructor(e){this.node=e,this.#b=e.snapshot.nodes.length}hasNext(){return this.node.nodeIndex<this.#b}item(){return this.node}next(){this.node.nodeIndex=this.node.nextNodeIndex()}}class m{#A;#v;#_;constructor(e,t){this.#A=e,this.#v=t,this.#_=0}hasNext(){return this.#_<this.#v.length}item(){const e=this.#v[this.#_];return this.#A.itemForIndex(e)}next(){++this.#_}}class N{#z;#D;constructor(e,t){this.#z=e,this.#D=t,this.skipFilteredItems()}hasNext(){return this.#z.hasNext()}item(){return this.#z.item()}next(){this.#z.next(),this.skipFilteredItems()}skipFilteredItems(){for(;this.#z.hasNext()&&this.#D&&!this.#D(this.#z.item());)this.#z.next()}}class y{#R;constructor(e){this.#R=e}updateStatus(e){this.sendUpdateEvent(t.i18n.serializeUIString(e))}updateProgress(e,s,n){const i=(100*(n?s/n:0)).toFixed(0);this.sendUpdateEvent(t.i18n.serializeUIString(e,{PH1:i}))}reportProblem(t){this.#R&&this.#R.sendEvent(e.HeapSnapshotModel.HeapSnapshotProgressEvent.BrokenSnapshot,t)}sendUpdateEvent(t){this.#R&&this.#R.sendEvent(e.HeapSnapshotModel.HeapSnapshotProgressEvent.Update,t)}}class S{#V;constructor(e){this.#V=[e]}addError(e){this.#V.length>100||this.#V.push(e)}toString(){return this.#V.join("\n ")}}const w=3,T=2;class O{nodes;containmentEdges;#k;#j;#H;strings;#P;#M;#U;rootNodeIndexInternal;#B;#L;#W;#J;#Q;nodeTypeOffset;nodeNameOffset;nodeIdOffset;nodeSelfSizeOffset;#$;nodeTraceNodeIdOffset;nodeFieldCount;nodeTypes;nodeArrayType;nodeHiddenType;nodeObjectType;nodeNativeType;nodeStringType;nodeConsStringType;nodeSlicedStringType;nodeCodeType;nodeSyntheticType;nodeClosureType;nodeRegExpType;edgeFieldsCount;edgeTypeOffset;edgeNameOffset;edgeToNodeOffset;edgeTypes;edgeElementType;edgeHiddenType;edgeInternalType;edgeShortcutType;edgeWeakType;edgeInvisibleType;edgePropertyType;#q;#G;#K;#X;#Y;nodeCount;#Z;retainedSizes;firstEdgeIndexes;retainingNodes;retainingEdges;firstRetainerIndex;nodeDistances;firstDominatedNodeIndex;dominatedNodes;dominatorsTree;#ee;nodeDetachednessAndClassIndexOffset;#te;lazyStringCache;#se;#ne;#ie;#oe;detachednessAndClassIndexArray;constructor(e,t){this.nodes=e.nodes,this.containmentEdges=e.edges,this.#k=e.snapshot.meta,this.#j=e.samples,this.#H=null,this.strings=e.strings,this.#P=e.locations,this.#M=t,this.#U=-5,this.rootNodeIndexInternal=0,e.snapshot.root_index&&(this.rootNodeIndexInternal=e.snapshot.root_index),this.#B={},this.#W={},this.#J={},this.#Q=e,this.#se=new Set,this.#ne=new Set,this.#oe=s.TypedArrayUtilities.createBitVector(this.strings.length)}initialize(){const e=this.#k;this.nodeTypeOffset=e.node_fields.indexOf("type"),this.nodeNameOffset=e.node_fields.indexOf("name"),this.nodeIdOffset=e.node_fields.indexOf("id"),this.nodeSelfSizeOffset=e.node_fields.indexOf("self_size"),this.#$=e.node_fields.indexOf("edge_count"),this.nodeTraceNodeIdOffset=e.node_fields.indexOf("trace_node_id"),this.nodeDetachednessAndClassIndexOffset=e.node_fields.indexOf("detachedness"),this.nodeFieldCount=e.node_fields.length,this.nodeTypes=e.node_types[this.nodeTypeOffset],this.nodeArrayType=this.nodeTypes.indexOf("array"),this.nodeHiddenType=this.nodeTypes.indexOf("hidden"),this.nodeObjectType=this.nodeTypes.indexOf("object"),this.nodeNativeType=this.nodeTypes.indexOf("native"),this.nodeStringType=this.nodeTypes.indexOf("string"),this.nodeConsStringType=this.nodeTypes.indexOf("concatenated string"),this.nodeSlicedStringType=this.nodeTypes.indexOf("sliced string"),this.nodeCodeType=this.nodeTypes.indexOf("code"),this.nodeSyntheticType=this.nodeTypes.indexOf("synthetic"),this.nodeClosureType=this.nodeTypes.indexOf("closure"),this.nodeRegExpType=this.nodeTypes.indexOf("regexp"),this.edgeFieldsCount=e.edge_fields.length,this.edgeTypeOffset=e.edge_fields.indexOf("type"),this.edgeNameOffset=e.edge_fields.indexOf("name_or_index"),this.edgeToNodeOffset=e.edge_fields.indexOf("to_node"),this.edgeTypes=e.edge_types[this.edgeTypeOffset],this.edgeTypes.push("invisible"),this.edgeElementType=this.edgeTypes.indexOf("element"),this.edgeHiddenType=this.edgeTypes.indexOf("hidden"),this.edgeInternalType=this.edgeTypes.indexOf("internal"),this.edgeShortcutType=this.edgeTypes.indexOf("shortcut"),this.edgeWeakType=this.edgeTypes.indexOf("weak"),this.edgeInvisibleType=this.edgeTypes.indexOf("invisible"),this.edgePropertyType=this.edgeTypes.indexOf("property");const t=e.location_fields||[];this.#q=t.indexOf("object_index"),this.#G=t.indexOf("script_id"),this.#K=t.indexOf("line"),this.#X=t.indexOf("column"),this.#Y=t.length,this.nodeCount=this.nodes.length/this.nodeFieldCount,this.#Z=this.containmentEdges.length/this.edgeFieldsCount,this.retainedSizes=new Float64Array(this.nodeCount),this.firstEdgeIndexes=new Uint32Array(this.nodeCount+1),this.retainingNodes=new Uint32Array(this.#Z),this.retainingEdges=new Uint32Array(this.#Z),this.firstRetainerIndex=new Uint32Array(this.nodeCount+1),this.nodeDistances=new Int32Array(this.nodeCount),this.firstDominatedNodeIndex=new Uint32Array(this.nodeCount+1),this.dominatedNodes=new Uint32Array(this.nodeCount-1),this.#M.updateStatus("Building edge indexes…"),this.buildEdgeIndexes(),this.#M.updateStatus("Building retainers…"),this.buildRetainers(),this.#M.updateStatus("Propagating DOM state…"),this.propagateDOMState(),this.#M.updateStatus("Calculating node flags…"),this.calculateFlags(),this.#M.updateStatus("Calculating distances…"),this.calculateDistances(!1),this.#M.updateStatus("Building postorder index…");const s=this.buildPostOrderIndex();if(this.#M.updateStatus("Building dominator tree…"),this.dominatorsTree=this.buildDominatorTree(s.postOrderIndex2NodeOrdinal,s.nodeOrdinal2PostOrderIndex),this.#M.updateStatus("Calculating shallow sizes…"),this.calculateShallowSizes(),this.#M.updateStatus("Calculating retained sizes…"),this.calculateRetainedSizes(s.postOrderIndex2NodeOrdinal),this.#M.updateStatus("Building dominated nodes…"),this.buildDominatedNodes(),this.#M.updateStatus("Calculating object names…"),this.calculateObjectNames(),this.#M.updateStatus("Calculating statistics…"),this.calculateStatistics(),this.#M.updateStatus("Calculating samples…"),this.buildSamples(),this.#M.updateStatus("Building locations…"),this.buildLocationMap(),this.#M.updateStatus("Finished processing."),this.#Q.snapshot.trace_function_count){this.#M.updateStatus("Building allocation statistics…");const e=this.nodes.length,t=this.nodeFieldCount,s=this.rootNode(),n={};for(let i=0;i<e;i+=t){s.nodeIndex=i;const e=s.traceNodeId();let t=n[e];t||(n[e]=t={count:0,size:0,ids:[]}),t.count++,t.size+=s.selfSize(),t.ids.push(s.id())}this.#ee=new i(this.#Q,n),this.#M.updateStatus("done")}}buildEdgeIndexes(){const e=this.nodes,t=this.nodeCount,s=this.firstEdgeIndexes,n=this.nodeFieldCount,i=this.edgeFieldsCount,o=this.#$;s[t]=this.containmentEdges.length;for(let r=0,a=0;r<t;++r)s[r]=a,a+=e.getValue(r*n+o)*i}buildRetainers(){const e=this.retainingNodes,t=this.retainingEdges,s=this.firstRetainerIndex,n=this.containmentEdges,i=this.edgeFieldsCount,o=this.nodeFieldCount,r=this.edgeToNodeOffset,a=this.firstEdgeIndexes,d=this.nodeCount;for(let e=r,t=n.length;e<t;e+=i){const t=n.getValue(e);if(t%o)throw new Error("Invalid toNodeIndex "+t);++s[t/o]}for(let t=0,n=0;t<d;t++){const i=s[t];s[t]=n,e[n]=i,n+=i}s[d]=e.length;let h=a[0];for(let l=0;l<d;++l){const d=h;h=a[l+1];const c=l*o;for(let a=d;a<h;a+=i){const i=n.getValue(a+r);if(i%o)throw new Error("Invalid toNodeIndex "+i);const d=s[i/o],h=d+--e[d];e[h]=c,t[h]=a}}}allNodes(){return new x(this.rootNode())}rootNode(){return this.createNode(this.rootNodeIndexInternal)}get rootNodeIndex(){return this.rootNodeIndexInternal}get totalSize(){return this.rootNode().retainedSize()}getDominatedIndex(e){if(e%this.nodeFieldCount)throw new Error("Invalid nodeIndex: "+e);return this.firstDominatedNodeIndex[e/this.nodeFieldCount]}createFilter(e){const{minNodeId:t,maxNodeId:s,allocationNodeId:n,filterName:i}=e;let o;if("number"==typeof n){if(o=this.createAllocationStackFilter(n),!o)throw new Error("Unable to create filter");o.key="AllocationNodeId: "+n}else"number"==typeof t&&"number"==typeof s?(o=this.createNodeIdFilter(t,s),o.key="NodeIdRange: "+t+".."+s):void 0!==i&&(o=this.createNamedFilter(i),o.key="NamedFilter: "+i);return o}search(e,t){const n=e.query;const i=e.isRegex?new RegExp(n):s.StringUtilities.createPlainTextSearchRegex(n,"i");const o=e.isRegex||!e.caseSensitive?function(e,t,s){return i.test(t)&&e.add(s),e}:function(e,t,s){return-1!==t.indexOf(n)&&e.add(s),e},r=this.strings.reduce(o,new Set);if(!r.size)return[];const a=this.createFilter(t),d=[],h=this.nodes.length,l=this.nodes,c=this.nodeNameOffset,u=this.nodeIdOffset,g=this.nodeFieldCount,p=this.rootNode();for(let e=0;e<h;e+=g)p.nodeIndex=e,a&&!a(p)||r.has(l.getValue(e+c))&&d.push(l.getValue(e+u));return d}aggregatesWithFilter(e){const t=this.createFilter(e),s=t?t.key:"allObjects";return this.getAggregatesByClassName(!1,s,t)}createNodeIdFilter(e,t){return function(s){const n=s.id();return n>e&&n<=t}}createAllocationStackFilter(e){if(!this.#ee)throw new Error("No Allocation Profile provided");const t=this.#ee.traceIds(e);if(!t.length)return;const s={};for(let e=0;e<t.length;e++)s[t[e]]=!0;return function(e){return Boolean(s[e.traceNodeId()])}}createNamedFilter(e){const t=s.TypedArrayUtilities.createBitVector(this.nodeCount),n=e=>{const s=e.nodeIndex/this.nodeFieldCount;return t.getBit(s)},i=e=>{const s=new Int32Array(this.nodeCount);for(let e=0;e<this.nodeCount;++e)s[e]=this.#U;const n=new Uint32Array(this.nodeCount);s[this.rootNode().ordinal()]=0,n[0]=this.rootNode().nodeIndex;this.bfs(n,1,s,e);for(let e=0;e<this.nodeCount;++e)s[e]!==this.#U&&t.setBit(e)},o=()=>{for(let e=0;e<this.nodeCount;++e)this.nodeDistances[e]===this.#U&&t.setBit(e)};switch(e){case"objectsRetainedByDetachedDomNodes":return i(((e,t)=>2!==t.node().detachedness())),o(),e=>!n(e);case"objectsRetainedByConsole":return i(((e,t)=>!(e.isSynthetic()&&t.hasStringName()&&t.name().endsWith(" / DevTools console")))),o(),e=>!n(e);case"duplicatedStrings":{const e=new Map,s=this.createNode(0);for(let n=0;n<this.nodeCount;++n){s.nodeIndex=n*this.nodeFieldCount;const i=s.rawType();if(i===this.nodeStringType||i===this.nodeConsStringType){if(s.isFlatConsString())continue;const n=s.name(),i=e.get(n);void 0===i?e.set(n,s.nodeIndex):(t.setBit(i/this.nodeFieldCount),t.setBit(s.nodeIndex/this.nodeFieldCount))}}return n}}throw new Error("Invalid filter name")}getAggregatesByClassName(e,t,s){const n=this.buildAggregates(s);let i;return t&&this.#W[t]?i=this.#W[t]:(this.calculateClassesRetainedSize(n.aggregatesByClassIndex,s),i=n.aggregatesByClassName,t&&(this.#W[t]=i)),!e||t&&this.#J[t]||(this.sortAggregateIndexes(i),t&&(this.#J[t]=e)),i}allocationTracesTops(){return this.#ee.serializeTraceTops()}allocationNodeCallers(e){return this.#ee.serializeCallers(e)}allocationStack(e){const t=this.createNode(e).traceNodeId();return t?this.#ee.serializeAllocationStack(t):null}aggregatesForDiff(){if(this.#L)return this.#L;const e=this.getAggregatesByClassName(!0,"allObjects");this.#L={};const t=this.createNode();for(const s in e){const n=e[s].idxs,i=new Array(n.length),o=new Array(n.length);for(let e=0;e<n.length;e++)t.nodeIndex=n[e],i[e]=t.id(),o[e]=t.selfSize();this.#L[s]={indexes:n,ids:i,selfSizes:o}}return this.#L}isUserRoot(e){return!0}calculateShallowSizes(){}calculateDistances(t,s){const n=this.nodeCount;if(t){const e=s;s=(t,s)=>!this.#se.has(s.nodeIndex())&&(!e||e(t,s)),void 0===this.#ie&&(this.#ie=new Int32Array(n))}const i=t?this.#ie:this.nodeDistances,o=this.#U;for(let e=0;e<n;++e)i[e]=o;const r=new Uint32Array(this.nodeCount);let a=0;for(let e=this.rootNode().edges();e.hasNext();e.next()){const t=e.edge.node();this.isUserRoot(t)&&(i[t.ordinal()]=1,r[a++]=t.nodeIndex)}this.bfs(r,a,i,s),i[this.rootNode().ordinal()]=a>0?e.HeapSnapshotModel.baseSystemDistance:0,r[0]=this.rootNode().nodeIndex,a=1,this.bfs(r,a,i,s)}bfs(e,t,s,n){const i=this.edgeFieldsCount,o=this.nodeFieldCount,r=this.containmentEdges,a=this.firstEdgeIndexes,d=this.edgeToNodeOffset,h=this.edgeTypeOffset,l=this.nodeCount,c=this.edgeWeakType,u=this.#U;let g=0;const p=this.createEdge(0),f=this.createNode(0);for(;g<t;){const l=e[g++],I=l/o,x=s[I]+1,m=a[I],N=a[I+1];f.nodeIndex=l;for(let a=m;a<N;a+=i){if(r.getValue(a+h)===c)continue;const i=r.getValue(a+d),l=i/o;s[l]===u&&(p.edgeIndex=a,n&&!n(f,p)||(s[l]=x,e[t++]=i))}}if(t>l)throw new Error("BFS failed. Nodes to visit ("+t+") is more than nodes count ("+l+")")}buildAggregates(e){const t={},s={},n=[],i=this.nodes,o=i.length,r=this.nodeFieldCount,a=this.nodeSelfSizeOffset,d=this.rootNode(),h=this.nodeDistances;for(let l=0;l<o;l+=r){if(d.nodeIndex=l,e&&!e(d))continue;const o=i.getValue(l+a);if(!o)continue;const c=d.classIndex(),u=h[l/r];if(c in t){const e=t[c];if(!e)continue;e.distance=Math.min(e.distance,u),++e.count,e.self+=o,e.idxs.push(l)}else{const e=d.type(),i={count:1,distance:u,self:o,maxRet:0,type:e,name:"object"===e||"native"===e?d.className():null,idxs:[l]};t[c]=i,n.push(c),s[d.className()]=i}}for(let e=0,s=n.length;e<s;++e){const s=t[n[e]];s&&(s.idxs=s.idxs.slice())}return{aggregatesByClassName:s,aggregatesByClassIndex:t}}calculateClassesRetainedSize(e,t){const s=this.rootNodeIndexInternal,n=this.createNode(s),i=[s],o=[-1],r=[],a=new Map,d=this.nodeFieldCount,h=this.dominatedNodes,l=this.firstDominatedNodeIndex;for(;i.length;){const s=i.pop();n.nodeIndex=s;let c=n.classIndex();const u=Boolean(a.get(c)),g=s/d,p=l[g],f=l[g+1];u||t&&!t(n)||!n.selfSize()||(e[c].maxRet+=n.retainedSize(),p!==f&&(a.set(c,!0),o.push(i.length),r.push(c)));for(let e=p;e<f;e++)i.push(h[e]);const I=i.length;for(;o[o.length-1]===I;)o.pop(),c=r.pop(),a.set(c,!1)}}sortAggregateIndexes(e){const t=this.createNode(),s=this.createNode();for(const n in e)e[n].idxs.sort(((e,n)=>(t.nodeIndex=e,s.nodeIndex=n,t.id()<s.id()?-1:1)))}tryParseWeakMapEdgeName(e){if(this.#oe.getBit(e))return;const t=this.strings[e].match(/^\d+(?<duplicatedPart> \/ part of key \(.*? @\d+\) -> value \(.*? @\d+\) pair in WeakMap \(table @(?<tableId>\d+)\))$/);if(t)return t.groups;this.#oe.setBit(e)}isEssentialEdge(e,t){const s=this.containmentEdges.getValue(t+this.edgeTypeOffset);if(s===this.edgeInternalType){const s=this.containmentEdges.getValue(t+this.edgeNameOffset),n=this.tryParseWeakMapEdgeName(s);if(n){return this.nodes.getValue(e+this.nodeIdOffset)!==parseInt(n.tableId,10)}}return s!==this.edgeWeakType&&(s!==this.edgeShortcutType||e===this.rootNodeIndexInternal)}buildPostOrderIndex(){const e=this.nodeFieldCount,t=this.nodeCount,s=this.rootNodeIndexInternal/e,n=this.edgeFieldsCount,i=this.edgeToNodeOffset,o=this.firstEdgeIndexes,r=this.containmentEdges,a=this.userObjectsMapAndFlag(),d=a?a.map:null,h=a?a.flag:0,l=new Uint32Array(t),c=new Uint32Array(t),u=new Uint32Array(t),g=new Uint32Array(t),p=new Uint8Array(t);let f=0,I=0;l[0]=s,c[0]=o[s],p[s]=1;let x=0;for(;;){for(++x;I>=0;){const t=l[I],a=c[I];if(a<o[t+1]){if(c[I]+=n,!this.isEssentialEdge(t*e,a))continue;const u=r.getValue(a+i)/e;if(p[u])continue;const g=!d||d[t]&h,f=!d||d[u]&h;if(t!==s&&f&&!g)continue;++I,l[I]=u,c[I]=o[u],p[u]=1}else g[t]=f,u[f++]=t,--I}if(f===t||x>1)break;const a=new S(`Heap snapshot: ${t-f} nodes are unreachable from the root. Following nodes have only weak retainers:`),m=this.rootNode();--f,I=0,l[0]=s,c[0]=o[s+1];for(let s=0;s<t;++s){if(p[s]||!this.hasOnlyWeakRetainers(s))continue;l[++I]=s,c[I]=o[s],p[s]=1,m.nodeIndex=s*e;const t=[];for(let e=m.retainers();e.hasNext();e.next())t.push(`${e.item().node().name()}@${e.item().node().id()}.${e.item().name()}`);a.addError(`${m.name()} @${m.id()} weak retainers: ${t.join(", ")}`)}console.warn(a.toString())}if(f!==t){const n=new S("Still found "+(t-f)+" unreachable nodes in heap snapshot:"),i=this.rootNode();--f;for(let s=0;s<t;++s)p[s]||(i.nodeIndex=s*e,n.addError(i.name()+" @"+i.id()),g[s]=f,u[f++]=s);g[s]=f,u[f++]=s,console.warn(n.toString())}return{postOrderIndex2NodeOrdinal:u,nodeOrdinal2PostOrderIndex:g}}hasOnlyWeakRetainers(e){const t=this.edgeTypeOffset,s=this.edgeWeakType,n=this.edgeShortcutType,i=this.containmentEdges,o=this.retainingEdges,r=this.firstRetainerIndex[e],a=this.firstRetainerIndex[e+1];for(let e=r;e<a;++e){const r=o[e],a=i.getValue(r+t);if(a!==s&&a!==n)return!1}return!0}buildDominatorTree(e,t){const n=this.nodeFieldCount,i=this.firstRetainerIndex,o=this.retainingNodes,r=this.retainingEdges,a=this.edgeFieldsCount,d=this.edgeToNodeOffset,h=this.firstEdgeIndexes,l=this.containmentEdges,c=this.rootNodeIndexInternal,u=this.userObjectsMapAndFlag(),g=u?u.map:null,p=u?u.flag:0,f=e.length,I=f-1,x=f,m=new Uint32Array(f);for(let e=0;e<I;++e)m[e]=x;m[I]=I;const N=s.TypedArrayUtilities.createBitVector(f);let y;{y=this.rootNodeIndexInternal/n;const e=h[y+1];for(let s=h[y];s<e;s+=a){if(!this.isEssentialEdge(this.rootNodeIndexInternal,s))continue;const e=l.getValue(s+d)/n;N.setBit(t[e])}}let S=!0;for(;S;){S=!1;for(let s=N.previous(I);s>=0;s=N.previous(s)){if(N.clearBit(s),m[s]===I)continue;y=e[s];const u=!g||g[y]&p;let f=x;const w=i[y],T=i[y+1];let O=!0;for(let e=w;e<T;++e){const s=r[e],i=o[e];if(!this.isEssentialEdge(i,s))continue;O=!1;const a=i/n,d=!g||g[a]&p;if(i!==c&&u&&!d)continue;let h=t[a];if(m[h]!==x){if(f===x)f=h;else for(;h!==f;){for(;h<f;)h=m[h];for(;f<h;)f=m[f]}if(f===I)break}}if(O&&(f=I),f!==x&&m[s]!==f){m[s]=f,S=!0,y=e[s];const i=h[y]+d,o=h[y+1];for(let e=i;e<o;e+=a){const s=l.getValue(e)/n;N.setBit(t[s])}}}}const w=new Uint32Array(f);for(let t=0,s=m.length;t<s;++t)y=e[t],w[y]=e[m[t]];return w}calculateRetainedSizes(e){const t=this.nodeCount,s=this.nodes,n=this.nodeSelfSizeOffset,i=this.nodeFieldCount,o=this.dominatorsTree,r=this.retainedSizes;for(let e=0;e<t;++e)r[e]=s.getValue(e*i+n);for(let s=0;s<t-1;++s){const t=e[s];r[o[t]]+=r[t]}}buildDominatedNodes(){const e=this.firstDominatedNodeIndex,t=this.dominatedNodes,s=this.nodeFieldCount,n=this.dominatorsTree;let i=0,o=this.nodeCount;const r=this.rootNodeIndexInternal/s;if(r===i)i=1;else{if(r!==o-1)throw new Error("Root node is expected to be either first or last");o-=1}for(let t=i;t<o;++t)++e[n[t]];let a=0;for(let s=0,n=this.nodeCount;s<n;++s){const n=t[a]=e[s];e[s]=a,a+=n}e[this.nodeCount]=t.length;for(let r=i;r<o;++r){let i=e[n[r]];i+=--t[i],t[i]=r*s}}calculateObjectNames(){const{nodes:e,nodeCount:t,nodeNameOffset:s,nodeNativeType:n,nodeHiddenType:i,nodeObjectType:o,nodeCodeType:r,nodeClosureType:a,nodeRegExpType:d}=this;-1===this.nodeDetachednessAndClassIndexOffset&&(this.detachednessAndClassIndexArray=new Uint32Array(t));const h=new Map,l=e=>{let t=h.get(e);return void 0===t&&(t=this.addString(e),h.set(e,t)),t},c=l("(system)"),u=l("(compiled code)"),g=l("Function"),p=l("RegExp");function f(t){switch(t.rawType()){case i:return c;case o:case n:{let n=t.rawName();if(n.startsWith("<")){const e=n.indexOf(" ");return-1!==e&&(n=n.substring(0,e)+">"),l(n)}if(n.startsWith("Detached <")){const e=n.indexOf(" ",10);return-1!==e&&(n=n.substring(0,e)+">"),l(n)}return e.getValue(t.nodeIndex+s)}case r:return u;case a:return g;case d:return p;default:return l("("+t.type()+")")}}const I=this.createNode(0);for(let e=0;e<t;++e)I.setClassIndex(f(I)),I.nodeIndex=I.nextNodeIndex()}iterateFilteredChildren(e,t,s){const n=this.firstEdgeIndexes[e],i=this.firstEdgeIndexes[e+1];for(let e=n;e<i;e+=this.edgeFieldsCount){const n=this.containmentEdges.getValue(e+this.edgeToNodeOffset)/this.nodeFieldCount;t(this.containmentEdges.getValue(e+this.edgeTypeOffset))&&s(n)}}addString(e){return this.strings.push(e),this.strings.length-1}propagateDOMState(){if(-1===this.nodeDetachednessAndClassIndexOffset)return;console.time("propagateDOMState");const e=new Uint8Array(this.nodeCount),t=[],s=[],n=new Map,i=this.createNode(0),o=function(o,r,a){if(e[r])return;const d=r*o.nodeFieldCount;o.nodes.getValue(d+o.nodeTypeOffset)===o.nodeNativeType?(i.nodeIndex=d,i.setDetachedness(a),1===a?t.push(r):2===a&&(!function(e,t){const s=e.nodes.getValue(t+e.nodeNameOffset);let i=n.get(s);void 0===i&&(i=e.addString("Detached "+e.strings[s]),n.set(s,i)),e.nodes.setValue(t+e.nodeNameOffset,i)}(o,d),s.push(r)),e[r]=1):e[r]=1},r=function(e,t,s){e.iterateFilteredChildren(t,(t=>![e.edgeHiddenType,e.edgeInvisibleType,e.edgeWeakType].includes(t)),(t=>o(e,t,s)))};for(let e=0;e<this.nodeCount;++e){i.nodeIndex=e*this.nodeFieldCount;const t=i.detachedness();0!==t&&o(this,e,t)}for(;0!==t.length;){r(this,t.pop(),1)}for(;0!==s.length;){const e=s.pop();i.nodeIndex=e*this.nodeFieldCount;1!==i.detachedness()&&r(this,e,2)}console.timeEnd("propagateDOMState")}buildSamples(){const t=this.#j;if(!t||!t.length)return;const n=t.length/2,i=new Array(n),o=new Array(n),r=new Array(n),a=this.#k.sample_fields.indexOf("timestamp_us"),d=this.#k.sample_fields.indexOf("last_assigned_id");for(let e=0;e<n;e++)i[e]=0,o[e]=t[2*e+a]/1e3,r[e]=t[2*e+d];const h=this.nodes.length,l=this.nodeFieldCount,c=this.rootNode();for(let e=0;e<h;e+=l){c.nodeIndex=e;const t=c.id();if(t%2==0)continue;const o=s.ArrayUtilities.lowerBound(r,t,s.ArrayUtilities.DEFAULT_COMPARATOR);o!==n&&(i[o]+=c.selfSize())}this.#H=new e.HeapSnapshotModel.Samples(o,r,i)}buildLocationMap(){const t=new Map,s=this.#P;for(let n=0;n<s.length;n+=this.#Y){const i=s[n+this.#q],o=s[n+this.#G],r=s[n+this.#K],a=s[n+this.#X];t.set(i,new e.HeapSnapshotModel.Location(o,r,a))}this.#te=t}getLocation(e){return this.#te.get(e)||null}getSamples(){return this.#H}calculateFlags(){throw new Error("Not implemented")}calculateStatistics(){throw new Error("Not implemented")}userObjectsMapAndFlag(){throw new Error("Not implemented")}calculateSnapshotDiff(t,s){let n=this.#B[t];if(n)return n;n={};const i=this.getAggregatesByClassName(!0,"allObjects");for(const e in s){const t=s[e],o=this.calculateDiffForClass(t,i[e]);o&&(n[e]=o)}const o=new e.HeapSnapshotModel.AggregateForDiff;for(const e in i){if(e in s)continue;const t=this.calculateDiffForClass(o,i[e]);t&&(n[e]=t)}return this.#B[t]=n,n}calculateDiffForClass(t,s){const n=t.ids,i=t.indexes,o=t.selfSizes,r=s?s.idxs:[];let a=0,d=0;const h=n.length,l=r.length,c=new e.HeapSnapshotModel.Diff,u=this.createNode(r[d]);for(;a<h&&d<l;){const e=n[a];e<u.id()?(c.deletedIndexes.push(i[a]),c.removedCount++,c.removedSize+=o[a],++a):e>u.id()?(c.addedIndexes.push(r[d]),c.addedCount++,c.addedSize+=u.selfSize(),u.nodeIndex=r[++d]):(++a,u.nodeIndex=r[++d])}for(;a<h;)c.deletedIndexes.push(i[a]),c.removedCount++,c.removedSize+=o[a],++a;for(;d<l;)c.addedIndexes.push(r[d]),c.addedCount++,c.addedSize+=u.selfSize(),u.nodeIndex=r[++d];return c.countDelta=c.addedCount-c.removedCount,c.sizeDelta=c.addedSize-c.removedSize,c.addedCount||c.removedCount?c:null}nodeForSnapshotObjectId(e){for(let t=this.allNodes();t.hasNext();t.next())if(t.node.id()===e)return t.node;return null}nodeClassName(e){const t=this.nodeForSnapshotObjectId(e);return t?t.className():null}idsOfObjectsWithName(e){const t=[];for(let s=this.allNodes();s.hasNext();s.next())s.item().name()===e&&t.push(s.item().id());return t}createEdgesProvider(e){const t=this.createNode(e),s=this.containmentEdgesFilter(),n=new c(this);return new F(this,s,t.edges(),n)}createEdgesProviderForTest(e,t){const s=this.createNode(e),n=new c(this);return new F(this,t,s.edges(),n)}retainingEdgesFilter(){return null}containmentEdgesFilter(){return null}createRetainingEdgesProvider(e){const t=this.createNode(e),s=this.retainingEdgesFilter(),n=new u(this);return new F(this,s,t.retainers(),n)}createAddedNodesProvider(e,t){const s=this.#B[e][t];return new b(this,s.addedIndexes)}createDeletedNodesProvider(e){return new b(this,e)}createNodesProviderForClass(e,t){return new b(this,this.aggregatesWithFilter(t)[e].idxs)}maxJsNodeId(){const e=this.nodeFieldCount,t=this.nodes,s=t.length;let n=0;for(let i=this.nodeIdOffset;i<s;i+=e){const e=t.getValue(i);e%2!=0&&(n<e&&(n=e))}return n}updateStaticData(){return new e.HeapSnapshotModel.StaticData(this.nodeCount,this.rootNodeIndexInternal,this.totalSize,this.maxJsNodeId())}ignoreNodeInRetainersView(e){this.#se.add(e),this.calculateDistances(!0),this.#re()}unignoreNodeInRetainersView(e){this.#se.delete(e),0===this.#se.size?this.#ie=void 0:this.calculateDistances(!0),this.#re()}unignoreAllNodesInRetainersView(){this.#se.clear(),this.#ie=void 0,this.#re()}#re(){const e=this.#ie;if(this.#ne.clear(),void 0===e)return;const t=new s.MapUtilities.Multimap,n=this.#U,{nodeCount:i,nodeFieldCount:o}=this,r=this.createNode(0);for(let s=0;s<i;++s)if(e[s]===n){r.nodeIndex=s*o;for(let e=r.edges();e.hasNext();e.next()){const s=e.edge;if(!s.isInternal())continue;const n=this.tryParseWeakMapEdgeName(s.nameIndex());n&&t.set(s.nodeIndex(),n.duplicatedPart)}}for(const e of t.keys()){r.nodeIndex=e;for(let s=r.retainers();s.hasNext();s.next()){const n=s.item();if(!n.isInternal())continue;const i=this.tryParseWeakMapEdgeName(n.nameIndex());if(i&&t.hasValue(e,i.duplicatedPart)){const e=this.retainingEdges[n.itemIndex()];this.#ne.add(e)}}}}areNodesIgnoredInRetainersView(){return this.#se.size>0}getDistanceForRetainersView(t){const s=t/this.nodeFieldCount,n=(this.#ie??this.nodeDistances)[s];return n===this.#U?Math.max(0,this.nodeDistances[s])+e.HeapSnapshotModel.baseUnreachableDistance:n}isNodeIgnoredInRetainersView(e){return this.#se.has(e)}isEdgeIgnoredInRetainersView(e){return this.#ne.has(e)}}class C{location_fields=[];node_fields=[];node_types=[];edge_fields=[];edge_types=[];trace_function_info_fields=[];trace_node_fields=[];sample_fields=[];type_strings={}}class E{iterator;#ae;#de;iterationOrder;currentComparator;#he;#le;constructor(e,t){this.iterator=e,this.#ae=t,this.#de=!e.hasNext(),this.iterationOrder=null,this.currentComparator=null,this.#he=0,this.#le=0}createIterationOrder(){if(!this.iterationOrder){this.iterationOrder=[];for(let e=this.iterator;e.hasNext();e.next())this.iterationOrder.push(e.item().itemIndex())}}isEmpty(){return this.#de}serializeItemsRange(t,s){if(this.createIterationOrder(),t>s)throw new Error("Start position > end position: "+t+" > "+s);if(!this.iterationOrder)throw new Error("Iteration order undefined");if(s>this.iterationOrder.length&&(s=this.iterationOrder.length),this.#he<s&&t<this.iterationOrder.length-this.#le&&this.currentComparator){const e=this.currentComparator;this.sort(e,this.#he,this.iterationOrder.length-1-this.#le,t,s-1),t<=this.#he&&(this.#he=s),s>=this.iterationOrder.length-this.#le&&(this.#le=this.iterationOrder.length-t)}let n=t;const i=s-t,o=new Array(i);for(let e=0;e<i;++e){const t=this.iterationOrder[n++],s=this.#ae.itemForIndex(t);o[e]=s.serialize()}return new e.HeapSnapshotModel.ItemsRange(t,s,this.iterationOrder.length,o)}sortAndRewind(e){this.currentComparator=e,this.#he=0,this.#le=0}}class F extends E{snapshot;constructor(e,t,s,n){super(t?new N(s,t):s,n),this.snapshot=e}sort(e,t,n,i,o){const r=e.fieldName1,a=e.fieldName2,d=e.ascending1,h=e.ascending2,l=this.iterator.item().clone(),c=l.clone(),u=this.snapshot.createNode(),g=this.snapshot.createNode();function p(e,t,s,n){l.edgeIndex=s,c.edgeIndex=n;let i=0;if("!edgeName"===e){if("__proto__"===c.name())return-1;if("__proto__"===l.name())return 1;i=l.hasStringName()===c.hasStringName()?l.name()<c.name()?-1:l.name()>c.name()?1:0:l.hasStringName()?-1:1}else i=l.getValueForSorting(e)-c.getValueForSorting(e);return t?i:-i}function f(e,t,s,n){l.edgeIndex=s,u.nodeIndex=l.nodeIndex();const i=u[e]();c.edgeIndex=n,g.nodeIndex=c.nodeIndex();const o=g[e](),r=i<o?-1:i>o?1:0;return t?r:-r}if(!this.iterationOrder)throw new Error("Iteration order not defined");function I(e){return e.startsWith("!edge")}I(r)?I(a)?s.ArrayUtilities.sortRange(this.iterationOrder,(function(e,t){let s=p(r,d,e,t);return 0===s&&(s=p(a,h,e,t)),0===s?e-t:s}),t,n,i,o):s.ArrayUtilities.sortRange(this.iterationOrder,(function(e,t){let s=p(r,d,e,t);return 0===s&&(s=f(a,h,e,t)),0===s?e-t:s}),t,n,i,o):I(a)?s.ArrayUtilities.sortRange(this.iterationOrder,(function(e,t){let s=f(r,d,e,t);return 0===s&&(s=p(a,h,e,t)),0===s?e-t:s}),t,n,i,o):s.ArrayUtilities.sortRange(this.iterationOrder,(function(e,t){let s=f(r,d,e,t);return 0===s&&(s=f(a,h,e,t)),0===s?e-t:s}),t,n,i,o)}}class b extends E{snapshot;constructor(e,t){const s=new l(e);super(new m(s,t),s),this.snapshot=e}nodePosition(e){this.createIterationOrder();const t=this.snapshot.createNode();let s=0;if(!this.iterationOrder)throw new Error("Iteration order not defined");for(;s<this.iterationOrder.length&&(t.nodeIndex=this.iterationOrder[s],t.id()!==e);s++);if(s===this.iterationOrder.length)return-1;const n=this.iterationOrder[s];let i=0;const o=this.currentComparator,r=this.buildCompareFunction(o);for(let e=0;e<this.iterationOrder.length;e++)r(this.iterationOrder[e],n)<0&&++i;return i}buildCompareFunction(e){const t=this.snapshot.createNode(),s=this.snapshot.createNode(),n=t[e.fieldName1],i=t[e.fieldName2],o=e.ascending1?1:-1,r=e.ascending2?1:-1;function a(e,n){const i=e.call(t),o=e.call(s);return i<o?-n:i>o?n:0}return function(e,d){t.nodeIndex=e,s.nodeIndex=d;let h=a(n,o);return 0===h&&(h=a(i,r)),h||e-d}}sort(e,t,n,i,o){if(!this.iterationOrder)throw new Error("Iteration order not defined");s.ArrayUtilities.sortRange(this.iterationOrder,this.buildCompareFunction(e),t,n,i,o)}}class A extends O{nodeFlags;lazyStringCache;flags;#ce;constructor(e,t){super(e,t),this.nodeFlags={canBeQueried:1,detachedDOMTreeNode:2,pageObject:4},this.lazyStringCache={},this.initialize()}createNode(e){return new v(this,void 0===e?-1:e)}createEdge(e){return new _(this,e)}createRetainingEdge(e){return new z(this,e)}containmentEdgesFilter(){return e=>!e.isInvisible()}retainingEdgesFilter(){const e=this.containmentEdgesFilter();return function(t){return e(t)&&!t.node().isRoot()&&!t.isWeak()}}calculateFlags(){this.flags=new Uint32Array(this.nodeCount),this.markDetachedDOMTreeNodes(),this.markQueriableHeapObjects(),this.markPageOwnedNodes()}#ue(){for(let e=this.rootNode().edges();e.hasNext();e.next())if(this.isUserRoot(e.edge.node()))return!0;return!1}calculateShallowSizes(){if(!this.#ue())return;const{nodeCount:e,nodes:t,nodeFieldCount:s,nodeSelfSizeOffset:n}=this,i=4294967295,o=4294967294;if(e>=o)throw new Error("Too many nodes for calculateShallowSizes");const r=new Uint32Array(e),a=[],d=this.createNode(0);for(let t=0;t<e;++t)d.isHidden()||d.isArray()?r[t]=i:(r[t]=t,a.push(t)),d.nodeIndex=d.nextNodeIndex();for(;0!==a.length;){const e=a.pop(),t=r[e];d.nodeIndex=e*s;for(let e=d.edges();e.hasNext();e.next()){const n=e.edge;if(n.isWeak())continue;const d=n.nodeIndex()/s;switch(r[d]){case i:r[d]=t,a.push(d);break;case d:case t:case o:break;default:r[d]=o,a.push(d)}}}for(let a=0;a<e;++a){const e=r[a];switch(e){case i:case o:case a:break;default:{const i=a*s,o=e*s;if(d.nodeIndex=o,d.isSynthetic()||d.isRoot())break;const r=t.getValue(i+n);t.setValue(i+n,0),t.setValue(o+n,t.getValue(o+n)+r);break}}}}calculateDistances(e){const t=new Set,s=this;super.calculateDistances(e,(function(e,n){if(e.isHidden()&&"sloppy_function_map"===n.name()&&"system / NativeContext"===e.rawName())return!1;if(e.isArray()&&"(map descriptors)"===e.rawName()){const e=parseInt(n.name(),10);return e<2||e%3!=1}if(n.isInternal()){const e=s.tryParseWeakMapEdgeName(n.nameIndex());if(e&&!t.delete(e.duplicatedPart))return t.add(e.duplicatedPart),!1}return!0}))}isUserRoot(e){return e.isUserRoot()||e.isDocumentDOMTreesRoot()}userObjectsMapAndFlag(){return{map:this.flags,flag:this.nodeFlags.pageObject}}flagsOfNode(e){return this.flags[e.nodeIndex/this.nodeFieldCount]}markDetachedDOMTreeNodes(){const e=this.nodes,t=e.length,s=this.nodeFieldCount,n=this.nodeNativeType,i=this.nodeTypeOffset,o=this.nodeFlags.detachedDOMTreeNode,r=this.rootNode();for(let a=0,d=0;a<t;a+=s,d++){e.getValue(a+i)===n&&(r.nodeIndex=a,r.name().startsWith("Detached ")&&(this.flags[d]|=o))}}markQueriableHeapObjects(){const e=this.nodeFlags.canBeQueried,t=this.edgeHiddenType,s=this.edgeInternalType,n=this.edgeInvisibleType,i=this.edgeWeakType,o=this.edgeToNodeOffset,r=this.edgeTypeOffset,a=this.edgeFieldsCount,d=this.containmentEdges,h=this.nodeFieldCount,l=this.firstEdgeIndexes,c=this.flags,u=[];for(let e=this.rootNode().edges();e.hasNext();e.next())e.edge.node().isUserRoot()&&u.push(e.edge.node().nodeIndex/h);for(;u.length;){const g=u.pop();if(c[g]&e)continue;c[g]|=e;const p=l[g],f=l[g+1];for(let l=p;l<f;l+=a){const a=d.getValue(l+o)/h;if(c[a]&e)continue;const g=d.getValue(l+r);g!==t&&g!==n&&g!==s&&g!==i&&u.push(a)}}}markPageOwnedNodes(){const e=this.edgeShortcutType,t=this.edgeElementType,s=this.edgeToNodeOffset,n=this.edgeTypeOffset,i=this.edgeFieldsCount,o=this.edgeWeakType,r=this.firstEdgeIndexes,a=this.containmentEdges,d=this.nodeFieldCount,h=this.nodeCount,l=this.flags,c=this.nodeFlags.pageObject,u=new Uint32Array(h);let g=0;const p=this.rootNodeIndexInternal/d,f=this.rootNode();for(let o=r[p],h=r[p+1];o<h;o+=i){const i=a.getValue(o+n),r=a.getValue(o+s);if(i===t){if(f.nodeIndex=r,!f.isDocumentDOMTreesRoot())continue}else if(i!==e)continue;const h=r/d;u[g++]=h,l[h]|=c}for(;g;){const e=u[--g],t=r[e],h=r[e+1];for(let e=t;e<h;e+=i){const t=a.getValue(e+s)/d;if(l[t]&c)continue;a.getValue(e+n)!==o&&(u[g++]=t,l[t]|=c)}}}calculateStatistics(){const t=this.nodeFieldCount,s=this.nodes,n=s.length,i=this.nodeTypeOffset,o=this.nodeSelfSizeOffset,r=this.nodeNativeType,a=this.nodeCodeType,d=this.nodeConsStringType,h=this.nodeSlicedStringType,l=this.nodeDistances;let c=0,u=0,g=0,p=0,f=0;const I=this.rootNode();for(let x=0;x<n;x+=t){const n=s.getValue(x+o);if(l[x/t]>=e.HeapSnapshotModel.baseSystemDistance){f+=n;continue}const m=s.getValue(x+i);I.nodeIndex=x,m===r?c+=n:m===a?u+=n:m===d||m===h||"string"===I.type()?g+=n:"Array"===I.rawName()&&(p+=this.calculateArraySize(I))}this.#ce=new e.HeapSnapshotModel.Statistics,this.#ce.total=this.totalSize,this.#ce.v8heap=this.totalSize-c,this.#ce.native=c,this.#ce.code=u,this.#ce.jsArrays=p,this.#ce.strings=g,this.#ce.system=f}calculateArraySize(e){let t=e.selfSize();const s=e.edgeIndexesStart(),n=e.edgeIndexesEnd(),i=this.containmentEdges,o=this.strings,r=this.edgeToNodeOffset,a=this.edgeTypeOffset,d=this.edgeNameOffset,h=this.edgeFieldsCount,l=this.edgeInternalType;for(let c=s;c<n;c+=h){if(i.getValue(c+a)!==l)continue;if("elements"!==o[i.getValue(c+d)])continue;const s=i.getValue(c+r);e.nodeIndex=s,1===e.retainersCount()&&(t+=e.selfSize());break}return t}getStatistics(){return this.#ce}}class v extends I{constructor(e,t){super(e,t)}canBeQueried(){const e=this.snapshot,t=e.flagsOfNode(this);return Boolean(t&e.nodeFlags.canBeQueried)}name(){const e=this.snapshot,t=t=>{let s=e.lazyStringCache[this.nodeIndex];return void 0===s&&(s=t(),e.lazyStringCache[this.nodeIndex]=s),s};return this.rawType()===e.nodeConsStringType?t((()=>this.consStringName())):this.rawType()===e.nodeObjectType&&"Object"===this.rawName()?t((()=>this.#ge())):this.rawName()}consStringName(){const e=this.snapshot,t=e.nodeConsStringType,s=e.edgeInternalType,n=e.edgeFieldsCount,i=e.edgeToNodeOffset,o=e.edgeTypeOffset,r=e.edgeNameOffset,a=e.strings,d=e.containmentEdges,h=e.firstEdgeIndexes,l=e.nodeFieldCount,c=e.nodeTypeOffset,u=e.nodeNameOffset,g=e.nodes,p=[];p.push(this.nodeIndex);let f="";for(;p.length&&f.length<1024;){const e=p.pop();if(g.getValue(e+c)!==t){f+=a[g.getValue(e+u)];continue}const I=e/l,x=h[I],m=h[I+1];let N=0,y=0;for(let e=x;e<m&&(!N||!y);e+=n){if(d.getValue(e+o)===s){const t=a[d.getValue(e+r)];"first"===t?N=d.getValue(e+i):"second"===t&&(y=d.getValue(e+i))}}p.push(y),p.push(N)}return f}#ge(){const e=this.snapshot,{edgeFieldsCount:t,edgePropertyType:s}=e,n=e.createEdge(0);let i="{",o="}",r=this.edgeIndexesStart(),a=this.edgeIndexesEnd()-t,d=!1;for(;r<=a;){if(n.edgeIndex=d?a:r,n.rawType()!==s||"__proto__"===n.name()){d?a-=t:r+=t;continue}const e=v.formatPropertyName(n.name());if(i.length>1&&i.length+o.length+e.length>100)break;d?(a-=t,o.length>1&&(o=", "+o),o=e+o):(r+=t,i.length>1&&(i+=", "),i+=e),d=!d}return r<=a&&(i+=", ..."),o.length>1&&(i+=", "),i+o}static formatPropertyName(e){return/[,'"{}]/.test(e)&&(e=(e=JSON.stringify({[e]:0})).substring(1,e.length-3)),e}id(){const e=this.snapshot;return e.nodes.getValue(this.nodeIndex+e.nodeIdOffset)}isHidden(){return this.rawType()===this.snapshot.nodeHiddenType}isArray(){return this.rawType()===this.snapshot.nodeArrayType}isSynthetic(){return this.rawType()===this.snapshot.nodeSyntheticType}isUserRoot(){return!this.isSynthetic()}isDocumentDOMTreesRoot(){return this.isSynthetic()&&"(Document DOM trees)"===this.rawName()}serialize(){const e=super.serialize(),t=this.snapshot,s=t.flagsOfNode(this);return s&t.nodeFlags.canBeQueried&&(e.canBeQueried=!0),s&t.nodeFlags.detachedDOMTreeNode&&(e.detachedDOMTreeNode=!0),e}}class _ extends h{constructor(e,t){super(e,t)}clone(){const e=this.snapshot;return new _(e,this.edgeIndex)}hasStringName(){return this.isShortcut()?isNaN(parseInt(this.nameInternal(),10)):this.hasStringNameInternal()}isElement(){return this.rawType()===this.snapshot.edgeElementType}isHidden(){return this.rawType()===this.snapshot.edgeHiddenType}isWeak(){return this.rawType()===this.snapshot.edgeWeakType}isInternal(){return this.rawType()===this.snapshot.edgeInternalType}isInvisible(){return this.rawType()===this.snapshot.edgeInvisibleType}isShortcut(){return this.rawType()===this.snapshot.edgeShortcutType}name(){const e=this.nameInternal();if(!this.isShortcut())return String(e);const t=parseInt(e,10);return String(isNaN(t)?e:t)}toString(){const e=this.name();switch(this.type()){case"context":return"->"+e;case"element":return"["+e+"]";case"weak":return"[["+e+"]]";case"property":return-1===e.indexOf(" ")?"."+e:'["'+e+'"]';case"shortcut":return"string"==typeof e?-1===e.indexOf(" ")?"."+e:'["'+e+'"]':"["+e+"]";case"internal":case"hidden":case"invisible":return"{"+e+"}"}return"?"+e+"?"}hasStringNameInternal(){const e=this.rawType(),t=this.snapshot;return e!==t.edgeElementType&&e!==t.edgeHiddenType}nameInternal(){return this.hasStringNameInternal()?this.snapshot.strings[this.nameOrIndex()]:this.nameOrIndex()}nameOrIndex(){return this.edges.getValue(this.edgeIndex+this.snapshot.edgeNameOffset)}rawType(){return this.edges.getValue(this.edgeIndex+this.snapshot.edgeTypeOffset)}nameIndex(){if(!this.hasStringNameInternal())throw new Error("Edge does not have string name");return this.nameOrIndex()}}class z extends p{constructor(e,t){super(e,t)}clone(){const e=this.snapshot;return new z(e,this.retainerIndex())}isHidden(){return this.edge().isHidden()}isInvisible(){return this.edge().isInvisible()}isShortcut(){return this.edge().isShortcut()}isWeak(){return this.edge().isWeak()}}var D=Object.freeze({__proto__:null,HeapSnapshotEdge:h,HeapSnapshotNodeIndexProvider:l,HeapSnapshotEdgeIndexProvider:c,HeapSnapshotRetainerEdgeIndexProvider:u,HeapSnapshotEdgeIterator:g,HeapSnapshotRetainerEdge:p,HeapSnapshotRetainerEdgeIterator:f,HeapSnapshotNode:I,HeapSnapshotNodeIterator:x,HeapSnapshotIndexRangeIterator:m,HeapSnapshotFilteredIterator:N,HeapSnapshotProgress:y,HeapSnapshotProblemReport:S,HeapSnapshot:O,HeapSnapshotHeader:class{title;meta;node_count;edge_count;trace_function_count;root_index;constructor(){this.title="",this.meta=new C,this.node_count=0,this.edge_count=0,this.trace_function_count=0,this.root_index=0}},HeapSnapshotItemProvider:E,HeapSnapshotEdgesProvider:F,HeapSnapshotNodesProvider:b,JSHeapSnapshot:A,JSHeapSnapshotNode:v,JSHeapSnapshotEdge:_,JSHeapSnapshotRetainerEdge:z});class R{#M;#pe;#fe;#Ie;#xe;#me;#Ne;#ye="";constructor(e){this.#Se(),this.#M=new y(e),this.#pe=[],this.#fe=null,this.#Ie=!1,this.#we()}dispose(){this.#Se()}#Se(){this.#ye="",this.#xe=void 0}close(){this.#Ie=!0,this.#fe&&this.#fe("")}buildSnapshot(){this.#xe=this.#xe||{},this.#M.updateStatus("Processing snapshot…");const e=new A(this.#xe,this.#M);return this.#Se(),e}#Te(){let e=0;const t="0".charCodeAt(0),s="9".charCodeAt(0),n="]".charCodeAt(0),i=this.#ye.length;for(;;){for(;e<i;){const i=this.#ye.charCodeAt(e);if(t<=i&&i<=s)break;if(i===n)return this.#ye=this.#ye.slice(e+1),!1;++e}if(e===i)return this.#ye="",!0;let o=0;const r=e;for(;e<i;){const n=this.#ye.charCodeAt(e);if(t>n||n>s)break;o*=10,o+=n-t,++e}if(e===i)return this.#ye=this.#ye.slice(r),!0;if(!this.#me)throw new Error("Array not instantiated");this.#me.setValue(this.#Ne++,o)}}#Oe(){this.#M.updateStatus("Parsing strings…");const e=this.#ye.lastIndexOf("]");if(-1===e)throw new Error("Incomplete JSON");if(this.#ye=this.#ye.slice(0,e+1),!this.#xe)throw new Error("No snapshot in parseStringsArray");this.#xe.strings=JSON.parse(this.#ye)}write(e){this.#pe.push(e),this.#fe&&(this.#fe(this.#pe.shift()),this.#fe=null)}#Ce(){if(this.#pe.length>0)return Promise.resolve(this.#pe.shift());const{promise:e,resolve:t}=s.PromiseUtilities.promiseWithResolvers();return this.#fe=t,e}async#Ee(e,t){for(;;){const s=this.#ye.indexOf(e,t||0);if(-1!==s)return s;t=this.#ye.length-e.length+1,this.#ye+=await this.#Ce()}}async#Fe(e,t,n){const i=await this.#Ee(e),o=await this.#Ee("[",i);for(this.#ye=this.#ye.slice(o+1),this.#me=void 0===n?s.TypedArrayUtilities.createExpandableBigUint32Array():s.TypedArrayUtilities.createFixedBigUint32Array(n),this.#Ne=0;this.#Te();)n?this.#M.updateProgress(t,this.#Ne,this.#me.length):this.#M.updateStatus(t),this.#ye+=await this.#Ce();const r=this.#me;return this.#me=null,r}async#we(){const e='"snapshot"',t=await this.#Ee(e);if(-1===t)throw new Error("Snapshot token not found");this.#M.updateStatus("Loading snapshot info…");const s=this.#ye.slice(t+10+1);let i=!1;const o=new n.TextUtils.BalancedJSONTokenizer((e=>{this.#ye=o.remainder(),i=!0,this.#xe=this.#xe||{},this.#xe.snapshot=JSON.parse(e)}));for(o.write(s);!i;)o.write(await this.#Ce());this.#xe=this.#xe||{};const r=await this.#Fe('"nodes"',"Loading nodes… {PH1}%",this.#xe.snapshot.meta.node_fields.length*this.#xe.snapshot.node_count);this.#xe.nodes=r;const a=await this.#Fe('"edges"',"Loading edges… {PH1}%",this.#xe.snapshot.meta.edge_fields.length*this.#xe.snapshot.edge_count);if(this.#xe.edges=a,this.#xe.snapshot.trace_function_count){const e=await this.#Fe('"trace_function_infos"',"Loading allocation traces… {PH1}%",this.#xe.snapshot.meta.trace_function_info_fields.length*this.#xe.snapshot.trace_function_count);this.#xe.trace_function_infos=e.asUint32ArrayOrFail();const t=await this.#Ee(":"),s=await this.#Ee('"',t),n=this.#ye.indexOf("["),i=this.#ye.lastIndexOf("]",s);this.#xe.trace_tree=JSON.parse(this.#ye.substring(n,i+1)),this.#ye=this.#ye.slice(i+1)}if(this.#xe.snapshot.meta.sample_fields){const e=await this.#Fe('"samples"',"Loading samples…");this.#xe.samples=e.asArrayOrFail()}if(this.#xe.snapshot.meta.location_fields){const e=await this.#Fe('"locations"',"Loading locations…");this.#xe.locations=e.asArrayOrFail()}else this.#xe.locations=[];this.#M.updateStatus("Loading strings…");const d=await this.#Ee('"strings"'),h=await this.#Ee("[",d);for(this.#ye=this.#ye.slice(h);!this.#Ie;)this.#ye+=await this.#Ce();this.#Oe()}}var V=Object.freeze({__proto__:null,HeapSnapshotLoader:R});var k=Object.freeze({__proto__:null,HeapSnapshotWorkerDispatcher:class{#be;#Ae;constructor(e){this.#be=[],this.#Ae=e}sendEvent(e,t){this.#Ae({eventName:e,data:t})}dispatchMessage({data:t}){const s={callId:t.callId,result:null,error:void 0,errorCallStack:void 0,errorMethodName:void 0};try{switch(t.disposition){case"createLoader":this.#be[t.objectId]=new R(this);break;case"dispose":delete this.#be[t.objectId];break;case"getter":{const e=this.#be[t.objectId][t.methodName];s.result=e;break}case"factory":{const e=this.#be[t.objectId],n=e[t.methodName].apply(e,t.methodArguments);n&&(this.#be[t.newObjectId]=n),s.result=Boolean(n);break}case"method":{const e=this.#be[t.objectId];s.result=e[t.methodName].apply(e,t.methodArguments);break}case"evaluateForTest":try{globalThis.HeapSnapshotWorker={AllocationProfile:d,HeapSnapshot:D,HeapSnapshotLoader:V},globalThis.HeapSnapshotModel=e,s.result=self.eval(t.source)}catch(e){s.result=e.toString()}}}catch(e){s.error=e.toString(),s.errorCallStack=e.stack,t.methodName&&(s.errorMethodName=t.methodName)}this.#Ae(s)}}});export{d as AllocationProfile,D as HeapSnapshot,V as HeapSnapshotLoader,k as HeapSnapshotWorkerDispatcher};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../devtools_app/devtools_app.js";import*as e from"../../core/common/common.js";import*as o from"../../ui/legacy/legacy.js";let r;async function a(){return r||(r=await import("../../panels/screencast/screencast.js")),r}o.Toolbar.registerToolbarItem({loadItem:async()=>(await a()).ScreencastApp.ToolbarButtonProvider.instance(),order:1,location:"main-toolbar-left"}),e.AppProvider.registerAppProvider({loadAppProvider:async()=>(await a()).ScreencastApp.ScreencastAppProvider.instance(),order:1}),o.ContextMenu.registerItem({location:"mainMenu",order:10,actionId:"components.request-app-banner"});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"../../core/common/common.js";import*as t from"../../core/host/host.js";import*as a from"../../core/i18n/i18n.js";import*as s from"../../ui/legacy/legacy.js";import*as n from"../../ui/visual_logging/visual_logging.js";import*as r from"../../core/root/root.js";import*as o from"../../core/sdk/sdk.js";import*as i from"../../panels/mobile_throttling/mobile_throttling.js";import*as l from"../../ui/legacy/components/utils/utils.js";import*as d from"../../core/platform/platform.js";import*as c from"../../models/bindings/bindings.js";const g=new CSSStyleSheet;g.replaceSync(':host{padding:12px}[is="dt-checkbox"]{margin:0 0 10px;flex:none}.panel-section-separator{height:1px;margin-bottom:10px;background:var(--sys-color-divider);flex:none}.panel-section-separator:last-child{background:transparent}.chrome-select-label{margin-bottom:16px}\n/*# sourceURL=renderingOptions.css */\n');const h={paintFlashing:"Paint flashing",highlightsAreasOfThePageGreen:"Highlights areas of the page (green) that need to be repainted. May not be suitable for people prone to photosensitive epilepsy.",layoutShiftRegions:"Layout shift regions",highlightsAreasOfThePageBlueThat:"Highlights areas of the page (blue) that were shifted. May not be suitable for people prone to photosensitive epilepsy.",layerBorders:"Layer borders",showsLayerBordersOrangeoliveAnd:"Shows layer borders (orange/olive) and tiles (cyan).",frameRenderingStats:"Frame Rendering Stats",plotsFrameThroughputDropped:"Plots frame throughput, dropped frames distribution, and GPU memory.",scrollingPerformanceIssues:"Scrolling performance issues",highlightsElementsTealThatCan:"Highlights elements (teal) that can slow down scrolling, including touch & wheel event handlers and other main-thread scrolling situations.",highlightAdFrames:"Highlight ad frames",highlightsFramesRedDetectedToBe:"Highlights frames (red) detected to be ads.",coreWebVitals:"Core Web Vitals",showsAnOverlayWithCoreWebVitals:"Shows an overlay with Core Web Vitals.",disableLocalFonts:"Disable local fonts",disablesLocalSourcesInFontface:"Disables `local()` sources in `@font-face` rules. Requires a page reload to apply.",emulateAFocusedPage:"Emulate a focused page",emulatesAFocusedPage:"Keep page focused. Commonly used for debugging disappearing elements.",emulateAutoDarkMode:"Enable automatic dark mode",emulatesAutoDarkMode:"Enables automatic dark mode and sets `prefers-color-scheme` to `dark`.",forcesMediaTypeForTestingPrint:"Forces media type for testing print and screen styles",forcesCssPreferscolorschemeMedia:"Forces CSS `prefers-color-scheme` media feature",forcesCssPrefersreducedmotion:"Forces CSS `prefers-reduced-motion` media feature",forcesCssPreferscontrastMedia:"Forces CSS `prefers-contrast` media feature",forcesCssPrefersreduceddataMedia:"Forces CSS `prefers-reduced-data` media feature",forcesCssPrefersreducedtransparencyMedia:"Forces CSS `prefers-reduced-transparency` media feature",forcesCssColorgamutMediaFeature:"Forces CSS `color-gamut` media feature",forcesVisionDeficiencyEmulation:"Forces vision deficiency emulation",disableAvifImageFormat:"Disable `AVIF` image format",requiresAPageReloadToApplyAnd:"Requires a page reload to apply and disables caching for image requests.",disableWebpImageFormat:"Disable `WebP` image format",forcesCssForcedColors:"Forces CSS forced-colors media feature"},u=a.i18n.registerUIStrings("entrypoints/inspector_main/RenderingOptions.ts",h),p=a.i18n.getLocalizedString.bind(void 0,u);class m extends s.Widget.VBox{constructor(){super(!0),this.element.setAttribute("jslog",`${n.panel("rendering").track({resize:!0})}`),this.#e(p(h.paintFlashing),p(h.highlightsAreasOfThePageGreen),e.Settings.Settings.instance().moduleSetting("show-paint-rects")),this.#e(p(h.layoutShiftRegions),p(h.highlightsAreasOfThePageBlueThat),e.Settings.Settings.instance().moduleSetting("show-layout-shift-regions")),this.#e(p(h.layerBorders),p(h.showsLayerBordersOrangeoliveAnd),e.Settings.Settings.instance().moduleSetting("show-debug-borders")),this.#e(p(h.frameRenderingStats),p(h.plotsFrameThroughputDropped),e.Settings.Settings.instance().moduleSetting("show-fps-counter")),this.#e(p(h.scrollingPerformanceIssues),p(h.highlightsElementsTealThatCan),e.Settings.Settings.instance().moduleSetting("show-scroll-bottleneck-rects")),this.#e(p(h.highlightAdFrames),p(h.highlightsFramesRedDetectedToBe),e.Settings.Settings.instance().moduleSetting("show-ad-highlights")),this.#e(p(h.coreWebVitals),p(h.showsAnOverlayWithCoreWebVitals),e.Settings.Settings.instance().moduleSetting("show-web-vitals"),{toggle:t.UserMetrics.Action.ToggleShowWebVitals}),this.#e(p(h.disableLocalFonts),p(h.disablesLocalSourcesInFontface),e.Settings.Settings.instance().moduleSetting("local-fonts-disabled")),this.#e(p(h.emulateAFocusedPage),p(h.emulatesAFocusedPage),e.Settings.Settings.instance().moduleSetting("emulate-page-focus"),{toggle:t.UserMetrics.Action.ToggleEmulateFocusedPageFromRenderingTab}),this.#e(p(h.emulateAutoDarkMode),p(h.emulatesAutoDarkMode),e.Settings.Settings.instance().moduleSetting("emulate-auto-dark-mode")),this.contentElement.createChild("div").classList.add("panel-section-separator"),this.#t(p(h.forcesCssPreferscolorschemeMedia),e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-prefers-color-scheme")),this.#t(p(h.forcesMediaTypeForTestingPrint),e.Settings.Settings.instance().moduleSetting("emulated-css-media")),this.#t(p(h.forcesCssForcedColors),e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-forced-colors")),window.matchMedia("not all and (prefers-contrast), (prefers-contrast)").matches&&this.#t(p(h.forcesCssPreferscontrastMedia),e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-prefers-contrast")),this.#t(p(h.forcesCssPrefersreducedmotion),e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-prefers-reduced-motion")),window.matchMedia("not all and (prefers-reduced-data), (prefers-reduced-data)").matches&&this.#t(p(h.forcesCssPrefersreduceddataMedia),e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-prefers-reduced-data")),window.matchMedia("not all and (prefers-reduced-transparency), (prefers-reduced-transparency)").matches&&this.#t(p(h.forcesCssPrefersreducedtransparencyMedia),e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-prefers-reduced-transparency")),this.#t(p(h.forcesCssColorgamutMediaFeature),e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-color-gamut")),this.contentElement.createChild("div").classList.add("panel-section-separator"),this.#t(p(h.forcesVisionDeficiencyEmulation),e.Settings.Settings.instance().moduleSetting("emulated-vision-deficiency")),this.contentElement.createChild("div").classList.add("panel-section-separator"),this.#e(p(h.disableAvifImageFormat),p(h.requiresAPageReloadToApplyAnd),e.Settings.Settings.instance().moduleSetting("avif-format-disabled")),this.#e(p(h.disableWebpImageFormat),p(h.requiresAPageReloadToApplyAnd),e.Settings.Settings.instance().moduleSetting("webp-format-disabled")),this.contentElement.createChild("div").classList.add("panel-section-separator")}#e(e,t,a,n){const r=s.UIUtils.CheckboxLabel.create(e,!1,t,a.name);return s.SettingsUI.bindCheckbox(r.checkboxElement,a,n),this.contentElement.appendChild(r),r}#t(e,t){const a=s.SettingsUI.createControlForSetting(t,e);a&&this.contentElement.appendChild(a)}wasShown(){super.wasShown(),this.registerCSSFiles([g])}}var S=Object.freeze({__proto__:null,RenderingOptionsView:m,ReloadActionDelegate:class{handleAction(t,a){const s=e.Settings.Settings.instance().moduleSetting("emulated-css-media-feature-prefers-color-scheme");if("rendering.toggle-prefers-color-scheme"===a){const e=["","light","dark"],t=e.findIndex((e=>e===s.get()||""));return s.set(e[(t+1)%3]),!0}return!1}}});const f=new CSSStyleSheet;f.replaceSync(".node-icon{width:28px;height:26px;background-image:var(--image-file-nodeIcon);background-size:17px 17px;background-repeat:no-repeat;background-position:center;opacity:80%;cursor:auto}.node-icon:hover{opacity:100%}.node-icon.inactive{filter:grayscale(100%)}\n/*# sourceURL=nodeIcon.css */\n");const b={main:"Main",tab:"Tab",javascriptIsDisabled:"JavaScript is disabled",openDedicatedTools:"Open dedicated DevTools for `Node.js`"},T=a.i18n.registerUIStrings("entrypoints/inspector_main/InspectorMain.ts",b),C=a.i18n.getLocalizedString.bind(void 0,T);let y,w;class I{static instance(e={forceNew:null}){const{forceNew:t}=e;return y&&!t||(y=new I),y}async run(){let e=!0;await o.Connections.initMainConnection((async()=>{const t=r.Runtime.Runtime.queryParam("v8only")?o.Target.Type.Node:"tab"===r.Runtime.Runtime.queryParam("targetType")?o.Target.Type.Tab:o.Target.Type.Frame,a=t===o.Target.Type.Frame&&"sources"===r.Runtime.Runtime.queryParam("panel"),s=t===o.Target.Type.Frame?C(b.main):C(b.tab),n=o.TargetManager.TargetManager.instance().createTarget("main",s,t,null,void 0,a);if(await new Promise((e=>{const t=o.TargetManager.TargetManager.instance();t.observeTargets({targetAdded:a=>{a===t.primaryPageTarget()&&(a.setName(C(b.main)),e(a))},targetRemoved:e=>{}})})),e){if(e=!1,a){const e=n.model(o.DebuggerModel.DebuggerModel);e&&(e.isReadyToPause()||await e.once(o.DebuggerModel.Events.DebuggerIsReadyToPause),e.pause())}t!==o.Target.Type.Tab&&n.runtimeAgent().invoke_runIfWaitingForDebugger()}}),l.TargetDetachedDialog.TargetDetachedDialog.webSocketConnectionLost),new F,new A,new i.NetworkPanelIndicator.NetworkPanelIndicator,t.InspectorFrontendHost.InspectorFrontendHostInstance.events.addEventListener(t.InspectorFrontendHostAPI.Events.ReloadInspectedPage,(({data:e})=>{o.ResourceTreeModel.ResourceTreeModel.reloadAllPages(e)}))}}e.Runnable.registerEarlyInitializationRunnable(I.instance);class v{#a;#s;constructor(){const e=document.createElement("div"),a=s.UIUtils.createShadowRootWithCoreStyles(e,{cssFile:[f],delegatesFocus:void 0});this.#a=a.createChild("div","node-icon"),e.addEventListener("click",(()=>t.InspectorFrontendHost.InspectorFrontendHostInstance.openNodeFrontend()),!1),this.#s=new s.Toolbar.ToolbarItem(e),this.#s.setTitle(C(b.openDedicatedTools)),o.TargetManager.TargetManager.instance().addEventListener("AvailableTargetsChanged",(e=>this.#n(e.data))),this.#s.setVisible(!1),this.#n([])}static instance(e={forceNew:null}){const{forceNew:t}=e;return w&&!t||(w=new v),w}#n(e){const t=Boolean(e.find((e=>"node"===e.type&&!e.attached)));this.#a.classList.toggle("inactive",!t),t&&this.#s.setVisible(!0)}item(){return this.#s}}class F{constructor(){function t(){const t=[];e.Settings.Settings.instance().moduleSetting("java-script-disabled").get()&&t.push(C(b.javascriptIsDisabled)),s.InspectorView.InspectorView.instance().setPanelWarnings("sources",t)}e.Settings.Settings.instance().moduleSetting("java-script-disabled").addChangeListener(t),t()}}class A{#r;#o;#i;constructor(){this.#r=e.Settings.Settings.instance().moduleSetting("auto-attach-to-created-pages"),this.#r.addChangeListener(this.#l,this),this.#l(),this.#o=e.Settings.Settings.instance().moduleSetting("network.ad-blocking-enabled"),this.#o.addChangeListener(this.#n,this),this.#i=e.Settings.Settings.instance().moduleSetting("emulate-page-focus"),this.#i.addChangeListener(this.#n,this),o.TargetManager.TargetManager.instance().observeTargets(this)}#d(e){e.type()===o.Target.Type.Frame&&e.parentTarget()?.type()!==o.Target.Type.Frame&&(e.pageAgent().invoke_setAdBlockingEnabled({enabled:this.#o.get()}),e.emulationAgent().invoke_setFocusEmulationEnabled({enabled:this.#i.get()}))}#l(){t.InspectorFrontendHost.InspectorFrontendHostInstance.setOpenNewWindowForPopups(this.#r.get())}#n(){for(const e of o.TargetManager.TargetManager.instance().targets())this.#d(e)}targetAdded(e){this.#d(e)}targetRemoved(e){}}o.ChildTargetManager.ChildTargetManager.install();var M=Object.freeze({__proto__:null,InspectorMainImpl:I,ReloadActionDelegate:class{handleAction(e,t){switch(t){case"inspector-main.reload":return o.ResourceTreeModel.ResourceTreeModel.reloadAllPages(!1),!0;case"inspector-main.hard-reload":return o.ResourceTreeModel.ResourceTreeModel.reloadAllPages(!0),!0}return!1}},FocusDebuggeeActionDelegate:class{handleAction(e,t){const a=o.TargetManager.TargetManager.instance().primaryPageTarget();return!!a&&(a.pageAgent().invoke_bringToFront(),!0)}},NodeIndicator:v,SourcesPanelIndicator:F,BackendSettingsSync:A});const x=new CSSStyleSheet;x.replaceSync(":host{padding:2px 1px 2px 2px;white-space:nowrap;display:flex;flex-direction:column;height:36px;justify-content:center;overflow-y:auto}.title{overflow:hidden;padding-left:8px;text-overflow:ellipsis;flex-grow:0}.subtitle{color:var(--sys-color-token-subtle);margin-right:3px;overflow:hidden;padding-left:8px;text-overflow:ellipsis;flex-grow:0}:host(.highlighted) .subtitle{color:inherit}\n/*# sourceURL=outermostTargetSelector.css */\n");const P={targetNotSelected:"Page: Not selected",targetS:"Page: {PH1}"},k=a.i18n.registerUIStrings("entrypoints/inspector_main/OutermostTargetSelector.ts",P),R=a.i18n.getLocalizedString.bind(void 0,k);let D;class L{listItems;#c;#g;constructor(){this.listItems=new s.ListModel.ListModel,this.#c=new s.SoftDropDown.SoftDropDown(this.listItems,this),this.#c.setRowHeight(36),this.#g=new s.Toolbar.ToolbarItem(this.#c.element),this.#g.setTitle(R(P.targetNotSelected)),this.listItems.addEventListener("ItemsReplaced",(()=>this.#g.setEnabled(Boolean(this.listItems.length)))),this.#g.element.classList.add("toolbar-has-dropdown");const e=o.TargetManager.TargetManager.instance();e.addModelListener(o.ChildTargetManager.ChildTargetManager,"TargetInfoChanged",this.#h,this),e.addEventListener("NameChanged",this.#u,this),e.observeTargets(this),s.Context.Context.instance().addFlavorChangeListener(o.Target.Target,this.#p,this)}static instance(e={forceNew:null}){const{forceNew:t}=e;return D&&!t||(D=new L),D}item(){return this.#g}highlightedItemChanged(e,t,a,s){a&&a.classList.remove("highlighted"),s&&s.classList.add("highlighted")}titleFor(e){return e.name()}targetAdded(e){e.outermostTarget()===e&&(this.listItems.insertWithComparator(e,this.#m()),this.#g.setVisible(this.listItems.length>1),e===s.Context.Context.instance().flavor(o.Target.Target)&&this.#c.selectItem(e))}targetRemoved(e){const t=this.listItems.indexOf(e);-1!==t&&(this.listItems.remove(t),this.#g.setVisible(this.listItems.length>1))}#m(){return(e,t)=>{const a=e.targetInfo(),s=t.targetInfo();return a&&s?!a.subtype?.length&&s.subtype?.length?-1:a.subtype?.length&&!s.subtype?.length?1:a.url.localeCompare(s.url):0}}#h(e){const t=o.TargetManager.TargetManager.instance().targetById(e.data.targetId);t&&t.outermostTarget()===t&&(this.targetRemoved(t),this.targetAdded(t))}#u(e){const t=e.data;t&&t.outermostTarget()===t&&(this.targetRemoved(t),this.targetAdded(t))}#p({data:e}){this.#c.selectItem(e?.outermostTarget()||null)}createElementForItem(e){const t=document.createElement("div");t.classList.add("target");const a=s.UIUtils.createShadowRootWithCoreStyles(t,{cssFile:[x],delegatesFocus:void 0}),n=a.createChild("div","title");s.UIUtils.createTextChild(n,d.StringUtilities.trimEndWithMaxLength(this.titleFor(e),100));const r=a.createChild("div","subtitle");return s.UIUtils.createTextChild(r,this.#S(e)),t}#S(e){const t=e.targetInfo();return e===o.TargetManager.TargetManager.instance().primaryPageTarget()&&t?c.ResourceUtils.displayNameForURL(t.url):e.targetInfo()?.subtype||""}isItemSelectable(e){return!0}itemSelected(e){const t=e?R(P.targetS,{PH1:this.titleFor(e)}):R(P.targetNotSelected);this.#g.setTitle(t),e&&e!==s.Context.Context.instance().flavor(o.Target.Target)?.outermostTarget()&&s.Context.Context.instance().setFlavor(o.Target.Target,e)}}var E=Object.freeze({__proto__:null,OutermostTargetSelector:L});export{M as InspectorMain,E as OutermostTargetSelector,S as RenderingOptions};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"../../core/root/root.js";import*as t from"../../services/puppeteer/puppeteer.js";import"../../third_party/lighthouse/lighthouse-dt-bundle.js";class s{sessionId;onMessage;onDisconnect;constructor(e){this.sessionId=e,this.onMessage=null,this.onDisconnect=null}setOnMessage(e){this.onMessage=e}setOnDisconnect(e){this.onDisconnect=e}getOnDisconnect(){return this.onDisconnect}getSessionId(){return this.sessionId}sendRawMessage(e){i("sendProtocolMessage",{message:e})}async disconnect(){this.onDisconnect?.("force disconnect"),this.onDisconnect=null,this.onMessage=null}}let n,o;async function a(a,r){let c;e.Runtime.Runtime.queryParam("isUnderTest")&&(console.log=()=>{},r.flags.maxWaitForLoad=2e3),self.listenForStatus((e=>{i("statusUpdate",{message:e[1]})}));try{if("endTimespan"===a){if(!o)throw new Error("Cannot end a timespan before starting one");const e=await o();return o=void 0,e}const i=await async function(t){const s=self.lookupLocale(t);if("en-US"===s||"en"===s)return;try{const t=e.Runtime.getRemoteBase();let n;n=t&&t.base?`${t.base}third_party/lighthouse/locales/${s}.json`:new URL(`../../third_party/lighthouse/locales/${s}.json`,import.meta.url).toString();const o=new Promise(((e,t)=>setTimeout((()=>t(new Error("timed out fetching locale"))),5e3))),a=await Promise.race([o,fetch(n).then((e=>e.json()))]);return self.registerLocaleData(s,a),s}catch(e){console.error(e)}return}(r.locales),l=r.flags;l.logLevel=l.logLevel||"info",l.channel="devtools",l.locale=i;const g=r.config||self.createConfig(r.categoryIDs,l.formFactor),p=r.url,{rootTargetId:f,mainSessionId:u}=r;n=new s(u),c=await t.PuppeteerConnection.PuppeteerConnectionHelper.connectPuppeteerToConnectionViaTab({connection:n,rootTargetId:f,isPageTargetCallback:e=>"page"===e.type});const{page:d}=c;if(!d)throw new Error("Could not create page handle for the target page");if("snapshot"===a)return await self.snapshot(d,{config:g,flags:l});if("startTimespan"===a){const e=await self.startTimespan(d,{config:g,flags:l});return void(o=e.endTimespan)}return await self.navigation(d,p,{config:g,flags:l})}catch(e){return{fatal:!0,message:e.message,stack:e.stack}}finally{"startTimespan"!==a&&await(c?.browser.disconnect())}}function i(e,t){self.postMessage({action:e,args:t})}self.onmessage=async function(e){const t=e.data;switch(t.action){case"startTimespan":case"endTimespan":case"snapshot":case"navigation":{const e=await a(t.action,t.args);e&&"object"==typeof e&&("report"in e&&delete e.report,"artifacts"in e&&(e.artifacts.Timing=JSON.parse(JSON.stringify(e.artifacts.Timing)))),self.postMessage({id:t.id,result:e});break}case"dispatchProtocolMessage":n?.onMessage?.(t.args.message);break;default:throw new Error(`Unknown event: ${e.data}`)}},globalThis.global=self,globalThis.global.isVinn=!0,globalThis.global.document={},globalThis.global.document.documentElement={},globalThis.global.document.documentElement.style={WebkitAppearance:"WebkitAppearance"},self.postMessage("workerReady");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"../../core/sdk/sdk.js";import*as t from"../../core/common/common.js";import*as n from"../../core/host/host.js";import*as o from"../../core/i18n/i18n.js";import*as r from"../../core/platform/platform.js";import*as s from"../../core/protocol_client/protocol_client.js";import*as i from"../../core/root/root.js";import*as a from"../../models/autofill_manager/autofill_manager.js";import*as l from"../../models/bindings/bindings.js";import*as c from"../../models/breakpoints/breakpoints.js";import*as d from"../../models/crux-manager/crux-manager.js";import*as g from"../../models/extensions/extensions.js";import*as m from"../../models/issues_manager/issues_manager.js";import*as p from"../../models/live-metrics/live-metrics.js";import*as u from"../../models/logs/logs.js";import*as h from"../../models/persistence/persistence.js";import*as f from"../../models/workspace/workspace.js";import*as w from"../../panels/snippets/snippets.js";import*as S from"../../ui/components/icon_button/icon_button.js";import*as v from"../../ui/legacy/components/utils/utils.js";import*as x from"../../ui/legacy/legacy.js";import*as b from"../../ui/legacy/theme_support/theme_support.js";import*as C from"../../ui/visual_logging/visual_logging.js";class M{#e;#t;#n;#o;constructor(t,n){n.addFlavorChangeListener(e.RuntimeModel.ExecutionContext,this.#r,this),n.addFlavorChangeListener(e.Target.Target,this.#s,this),t.addModelListener(e.RuntimeModel.RuntimeModel,e.RuntimeModel.Events.ExecutionContextCreated,this.#i,this),t.addModelListener(e.RuntimeModel.RuntimeModel,e.RuntimeModel.Events.ExecutionContextDestroyed,this.#a,this),t.addModelListener(e.RuntimeModel.RuntimeModel,e.RuntimeModel.Events.ExecutionContextOrderChanged,this.#l,this),this.#e=t,this.#t=n,t.observeModels(e.RuntimeModel.RuntimeModel,this)}modelAdded(t){queueMicrotask(function(){this.#t.flavor(e.Target.Target)||this.#t.setFlavor(e.Target.Target,t.target())}.bind(this))}modelRemoved(t){const n=this.#t.flavor(e.RuntimeModel.ExecutionContext);n&&n.runtimeModel===t&&this.#c();const o=this.#e.models(e.RuntimeModel.RuntimeModel);this.#t.flavor(e.Target.Target)===t.target()&&o.length&&this.#t.setFlavor(e.Target.Target,o[0].target())}#r({data:t}){t&&(this.#t.setFlavor(e.Target.Target,t.target()),this.#o||(this.#n=this.#d(t)))}#d(e){return e.isDefault?e.target().name()+":"+e.frameId:""}#s({data:t}){const n=this.#t.flavor(e.RuntimeModel.ExecutionContext);if(!t||n&&n.target()===t)return;const o=t.model(e.RuntimeModel.RuntimeModel),r=o?o.executionContexts():[];if(!r.length)return;let s=null;for(let e=0;e<r.length&&!s;++e)this.#g(r[e])&&(s=r[e]);for(let e=0;e<r.length&&!s;++e)this.#m(r[e])&&(s=r[e]);this.#o=!0,this.#t.setFlavor(e.RuntimeModel.ExecutionContext,s||r[0]),this.#o=!1}#g(e){return!e.target().targetInfo()?.subtype&&(!(!this.#n||this.#n!==this.#d(e))||!this.#n&&this.#m(e))}#m(t){if(!t.isDefault||!t.frameId)return!1;if(t.target().parentTarget()?.type()===e.Target.Type.Frame)return!1;const n=t.target().model(e.ResourceTreeModel.ResourceTreeModel),o=n&&n.frameForId(t.frameId);return Boolean(o?.isOutermostFrame())}#i(e){this.#p(e.data)}#a(t){const n=t.data;this.#t.flavor(e.RuntimeModel.ExecutionContext)===n&&this.#c()}#l(e){const t=e.data.executionContexts();for(let e=0;e<t.length&&!this.#p(t[e]);e++);}#p(t){return!(this.#t.flavor(e.RuntimeModel.ExecutionContext)&&!this.#g(t))&&(this.#o=!0,this.#t.setFlavor(e.RuntimeModel.ExecutionContext,t),this.#o=!1,!0)}#c(){const t=this.#e.models(e.RuntimeModel.RuntimeModel);let n=null;for(let e=0;e<t.length&&!n;++e){const o=t[e].executionContexts();for(const e of o)if(this.#m(e)){n=e;break}}if(!n)for(let e=0;e<t.length&&!n;++e){const o=t[e].executionContexts();if(o.length){n=o[0];break}}this.#o=!0,this.#t.setFlavor(e.RuntimeModel.ExecutionContext,n),this.#o=!1}}var I=Object.freeze({__proto__:null,ExecutionContextSelector:M});const T="console-insights-toggled",k="console-insights-enabled";class R{constructor(){this.#u(),this.#h()}#f(){this.#w(k)?.get()&&t.Settings.Settings.instance().createLocalSetting("console-insights-onboarding-finished",!1).set(!1),t.Settings.Settings.instance().createLocalSetting(T,!1).set(!0)}#h(){this.#w(k)?.addChangeListener(this.#f,this)}dispose(){this.#w(k)?.removeChangeListener(this.#f,this)}#w(e){try{return t.Settings.moduleSetting(e)}catch{return}}#u(){const e=t.Settings.Settings.instance().createLocalSetting(T,!1),n=this.#w(k);e.get()||n?.set(!0)}}var y=Object.freeze({__proto__:null,SettingTracker:R});const E={customizeAndControlDevtools:"Customize and control DevTools",dockSide:"Dock side",placementOfDevtoolsRelativeToThe:"Placement of DevTools relative to the page. ({PH1} to restore last position)",undockIntoSeparateWindow:"Undock into separate window",dockToBottom:"Dock to bottom",dockToRight:"Dock to right",dockToLeft:"Dock to left",focusDebuggee:"Focus page",hideConsoleDrawer:"Hide console drawer",showConsoleDrawer:"Show console drawer",moreTools:"More tools",help:"Help",dockSideNaviation:"Use left and right arrow keys to navigate the options"},D=o.i18n.registerUIStrings("entrypoints/main/MainImpl.ts",E),F=o.i18n.getLocalizedString.bind(void 0,D);class P{#S;#v;#x;constructor(){P.instanceForTest=this,this.#v=new Promise((e=>{this.#x=e})),this.#b()}static time(e){n.InspectorFrontendHost.isUnderTest()||console.time(e)}static timeEnd(e){n.InspectorFrontendHost.isUnderTest()||console.timeEnd(e)}async#b(){console.timeStamp("Main._loaded"),i.Runtime.Runtime.setPlatform(n.Platform.platform());const e=new Promise((e=>{n.InspectorFrontendHost.InspectorFrontendHostInstance.getPreferences(e)})),o=new Promise((e=>{n.InspectorFrontendHost.InspectorFrontendHostInstance.getHostConfig(e)})),[r,s]=await Promise.all([e,o]);console.timeStamp("Main._gotPreferences"),this.#C(),this.createSettings(r,s),await this.requestAndRegisterLocaleData(),n.userMetrics.syncSetting(t.Settings.Settings.instance().moduleSetting("sync-preferences").get());const a=t.Settings.Settings.instance().getHostConfig()?.devToolsVeLogging;if(a?.enabled)if(a?.testing){C.setVeDebugLoggingEnabled(!0,C.DebugLoggingFormat.Test);const e={processingThrottler:new t.Throttler.Throttler(0),keyboardLogThrottler:new t.Throttler.Throttler(10),hoverLogThrottler:new t.Throttler.Throttler(50),dragLogThrottler:new t.Throttler.Throttler(50),clickLogThrottler:new t.Throttler.Throttler(10),resizeLogThrottler:new t.Throttler.Throttler(10)};C.startLogging(e)}else C.startLogging();this.#M()}#C(){self.Extensions||={},self.Host||={},self.Host.userMetrics||=n.userMetrics,self.Host.UserMetrics||=n.UserMetrics,self.ProtocolClient||={},self.ProtocolClient.test||=s.InspectorBackend.test}async requestAndRegisterLocaleData(){const e=t.Settings.Settings.instance().moduleSetting("language").get(),r=o.DevToolsLocale.DevToolsLocale.instance({create:!0,data:{navigatorLanguage:navigator.language,settingLanguage:e,lookupClosestDevToolsLocale:o.i18n.lookupClosestSupportedDevToolsLocale}});n.userMetrics.language(r.locale),"en-US"!==r.locale&&await o.i18n.fetchAndRegisterLocaleData("en-US");try{await o.i18n.fetchAndRegisterLocaleData(r.locale)}catch(e){console.warn(`Unable to fetch & register locale data for '${r.locale}', falling back to 'en-US'. Cause: `,e),r.forceFallbackLocale()}}createSettings(e,o){this.#I();let r,s="";if(n.Platform.isCustomDevtoolsFrontend()?s="__custom__":i.Runtime.Runtime.queryParam("can_dock")||!Boolean(i.Runtime.Runtime.queryParam("debugFrontend"))||n.InspectorFrontendHost.isUnderTest()||(s="__bundled__"),!n.InspectorFrontendHost.isUnderTest()&&window.localStorage){const e={...t.Settings.NOOP_STORAGE,clear:()=>window.localStorage.clear()};r=new t.Settings.SettingsStorage(window.localStorage,e,s)}else r=new t.Settings.SettingsStorage({},t.Settings.NOOP_STORAGE,s);const a={register:e=>n.InspectorFrontendHost.InspectorFrontendHostInstance.registerPreference(e,{synced:!1}),set:n.InspectorFrontendHost.InspectorFrontendHostInstance.setPreference,get:e=>new Promise((t=>{n.InspectorFrontendHost.InspectorFrontendHostInstance.getPreference(e,t)})),remove:n.InspectorFrontendHost.InspectorFrontendHostInstance.removePreference,clear:n.InspectorFrontendHost.InspectorFrontendHostInstance.clearPreferences},l={...a,register:e=>n.InspectorFrontendHost.InspectorFrontendHostInstance.registerPreference(e,{synced:!0})},c=new t.Settings.SettingsStorage(e,l,s),d=new t.Settings.SettingsStorage(e,a,s);t.Settings.Settings.instance({forceNew:!0,syncedStorage:c,globalStorage:d,localStorage:r,config:o}),new R,n.InspectorFrontendHost.isUnderTest()||(new t.Settings.VersionController).updateVersion()}#I(){i.Runtime.experiments.register("apply-custom-stylesheet","Allow extensions to load custom stylesheets"),i.Runtime.experiments.register("capture-node-creation-stacks","Capture node creation stacks"),i.Runtime.experiments.register("live-heap-profile","Live heap profile",!0),i.Runtime.experiments.register("protocol-monitor","Protocol Monitor",void 0,"https://developer.chrome.com/blog/new-in-devtools-92/#protocol-monitor"),i.Runtime.experiments.register("sampling-heap-profiler-timeline","Sampling heap profiler timeline",!0),i.Runtime.experiments.register("show-option-tp-expose-internals-in-heap-snapshot","Show option to expose internals in heap snapshots"),i.Runtime.experiments.register("timeline-invalidation-tracking","Performance panel: invalidation tracking",!0),i.Runtime.experiments.register("timeline-show-all-events","Performance panel: show all events",!0),i.Runtime.experiments.register("timeline-v8-runtime-call-stats","Performance panel: V8 runtime call stats",!0),i.Runtime.experiments.register("timeline-enhanced-traces","Performance panel: Enable collecting enhanced traces",!0),i.Runtime.experiments.register("timeline-compiled-sources","Performance panel: Enable collecting source text for compiled script",!0),i.Runtime.experiments.register("timeline-debug-mode","Performance panel: Enable debug mode (trace event details, etc)",!0),i.Runtime.experiments.register("sources-frame-indentation-markers-temporarily-disable","Disable indentation markers temporarily",!1,"https://developer.chrome.com/blog/new-in-devtools-121/#indentation","https://crbug.com/1479986"),i.Runtime.experiments.register("instrumentation-breakpoints","Enable instrumentation breakpoints",!0),i.Runtime.experiments.register("use-source-map-scopes","Use scope information from source maps",!0),i.Runtime.experiments.register("apca","Enable new Advanced Perceptual Contrast Algorithm (APCA) replacing previous contrast ratio and AA/AAA guidelines",void 0,"https://developer.chrome.com/blog/new-in-devtools-89/#apca"),i.Runtime.experiments.register("full-accessibility-tree","Enable full accessibility tree view in the Elements panel",void 0,"https://developer.chrome.com/blog/new-in-devtools-90/#accesibility-tree","https://g.co/devtools/a11y-tree-feedback"),i.Runtime.experiments.register("font-editor","Enable new font editor within the Styles tab",void 0,"https://developer.chrome.com/blog/new-in-devtools-89/#font"),i.Runtime.experiments.register("contrast-issues","Enable automatic contrast issue reporting via the Issues panel",void 0,"https://developer.chrome.com/blog/new-in-devtools-90/#low-contrast"),i.Runtime.experiments.register("experimental-cookie-features","Enable experimental cookie features"),i.Runtime.experiments.register("css-type-component-length-deprecate","Deprecate CSS <length> authoring tool in the Styles tab",void 0,"https://goo.gle/devtools-deprecate-length-tools","https://crbug.com/1522657"),i.Runtime.experiments.register("styles-pane-css-changes","Sync CSS changes in the Styles tab"),i.Runtime.experiments.register("highlight-errors-elements-panel","Highlights a violating node or attribute in the Elements panel DOM tree"),i.Runtime.experiments.register("authored-deployed-grouping","Group sources into authored and deployed trees",void 0,"https://goo.gle/authored-deployed","https://goo.gle/authored-deployed-feedback"),i.Runtime.experiments.register("just-my-code","Hide ignore-listed code in Sources tree view"),i.Runtime.experiments.register("important-dom-properties","Highlight important DOM properties in the Properties tab"),i.Runtime.experiments.register("preloading-status-panel","Enable speculative loads panel in Application panel",!0),i.Runtime.experiments.register("outermost-target-selector","Enable background page selector (for prerendering)",!1),i.Runtime.experiments.register("network-panel-filter-bar-redesign","Redesign of the filter bar in the Network panel",!1,"https://goo.gle/devtools-network-filter-redesign","https://crbug.com/1500573"),i.Runtime.experiments.register("autofill-view","Autofill panel",!1,"https://goo.gle/devtools-autofill-panel","https://crbug.com/329106326"),i.Runtime.experiments.register("timeline-show-postmessage-events","Performance panel: show postMessage dispatch and handling flows"),i.Runtime.experiments.register("perf-panel-annotations","Performance panel: enable annotations",!0),i.Runtime.experiments.register("timeline-rpp-sidebar","Performance panel: enable performance insights",!0),i.Runtime.experiments.register("timeline-observations","Performance panel: enable live metrics landing page"),i.Runtime.experiments.register("gen-ai-settings-panel","Dedicated panel for generative AI settings"),i.Runtime.experiments.register("timeline-server-timings","Performance panel: enable server timings in the timeline"),i.Runtime.experiments.enableExperimentsByDefault(["css-type-component-length-deprecate","outermost-target-selector","preloading-status-panel","autofill-view","timeline-observations",...i.Runtime.Runtime.queryParam("isChromeForTesting")?["protocol-monitor"]:[]]),i.Runtime.experiments.cleanUpStaleExperiments();const e=i.Runtime.Runtime.queryParam("enabledExperiments");if(e&&i.Runtime.experiments.setServerEnabledExperiments(e.split(";")),i.Runtime.experiments.enableExperimentsTransiently([]),n.InspectorFrontendHost.isUnderTest()){const e=i.Runtime.Runtime.queryParam("test");e&&e.includes("live-line-level-heap-profile.js")&&i.Runtime.experiments.enableForTest("live-heap-profile")}for(const e of i.Runtime.experiments.allConfigurableExperiments())e.isEnabled()?n.userMetrics.experimentEnabledAtLaunch(e.name):n.userMetrics.experimentDisabledAtLaunch(e.name)}async#M(){P.time("Main._createAppUI"),h.IsolatedFileSystemManager.IsolatedFileSystemManager.instance();const o=t.Settings.Settings.instance().createSetting("ui-theme","systemPreferred");x.UIUtils.initializeUIUtils(document),b.ThemeSupport.hasInstance()||b.ThemeSupport.instance({forceNew:!0,setting:o}),x.UIUtils.addPlatformClass(document.documentElement),x.UIUtils.installComponentRootStyles(document.body),this.#T(document);const r=Boolean(i.Runtime.Runtime.queryParam("can_dock"));x.ZoomManager.ZoomManager.instance({forceNew:!0,win:window,frontendHost:n.InspectorFrontendHost.InspectorFrontendHostInstance}),x.ContextMenu.ContextMenu.initialize(),x.ContextMenu.ContextMenu.installHandler(document),u.NetworkLog.NetworkLog.instance(),e.FrameManager.FrameManager.instance(),u.LogManager.LogManager.instance(),m.IssuesManager.IssuesManager.instance({forceNew:!0,ensureFirst:!0,showThirdPartyIssuesSetting:m.Issue.getShowThirdPartyIssuesSetting(),hideIssueSetting:m.IssuesManager.getHideIssueByCodeSetting()}),m.ContrastCheckTrigger.ContrastCheckTrigger.instance(),x.DockController.DockController.instance({forceNew:!0,canDock:r}),e.NetworkManager.MultitargetNetworkManager.instance({forceNew:!0}),e.DOMDebuggerModel.DOMDebuggerManager.instance({forceNew:!0}),e.TargetManager.TargetManager.instance().addEventListener("SuspendStateChanged",this.#k.bind(this)),f.FileManager.FileManager.instance({forceNew:!0}),f.Workspace.WorkspaceImpl.instance(),l.NetworkProject.NetworkProjectManager.instance();const s=new l.ResourceMapping.ResourceMapping(e.TargetManager.TargetManager.instance(),f.Workspace.WorkspaceImpl.instance());new l.PresentationConsoleMessageHelper.PresentationConsoleMessageManager,l.CSSWorkspaceBinding.CSSWorkspaceBinding.instance({forceNew:!0,resourceMapping:s,targetManager:e.TargetManager.TargetManager.instance()}),l.DebuggerWorkspaceBinding.DebuggerWorkspaceBinding.instance({forceNew:!0,resourceMapping:s,targetManager:e.TargetManager.TargetManager.instance()}),e.TargetManager.TargetManager.instance().setScopeTarget(e.TargetManager.TargetManager.instance().primaryPageTarget()),x.Context.Context.instance().addFlavorChangeListener(e.Target.Target,(({data:t})=>{const n=t?.outermostTarget();e.TargetManager.TargetManager.instance().setScopeTarget(n)})),c.BreakpointManager.BreakpointManager.instance({forceNew:!0,workspace:f.Workspace.WorkspaceImpl.instance(),targetManager:e.TargetManager.TargetManager.instance(),debuggerWorkspaceBinding:l.DebuggerWorkspaceBinding.DebuggerWorkspaceBinding.instance()}),self.Extensions.extensionServer=g.ExtensionServer.ExtensionServer.instance({forceNew:!0}),new h.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding(h.IsolatedFileSystemManager.IsolatedFileSystemManager.instance(),f.Workspace.WorkspaceImpl.instance()),h.IsolatedFileSystemManager.IsolatedFileSystemManager.instance().addPlatformFileSystem("snippet://",new w.ScriptSnippetFileSystem.SnippetFileSystem),h.Persistence.PersistenceImpl.instance({forceNew:!0,workspace:f.Workspace.WorkspaceImpl.instance(),breakpointManager:c.BreakpointManager.BreakpointManager.instance()}),h.NetworkPersistenceManager.NetworkPersistenceManager.instance({forceNew:!0,workspace:f.Workspace.WorkspaceImpl.instance()}),new M(e.TargetManager.TargetManager.instance(),x.Context.Context.instance()),l.IgnoreListManager.IgnoreListManager.instance({forceNew:!0,debuggerWorkspaceBinding:l.DebuggerWorkspaceBinding.DebuggerWorkspaceBinding.instance()}),a.AutofillManager.AutofillManager.instance(),i.Runtime.experiments.isEnabled("timeline-observations")&&(p.LiveMetrics.instance({forceNew:!0}),d.CrUXManager.instance({forceNew:!0})),new U;const S=x.ActionRegistry.ActionRegistry.instance({forceNew:!0});x.ShortcutRegistry.ShortcutRegistry.instance({forceNew:!0,actionRegistry:S}),this.#R(),P.timeEnd("Main._createAppUI");const v=t.AppProvider.getRegisteredAppProviders()[0];if(!v)throw new Error("Unable to boot DevTools, as the appprovider is missing");await this.#y(await v.loadAppProvider())}async#y(e){P.time("Main._showAppUI");const t=e.createApp();if(x.DockController.DockController.instance().initialize(),b.ThemeSupport.instance().fetchColorsAndApplyHostTheme(),t.presentUI(document),x.ActionRegistry.ActionRegistry.instance().hasAction("elements.toggle-element-search")){const e=x.ActionRegistry.ActionRegistry.instance().getAction("elements.toggle-element-search");n.InspectorFrontendHost.InspectorFrontendHostInstance.events.addEventListener(n.InspectorFrontendHostAPI.Events.EnterInspectElementMode,(()=>{e.execute()}),this)}n.InspectorFrontendHost.InspectorFrontendHostInstance.events.addEventListener(n.InspectorFrontendHostAPI.Events.RevealSourceLine,this.#E,this),await x.InspectorView.InspectorView.instance().createToolbars(),n.InspectorFrontendHost.InspectorFrontendHostInstance.loadCompleted();const o=i.Runtime.Runtime.queryParam("loadTimelineFromURL");if(null!==o){(await import("../../panels/timeline/timeline.js")).TimelinePanel.LoadTimelineHandler.instance().handleQueryParam(o)}x.ARIAUtils.getOrCreateAlertElements(),x.DockController.DockController.instance().announceDockLocation(),window.setTimeout(this.#D.bind(this),0),P.timeEnd("Main._showAppUI")}async#D(){P.time("Main._initializeTarget");for(const e of t.Runnable.earlyInitializationRunnables())await e().run();n.InspectorFrontendHost.InspectorFrontendHostInstance.readyForTest(),this.#x(),window.setTimeout(this.#F.bind(this),100),P.timeEnd("Main._initializeTarget")}async#F(){P.time("Main._lateInitialization"),g.ExtensionServer.ExtensionServer.instance().initializeExtensions();const e=t.Runnable.lateInitializationRunnables().map((async e=>(await e()).run()));if(i.Runtime.experiments.isEnabled("live-heap-profile")){const n=await import("../../ui/legacy/components/perf_ui/perf_ui.js"),o="memory-live-heap-profile";if(t.Settings.Settings.instance().moduleSetting(o).get())e.push(n.LiveHeapProfile.LiveHeapProfile.instance().run());else{const e=async r=>{r.data&&(t.Settings.Settings.instance().moduleSetting(o).removeChangeListener(e),n.LiveHeapProfile.LiveHeapProfile.instance().run())};t.Settings.Settings.instance().moduleSetting(o).addChangeListener(e)}}this.#S=Promise.all(e).then((()=>{})),P.timeEnd("Main._lateInitialization")}lateInitDonePromiseForTest(){return this.#S}readyForTest(){return this.#v}#R(){t.Console.Console.instance().addEventListener("messageAdded",(function({data:e}){e.show&&t.Console.Console.instance().show()}))}#E(e){const{url:n,lineNumber:o,columnNumber:r}=e.data,s=f.Workspace.WorkspaceImpl.instance().uiSourceCodeForURL(n);s?t.Revealer.reveal(s.uiLocation(o,r)):f.Workspace.WorkspaceImpl.instance().addEventListener(f.Workspace.Events.UISourceCodeAdded,(function e(s){const i=s.data;i.url()===n&&(t.Revealer.reveal(i.uiLocation(o,r)),f.Workspace.WorkspaceImpl.instance().removeEventListener(f.Workspace.Events.UISourceCodeAdded,e))}))}#P(e){e.handled||x.ShortcutRegistry.ShortcutRegistry.instance().handleShortcut(e)}#L(e){const t=new CustomEvent("clipboard-"+e.type,{bubbles:!0});t.original=e;const n=e.target&&e.target.ownerDocument,o=n?r.DOMUtilities.deepActiveElement(n):null;o&&o.dispatchEvent(t),t.handled&&e.preventDefault()}#A(e){(e.handled||e.target.classList.contains("popup-glasspane"))&&e.preventDefault()}#T(e){e.addEventListener("keydown",this.#P.bind(this),!1),e.addEventListener("beforecopy",this.#L.bind(this),!0),e.addEventListener("copy",this.#L.bind(this),!1),e.addEventListener("cut",this.#L.bind(this),!1),e.addEventListener("paste",this.#L.bind(this),!1),e.addEventListener("contextmenu",this.#A.bind(this),!0)}#k(){const t=e.TargetManager.TargetManager.instance().allTargetsSuspended();x.InspectorView.InspectorView.instance().onSuspendStateChanged(t)}static instanceForTest=null}globalThis.Main=globalThis.Main||{},globalThis.Main.Main=P;let L,A;class H{#H;constructor(){this.#H=new x.Toolbar.ToolbarMenuButton(this.#_.bind(this),!0,!0,"main-menu","dots-vertical"),this.#H.element.classList.add("main-menu"),this.#H.setTitle(F(E.customizeAndControlDevtools))}static instance(e={forceNew:null}){const{forceNew:t}=e;return L&&!t||(L=new H),L}item(){return this.#H}#_(o){if(x.DockController.DockController.instance().canDock()){const e=document.createElement("div");e.classList.add("flex-centered"),e.classList.add("flex-auto"),e.classList.add("location-menu"),e.tabIndex=-1,x.ARIAUtils.setLabel(e,E.dockSide+E.dockSideNaviation);const t=e.createChild("span","dockside-title");t.textContent=F(E.dockSide);const n=x.ShortcutRegistry.ShortcutRegistry.instance().shortcutsForAction("main.toggle-dock");x.Tooltip.Tooltip.install(t,F(E.placementOfDevtoolsRelativeToThe,{PH1:n[0].title()})),e.appendChild(t);const s=new x.Toolbar.Toolbar("",e);e.setAttribute("jslog",`${C.item("dock-side").track({keydown:"ArrowDown|ArrowLeft|ArrowRight"})}`);const a=new x.Toolbar.ToolbarToggle(F(E.undockIntoSeparateWindow),"dock-window",void 0,"current-dock-state-undock"),l=new x.Toolbar.ToolbarToggle(F(E.dockToBottom),"dock-bottom",void 0,"current-dock-state-bottom"),c=new x.Toolbar.ToolbarToggle(F(E.dockToRight),"dock-right",void 0,"current-dock-state-right"),d=new x.Toolbar.ToolbarToggle(F(E.dockToLeft),"dock-left",void 0,"current-dock-state-left");a.addEventListener("MouseDown",(e=>e.data.consume())),l.addEventListener("MouseDown",(e=>e.data.consume())),c.addEventListener("MouseDown",(e=>e.data.consume())),d.addEventListener("MouseDown",(e=>e.data.consume())),a.addEventListener("Click",i.bind(null,"undocked")),l.addEventListener("Click",i.bind(null,"bottom")),c.addEventListener("Click",i.bind(null,"right")),d.addEventListener("Click",i.bind(null,"left")),a.setToggled("undocked"===x.DockController.DockController.instance().dockSide()),l.setToggled("bottom"===x.DockController.DockController.instance().dockSide()),c.setToggled("right"===x.DockController.DockController.instance().dockSide()),d.setToggled("left"===x.DockController.DockController.instance().dockSide()),s.appendToolbarItem(a),s.appendToolbarItem(d),s.appendToolbarItem(l),s.appendToolbarItem(c),e.addEventListener("keydown",(t=>{let n=0;if("ArrowLeft"===t.key)n=-1;else{if("ArrowRight"!==t.key){if("ArrowDown"===t.key){const t=e.closest(".soft-context-menu");return void t?.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown"}))}return}n=1}const o=[a,d,l,c];let s=o.findIndex((e=>e.element.hasFocus()));s=r.NumberUtilities.clamp(s+n,0,o.length-1),o[s].element.focus(),t.consume(!0)})),o.headerSection().appendCustomItem(e,"dock-side")}const s=this.#H.element;function i(e){x.DockController.DockController.instance().once("AfterDockSideChanged").then((()=>{s.focus()})),x.DockController.DockController.instance().setDockSide(e),o.discard()}if("undocked"===x.DockController.DockController.instance().dockSide()){const t=e.TargetManager.TargetManager.instance().primaryPageTarget();t&&t.type()===e.Target.Type.Frame&&o.defaultSection().appendAction("inspector-main.focus-debuggee",F(E.focusDebuggee))}o.defaultSection().appendAction("main.toggle-drawer",x.InspectorView.InspectorView.instance().drawerVisible()?F(E.hideConsoleDrawer):F(E.showConsoleDrawer)),o.appendItemsAtLocation("mainMenu");const a=o.defaultSection().appendSubMenuItem(F(E.moreTools),!1,"more-tools"),l=x.ViewManager.getRegisteredViewExtensions(t.Settings.Settings.instance().getHostConfig());l.sort(((e,t)=>{const n=e.title(),o=t.title();return n.localeCompare(o)}));for(const e of l){const t=e.location(),o=e.persistence(),r=e.title(),s=e.viewId();if("issues-pane"!==s){if("closeable"===o&&("drawer-view"===t||"panel"===t))if(e.isPreviewFeature()){const e=S.Icon.create("experiment");a.defaultSection().appendItem(r,(()=>{x.ViewManager.ViewManager.instance().showView(s,!0,!1)}),{disabled:!1,additionalElement:e,jslogContext:s})}else a.defaultSection().appendItem(r,(()=>{x.ViewManager.ViewManager.instance().showView(s,!0,!1)}),{jslogContext:s})}else a.defaultSection().appendItem(r,(()=>{n.userMetrics.issuesPanelOpenedFrom(3),x.ViewManager.ViewManager.instance().showView("issues-pane",!0)}),{jslogContext:s})}o.footerSection().appendSubMenuItem(F(E.help),!1,"help").appendItemsAtLocation("mainMenuHelp")}}class _{#U;constructor(){this.#U=x.Toolbar.Toolbar.createActionButtonForId("settings.show",{showLabel:!1,userActionCode:void 0})}static instance(e={forceNew:null}){const{forceNew:t}=e;return A&&!t||(A=new _),A}item(){return this.#U}}class U{constructor(){e.TargetManager.TargetManager.instance().addModelListener(e.DebuggerModel.DebuggerModel,e.DebuggerModel.Events.DebuggerPaused,this.#N,this)}#N(n){e.TargetManager.TargetManager.instance().removeModelListener(e.DebuggerModel.DebuggerModel,e.DebuggerModel.Events.DebuggerPaused,this.#N,this);const o=n.data,r=o.debuggerPausedDetails();x.Context.Context.instance().setFlavor(e.Target.Target,o.target()),t.Revealer.reveal(r)}}var N=Object.freeze({__proto__:null,MainImpl:P,ZoomActionDelegate:class{handleAction(e,t){if(n.InspectorFrontendHost.InspectorFrontendHostInstance.isHostedMode())return!1;switch(t){case"main.zoom-in":return n.InspectorFrontendHost.InspectorFrontendHostInstance.zoomIn(),!0;case"main.zoom-out":return n.InspectorFrontendHost.InspectorFrontendHostInstance.zoomOut(),!0;case"main.zoom-reset":return n.InspectorFrontendHost.InspectorFrontendHostInstance.resetZoom(),!0}return!1}},SearchActionDelegate:class{handleAction(e,t){let n=x.SearchableView.SearchableView.fromElement(r.DOMUtilities.deepActiveElement(document));if(!n){const e=x.InspectorView.InspectorView.instance().currentPanelDeprecated();if(e&&e.searchableView&&(n=e.searchableView()),!n)return!1}switch(t){case"main.search-in-panel.find":return n.handleFindShortcut();case"main.search-in-panel.cancel":return n.handleCancelSearchShortcut();case"main.search-in-panel.find-next":return n.handleFindNextShortcut();case"main.search-in-panel.find-previous":return n.handleFindPreviousShortcut()}return!1}},MainMenuItem:H,SettingsButtonProvider:_,PauseListener:U,sendOverProtocol:function(e,t){return new Promise(((n,o)=>{const r=s.InspectorBackend.test.sendRawMessage;if(!r)return o("Unable to send message to test client");r(e,t,((e,...t)=>e?o(e):n(t)))}))},ReloadActionDelegate:class{handleAction(e,t){return"main.debug-reload"===t&&(v.Reload.reload(),!0)}}});class j{presentUI(e){const t=new x.RootView.RootView;x.InspectorView.InspectorView.instance().show(t.element),t.attachToDocument(e),t.focus()}}let W;class V{static instance(e={forceNew:null}){const{forceNew:t}=e;return W&&!t||(W=new V),W}createApp(){return new j}}var z=Object.freeze({__proto__:null,SimpleApp:j,SimpleAppProvider:V});export{I as ExecutionContextSelector,N as MainImpl,y as SettingTracker,z as SimpleApp};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../Images/Images.js";import"../../core/dom_extension/dom_extension.js";import*as e from"../../core/common/common.js";import*as t from"../../core/host/host.js";import*as o from"../../core/i18n/i18n.js";import*as i from"../../core/sdk/sdk.js";import*as a from"../../models/breakpoints/breakpoints.js";import*as n from"../../models/workspace/workspace.js";import*as s from"../../ui/legacy/components/object_ui/object_ui.js";import*as r from"../../ui/legacy/components/quick_open/quick_open.js";import*as l from"../../ui/legacy/legacy.js";import*as c from"../../core/root/root.js";import*as g from"../../ui/components/legacy_wrapper/legacy_wrapper.js";import*as d from"../../ui/legacy/components/utils/utils.js";import*as u from"../../panels/console/console.js";import"../main/main.js";const p={showSources:"Show Sources",sources:"Sources",showWorkspace:"Show Workspace",workspace:"Workspace",showSnippets:"Show Snippets",snippets:"Snippets",showSearch:"Show Search",search:"Search",showQuickSource:"Show Quick source",quickSource:"Quick source",showThreads:"Show Threads",threads:"Threads",showScope:"Show Scope",scope:"Scope",showWatch:"Show Watch",watch:"Watch",showBreakpoints:"Show Breakpoints",breakpoints:"Breakpoints",pauseScriptExecution:"Pause script execution",resumeScriptExecution:"Resume script execution",stepOverNextFunctionCall:"Step over next function call",stepIntoNextFunctionCall:"Step into next function call",step:"Step",stepOutOfCurrentFunction:"Step out of current function",runSnippet:"Run snippet",deactivateBreakpoints:"Deactivate breakpoints",activateBreakpoints:"Activate breakpoints",addSelectedTextToWatches:"Add selected text to watches",evaluateSelectedTextInConsole:"Evaluate selected text in console",switchFile:"Switch file",rename:"Rename",closeAll:"Close All",jumpToPreviousEditingLocation:"Jump to previous editing location",jumpToNextEditingLocation:"Jump to next editing location",closeTheActiveTab:"Close the active tab",goToLine:"Go to line",goToAFunctionDeclarationruleSet:"Go to a function declaration/rule set",toggleBreakpoint:"Toggle breakpoint",toggleBreakpointEnabled:"Toggle breakpoint enabled",toggleBreakpointInputWindow:"Toggle breakpoint input window",save:"Save",saveAll:"Save all",createNewSnippet:"Create new snippet",addFolderToWorkspace:"Add folder to workspace",addFolder:"Add folder",previousCallFrame:"Previous call frame",nextCallFrame:"Next call frame",incrementCssUnitBy:"Increment CSS unit by {PH1}",decrementCssUnitBy:"Decrement CSS unit by {PH1}",searchInAnonymousAndContent:"Search in anonymous and content scripts",doNotSearchInAnonymousAndContent:"Do not search in anonymous and content scripts",automaticallyRevealFilesIn:"Automatically reveal files in sidebar",doNotAutomaticallyRevealFilesIn:"Do not automatically reveal files in sidebar",javaScriptSourceMaps:"JavaScript source maps",enableJavaScriptSourceMaps:"Enable JavaScript source maps",disableJavaScriptSourceMaps:"Disable JavaScript source maps",tabMovesFocus:"Tab moves focus",enableTabMovesFocus:"Enable tab moves focus",disableTabMovesFocus:"Disable tab moves focus",detectIndentation:"Detect indentation",doNotDetectIndentation:"Do not detect indentation",automaticallyPrettyPrintMinifiedSources:"Automatically pretty print minified sources",doNotAutomaticallyPrettyPrintMinifiedSources:"Do not automatically pretty print minified sources",autocompletion:"Autocompletion",enableAutocompletion:"Enable autocompletion",disableAutocompletion:"Disable autocompletion",bracketClosing:"Auto closing brackets",enableBracketClosing:"Enable auto closing brackets",disableBracketClosing:"Disable auto closing brackets",bracketMatching:"Bracket matching",enableBracketMatching:"Enable bracket matching",disableBracketMatching:"Disable bracket matching",codeFolding:"Code folding",enableCodeFolding:"Enable code folding",disableCodeFolding:"Disable code folding",showWhitespaceCharacters:"Show whitespace characters:",doNotShowWhitespaceCharacters:"Do not show whitespace characters",none:"None",showAllWhitespaceCharacters:"Show all whitespace characters",all:"All",showTrailingWhitespaceCharacters:"Show trailing whitespace characters",trailing:"Trailing",displayVariableValuesInlineWhile:"Display variable values inline while debugging",doNotDisplayVariableValuesInline:"Do not display variable values inline while debugging",cssSourceMaps:"CSS source maps",enableCssSourceMaps:"Enable CSS source maps",disableCssSourceMaps:"Disable CSS source maps",allowScrollingPastEndOfFile:"Allow scrolling past end of file",disallowScrollingPastEndOfFile:"Disallow scrolling past end of file",wasmAutoStepping:"When debugging Wasm with debug information, do not pause on wasm bytecode if possible",enableWasmAutoStepping:"Enable Wasm auto-stepping",disableWasmAutoStepping:"Disable Wasm auto-stepping",goTo:"Go to",line:"Line",symbol:"Symbol",open:"Open",file:"File",disableAutoFocusOnDebuggerPaused:"Do not focus Sources panel when triggering a breakpoint",enableAutoFocusOnDebuggerPaused:"Focus Sources panel when triggering a breakpoint",revealActiveFileInSidebar:"Reveal active file in navigator sidebar",toggleNavigatorSidebar:"Toggle navigator sidebar",toggleDebuggerSidebar:"Toggle debugger sidebar",nextEditorTab:"Next editor",previousEditorTab:"Previous editor"},m=o.i18n.registerUIStrings("panels/sources/sources-meta.ts",p),S=o.i18n.getLazilyComputedLocalizedString.bind(void 0,m);let y,w,v;async function h(){return y||(y=await import("../../panels/sources/sources.js")),y}async function b(){return w||(w=await import("../../panels/sources/components/components.js")),w}function f(e){return void 0===y?[]:e(y)}l.ViewManager.registerViewExtension({location:"panel",id:"sources",commandPrompt:S(p.showSources),title:S(p.sources),order:30,loadView:async()=>(await h()).SourcesPanel.SourcesPanel.instance()}),l.ViewManager.registerViewExtension({location:"navigator-view",id:"navigator-files",commandPrompt:S(p.showWorkspace),title:S(p.workspace),order:3,persistence:"permanent",loadView:async()=>new((await h()).SourcesNavigator.FilesNavigatorView)}),l.ViewManager.registerViewExtension({location:"navigator-view",id:"navigator-snippets",commandPrompt:S(p.showSnippets),title:S(p.snippets),order:6,persistence:"permanent",loadView:async()=>new((await h()).SourcesNavigator.SnippetsNavigatorView)}),l.ViewManager.registerViewExtension({location:"drawer-view",id:"sources.search-sources-tab",commandPrompt:S(p.showSearch),title:S(p.search),order:7,persistence:"closeable",loadView:async()=>new((await h()).SearchSourcesView.SearchSourcesView)}),l.ViewManager.registerViewExtension({location:"drawer-view",id:"sources.quick",commandPrompt:S(p.showQuickSource),title:S(p.quickSource),persistence:"closeable",order:1e3,loadView:async()=>new((await h()).SourcesPanel.QuickSourceView)}),l.ViewManager.registerViewExtension({id:"sources.threads",commandPrompt:S(p.showThreads),title:S(p.threads),persistence:"permanent",loadView:async()=>new((await h()).ThreadsSidebarPane.ThreadsSidebarPane)}),l.ViewManager.registerViewExtension({id:"sources.scope-chain",commandPrompt:S(p.showScope),title:S(p.scope),persistence:"permanent",loadView:async()=>(await h()).ScopeChainSidebarPane.ScopeChainSidebarPane.instance()}),l.ViewManager.registerViewExtension({id:"sources.watch",commandPrompt:S(p.showWatch),title:S(p.watch),persistence:"permanent",loadView:async()=>(await h()).WatchExpressionsSidebarPane.WatchExpressionsSidebarPane.instance(),hasToolbar:!0}),l.ViewManager.registerViewExtension({id:"sources.js-breakpoints",commandPrompt:S(p.showBreakpoints),title:S(p.breakpoints),persistence:"permanent",loadView:async()=>(await b()).BreakpointsView.BreakpointsView.instance().wrapper}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.toggle-pause",iconClass:"pause",toggleable:!0,toggledIconClass:"resume",loadActionDelegate:async()=>new((await h()).SourcesPanel.RevealingActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView,l.ShortcutRegistry.ForwardedShortcut])),options:[{value:!0,title:S(p.pauseScriptExecution)},{value:!1,title:S(p.resumeScriptExecution)}],bindings:[{shortcut:"F8",keybindSets:["devToolsDefault"]},{platform:"windows,linux",shortcut:"Ctrl+\\"},{shortcut:"F5",keybindSets:["vsCode"]},{shortcut:"Shift+F5",keybindSets:["vsCode"]},{platform:"mac",shortcut:"Meta+\\"}]}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.step-over",loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),title:S(p.stepOverNextFunctionCall),iconClass:"step-over",contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],bindings:[{shortcut:"F10",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+'"},{platform:"mac",shortcut:"Meta+'"}]}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.step-into",loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),title:S(p.stepIntoNextFunctionCall),iconClass:"step-into",contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],bindings:[{shortcut:"F11",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+;"},{platform:"mac",shortcut:"Meta+;"}]}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.step",loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),title:S(p.step),iconClass:"step",contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],bindings:[{shortcut:"F9",keybindSets:["devToolsDefault"]}]}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.step-out",loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),title:S(p.stepOutOfCurrentFunction),iconClass:"step-out",contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],bindings:[{shortcut:"Shift+F11",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Shift+Ctrl+;"},{platform:"mac",shortcut:"Shift+Meta+;"}]}),l.ActionRegistration.registerActionExtension({actionId:"debugger.run-snippet",category:"DEBUGGER",loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),title:S(p.runSnippet),iconClass:"play",contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Enter"},{platform:"mac",shortcut:"Meta+Enter"}]}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.toggle-breakpoints-active",iconClass:"breakpoint-crossed",toggledIconClass:"breakpoint-crossed-filled",toggleable:!0,loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),options:[{value:!0,title:S(p.deactivateBreakpoints)},{value:!1,title:S(p.activateBreakpoints)}],bindings:[{platform:"windows,linux",shortcut:"Ctrl+F8"},{platform:"mac",shortcut:"Meta+F8"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.add-to-watch",loadActionDelegate:async()=>(await h()).WatchExpressionsSidebarPane.WatchExpressionsSidebarPane.instance(),category:"DEBUGGER",title:S(p.addSelectedTextToWatches),contextTypes:()=>f((e=>[e.UISourceCodeFrame.UISourceCodeFrame])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+A"},{platform:"mac",shortcut:"Meta+Shift+A"}]}),l.ActionRegistration.registerActionExtension({actionId:"debugger.evaluate-selection",category:"DEBUGGER",loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),title:S(p.evaluateSelectedTextInConsole),contextTypes:()=>f((e=>[e.UISourceCodeFrame.UISourceCodeFrame])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+E"},{platform:"mac",shortcut:"Meta+Shift+E"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.switch-file",category:"SOURCES",title:S(p.switchFile),loadActionDelegate:async()=>new((await h()).SourcesView.SwitchFileActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{shortcut:"Alt+O"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.rename",category:"SOURCES",title:S(p.rename),bindings:[{platform:"windows,linux",shortcut:"F2"},{platform:"mac",shortcut:"Enter"}]}),l.ActionRegistration.registerActionExtension({category:"SOURCES",actionId:"sources.close-all",loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),title:S(p.closeAll)}),l.ActionRegistration.registerActionExtension({actionId:"sources.jump-to-previous-location",category:"SOURCES",title:S(p.jumpToPreviousEditingLocation),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{shortcut:"Alt+Minus"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.jump-to-next-location",category:"SOURCES",title:S(p.jumpToNextEditingLocation),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{shortcut:"Alt+Plus"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.close-editor-tab",category:"SOURCES",title:S(p.closeTheActiveTab),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{shortcut:"Alt+w"},{shortcut:"Ctrl+W",keybindSets:["vsCode"]},{platform:"windows",shortcut:"Ctrl+F4",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.next-editor-tab",category:"SOURCES",title:S(p.nextEditorTab),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+PageDown",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+PageDown",keybindSets:["devToolsDefault","vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.previous-editor-tab",category:"SOURCES",title:S(p.previousEditorTab),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+PageUp",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+PageUp",keybindSets:["devToolsDefault","vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.go-to-line",category:"SOURCES",title:S(p.goToLine),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{shortcut:"Ctrl+g",keybindSets:["devToolsDefault","vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.go-to-member",category:"SOURCES",title:S(p.goToAFunctionDeclarationruleSet),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+o",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+Shift+o",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+T",keybindSets:["vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+T",keybindSets:["vsCode"]},{shortcut:"F12",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"debugger.toggle-breakpoint",category:"DEBUGGER",title:S(p.toggleBreakpoint),bindings:[{platform:"windows,linux",shortcut:"Ctrl+b",keybindSets:["devToolsDefault"]},{platform:"mac",shortcut:"Meta+b",keybindSets:["devToolsDefault"]},{shortcut:"F9",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"debugger.toggle-breakpoint-enabled",category:"DEBUGGER",title:S(p.toggleBreakpointEnabled),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+b"},{platform:"mac",shortcut:"Meta+Shift+b"}]}),l.ActionRegistration.registerActionExtension({actionId:"debugger.breakpoint-input-window",category:"DEBUGGER",title:S(p.toggleBreakpointInputWindow),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Alt+b"},{platform:"mac",shortcut:"Meta+Alt+b"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.save",category:"SOURCES",title:S(p.save),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+s",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+s",keybindSets:["devToolsDefault","vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.save-all",category:"SOURCES",title:S(p.saveAll),loadActionDelegate:async()=>new((await h()).SourcesView.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+s"},{platform:"mac",shortcut:"Meta+Alt+s"},{platform:"windows,linux",shortcut:"Ctrl+K S",keybindSets:["vsCode"]},{platform:"mac",shortcut:"Meta+Alt+S",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({category:"SOURCES",actionId:"sources.create-snippet",loadActionDelegate:async()=>new((await h()).SourcesNavigator.ActionDelegate),title:S(p.createNewSnippet)}),t.InspectorFrontendHost.InspectorFrontendHostInstance.isHostedMode()||l.ActionRegistration.registerActionExtension({category:"SOURCES",actionId:"sources.add-folder-to-workspace",loadActionDelegate:async()=>new((await h()).SourcesNavigator.ActionDelegate),iconClass:"plus",title:S(p.addFolderToWorkspace)}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.previous-call-frame",loadActionDelegate:async()=>new((await h()).CallStackSidebarPane.ActionDelegate),title:S(p.previousCallFrame),contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],bindings:[{shortcut:"Ctrl+,"}]}),l.ActionRegistration.registerActionExtension({category:"DEBUGGER",actionId:"debugger.next-call-frame",loadActionDelegate:async()=>new((await h()).CallStackSidebarPane.ActionDelegate),title:S(p.nextCallFrame),contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],bindings:[{shortcut:"Ctrl+."}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.search",title:S(p.search),loadActionDelegate:async()=>new((await h()).SearchSourcesView.ActionDelegate),category:"SOURCES",bindings:[{platform:"mac",shortcut:"Meta+Alt+F",keybindSets:["devToolsDefault"]},{platform:"windows,linux",shortcut:"Ctrl+Shift+F",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+Shift+J",keybindSets:["vsCode"]},{platform:"mac",shortcut:"Meta+Shift+F",keybindSets:["vsCode"]},{platform:"mac",shortcut:"Meta+Shift+J",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.increment-css",category:"SOURCES",title:S(p.incrementCssUnitBy,{PH1:1}),bindings:[{shortcut:"Alt+Up"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.increment-css-by-ten",title:S(p.incrementCssUnitBy,{PH1:10}),category:"SOURCES",bindings:[{shortcut:"Alt+PageUp"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.decrement-css",category:"SOURCES",title:S(p.decrementCssUnitBy,{PH1:1}),bindings:[{shortcut:"Alt+Down"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.decrement-css-by-ten",category:"SOURCES",title:S(p.decrementCssUnitBy,{PH1:10}),bindings:[{shortcut:"Alt+PageDown"}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.reveal-in-navigator-sidebar",category:"SOURCES",title:S(p.revealActiveFileInSidebar),loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView]))}),l.ActionRegistration.registerActionExtension({actionId:"sources.toggle-navigator-sidebar",category:"SOURCES",title:S(p.toggleNavigatorSidebar),loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+y",keybindSets:["devToolsDefault"]},{platform:"mac",shortcut:"Meta+Shift+y",keybindSets:["devToolsDefault"]},{platform:"windows,linux",shortcut:"Ctrl+b",keybindSets:["vsCode"]},{platform:"windows,linux",shortcut:"Meta+b",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"sources.toggle-debugger-sidebar",category:"SOURCES",title:S(p.toggleDebuggerSidebar),loadActionDelegate:async()=>new((await h()).SourcesPanel.ActionDelegate),contextTypes:()=>f((e=>[e.SourcesView.SourcesView])),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+h"},{platform:"mac",shortcut:"Meta+Shift+h"}]}),e.Settings.registerSettingExtension({settingName:"navigator-group-by-folder",settingType:"boolean",defaultValue:!0}),e.Settings.registerSettingExtension({settingName:"navigator-group-by-authored",settingType:"boolean",defaultValue:!1}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.searchInAnonymousAndContent),settingName:"search-in-anonymous-and-content-scripts",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:S(p.searchInAnonymousAndContent)},{value:!1,title:S(p.doNotSearchInAnonymousAndContent)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.automaticallyRevealFilesIn),settingName:"auto-reveal-in-navigator",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.automaticallyRevealFilesIn)},{value:!1,title:S(p.doNotAutomaticallyRevealFilesIn)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.javaScriptSourceMaps),settingName:"js-source-maps-enabled",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableJavaScriptSourceMaps)},{value:!1,title:S(p.disableJavaScriptSourceMaps)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.tabMovesFocus),settingName:"text-editor-tab-moves-focus",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:S(p.enableTabMovesFocus)},{value:!1,title:S(p.disableTabMovesFocus)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.detectIndentation),settingName:"text-editor-auto-detect-indent",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.detectIndentation)},{value:!1,title:S(p.doNotDetectIndentation)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.autocompletion),settingName:"text-editor-autocompletion",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableAutocompletion)},{value:!1,title:S(p.disableAutocompletion)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.bracketClosing),settingName:"text-editor-bracket-closing",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableBracketClosing)},{value:!1,title:S(p.disableBracketClosing)}]}),e.Settings.registerSettingExtension({category:"SOURCES",title:S(p.bracketMatching),settingName:"text-editor-bracket-matching",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableBracketMatching)},{value:!1,title:S(p.disableBracketMatching)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.codeFolding),settingName:"text-editor-code-folding",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableCodeFolding)},{value:!1,title:S(p.disableCodeFolding)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.showWhitespaceCharacters),settingName:"show-whitespaces-in-editor",settingType:"enum",defaultValue:"original",options:[{title:S(p.doNotShowWhitespaceCharacters),text:S(p.none),value:"none"},{title:S(p.showAllWhitespaceCharacters),text:S(p.all),value:"all"},{title:S(p.showTrailingWhitespaceCharacters),text:S(p.trailing),value:"trailing"}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.displayVariableValuesInlineWhile),settingName:"inline-variable-values",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.displayVariableValuesInlineWhile)},{value:!1,title:S(p.doNotDisplayVariableValuesInline)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.enableAutoFocusOnDebuggerPaused),settingName:"auto-focus-on-debugger-paused-enabled",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableAutoFocusOnDebuggerPaused)},{value:!1,title:S(p.disableAutoFocusOnDebuggerPaused)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.automaticallyPrettyPrintMinifiedSources),settingName:"auto-pretty-print-minified",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.automaticallyPrettyPrintMinifiedSources)},{value:!1,title:S(p.doNotAutomaticallyPrettyPrintMinifiedSources)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.cssSourceMaps),settingName:"css-source-maps-enabled",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableCssSourceMaps)},{value:!1,title:S(p.disableCssSourceMaps)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:S(p.allowScrollingPastEndOfFile),settingName:"allow-scroll-past-eof",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.allowScrollingPastEndOfFile)},{value:!1,title:S(p.disallowScrollingPastEndOfFile)}]}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Local",title:S(p.wasmAutoStepping),settingName:"wasm-auto-stepping",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:S(p.enableWasmAutoStepping)},{value:!1,title:S(p.disableWasmAutoStepping)}]}),l.ViewManager.registerLocationResolver({name:"navigator-view",category:"SOURCES",loadResolver:async()=>(await h()).SourcesPanel.SourcesPanel.instance()}),l.ViewManager.registerLocationResolver({name:"sources.sidebar-top",category:"SOURCES",loadResolver:async()=>(await h()).SourcesPanel.SourcesPanel.instance()}),l.ViewManager.registerLocationResolver({name:"sources.sidebar-bottom",category:"SOURCES",loadResolver:async()=>(await h()).SourcesPanel.SourcesPanel.instance()}),l.ViewManager.registerLocationResolver({name:"sources.sidebar-tabs",category:"SOURCES",loadResolver:async()=>(await h()).SourcesPanel.SourcesPanel.instance()}),l.ContextMenu.registerProvider({contextTypes:()=>[n.UISourceCode.UISourceCode,n.UISourceCode.UILocation,i.RemoteObject.RemoteObject,i.NetworkRequest.NetworkRequest,...f((e=>[e.UISourceCodeFrame.UISourceCodeFrame]))],loadProvider:async()=>(await h()).SourcesPanel.SourcesPanel.instance(),experiment:void 0}),l.ContextMenu.registerProvider({loadProvider:async()=>(await h()).WatchExpressionsSidebarPane.WatchExpressionsSidebarPane.instance(),contextTypes:()=>[s.ObjectPropertiesSection.ObjectPropertyTreeElement,...f((e=>[e.UISourceCodeFrame.UISourceCodeFrame]))],experiment:void 0}),e.Revealer.registerRevealer({contextTypes:()=>[n.UISourceCode.UILocation],destination:e.Revealer.RevealerDestination.SOURCES_PANEL,loadRevealer:async()=>new((await h()).SourcesPanel.UILocationRevealer)}),e.Revealer.registerRevealer({contextTypes:()=>[n.UISourceCode.UILocationRange],destination:e.Revealer.RevealerDestination.SOURCES_PANEL,loadRevealer:async()=>new((await h()).SourcesPanel.UILocationRangeRevealer)}),e.Revealer.registerRevealer({contextTypes:()=>[i.DebuggerModel.Location],destination:e.Revealer.RevealerDestination.SOURCES_PANEL,loadRevealer:async()=>new((await h()).SourcesPanel.DebuggerLocationRevealer)}),e.Revealer.registerRevealer({contextTypes:()=>[n.UISourceCode.UISourceCode],destination:e.Revealer.RevealerDestination.SOURCES_PANEL,loadRevealer:async()=>new((await h()).SourcesPanel.UISourceCodeRevealer)}),e.Revealer.registerRevealer({contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],destination:e.Revealer.RevealerDestination.SOURCES_PANEL,loadRevealer:async()=>new((await h()).SourcesPanel.DebuggerPausedDetailsRevealer)}),e.Revealer.registerRevealer({contextTypes:()=>[a.BreakpointManager.BreakpointLocation],destination:e.Revealer.RevealerDestination.SOURCES_PANEL,loadRevealer:async()=>new((await h()).DebuggerPlugin.BreakpointLocationRevealer)}),e.Revealer.registerRevealer({contextTypes:()=>f((e=>[e.SearchSourcesView.SearchSources])),destination:void 0,loadRevealer:async()=>new((await h()).SearchSourcesView.Revealer)}),l.Toolbar.registerToolbarItem({actionId:"sources.add-folder-to-workspace",location:"files-navigator-toolbar",label:S(p.addFolder),showLabel:!0,loadItem:void 0,order:void 0,separator:void 0}),l.Context.registerListener({contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],loadListener:async()=>(await b()).BreakpointsView.BreakpointsSidebarController.instance()}),l.Context.registerListener({contextTypes:()=>[i.DebuggerModel.DebuggerPausedDetails],loadListener:async()=>(await h()).CallStackSidebarPane.CallStackSidebarPane.instance()}),l.Context.registerListener({contextTypes:()=>[i.DebuggerModel.CallFrame],loadListener:async()=>(await h()).ScopeChainSidebarPane.ScopeChainSidebarPane.instance()}),l.ContextMenu.registerItem({location:"navigatorMenu/default",actionId:"quick-open.show",order:void 0}),l.ContextMenu.registerItem({location:"mainMenu/default",actionId:"sources.search",order:void 0}),r.FilteredListWidget.registerProvider({prefix:"@",iconName:"symbol",iconWidth:"20px",provider:async()=>new((await h()).OutlineQuickOpen.OutlineQuickOpen),titlePrefix:S(p.goTo),titleSuggestion:S(p.symbol)}),r.FilteredListWidget.registerProvider({prefix:":",iconName:"colon",iconWidth:"20px",provider:async()=>new((await h()).GoToLineQuickOpen.GoToLineQuickOpen),titlePrefix:S(p.goTo),titleSuggestion:S(p.line)}),r.FilteredListWidget.registerProvider({prefix:"",iconName:"document",iconWidth:"20px",provider:async()=>new((await h()).OpenFileQuickOpen.OpenFileQuickOpen),titlePrefix:S(p.open),titleSuggestion:S(p.file)});const C={memory:"Memory",liveHeapProfile:"Live Heap Profile",startRecordingHeapAllocations:"Start recording heap allocations",stopRecordingHeapAllocations:"Stop recording heap allocations",startRecordingHeapAllocationsAndReload:"Start recording heap allocations and reload the page",startStopRecording:"Start/stop recording",showMemory:"Show Memory",showLiveHeapProfile:"Show Live Heap Profile",clearAllProfiles:"Clear all profiles",saveProfile:"Save profile…",loadProfile:"Load profile…",deleteProfile:"Delete profile"},E=o.i18n.registerUIStrings("panels/profiler/profiler-meta.ts",C),x=o.i18n.getLazilyComputedLocalizedString.bind(void 0,E);async function A(){return v||(v=await import("../../panels/profiler/profiler.js")),v}function T(e){return void 0===v?[]:e(v)}l.ViewManager.registerViewExtension({location:"panel",id:"heap-profiler",commandPrompt:x(C.showMemory),title:x(C.memory),order:60,loadView:async()=>(await A()).HeapProfilerPanel.HeapProfilerPanel.instance()}),l.ViewManager.registerViewExtension({location:"drawer-view",id:"live-heap-profile",commandPrompt:x(C.showLiveHeapProfile),title:x(C.liveHeapProfile),persistence:"closeable",order:100,loadView:async()=>(await A()).LiveHeapProfileView.LiveHeapProfileView.instance(),experiment:"live-heap-profile"}),l.ActionRegistration.registerActionExtension({actionId:"live-heap-profile.toggle-recording",iconClass:"record-start",toggleable:!0,toggledIconClass:"record-stop",toggleWithRedColor:!0,loadActionDelegate:async()=>new((await A()).LiveHeapProfileView.ActionDelegate),category:"MEMORY",experiment:"live-heap-profile",options:[{value:!0,title:x(C.startRecordingHeapAllocations)},{value:!1,title:x(C.stopRecordingHeapAllocations)}]}),l.ActionRegistration.registerActionExtension({actionId:"live-heap-profile.start-with-reload",iconClass:"refresh",loadActionDelegate:async()=>new((await A()).LiveHeapProfileView.ActionDelegate),category:"MEMORY",experiment:"live-heap-profile",title:x(C.startRecordingHeapAllocationsAndReload)}),l.ActionRegistration.registerActionExtension({actionId:"profiler.heap-toggle-recording",category:"MEMORY",iconClass:"record-start",title:x(C.startStopRecording),toggleable:!0,toggledIconClass:"record-stop",toggleWithRedColor:!0,contextTypes:()=>T((e=>[e.HeapProfilerPanel.HeapProfilerPanel])),loadActionDelegate:async()=>(await A()).HeapProfilerPanel.HeapProfilerPanel.instance(),bindings:[{platform:"windows,linux",shortcut:"Ctrl+E"},{platform:"mac",shortcut:"Meta+E"}]}),l.ActionRegistration.registerActionExtension({actionId:"profiler.clear-all",category:"MEMORY",iconClass:"clear",contextTypes:()=>T((e=>[e.ProfilesPanel.ProfilesPanel])),loadActionDelegate:async()=>new((await A()).ProfilesPanel.ActionDelegate),title:x(C.clearAllProfiles)}),l.ActionRegistration.registerActionExtension({actionId:"profiler.load-from-file",category:"MEMORY",iconClass:"import",contextTypes:()=>T((e=>[e.ProfilesPanel.ProfilesPanel])),loadActionDelegate:async()=>new((await A()).ProfilesPanel.ActionDelegate),title:x(C.loadProfile),bindings:[{platform:"windows,linux",shortcut:"Ctrl+O"},{platform:"mac",shortcut:"Meta+O"}]}),l.ActionRegistration.registerActionExtension({actionId:"profiler.save-to-file",category:"MEMORY",iconClass:"download",contextTypes:()=>T((e=>[e.ProfileHeader.ProfileHeader])),loadActionDelegate:async()=>new((await A()).ProfilesPanel.ActionDelegate),title:x(C.saveProfile),bindings:[{platform:"windows,linux",shortcut:"Ctrl+S"},{platform:"mac",shortcut:"Meta+S"}]}),l.ActionRegistration.registerActionExtension({actionId:"profiler.delete-profile",category:"MEMORY",iconClass:"download",contextTypes:()=>T((e=>[e.ProfileHeader.ProfileHeader])),loadActionDelegate:async()=>new((await A()).ProfilesPanel.ActionDelegate),title:x(C.deleteProfile)}),l.ContextMenu.registerProvider({contextTypes:()=>[i.RemoteObject.RemoteObject],loadProvider:async()=>(await A()).HeapProfilerPanel.HeapProfilerPanel.instance(),experiment:void 0}),l.ContextMenu.registerItem({location:"profilerMenu/default",actionId:"profiler.save-to-file",order:10}),l.ContextMenu.registerItem({location:"profilerMenu/default",actionId:"profiler.delete-profile",order:11});const R={console:"Console",showConsole:"Show Console",toggleConsole:"Toggle Console",clearConsole:"Clear console",clearConsoleHistory:"Clear console history",createLiveExpression:"Create live expression",hideNetworkMessages:"Hide network messages",showNetworkMessages:"Show network messages",selectedContextOnly:"Selected context only",onlyShowMessagesFromTheCurrent:"Only show messages from the current context (`top`, `iframe`, `worker`, extension)",showMessagesFromAllContexts:"Show messages from all contexts",logXmlhttprequests:"Log XMLHttpRequests",timestamps:"Timestamps",showTimestamps:"Show timestamps",hideTimestamps:"Hide timestamps",autocompleteFromHistory:"Autocomplete from history",doNotAutocompleteFromHistory:"Do not autocomplete from history",autocompleteOnEnter:"Accept autocomplete suggestion on Enter",doNotAutocompleteOnEnter:"Do not accept autocomplete suggestion on Enter",groupSimilarMessagesInConsole:"Group similar messages in console",doNotGroupSimilarMessagesIn:"Do not group similar messages in console",showCorsErrorsInConsole:"Show `CORS` errors in console",doNotShowCorsErrorsIn:"Do not show `CORS` errors in console",eagerEvaluation:"Eager evaluation",eagerlyEvaluateConsolePromptText:"Eagerly evaluate console prompt text",doNotEagerlyEvaluateConsole:"Do not eagerly evaluate console prompt text",evaluateTriggersUserActivation:"Treat code evaluation as user action",treatEvaluationAsUserActivation:"Treat evaluation as user activation",doNotTreatEvaluationAsUser:"Do not treat evaluation as user activation",expandConsoleTraceMessagesByDefault:"Automatically expand `console.trace()` messages",collapseConsoleTraceMessagesByDefault:"Do not automatically expand `console.trace()` messages"},D=o.i18n.registerUIStrings("panels/console/console-meta.ts",R),P=o.i18n.getLazilyComputedLocalizedString.bind(void 0,D);let k;async function N(){return k||(k=await import("../../panels/console/console.js")),k}l.ViewManager.registerViewExtension({location:"panel",id:"console",title:P(R.console),commandPrompt:P(R.showConsole),order:20,loadView:async()=>(await N()).ConsolePanel.ConsolePanel.instance()}),l.ViewManager.registerViewExtension({location:"drawer-view",id:"console-view",title:P(R.console),commandPrompt:P(R.showConsole),persistence:"permanent",order:0,loadView:async()=>(await N()).ConsolePanel.WrapperView.instance()}),l.ActionRegistration.registerActionExtension({actionId:"console.toggle",category:"CONSOLE",title:P(R.toggleConsole),loadActionDelegate:async()=>new((await N()).ConsoleView.ActionDelegate),bindings:[{shortcut:"Ctrl+`",keybindSets:["devToolsDefault","vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"console.clear",category:"CONSOLE",title:P(R.clearConsole),iconClass:"clear",loadActionDelegate:async()=>new((await N()).ConsoleView.ActionDelegate),contextTypes:()=>void 0===k?[]:(e=>[e.ConsoleView.ConsoleView])(k),bindings:[{shortcut:"Ctrl+L"},{shortcut:"Meta+K",platform:"mac"}]}),l.ActionRegistration.registerActionExtension({actionId:"console.clear.history",category:"CONSOLE",title:P(R.clearConsoleHistory),loadActionDelegate:async()=>new((await N()).ConsoleView.ActionDelegate)}),l.ActionRegistration.registerActionExtension({actionId:"console.create-pin",category:"CONSOLE",title:P(R.createLiveExpression),iconClass:"eye",loadActionDelegate:async()=>new((await N()).ConsoleView.ActionDelegate)}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.hideNetworkMessages),settingName:"hide-network-messages",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:P(R.hideNetworkMessages)},{value:!1,title:P(R.showNetworkMessages)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.selectedContextOnly),settingName:"selected-context-filter-enabled",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:P(R.onlyShowMessagesFromTheCurrent)},{value:!1,title:P(R.showMessagesFromAllContexts)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.logXmlhttprequests),settingName:"monitoring-xhr-enabled",settingType:"boolean",defaultValue:!1}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.timestamps),settingName:"console-timestamps-enabled",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:P(R.showTimestamps)},{value:!1,title:P(R.hideTimestamps)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",title:P(R.autocompleteFromHistory),settingName:"console-history-autocomplete",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:P(R.autocompleteFromHistory)},{value:!1,title:P(R.doNotAutocompleteFromHistory)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.autocompleteOnEnter),settingName:"console-autocomplete-on-enter",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:P(R.autocompleteOnEnter)},{value:!1,title:P(R.doNotAutocompleteOnEnter)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.groupSimilarMessagesInConsole),settingName:"console-group-similar",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:P(R.groupSimilarMessagesInConsole)},{value:!1,title:P(R.doNotGroupSimilarMessagesIn)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",title:P(R.showCorsErrorsInConsole),settingName:"console-shows-cors-errors",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:P(R.showCorsErrorsInConsole)},{value:!1,title:P(R.doNotShowCorsErrorsIn)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.eagerEvaluation),settingName:"console-eager-eval",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:P(R.eagerlyEvaluateConsolePromptText)},{value:!1,title:P(R.doNotEagerlyEvaluateConsole)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.evaluateTriggersUserActivation),settingName:"console-user-activation-eval",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:P(R.treatEvaluationAsUserActivation)},{value:!1,title:P(R.doNotTreatEvaluationAsUser)}]}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:P(R.expandConsoleTraceMessagesByDefault),settingName:"console-trace-expand",settingType:"boolean",defaultValue:!0,options:[{value:!0,title:P(R.expandConsoleTraceMessagesByDefault)},{value:!1,title:P(R.collapseConsoleTraceMessagesByDefault)}]}),e.Revealer.registerRevealer({contextTypes:()=>[e.Console.Console],destination:void 0,loadRevealer:async()=>new((await N()).ConsolePanel.ConsoleRevealer)});const I={coverage:"Coverage",showCoverage:"Show Coverage",instrumentCoverage:"Instrument coverage",stopInstrumentingCoverageAndShow:"Stop instrumenting coverage and show results",startInstrumentingCoverageAnd:"Start instrumenting coverage and reload page",clearCoverage:"Clear coverage",exportCoverage:"Export coverage"},V=o.i18n.registerUIStrings("panels/coverage/coverage-meta.ts",I),L=o.i18n.getLazilyComputedLocalizedString.bind(void 0,V);let M,O;async function F(){return M||(M=await import("../../panels/coverage/coverage.js")),M}function U(e){return void 0===M?[]:e(M)}l.ViewManager.registerViewExtension({location:"drawer-view",id:"coverage",title:L(I.coverage),commandPrompt:L(I.showCoverage),persistence:"closeable",order:100,loadView:async()=>(await F()).CoverageView.CoverageView.instance()}),l.ActionRegistration.registerActionExtension({actionId:"coverage.toggle-recording",iconClass:"record-start",toggleable:!0,toggledIconClass:"record-stop",toggleWithRedColor:!0,loadActionDelegate:async()=>new((await F()).CoverageView.ActionDelegate),category:"PERFORMANCE",options:[{value:!0,title:L(I.instrumentCoverage)},{value:!1,title:L(I.stopInstrumentingCoverageAndShow)}]}),l.ActionRegistration.registerActionExtension({actionId:"coverage.start-with-reload",iconClass:"refresh",loadActionDelegate:async()=>new((await F()).CoverageView.ActionDelegate),category:"PERFORMANCE",title:L(I.startInstrumentingCoverageAnd)}),l.ActionRegistration.registerActionExtension({actionId:"coverage.clear",iconClass:"clear",category:"PERFORMANCE",title:L(I.clearCoverage),loadActionDelegate:async()=>new((await F()).CoverageView.ActionDelegate),contextTypes:()=>U((e=>[e.CoverageView.CoverageView]))}),l.ActionRegistration.registerActionExtension({actionId:"coverage.export",iconClass:"download",category:"PERFORMANCE",title:L(I.exportCoverage),loadActionDelegate:async()=>new((await F()).CoverageView.ActionDelegate),contextTypes:()=>U((e=>[e.CoverageView.CoverageView]))});const G={changes:"Changes",showChanges:"Show Changes",revertAllChangesToCurrentFile:"Revert all changes to current file",copyAllChangesFromCurrentFile:"Copy all changes from current file"},B=o.i18n.registerUIStrings("panels/changes/changes-meta.ts",G),H=o.i18n.getLazilyComputedLocalizedString.bind(void 0,B);async function W(){return O||(O=await import("../../panels/changes/changes.js")),O}function z(e){return void 0===O?[]:e(O)}l.ViewManager.registerViewExtension({location:"drawer-view",id:"changes.changes",title:H(G.changes),commandPrompt:H(G.showChanges),persistence:"closeable",loadView:async()=>new((await W()).ChangesView.ChangesView)}),l.ActionRegistration.registerActionExtension({actionId:"changes.revert",category:"CHANGES",title:H(G.revertAllChangesToCurrentFile),iconClass:"undo",loadActionDelegate:async()=>new((await W()).ChangesView.ActionDelegate),contextTypes:()=>z((e=>[e.ChangesView.ChangesView]))}),l.ActionRegistration.registerActionExtension({actionId:"changes.copy",category:"CHANGES",title:H(G.copyAllChangesFromCurrentFile),iconClass:"copy",loadActionDelegate:async()=>new((await W()).ChangesView.ActionDelegate),contextTypes:()=>z((e=>[e.ChangesView.ChangesView]))});const j={memoryInspector:"Memory inspector",showMemoryInspector:"Show Memory inspector"},q=o.i18n.registerUIStrings("panels/linear_memory_inspector/linear_memory_inspector-meta.ts",j),_=o.i18n.getLazilyComputedLocalizedString.bind(void 0,q);let J;async function Y(){return J||(J=await import("../../panels/linear_memory_inspector/linear_memory_inspector.js")),J}l.ViewManager.registerViewExtension({location:"drawer-view",id:"linear-memory-inspector",title:_(j.memoryInspector),commandPrompt:_(j.showMemoryInspector),order:100,persistence:"closeable",loadView:async()=>(await Y()).LinearMemoryInspectorPane.LinearMemoryInspectorPane.instance()}),l.ContextMenu.registerProvider({loadProvider:async()=>(await Y()).LinearMemoryInspectorController.LinearMemoryInspectorController.instance(),experiment:void 0,contextTypes:()=>[s.ObjectPropertiesSection.ObjectPropertyTreeElement]}),e.Revealer.registerRevealer({contextTypes:()=>[i.RemoteObject.LinearMemoryInspectable],destination:e.Revealer.RevealerDestination.MEMORY_INSPECTOR_PANEL,loadRevealer:async()=>(await Y()).LinearMemoryInspectorController.LinearMemoryInspectorController.instance()});const Q={devices:"Devices",showDevices:"Show Devices"},K=o.i18n.registerUIStrings("panels/settings/emulation/emulation-meta.ts",Q),Z=o.i18n.getLazilyComputedLocalizedString.bind(void 0,K);let X;l.ViewManager.registerViewExtension({location:"settings-view",commandPrompt:Z(Q.showDevices),title:Z(Q.devices),order:30,loadView:async()=>new((await async function(){return X||(X=await import("../../panels/settings/emulation/emulation.js")),X}()).DevicesSettingsTab.DevicesSettingsTab),id:"devices",settings:["standard-emulated-device-list","custom-emulated-device-list"],iconName:"devices"});const $={shortcuts:"Shortcuts",preferences:"Preferences",experiments:"Experiments",ignoreList:"Ignore List",showShortcuts:"Show Shortcuts",showPreferences:"Show Preferences",showExperiments:"Show Experiments",showIgnoreList:"Show Ignore List",settings:"Settings",documentation:"Documentation",chromeAI:"Chrome AI",showChromeAI:"Show Chrome AI"},ee=o.i18n.registerUIStrings("panels/settings/settings-meta.ts",$),te=o.i18n.getLazilyComputedLocalizedString.bind(void 0,ee);let oe;async function ie(){return oe||(oe=await import("../../panels/settings/settings.js")),oe}l.ViewManager.registerViewExtension({location:"settings-view",id:"preferences",title:te($.preferences),commandPrompt:te($.showPreferences),order:0,loadView:async()=>new((await ie()).SettingsScreen.GenericSettingsTab),iconName:"gear"}),l.ViewManager.registerViewExtension({experiment:"gen-ai-settings-panel",location:"settings-view",id:"chrome-ai",title:te($.chromeAI),commandPrompt:te($.showChromeAI),order:2,async loadView(){const e=await ie();return g.LegacyWrapper.legacyWrapper(l.Widget.VBox,new e.AISettingsTab.AISettingsTab)},iconName:"spark",settings:["console-insights-enabled"]}),l.ViewManager.registerViewExtension({location:"settings-view",id:"experiments",title:te($.experiments),commandPrompt:te($.showExperiments),order:3,experiment:"*",loadView:async()=>new((await ie()).SettingsScreen.ExperimentsSettingsTab),iconName:"experiment"}),l.ViewManager.registerViewExtension({location:"settings-view",id:"blackbox",title:te($.ignoreList),commandPrompt:te($.showIgnoreList),order:4,loadView:async()=>new((await ie()).FrameworkIgnoreListSettingsTab.FrameworkIgnoreListSettingsTab),iconName:"clear-list"}),l.ViewManager.registerViewExtension({location:"settings-view",id:"keybinds",title:te($.shortcuts),commandPrompt:te($.showShortcuts),order:100,loadView:async()=>new((await ie()).KeybindsSettingsTab.KeybindsSettingsTab),iconName:"keyboard"}),l.ActionRegistration.registerActionExtension({category:"SETTINGS",actionId:"settings.show",title:te($.settings),loadActionDelegate:async()=>new((await ie()).SettingsScreen.ActionDelegate),iconClass:"gear",bindings:[{shortcut:"F1",keybindSets:["devToolsDefault"]},{shortcut:"Shift+?"},{platform:"windows,linux",shortcut:"Ctrl+,",keybindSets:["vsCode"]},{platform:"mac",shortcut:"Meta+,",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({category:"SETTINGS",actionId:"settings.documentation",title:te($.documentation),loadActionDelegate:async()=>new((await ie()).SettingsScreen.ActionDelegate)}),l.ActionRegistration.registerActionExtension({category:"SETTINGS",actionId:"settings.shortcuts",title:te($.showShortcuts),loadActionDelegate:async()=>new((await ie()).SettingsScreen.ActionDelegate),bindings:[{platform:"windows,linux",shortcut:"Ctrl+K Ctrl+S",keybindSets:["vsCode"]},{platform:"mac",shortcut:"Meta+K Meta+S",keybindSets:["vsCode"]}]}),l.ViewManager.registerLocationResolver({name:"settings-view",category:"SETTINGS",loadResolver:async()=>(await ie()).SettingsScreen.SettingsScreen.instance()}),e.Revealer.registerRevealer({contextTypes:()=>[e.Settings.Setting,c.Runtime.Experiment],destination:void 0,loadRevealer:async()=>new((await ie()).SettingsScreen.Revealer)}),l.ContextMenu.registerItem({location:"mainMenu/footer",actionId:"settings.shortcuts",order:void 0}),l.ContextMenu.registerItem({location:"mainMenuHelp/default",actionId:"settings.documentation",order:void 0});const ae={protocolMonitor:"Protocol monitor",showProtocolMonitor:"Show Protocol monitor"},ne=o.i18n.registerUIStrings("panels/protocol_monitor/protocol_monitor-meta.ts",ae),se=o.i18n.getLazilyComputedLocalizedString.bind(void 0,ne);let re;l.ViewManager.registerViewExtension({location:"drawer-view",id:"protocol-monitor",title:se(ae.protocolMonitor),commandPrompt:se(ae.showProtocolMonitor),order:100,persistence:"closeable",loadView:async()=>new((await async function(){return re||(re=await import("../../panels/protocol_monitor/protocol_monitor.js")),re}()).ProtocolMonitor.ProtocolMonitorImpl),experiment:"protocol-monitor"});const le={workspace:"Workspace",showWorkspace:"Show Workspace settings",enableLocalOverrides:"Enable Local Overrides",interception:"interception",override:"override",network:"network",rewrite:"rewrite",request:"request",enableOverrideNetworkRequests:"Enable override network requests",disableOverrideNetworkRequests:"Disable override network requests"},ce=o.i18n.registerUIStrings("models/persistence/persistence-meta.ts",le),ge=o.i18n.getLazilyComputedLocalizedString.bind(void 0,ce);let de;async function ue(){return de||(de=await import("../../models/persistence/persistence.js")),de}l.ViewManager.registerViewExtension({location:"settings-view",id:"workspace",title:ge(le.workspace),commandPrompt:ge(le.showWorkspace),order:1,loadView:async()=>new((await ue()).WorkspaceSettingsTab.WorkspaceSettingsTab),iconName:"folder"}),e.Settings.registerSettingExtension({category:"PERSISTENCE",title:ge(le.enableLocalOverrides),settingName:"persistence-network-overrides-enabled",settingType:"boolean",defaultValue:!1,tags:[ge(le.interception),ge(le.override),ge(le.network),ge(le.rewrite),ge(le.request)],options:[{value:!0,title:ge(le.enableOverrideNetworkRequests)},{value:!1,title:ge(le.disableOverrideNetworkRequests)}]}),l.ContextMenu.registerProvider({contextTypes:()=>[n.UISourceCode.UISourceCode,i.Resource.Resource,i.NetworkRequest.NetworkRequest],loadProvider:async()=>new((await ue()).PersistenceActions.ContextMenuProvider),experiment:void 0});const pe={preserveLog:"Preserve log",preserve:"preserve",clear:"clear",reset:"reset",preserveLogOnPageReload:"Preserve log on page reload / navigation",doNotPreserveLogOnPageReload:"Do not preserve log on page reload / navigation",recordNetworkLog:"Record network log"},me=o.i18n.registerUIStrings("models/logs/logs-meta.ts",pe),Se=o.i18n.getLazilyComputedLocalizedString.bind(void 0,me);e.Settings.registerSettingExtension({category:"NETWORK",title:Se(pe.preserveLog),settingName:"network-log.preserve-log",settingType:"boolean",defaultValue:!1,tags:[Se(pe.preserve),Se(pe.clear),Se(pe.reset)],options:[{value:!0,title:Se(pe.preserveLogOnPageReload)},{value:!1,title:Se(pe.doNotPreserveLogOnPageReload)}]}),e.Settings.registerSettingExtension({category:"NETWORK",title:Se(pe.recordNetworkLog),settingName:"network-log.record-log",settingType:"boolean",defaultValue:!0,storageType:"Session"});const ye={focusDebuggee:"Focus page",toggleDrawer:"Toggle drawer",nextPanel:"Next panel",previousPanel:"Previous panel",reloadDevtools:"Reload DevTools",restoreLastDockPosition:"Restore last dock position",zoomIn:"Zoom in",zoomOut:"Zoom out",resetZoomLevel:"Reset zoom level",searchInPanel:"Search in panel",cancelSearch:"Cancel search",findNextResult:"Find next result",findPreviousResult:"Find previous result",theme:"Theme:",switchToBrowserPreferredColor:"Switch to browser's preferred color theme",browserPreference:"Browser preference",switchToLightTheme:"Switch to light theme",lightCapital:"Light",switchToDarkTheme:"Switch to dark theme",darkCapital:"Dark",darkLower:"dark",lightLower:"light",panelLayout:"Panel layout:",useHorizontalPanelLayout:"Use horizontal panel layout",horizontal:"horizontal",useVerticalPanelLayout:"Use vertical panel layout",vertical:"vertical",useAutomaticPanelLayout:"Use automatic panel layout",auto:"auto",enableCtrlShortcutToSwitchPanels:"Enable Ctrl + 1-9 shortcut to switch panels",enableShortcutToSwitchPanels:"Enable ⌘ + 1-9 shortcut to switch panels",right:"Right",dockToRight:"Dock to right",bottom:"Bottom",dockToBottom:"Dock to bottom",left:"Left",dockToLeft:"Dock to left",undocked:"Undocked",undockIntoSeparateWindow:"Undock into separate window",devtoolsDefault:"DevTools (Default)",language:"Language:",browserLanguage:"Browser UI language",enableSync:"Enable settings sync",searchAsYouTypeSetting:"Search as you type",searchAsYouTypeCommand:"Enable search as you type",searchOnEnterCommand:"Disable search as you type (press Enter to search)"},we=o.i18n.registerUIStrings("entrypoints/main/main-meta.ts",ye),ve=o.i18n.getLazilyComputedLocalizedString.bind(void 0,we);let he,be;async function fe(){return he||(he=await import("../main/main.js")),he}function Ce(e){return()=>o.i18n.getLocalizedLanguageRegion(e,o.DevToolsLocale.DevToolsLocale.instance())}l.ActionRegistration.registerActionExtension({category:"DRAWER",actionId:"inspector-main.focus-debuggee",loadActionDelegate:async()=>new((await async function(){return be||(be=await import("../inspector_main/inspector_main.js")),be}()).InspectorMain.FocusDebuggeeActionDelegate),order:100,title:ve(ye.focusDebuggee)}),l.ActionRegistration.registerActionExtension({category:"DRAWER",actionId:"main.toggle-drawer",loadActionDelegate:async()=>new l.InspectorView.ActionDelegate,order:101,title:ve(ye.toggleDrawer),bindings:[{shortcut:"Esc"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.next-tab",category:"GLOBAL",title:ve(ye.nextPanel),loadActionDelegate:async()=>new l.InspectorView.ActionDelegate,bindings:[{platform:"windows,linux",shortcut:"Ctrl+]"},{platform:"mac",shortcut:"Meta+]"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.previous-tab",category:"GLOBAL",title:ve(ye.previousPanel),loadActionDelegate:async()=>new l.InspectorView.ActionDelegate,bindings:[{platform:"windows,linux",shortcut:"Ctrl+["},{platform:"mac",shortcut:"Meta+["}]}),l.ActionRegistration.registerActionExtension({actionId:"main.debug-reload",category:"GLOBAL",title:ve(ye.reloadDevtools),loadActionDelegate:async()=>new((await fe()).MainImpl.ReloadActionDelegate),bindings:[{shortcut:"Alt+R"}]}),l.ActionRegistration.registerActionExtension({category:"GLOBAL",title:ve(ye.restoreLastDockPosition),actionId:"main.toggle-dock",loadActionDelegate:async()=>new l.DockController.ToggleDockActionDelegate,bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+D"},{platform:"mac",shortcut:"Meta+Shift+D"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.zoom-in",category:"GLOBAL",title:ve(ye.zoomIn),loadActionDelegate:async()=>new((await fe()).MainImpl.ZoomActionDelegate),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Plus",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+Shift+Plus"},{platform:"windows,linux",shortcut:"Ctrl+NumpadPlus"},{platform:"windows,linux",shortcut:"Ctrl+Shift+NumpadPlus"},{platform:"mac",shortcut:"Meta+Plus",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+Shift+Plus"},{platform:"mac",shortcut:"Meta+NumpadPlus"},{platform:"mac",shortcut:"Meta+Shift+NumpadPlus"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.zoom-out",category:"GLOBAL",title:ve(ye.zoomOut),loadActionDelegate:async()=>new((await fe()).MainImpl.ZoomActionDelegate),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Minus",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+Shift+Minus"},{platform:"windows,linux",shortcut:"Ctrl+NumpadMinus"},{platform:"windows,linux",shortcut:"Ctrl+Shift+NumpadMinus"},{platform:"mac",shortcut:"Meta+Minus",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+Shift+Minus"},{platform:"mac",shortcut:"Meta+NumpadMinus"},{platform:"mac",shortcut:"Meta+Shift+NumpadMinus"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.zoom-reset",category:"GLOBAL",title:ve(ye.resetZoomLevel),loadActionDelegate:async()=>new((await fe()).MainImpl.ZoomActionDelegate),bindings:[{platform:"windows,linux",shortcut:"Ctrl+0"},{platform:"windows,linux",shortcut:"Ctrl+Numpad0"},{platform:"mac",shortcut:"Meta+Numpad0"},{platform:"mac",shortcut:"Meta+0"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.search-in-panel.find",category:"GLOBAL",title:ve(ye.searchInPanel),loadActionDelegate:async()=>new((await fe()).MainImpl.SearchActionDelegate),bindings:[{platform:"windows,linux",shortcut:"Ctrl+F",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+F",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"F3"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.search-in-panel.cancel",category:"GLOBAL",title:ve(ye.cancelSearch),loadActionDelegate:async()=>new((await fe()).MainImpl.SearchActionDelegate),order:10,bindings:[{shortcut:"Esc"}]}),l.ActionRegistration.registerActionExtension({actionId:"main.search-in-panel.find-next",category:"GLOBAL",title:ve(ye.findNextResult),loadActionDelegate:async()=>new((await fe()).MainImpl.SearchActionDelegate),bindings:[{platform:"mac",shortcut:"Meta+G",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+G"},{platform:"windows,linux",shortcut:"F3",keybindSets:["devToolsDefault","vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"main.search-in-panel.find-previous",category:"GLOBAL",title:ve(ye.findPreviousResult),loadActionDelegate:async()=>new((await fe()).MainImpl.SearchActionDelegate),bindings:[{platform:"mac",shortcut:"Meta+Shift+G",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+Shift+G"},{platform:"windows,linux",shortcut:"Shift+F3",keybindSets:["devToolsDefault","vsCode"]}]}),e.Settings.registerSettingExtension({category:"APPEARANCE",storageType:"Synced",title:ve(ye.theme),settingName:"ui-theme",settingType:"enum",defaultValue:"systemPreferred",reloadRequired:!1,options:[{title:ve(ye.switchToBrowserPreferredColor),text:ve(ye.browserPreference),value:"systemPreferred"},{title:ve(ye.switchToLightTheme),text:ve(ye.lightCapital),value:"default"},{title:ve(ye.switchToDarkTheme),text:ve(ye.darkCapital),value:"dark"}],tags:[ve(ye.darkLower),ve(ye.lightLower)]}),e.Settings.registerSettingExtension({category:"APPEARANCE",storageType:"Synced",title:ve(ye.panelLayout),settingName:"sidebar-position",settingType:"enum",defaultValue:"auto",options:[{title:ve(ye.useHorizontalPanelLayout),text:ve(ye.horizontal),value:"bottom"},{title:ve(ye.useVerticalPanelLayout),text:ve(ye.vertical),value:"right"},{title:ve(ye.useAutomaticPanelLayout),text:ve(ye.auto),value:"auto"}]}),e.Settings.registerSettingExtension({category:"APPEARANCE",storageType:"Synced",settingName:"language",settingType:"enum",title:ve(ye.language),defaultValue:"en-US",options:[{value:"browserLanguage",title:ve(ye.browserLanguage),text:ve(ye.browserLanguage)},...o.i18n.getAllSupportedDevToolsLocales().sort().map((e=>{return{value:t=e,title:Ce(t),text:Ce(t)};var t}))],reloadRequired:!0}),e.Settings.registerSettingExtension({category:"APPEARANCE",storageType:"Synced",title:"mac"===t.Platform.platform()?ve(ye.enableShortcutToSwitchPanels):ve(ye.enableCtrlShortcutToSwitchPanels),settingName:"shortcut-panel-switch",settingType:"boolean",defaultValue:!1}),e.Settings.registerSettingExtension({category:"GLOBAL",settingName:"currentDockState",settingType:"enum",defaultValue:"right",options:[{value:"right",text:ve(ye.right),title:ve(ye.dockToRight)},{value:"bottom",text:ve(ye.bottom),title:ve(ye.dockToBottom)},{value:"left",text:ve(ye.left),title:ve(ye.dockToLeft)},{value:"undocked",text:ve(ye.undocked),title:ve(ye.undockIntoSeparateWindow)}]}),e.Settings.registerSettingExtension({storageType:"Synced",settingName:"active-keybind-set",settingType:"enum",defaultValue:"devToolsDefault",options:[{value:"devToolsDefault",title:ve(ye.devtoolsDefault),text:ve(ye.devtoolsDefault)},{value:"vsCode",title:o.i18n.lockedLazyString("Visual Studio Code"),text:o.i18n.lockedLazyString("Visual Studio Code")}]}),e.Settings.registerSettingExtension({category:"SYNC",settingName:"sync-preferences",settingType:"boolean",title:ve(ye.enableSync),defaultValue:!1,reloadRequired:!0}),e.Settings.registerSettingExtension({storageType:"Synced",settingName:"user-shortcuts",settingType:"array",defaultValue:[]}),e.Settings.registerSettingExtension({category:"GLOBAL",storageType:"Local",title:ve(ye.searchAsYouTypeSetting),settingName:"search-as-you-type",settingType:"boolean",order:3,defaultValue:!0,options:[{value:!0,title:ve(ye.searchAsYouTypeCommand)},{value:!1,title:ve(ye.searchOnEnterCommand)}]}),l.ViewManager.registerLocationResolver({name:"drawer-view",category:"DRAWER",loadResolver:async()=>l.InspectorView.InspectorView.instance()}),l.ViewManager.registerLocationResolver({name:"drawer-sidebar",category:"DRAWER_SIDEBAR",loadResolver:async()=>l.InspectorView.InspectorView.instance()}),l.ViewManager.registerLocationResolver({name:"panel",category:"PANEL",loadResolver:async()=>l.InspectorView.InspectorView.instance()}),l.ContextMenu.registerProvider({contextTypes:()=>[n.UISourceCode.UISourceCode,i.Resource.Resource,i.NetworkRequest.NetworkRequest],loadProvider:async()=>new d.Linkifier.ContentProviderContextMenuProvider,experiment:void 0}),l.ContextMenu.registerProvider({contextTypes:()=>[Node],loadProvider:async()=>new l.XLink.ContextMenuProvider,experiment:void 0}),l.ContextMenu.registerProvider({contextTypes:()=>[Node],loadProvider:async()=>new d.Linkifier.LinkContextMenuProvider,experiment:void 0}),l.Toolbar.registerToolbarItem({separator:!0,location:"main-toolbar-left",order:100}),l.Toolbar.registerToolbarItem({separator:!0,order:97,location:"main-toolbar-right"}),l.Toolbar.registerToolbarItem({loadItem:async()=>(await fe()).MainImpl.SettingsButtonProvider.instance(),order:99,location:"main-toolbar-right"}),l.Toolbar.registerToolbarItem({loadItem:async()=>(await fe()).MainImpl.MainMenuItem.instance(),order:100,location:"main-toolbar-right"}),l.Toolbar.registerToolbarItem({loadItem:async()=>l.DockController.CloseButtonProvider.instance(),order:101,location:"main-toolbar-right"}),e.AppProvider.registerAppProvider({loadAppProvider:async()=>(await fe()).SimpleApp.SimpleAppProvider.instance(),order:10});const Ee={flamechartMouseWheelAction:"Flamechart mouse wheel action:",scroll:"Scroll",zoom:"Zoom",liveMemoryAllocationAnnotations:"Live memory allocation annotations",showLiveMemoryAllocation:"Show live memory allocation annotations",hideLiveMemoryAllocation:"Hide live memory allocation annotations",collectGarbage:"Collect garbage"},xe=o.i18n.registerUIStrings("ui/legacy/components/perf_ui/perf_ui-meta.ts",Ee),Ae=o.i18n.getLazilyComputedLocalizedString.bind(void 0,xe);let Te;l.ActionRegistration.registerActionExtension({actionId:"components.collect-garbage",category:"PERFORMANCE",title:Ae(Ee.collectGarbage),iconClass:"mop",loadActionDelegate:async()=>new((await async function(){return Te||(Te=await import("../../ui/legacy/components/perf_ui/perf_ui.js")),Te}()).GCActionDelegate.GCActionDelegate)}),e.Settings.registerSettingExtension({category:"PERFORMANCE",storageType:"Synced",title:Ae(Ee.flamechartMouseWheelAction),settingName:"flamechart-mouse-wheel-action",settingType:"enum",defaultValue:"zoom",options:[{title:Ae(Ee.scroll),text:Ae(Ee.scroll),value:"scroll"},{title:Ae(Ee.zoom),text:Ae(Ee.zoom),value:"zoom"}]}),e.Settings.registerSettingExtension({category:"MEMORY",experiment:"live-heap-profile",title:Ae(Ee.liveMemoryAllocationAnnotations),settingName:"memory-live-heap-profile",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:Ae(Ee.showLiveMemoryAllocation)},{value:!1,title:Ae(Ee.hideLiveMemoryAllocation)}]});const Re={openFile:"Open file",runCommand:"Run command"},De=o.i18n.registerUIStrings("ui/legacy/components/quick_open/quick_open-meta.ts",Re),Pe=o.i18n.getLazilyComputedLocalizedString.bind(void 0,De);let ke;async function Ne(){return ke||(ke=await import("../../ui/legacy/components/quick_open/quick_open.js")),ke}l.ActionRegistration.registerActionExtension({actionId:"quick-open.show-command-menu",category:"GLOBAL",title:Pe(Re.runCommand),loadActionDelegate:async()=>new((await Ne()).CommandMenu.ShowActionDelegate),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+Shift+P",keybindSets:["devToolsDefault","vsCode"]},{shortcut:"F1",keybindSets:["vsCode"]}]}),l.ActionRegistration.registerActionExtension({actionId:"quick-open.show",category:"GLOBAL",title:Pe(Re.openFile),loadActionDelegate:async()=>new((await Ne()).QuickOpen.ShowActionDelegate),order:100,bindings:[{platform:"mac",shortcut:"Meta+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+O",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+O",keybindSets:["devToolsDefault","vsCode"]}]}),l.ContextMenu.registerItem({location:"mainMenu/default",actionId:"quick-open.show-command-menu",order:void 0}),l.ContextMenu.registerItem({location:"mainMenu/default",actionId:"quick-open.show",order:void 0});const Ie={preserveLogUponNavigation:"Preserve log upon navigation",doNotPreserveLogUponNavigation:"Do not preserve log upon navigation",pauseOnExceptions:"Pause on exceptions",doNotPauseOnExceptions:"Do not pause on exceptions",disableJavascript:"Disable JavaScript",enableJavascript:"Enable JavaScript",disableAsyncStackTraces:"Disable async stack traces",doNotCaptureAsyncStackTraces:"Do not capture async stack traces",captureAsyncStackTraces:"Capture async stack traces",showRulersOnHover:"Show rulers on hover",doNotShowRulersOnHover:"Do not show rulers on hover",showAreaNames:"Show area names",showGridNamedAreas:"Show grid named areas",doNotShowGridNamedAreas:"Do not show grid named areas",showTrackSizes:"Show track sizes",showGridTrackSizes:"Show grid track sizes",doNotShowGridTrackSizes:"Do not show grid track sizes",extendGridLines:"Extend grid lines",doNotExtendGridLines:"Do not extend grid lines",showLineLabels:"Show line labels",hideLineLabels:"Hide line labels",showLineNumbers:"Show line numbers",showLineNames:"Show line names",showPaintFlashingRectangles:"Show paint flashing rectangles",hidePaintFlashingRectangles:"Hide paint flashing rectangles",showLayoutShiftRegions:"Show layout shift regions",hideLayoutShiftRegions:"Hide layout shift regions",highlightAdFrames:"Highlight ad frames",doNotHighlightAdFrames:"Do not highlight ad frames",showLayerBorders:"Show layer borders",hideLayerBorders:"Hide layer borders",showCoreWebVitalsOverlay:"Show Core Web Vitals overlay",hideCoreWebVitalsOverlay:"Hide Core Web Vitals overlay",showFramesPerSecondFpsMeter:"Show frames per second (FPS) meter",hideFramesPerSecondFpsMeter:"Hide frames per second (FPS) meter",showScrollPerformanceBottlenecks:"Show scroll performance bottlenecks",hideScrollPerformanceBottlenecks:"Hide scroll performance bottlenecks",emulateAFocusedPage:"Emulate a focused page",doNotEmulateAFocusedPage:"Do not emulate a focused page",doNotEmulateCssMediaType:"Do not emulate CSS media type",noEmulation:"No emulation",emulateCssPrintMediaType:"Emulate CSS print media type",print:"print",emulateCssScreenMediaType:"Emulate CSS screen media type",screen:"screen",query:"query",emulateCssMediaType:"Emulate CSS media type",doNotEmulateCss:"Do not emulate CSS {PH1}",emulateCss:"Emulate CSS {PH1}",emulateCssMediaFeature:"Emulate CSS media feature {PH1}",doNotEmulateAnyVisionDeficiency:"Do not emulate any vision deficiency",emulateBlurredVision:"Emulate blurred vision",emulateReducedContrast:"Emulate reduced contrast",blurredVision:"Blurred vision",reducedContrast:"Reduced contrast",emulateProtanopia:"Emulate protanopia (no red)",protanopia:"Protanopia (no red)",emulateDeuteranopia:"Emulate deuteranopia (no green)",deuteranopia:"Deuteranopia (no green)",emulateTritanopia:"Emulate tritanopia (no blue)",tritanopia:"Tritanopia (no blue)",emulateAchromatopsia:"Emulate achromatopsia (no color)",achromatopsia:"Achromatopsia (no color)",emulateVisionDeficiencies:"Emulate vision deficiencies",disableLocalFonts:"Disable local fonts",enableLocalFonts:"Enable local fonts",disableAvifFormat:"Disable `AVIF` format",enableAvifFormat:"Enable `AVIF` format",disableWebpFormat:"Disable `WebP` format",enableWebpFormat:"Enable `WebP` format",customFormatters:"Custom formatters",networkRequestBlocking:"Network request blocking",enableNetworkRequestBlocking:"Enable network request blocking",disableNetworkRequestBlocking:"Disable network request blocking",enableCache:"Enable cache",disableCache:"Disable cache (while DevTools is open)",emulateAutoDarkMode:"Emulate auto dark mode",enableRemoteFileLoading:"Allow `DevTools` to load resources, such as source maps, from remote file paths. Disabled by default for security reasons."},Ve=o.i18n.registerUIStrings("core/sdk/sdk-meta.ts",Ie),Le=o.i18n.getLazilyComputedLocalizedString.bind(void 0,Ve);e.Settings.registerSettingExtension({storageType:"Synced",settingName:"skip-stack-frames-pattern",settingType:"regex",defaultValue:"/node_modules/|/bower_components/"}),e.Settings.registerSettingExtension({storageType:"Synced",settingName:"skip-content-scripts",settingType:"boolean",defaultValue:!0}),e.Settings.registerSettingExtension({storageType:"Synced",settingName:"automatically-ignore-list-known-third-party-scripts",settingType:"boolean",defaultValue:!0}),e.Settings.registerSettingExtension({storageType:"Synced",settingName:"enable-ignore-listing",settingType:"boolean",defaultValue:!0}),e.Settings.registerSettingExtension({category:"CONSOLE",storageType:"Synced",title:Le(Ie.preserveLogUponNavigation),settingName:"preserve-console-log",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:Le(Ie.preserveLogUponNavigation)},{value:!1,title:Le(Ie.doNotPreserveLogUponNavigation)}]}),e.Settings.registerSettingExtension({category:"DEBUGGER",settingName:"pause-on-exception-enabled",settingType:"boolean",defaultValue:!1,options:[{value:!0,title:Le(Ie.pauseOnExceptions)},{value:!1,title:Le(Ie.doNotPauseOnExceptions)}]}),e.Settings.registerSettingExtension({settingName:"pause-on-caught-exception",settingType:"boolean",defaultValue:!1}),e.Settings.registerSettingExtension({settingName:"pause-on-uncaught-exception",settingType:"boolean",defaultValue:!1}),e.Settings.registerSettingExtension({category:"DEBUGGER",title:Le(Ie.disableJavascript),settingName:"java-script-disabled",settingType:"boolean",storageType:"Session",order:1,defaultValue:!1,options:[{value:!0,title:Le(Ie.disableJavascript)},{value:!1,title:Le(Ie.enableJavascript)}]}),e.Settings.registerSettingExtension({category:"DEBUGGER",title:Le(Ie.disableAsyncStackTraces),settingName:"disable-async-stack-traces",settingType:"boolean",defaultValue:!1,order:2,options:[{value:!0,title:Le(Ie.doNotCaptureAsyncStackTraces)},{value:!1,title:Le(Ie.captureAsyncStackTraces)}]}),e.Settings.registerSettingExtension({category:"DEBUGGER",settingName:"breakpoints-active",settingType:"boolean",storageType:"Session",defaultValue:!0}),e.Settings.registerSettingExtension({category:"ELEMENTS",storageType:"Synced",title:Le(Ie.showRulersOnHover),settingName:"show-metrics-rulers",settingType:"boolean",options:[{value:!0,title:Le(Ie.showRulersOnHover)},{value:!1,title:Le(Ie.doNotShowRulersOnHover)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"GRID",storageType:"Synced",title:Le(Ie.showAreaNames),settingName:"show-grid-areas",settingType:"boolean",options:[{value:!0,title:Le(Ie.showGridNamedAreas)},{value:!1,title:Le(Ie.doNotShowGridNamedAreas)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"GRID",storageType:"Synced",title:Le(Ie.showTrackSizes),settingName:"show-grid-track-sizes",settingType:"boolean",options:[{value:!0,title:Le(Ie.showGridTrackSizes)},{value:!1,title:Le(Ie.doNotShowGridTrackSizes)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"GRID",storageType:"Synced",title:Le(Ie.extendGridLines),settingName:"extend-grid-lines",settingType:"boolean",options:[{value:!0,title:Le(Ie.extendGridLines)},{value:!1,title:Le(Ie.doNotExtendGridLines)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"GRID",storageType:"Synced",title:Le(Ie.showLineLabels),settingName:"show-grid-line-labels",settingType:"enum",options:[{title:Le(Ie.hideLineLabels),text:Le(Ie.hideLineLabels),value:"none"},{title:Le(Ie.showLineNumbers),text:Le(Ie.showLineNumbers),value:"lineNumbers"},{title:Le(Ie.showLineNames),text:Le(Ie.showLineNames),value:"lineNames"}],defaultValue:"lineNumbers"}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"show-paint-rects",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.showPaintFlashingRectangles)},{value:!1,title:Le(Ie.hidePaintFlashingRectangles)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"show-layout-shift-regions",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.showLayoutShiftRegions)},{value:!1,title:Le(Ie.hideLayoutShiftRegions)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"show-ad-highlights",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.highlightAdFrames)},{value:!1,title:Le(Ie.doNotHighlightAdFrames)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"show-debug-borders",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.showLayerBorders)},{value:!1,title:Le(Ie.hideLayerBorders)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"show-web-vitals",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.showCoreWebVitalsOverlay)},{value:!1,title:Le(Ie.hideCoreWebVitalsOverlay)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"show-fps-counter",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.showFramesPerSecondFpsMeter)},{value:!1,title:Le(Ie.hideFramesPerSecondFpsMeter)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"show-scroll-bottleneck-rects",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.showScrollPerformanceBottlenecks)},{value:!1,title:Le(Ie.hideScrollPerformanceBottlenecks)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",title:Le(Ie.emulateAFocusedPage),settingName:"emulate-page-focus",settingType:"boolean",storageType:"Local",defaultValue:!1,options:[{value:!0,title:Le(Ie.emulateAFocusedPage)},{value:!1,title:Le(Ie.doNotEmulateAFocusedPage)}]}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"emulated-css-media",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCssMediaType),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCssPrintMediaType),text:Le(Ie.print),value:"print"},{title:Le(Ie.emulateCssScreenMediaType),text:Le(Ie.screen),value:"screen"}],tags:[Le(Ie.query)],title:Le(Ie.emulateCssMediaType)}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"emulated-css-media-feature-prefers-color-scheme",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCss,{PH1:"prefers-color-scheme"}),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCss,{PH1:"prefers-color-scheme: light"}),text:o.i18n.lockedLazyString("prefers-color-scheme: light"),value:"light"},{title:Le(Ie.emulateCss,{PH1:"prefers-color-scheme: dark"}),text:o.i18n.lockedLazyString("prefers-color-scheme: dark"),value:"dark"}],tags:[Le(Ie.query)],title:Le(Ie.emulateCssMediaFeature,{PH1:"prefers-color-scheme"})}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"emulated-css-media-feature-forced-colors",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCss,{PH1:"forced-colors"}),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCss,{PH1:"forced-colors: active"}),text:o.i18n.lockedLazyString("forced-colors: active"),value:"active"},{title:Le(Ie.emulateCss,{PH1:"forced-colors: none"}),text:o.i18n.lockedLazyString("forced-colors: none"),value:"none"}],tags:[Le(Ie.query)],title:Le(Ie.emulateCssMediaFeature,{PH1:"forced-colors"})}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"emulated-css-media-feature-prefers-reduced-motion",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCss,{PH1:"prefers-reduced-motion"}),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCss,{PH1:"prefers-reduced-motion: reduce"}),text:o.i18n.lockedLazyString("prefers-reduced-motion: reduce"),value:"reduce"}],tags:[Le(Ie.query)],title:Le(Ie.emulateCssMediaFeature,{PH1:"prefers-reduced-motion"})}),e.Settings.registerSettingExtension({settingName:"emulated-css-media-feature-prefers-contrast",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCss,{PH1:"prefers-contrast"}),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCss,{PH1:"prefers-contrast: more"}),text:o.i18n.lockedLazyString("prefers-contrast: more"),value:"more"},{title:Le(Ie.emulateCss,{PH1:"prefers-contrast: less"}),text:o.i18n.lockedLazyString("prefers-contrast: less"),value:"less"},{title:Le(Ie.emulateCss,{PH1:"prefers-contrast: custom"}),text:o.i18n.lockedLazyString("prefers-contrast: custom"),value:"custom"}],tags:[Le(Ie.query)],title:Le(Ie.emulateCssMediaFeature,{PH1:"prefers-contrast"})}),e.Settings.registerSettingExtension({settingName:"emulated-css-media-feature-prefers-reduced-data",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCss,{PH1:"prefers-reduced-data"}),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCss,{PH1:"prefers-reduced-data: reduce"}),text:o.i18n.lockedLazyString("prefers-reduced-data: reduce"),value:"reduce"}],title:Le(Ie.emulateCssMediaFeature,{PH1:"prefers-reduced-data"})}),e.Settings.registerSettingExtension({settingName:"emulated-css-media-feature-prefers-reduced-transparency",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCss,{PH1:"prefers-reduced-transparency"}),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCss,{PH1:"prefers-reduced-transparency: reduce"}),text:o.i18n.lockedLazyString("prefers-reduced-transparency: reduce"),value:"reduce"}],title:Le(Ie.emulateCssMediaFeature,{PH1:"prefers-reduced-transparency"})}),e.Settings.registerSettingExtension({settingName:"emulated-css-media-feature-color-gamut",settingType:"enum",storageType:"Session",defaultValue:"",options:[{title:Le(Ie.doNotEmulateCss,{PH1:"color-gamut"}),text:Le(Ie.noEmulation),value:""},{title:Le(Ie.emulateCss,{PH1:"color-gamut: srgb"}),text:o.i18n.lockedLazyString("color-gamut: srgb"),value:"srgb"},{title:Le(Ie.emulateCss,{PH1:"color-gamut: p3"}),text:o.i18n.lockedLazyString("color-gamut: p3"),value:"p3"},{title:Le(Ie.emulateCss,{PH1:"color-gamut: rec2020"}),text:o.i18n.lockedLazyString("color-gamut: rec2020"),value:"rec2020"}],title:Le(Ie.emulateCssMediaFeature,{PH1:"color-gamut"})}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"emulated-vision-deficiency",settingType:"enum",storageType:"Session",defaultValue:"none",options:[{title:Le(Ie.doNotEmulateAnyVisionDeficiency),text:Le(Ie.noEmulation),value:"none"},{title:Le(Ie.emulateBlurredVision),text:Le(Ie.blurredVision),value:"blurredVision"},{title:Le(Ie.emulateReducedContrast),text:Le(Ie.reducedContrast),value:"reducedContrast"},{title:Le(Ie.emulateProtanopia),text:Le(Ie.protanopia),value:"protanopia"},{title:Le(Ie.emulateDeuteranopia),text:Le(Ie.deuteranopia),value:"deuteranopia"},{title:Le(Ie.emulateTritanopia),text:Le(Ie.tritanopia),value:"tritanopia"},{title:Le(Ie.emulateAchromatopsia),text:Le(Ie.achromatopsia),value:"achromatopsia"}],tags:[Le(Ie.query)],title:Le(Ie.emulateVisionDeficiencies)}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"local-fonts-disabled",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.disableLocalFonts)},{value:!1,title:Le(Ie.enableLocalFonts)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"avif-format-disabled",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.disableAvifFormat)},{value:!1,title:Le(Ie.enableAvifFormat)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"RENDERING",settingName:"webp-format-disabled",settingType:"boolean",storageType:"Session",options:[{value:!0,title:Le(Ie.disableWebpFormat)},{value:!1,title:Le(Ie.enableWebpFormat)}],defaultValue:!1}),e.Settings.registerSettingExtension({category:"CONSOLE",title:Le(Ie.customFormatters),settingName:"custom-formatters",settingType:"boolean",defaultValue:!1}),e.Settings.registerSettingExtension({category:"NETWORK",title:Le(Ie.networkRequestBlocking),settingName:"request-blocking-enabled",settingType:"boolean",storageType:"Session",defaultValue:!1,options:[{value:!0,title:Le(Ie.enableNetworkRequestBlocking)},{value:!1,title:Le(Ie.disableNetworkRequestBlocking)}]}),e.Settings.registerSettingExtension({category:"NETWORK",title:Le(Ie.disableCache),settingName:"cache-disabled",settingType:"boolean",order:0,defaultValue:!1,userActionCondition:"hasOtherClients",options:[{value:!0,title:Le(Ie.disableCache)},{value:!1,title:Le(Ie.enableCache)}]}),e.Settings.registerSettingExtension({category:"RENDERING",title:Le(Ie.emulateAutoDarkMode),settingName:"emulate-auto-dark-mode",settingType:"boolean",storageType:"Session",defaultValue:!1}),e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:Le(Ie.enableRemoteFileLoading),settingName:"network.enable-remote-file-loading",settingType:"boolean",defaultValue:!1});const Me={defaultIndentation:"Default indentation:",setIndentationToSpaces:"Set indentation to 2 spaces",Spaces:"2 spaces",setIndentationToFSpaces:"Set indentation to 4 spaces",fSpaces:"4 spaces",setIndentationToESpaces:"Set indentation to 8 spaces",eSpaces:"8 spaces",setIndentationToTabCharacter:"Set indentation to tab character",tabCharacter:"Tab character"},Oe=o.i18n.registerUIStrings("ui/legacy/components/source_frame/source_frame-meta.ts",Me),Fe=o.i18n.getLazilyComputedLocalizedString.bind(void 0,Oe);let Ue,Ge;e.Settings.registerSettingExtension({category:"SOURCES",storageType:"Synced",title:Fe(Me.defaultIndentation),settingName:"text-editor-indent",settingType:"enum",defaultValue:" ",options:[{title:Fe(Me.setIndentationToSpaces),text:Fe(Me.Spaces),value:" "},{title:Fe(Me.setIndentationToFSpaces),text:Fe(Me.fSpaces),value:" "},{title:Fe(Me.setIndentationToESpaces),text:Fe(Me.eSpaces),value:" "},{title:Fe(Me.setIndentationToTabCharacter),text:Fe(Me.tabCharacter),value:"\t"}]}),l.Toolbar.registerToolbarItem({loadItem:async()=>(await async function(){return Ue||(Ue=await import("../../panels/console_counters/console_counters.js")),Ue}()).WarningErrorCounter.WarningErrorCounter.instance(),order:1,location:"main-toolbar-right"}),l.UIUtils.registerRenderer({contextTypes:()=>[i.RemoteObject.RemoteObject],loadRenderer:async()=>(await async function(){return Ge||(Ge=await import("../../ui/legacy/components/object_ui/object_ui.js")),Ge}()).ObjectPropertiesSection.Renderer.instance()});const Be={explainThisError:"Understand this error",explainThisWarning:"Understand this warning",explainThisMessage:"Understand this message",enableConsoleInsights:"Understand console messages with AI",wrongLocale:"To use this feature, update your Language preference in DevTools Settings to English",ageRestricted:"This feature is only available to users who are 18 years of age or older",geoRestricted:"This feature is unavailable in your region",policyRestricted:"Your organization turned off this feature. Contact your administrators for more information."},He=o.i18n.registerUIStrings("panels/explain/explain-meta.ts",Be),We=o.i18n.getLazilyComputedLocalizedString.bind(void 0,He),ze=o.i18n.getLocalizedString.bind(void 0,He),je="console-insights-enabled",qe=[{actionId:"explain.console-message.hover",title:We(Be.explainThisMessage),contextTypes:()=>[u.ConsoleViewMessage.ConsoleViewMessage]},{actionId:"explain.console-message.context.error",title:We(Be.explainThisError),contextTypes:()=>[]},{actionId:"explain.console-message.context.warning",title:We(Be.explainThisWarning),contextTypes:()=>[]},{actionId:"explain.console-message.context.other",title:We(Be.explainThisMessage),contextTypes:()=>[]}];function _e(){return!o.DevToolsLocale.DevToolsLocale.instance().locale.startsWith("en-")}function Je(e){return!0===e?.aidaAvailability?.blockedByAge}function Ye(e){return!0===e?.aidaAvailability?.blockedByGeo}function Qe(e){return!0===e?.aidaAvailability?.blockedByEnterprisePolicy}function Ke(e){return!0===(e?.aidaAvailability?.enabled&&e?.devToolsConsoleInsights?.enabled)}e.Settings.registerSettingExtension({category:"CONSOLE",settingName:je,settingType:"boolean",title:We(Be.enableConsoleInsights),defaultValue:!0,reloadRequired:!0,condition:e=>Ke(e),disabledCondition:e=>_e()?{disabled:!0,reason:ze(Be.wrongLocale)}:Je(e)?{disabled:!0,reason:ze(Be.ageRestricted)}:Ye(e)?{disabled:!0,reason:ze(Be.geoRestricted)}:Qe(e)?{disabled:!0,reason:ze(Be.policyRestricted)}:{disabled:!1}});for(const e of qe)l.ActionRegistration.registerActionExtension({...e,setting:je,category:"CONSOLE",loadActionDelegate:async()=>new((await import("../../panels/explain/explain.js")).ActionDelegate),condition:e=>Ke(e)&&!Je(e)&&!Ye(e)&&!_e()&&!Qe(e)});const Ze="Ask AI assistant",Xe=o.i18n.lockedLazyString,$e=o.i18n.lockedString,et="freestyler-enabled";let tt;async function ot(){return tt||(tt=await import("../../panels/freestyler/freestyler.js")),tt}function it(e){return!0===(e?.aidaAvailability?.enabled&&e?.devToolsFreestylerDogfood?.enabled)}l.ViewManager.registerViewExtension({location:"drawer-view",id:"freestyler",commandPrompt:Xe("Show AI assistant"),title:Xe("AI assistant"),order:10,persistence:"closeable",hasToolbar:!1,condition:t=>it(t)&&e.Settings.Settings.instance().moduleSetting(et).get(),loadView:async()=>(await ot()).FreestylerPanel.instance()}),e.Settings.registerSettingExtension({category:"GLOBAL",settingName:et,settingType:"boolean",title:Xe("Enable Freestyler"),defaultValue:it,reloadRequired:!0,condition:it,disabledCondition:e=>o.DevToolsLocale.DevToolsLocale.instance().locale.startsWith("en-")?function(e){return!0===e?.aidaAvailability?.blockedByAge}(e)?{disabled:!0,reason:$e("This feature is only available to users who are 18 years of age or older")}:function(e){return!0===e?.aidaAvailability?.blockedByGeo}(e)?{disabled:!0,reason:$e("This feature is unavailable in your region")}:function(e){return!0===e?.aidaAvailability?.blockedByEnterprisePolicy}(e)?{disabled:!0,reason:$e("Your organization turned off this feature. Contact your administrators for more information")}:{disabled:!1}:{disabled:!0,reason:$e("To use this feature, update your Language preference in DevTools Settings to English")}}),l.ActionRegistration.registerActionExtension({actionId:"freestyler.element-panel-context",contextTypes:()=>[],setting:et,category:"GLOBAL",title:Xe(Ze),loadActionDelegate:async()=>new((await ot()).ActionDelegate),condition:it}),l.ActionRegistration.registerActionExtension({actionId:"freestyler.style-tab-context",contextTypes:()=>[],setting:et,category:"GLOBAL",title:Xe(Ze),iconClass:"spark",loadActionDelegate:async()=>new((await ot()).ActionDelegate),condition:it});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as s from"./wasmparser_worker.js";self.onmessage=e=>{"disassemble"===e.data.method&&self.postMessage(s.WasmParserWorker.dissambleWASM(e.data.params,(s=>{self.postMessage(s)})))},self.postMessage("workerReady");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"../../core/common/common.js";import*as s from"../../third_party/wasmparser/wasmparser.js";var t=Object.freeze({__proto__:null,dissambleWASM:function(t,o){try{const r=e.Base64.decode(t.content);let n=new s.WasmParser.BinaryReader;n.setData(r,0,r.byteLength);const a=new s.WasmDis.DevToolsNameGenerator;a.read(n);const f=new Uint8Array(r);n=new s.WasmParser.BinaryReader;const i=new s.WasmDis.WasmDisassembler;i.addOffsets=!0,i.exportMetadata=a.getExportMetadata(),i.nameResolver=a.getNameResolver();const m=[],c=[],l=[];let p=131072,d=new Uint8Array(p),h=0,g=0;for(let e=0;e<f.length;){p>f.length-e&&(p=f.length-e);const s=h+p;if(d.byteLength<s){const e=new Uint8Array(s);e.set(d),d=e}for(;h<s;)d[h++]=f[e++];n.setData(d.buffer,0,s,e===f.length);const t=i.disassembleChunk(n,g),r=i.getResult();for(const e of r.lines)m.push(e);for(const e of r.offsets)c.push(e);for(const e of r.functionBodyOffsets)l.push(e);if(t)break;if(0===n.position){h=s;continue}const a=n.data.subarray(n.position,n.length);h=a.length,d.set(a),g+=n.position;o({event:"progress",params:{percentage:Math.floor(g/f.length*100)}})}o({event:"progress",params:{percentage:100}}),o({method:"disassemble",result:{lines:m,offsets:c,functionBodyOffsets:l}})}catch(e){o({method:"disassemble",error:e})}}});export{t as WasmParserWorker};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
* Copyright 2018 The Chromium Authors. All rights reserved.
|
|
3
|
+
* Use of this source code is governed by a BSD-style license that can be
|
|
4
|
+
* found in the LICENSE file.
|
|
5
|
+
--><!DOCTYPE html><html lang="en"><head><meta charset="utf-8">
|
|
6
|
+
<title>DevTools</title>
|
|
7
|
+
<style>
|
|
8
|
+
@media (prefers-color-scheme: dark) {
|
|
9
|
+
body {
|
|
10
|
+
background-color: rgb(41 42 45);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
</style>
|
|
14
|
+
<meta http-equiv="Content-Security-Policy" content="object-src 'none'; script-src 'self' https://chrome-devtools-frontend.appspot.com">
|
|
15
|
+
<meta name="referrer" content="no-referrer">
|
|
16
|
+
<script type="module" src="entrypoints/inspector/inspector.js"></script>
|
|
17
|
+
</head><body class="undocked" id="-blink-dev-tools">
|
|
18
|
+
</body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"../../core/common/common.js";import*as s from"../../core/host/host.js";import*as t from"../../core/platform/platform.js";import*as l from"../../core/root/root.js";import*as i from"../../core/sdk/sdk.js";import*as o from"../../ui/legacy/legacy.js";let a;class d extends e.ObjectWrapper.ObjectWrapper{#e;#s="";#t=[];#l=[];#i=null;constructor(){super(),i.TargetManager.TargetManager.instance().addModelListener(i.AutofillModel.AutofillModel,"AddressFormFilled",this.#o,this,{scoped:!0}),this.#e=e.Settings.Settings.instance().createSetting("auto-open-autofill-view-on-event",!0)}static instance(e={forceNew:null}){const{forceNew:s}=e;return a&&!s||(a=new d),a}onShowAutofillTestAddressesSettingsChanged(){for(const e of i.TargetManager.TargetManager.instance().models(i.AutofillModel.AutofillModel))e.setTestAddresses()}async#o({data:e}){l.Runtime.experiments.isEnabled("autofill-view")&&this.#e.get()?(await o.ViewManager.ViewManager.instance().showView("autofill-view"),s.userMetrics.actionTaken(s.UserMetrics.Action.AutofillReceivedAndTabAutoOpened)):s.userMetrics.actionTaken(s.UserMetrics.Action.AutofillReceived),this.#i=e.autofillModel,this.#a(e.event),this.#s&&this.dispatchEventToListeners("AddressFormFilled",{address:this.#s,filledFields:this.#t,matches:this.#l,autofillModel:this.#i})}getLastFilledAddressForm(){return this.#s&&this.#i?{address:this.#s,filledFields:this.#t,matches:this.#l,autofillModel:this.#i}:null}#a({addressUi:e,filledFields:s}){this.#s=e.addressFields.map((e=>(e=>e.fields.filter((e=>e.value.length)).map((e=>e.value)).join(" "))(e))).filter((e=>e.length)).join("\n"),this.#t=s,this.#l=[];for(let e=0;e<this.#t.length;e++){if(""===this.#t[e].value)continue;const s=t.StringUtilities.escapeForRegExp(this.#t[e].value.replaceAll(/\s/g," ")).replaceAll(/([.,]+)\s/g,"$1? "),l=this.#s.replaceAll(/\s/g," ").matchAll(new RegExp(s,"g"));for(const s of l)void 0!==s.index&&this.#l.push({startIndex:s.index,endIndex:s.index+s[0].length,filledFieldIndex:e})}}}var r=Object.freeze({__proto__:null,AutofillManager:d});export{r as AutofillManager};
|