@qilin-agent/experimental-inspector 0.0.0-stage → 3.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +49 -0
- package/README.md +179 -2
- package/README.zh.md +180 -0
- package/icon.svg +23 -0
- package/lib/client.js +3572 -0
- package/lib/client.page.js +314 -0
- package/lib/devtools/Images/3d-center.svg +3 -0
- package/lib/devtools/Images/3d-pan.svg +3 -0
- package/lib/devtools/Images/3d-rotate.svg +3 -0
- package/lib/devtools/Images/accelerometer-back.svg +69 -0
- package/lib/devtools/Images/accelerometer-bottom.png +0 -0
- package/lib/devtools/Images/accelerometer-front.svg +28 -0
- package/lib/devtools/Images/accelerometer-left.png +0 -0
- package/lib/devtools/Images/accelerometer-right.png +0 -0
- package/lib/devtools/Images/accelerometer-top.png +0 -0
- package/lib/devtools/Images/account-tree.svg +10 -0
- package/lib/devtools/Images/add-photo.svg +3 -0
- package/lib/devtools/Images/ai-explorer-badge.svg +114 -0
- package/lib/devtools/Images/align-content-center.svg +5 -0
- package/lib/devtools/Images/align-content-end.svg +5 -0
- package/lib/devtools/Images/align-content-space-around.svg +6 -0
- package/lib/devtools/Images/align-content-space-between.svg +4 -0
- package/lib/devtools/Images/align-content-space-evenly.svg +6 -0
- package/lib/devtools/Images/align-content-start.svg +5 -0
- package/lib/devtools/Images/align-content-stretch.svg +4 -0
- package/lib/devtools/Images/align-items-baseline.svg +4 -0
- package/lib/devtools/Images/align-items-center.svg +5 -0
- package/lib/devtools/Images/align-items-end.svg +5 -0
- package/lib/devtools/Images/align-items-start.svg +5 -0
- package/lib/devtools/Images/align-items-stretch.svg +6 -0
- package/lib/devtools/Images/align-self-center.svg +3 -0
- package/lib/devtools/Images/align-self-end.svg +4 -0
- package/lib/devtools/Images/align-self-start.svg +4 -0
- package/lib/devtools/Images/align-self-stretch.svg +5 -0
- package/lib/devtools/Images/animation.svg +3 -0
- package/lib/devtools/Images/arrow-back.svg +4 -0
- package/lib/devtools/Images/arrow-collapse.svg +3 -0
- package/lib/devtools/Images/arrow-down.svg +10 -0
- package/lib/devtools/Images/arrow-drop-down-dark.svg +3 -0
- package/lib/devtools/Images/arrow-drop-down-light.svg +3 -0
- package/lib/devtools/Images/arrow-drop-down.svg +3 -0
- package/lib/devtools/Images/arrow-forward.svg +4 -0
- package/lib/devtools/Images/arrow-right-circle.svg +3 -0
- package/lib/devtools/Images/arrow-up-down-circle.svg +3 -0
- package/lib/devtools/Images/arrow-up-down.svg +3 -0
- package/lib/devtools/Images/arrow-up.svg +10 -0
- package/lib/devtools/Images/attach-file.svg +3 -0
- package/lib/devtools/Images/baseline-high-availability.svg +17 -0
- package/lib/devtools/Images/baseline-limited-availability.svg +19 -0
- package/lib/devtools/Images/baseline-low-availability.svg +31 -0
- package/lib/devtools/Images/bell.svg +3 -0
- package/lib/devtools/Images/bezier-curve-filled.svg +3 -0
- package/lib/devtools/Images/bin.svg +1 -0
- package/lib/devtools/Images/bottom-panel-close.svg +1 -0
- package/lib/devtools/Images/bottom-panel-open.svg +1 -0
- package/lib/devtools/Images/brackets.svg +1 -0
- package/lib/devtools/Images/breakpoint-circle.svg +4 -0
- package/lib/devtools/Images/breakpoint-crossed-filled.svg +1 -0
- package/lib/devtools/Images/breakpoint-crossed.svg +1 -0
- package/lib/devtools/Images/brush-2.svg +3 -0
- package/lib/devtools/Images/brush-filled.svg +1 -0
- package/lib/devtools/Images/brush.svg +1 -0
- package/lib/devtools/Images/bucket.svg +4 -0
- package/lib/devtools/Images/bug.svg +3 -0
- package/lib/devtools/Images/button-magic.svg +3 -0
- package/lib/devtools/Images/calendar-today.svg +3 -0
- package/lib/devtools/Images/center-focus-weak.svg +3 -0
- package/lib/devtools/Images/check-circle.svg +3 -0
- package/lib/devtools/Images/check-double.svg +3 -0
- package/lib/devtools/Images/checker.svg +12 -0
- package/lib/devtools/Images/checkmark.svg +1 -0
- package/lib/devtools/Images/chevron-double-right.svg +3 -0
- package/lib/devtools/Images/chevron-down.svg +3 -0
- package/lib/devtools/Images/chevron-left-dot.svg +4 -0
- package/lib/devtools/Images/chevron-left.svg +3 -0
- package/lib/devtools/Images/chevron-right.svg +3 -0
- package/lib/devtools/Images/chevron-up.svg +3 -0
- package/lib/devtools/Images/chromeLeft.avif +0 -0
- package/lib/devtools/Images/chromeMiddle.avif +0 -0
- package/lib/devtools/Images/chromeRight.avif +0 -0
- package/lib/devtools/Images/class.svg +6 -0
- package/lib/devtools/Images/clear-list.svg +3 -0
- package/lib/devtools/Images/clear.svg +3 -0
- package/lib/devtools/Images/cloud.svg +3 -0
- package/lib/devtools/Images/code-circle.svg +5 -0
- package/lib/devtools/Images/code-whisperer-badge.svg +166 -0
- package/lib/devtools/Images/code.svg +3 -0
- package/lib/devtools/Images/colon.svg +4 -0
- package/lib/devtools/Images/color-picker-filled.svg +3 -0
- package/lib/devtools/Images/color-picker.svg +3 -0
- package/lib/devtools/Images/compress.svg +8 -0
- package/lib/devtools/Images/console-conditional-breakpoint.svg +1 -0
- package/lib/devtools/Images/console-logpoint.svg +1 -0
- package/lib/devtools/Images/container.svg +4 -0
- package/lib/devtools/Images/cookie.svg +3 -0
- package/lib/devtools/Images/cookie_off.svg +3 -0
- package/lib/devtools/Images/copy.svg +3 -0
- package/lib/devtools/Images/corporate-fare.svg +3 -0
- package/lib/devtools/Images/credit-card.svg +3 -0
- package/lib/devtools/Images/cross-circle-filled.svg +3 -0
- package/lib/devtools/Images/cross-circle.svg +3 -0
- package/lib/devtools/Images/cross.svg +3 -0
- package/lib/devtools/Images/cssoverview_icons_2x.avif +0 -0
- package/lib/devtools/Images/database-off.svg +1 -0
- package/lib/devtools/Images/database.svg +3 -0
- package/lib/devtools/Images/deployed.svg +3 -0
- package/lib/devtools/Images/device-fold.svg +1 -0
- package/lib/devtools/Images/devices.svg +3 -0
- package/lib/devtools/Images/devtools-thumbnail.svg +57 -0
- package/lib/devtools/Images/devtools-tips.svg +61 -0
- package/lib/devtools/Images/devtools-user-badge.svg +129 -0
- package/lib/devtools/Images/devtools.svg +13 -0
- package/lib/devtools/Images/difference.svg +3 -0
- package/lib/devtools/Images/dock-bottom.svg +3 -0
- package/lib/devtools/Images/dock-left.svg +3 -0
- package/lib/devtools/Images/dock-right.svg +3 -0
- package/lib/devtools/Images/dock-window.svg +3 -0
- package/lib/devtools/Images/document.svg +3 -0
- package/lib/devtools/Images/dog-paw.svg +10 -0
- package/lib/devtools/Images/dom-detective-badge.svg +136 -0
- package/lib/devtools/Images/domain.svg +3 -0
- package/lib/devtools/Images/dots-horizontal.svg +1 -0
- package/lib/devtools/Images/dots-vertical.svg +3 -0
- package/lib/devtools/Images/download.svg +3 -0
- package/lib/devtools/Images/edit.svg +1 -0
- package/lib/devtools/Images/empty.svg +2 -0
- package/lib/devtools/Images/errorWave.svg +74 -0
- package/lib/devtools/Images/exclamation.svg +3 -0
- package/lib/devtools/Images/expand.svg +1 -0
- package/lib/devtools/Images/experiment-check.svg +1 -0
- package/lib/devtools/Images/experiment.svg +3 -0
- package/lib/devtools/Images/extension.svg +1 -0
- package/lib/devtools/Images/eye-crossed.svg +3 -0
- package/lib/devtools/Images/eye.svg +3 -0
- package/lib/devtools/Images/file-document.svg +3 -0
- package/lib/devtools/Images/file-fetch-xhr.svg +3 -0
- package/lib/devtools/Images/file-font.svg +4 -0
- package/lib/devtools/Images/file-generic.svg +3 -0
- package/lib/devtools/Images/file-image.svg +3 -0
- package/lib/devtools/Images/file-json.svg +4 -0
- package/lib/devtools/Images/file-manifest.svg +3 -0
- package/lib/devtools/Images/file-media.svg +3 -0
- package/lib/devtools/Images/file-script.svg +3 -0
- package/lib/devtools/Images/file-snippet.svg +4 -0
- package/lib/devtools/Images/file-stylesheet.svg +4 -0
- package/lib/devtools/Images/file-wasm.svg +5 -0
- package/lib/devtools/Images/file-websocket.svg +3 -0
- package/lib/devtools/Images/filter-clear.svg +3 -0
- package/lib/devtools/Images/filter-filled.svg +3 -0
- package/lib/devtools/Images/filter.svg +3 -0
- package/lib/devtools/Images/flex-direction.svg +5 -0
- package/lib/devtools/Images/flex-no-wrap.svg +5 -0
- package/lib/devtools/Images/flex-wrap.svg +8 -0
- package/lib/devtools/Images/flow.svg +3 -0
- package/lib/devtools/Images/flowsheet.svg +1 -0
- package/lib/devtools/Images/fold-more.svg +3 -0
- package/lib/devtools/Images/folder-asterisk.svg +10 -0
- package/lib/devtools/Images/folder-off.svg +3 -0
- package/lib/devtools/Images/folder.svg +3 -0
- package/lib/devtools/Images/frame-crossed.svg +3 -0
- package/lib/devtools/Images/frame-icon.svg +54 -0
- package/lib/devtools/Images/frame.svg +3 -0
- package/lib/devtools/Images/gdp-logo-dark.png +0 -0
- package/lib/devtools/Images/gdp-logo-light.png +0 -0
- package/lib/devtools/Images/gear-filled.svg +3 -0
- package/lib/devtools/Images/gear.svg +4 -0
- package/lib/devtools/Images/gears.svg +3 -0
- package/lib/devtools/Images/geminiInDevTools.png +0 -0
- package/lib/devtools/Images/geminiInDevTools_2x.png +0 -0
- package/lib/devtools/Images/global.svg +5 -0
- package/lib/devtools/Images/google.svg +3 -0
- package/lib/devtools/Images/goto-filled.svg +1 -0
- package/lib/devtools/Images/grid-direction.svg +6 -0
- package/lib/devtools/Images/grid-on.svg +10 -0
- package/lib/devtools/Images/group.svg +3 -0
- package/lib/devtools/Images/heap-snapshot.svg +6 -0
- package/lib/devtools/Images/heap-snapshots.svg +7 -0
- package/lib/devtools/Images/help.svg +3 -0
- package/lib/devtools/Images/history.svg +3 -0
- package/lib/devtools/Images/home.svg +3 -0
- package/lib/devtools/Images/hover.svg +6 -0
- package/lib/devtools/Images/iframe-crossed.svg +3 -0
- package/lib/devtools/Images/iframe.svg +3 -0
- package/lib/devtools/Images/import.svg +3 -0
- package/lib/devtools/Images/indeterminate-question-box.svg +3 -0
- package/lib/devtools/Images/info-filled.svg +3 -0
- package/lib/devtools/Images/info.svg +3 -0
- package/lib/devtools/Images/issue-cross-filled.svg +3 -0
- package/lib/devtools/Images/issue-exclamation-filled.svg +3 -0
- package/lib/devtools/Images/issue-questionmark-filled.svg +3 -0
- package/lib/devtools/Images/issue-text-filled.svg +3 -0
- package/lib/devtools/Images/justify-content-center.svg +5 -0
- package/lib/devtools/Images/justify-content-end.svg +5 -0
- package/lib/devtools/Images/justify-content-space-around.svg +6 -0
- package/lib/devtools/Images/justify-content-space-between.svg +4 -0
- package/lib/devtools/Images/justify-content-space-evenly.svg +6 -0
- package/lib/devtools/Images/justify-content-start.svg +5 -0
- package/lib/devtools/Images/justify-content-stretch.svg +4 -0
- package/lib/devtools/Images/justify-items-center.svg +4 -0
- package/lib/devtools/Images/justify-items-end.svg +4 -0
- package/lib/devtools/Images/justify-items-start.svg +4 -0
- package/lib/devtools/Images/justify-items-stretch.svg +4 -0
- package/lib/devtools/Images/keyboard-arrow-right.svg +1 -0
- package/lib/devtools/Images/keyboard-full.svg +10 -0
- package/lib/devtools/Images/keyboard-pen.svg +1 -0
- package/lib/devtools/Images/keyboard.svg +3 -0
- package/lib/devtools/Images/label-auto.svg +3 -0
- package/lib/devtools/Images/label.svg +10 -0
- package/lib/devtools/Images/large-arrow-right-filled.svg +1 -0
- package/lib/devtools/Images/layers-filled.svg +1 -0
- package/lib/devtools/Images/layers.svg +1 -0
- package/lib/devtools/Images/left-panel-close.svg +1 -0
- package/lib/devtools/Images/left-panel-open.svg +1 -0
- package/lib/devtools/Images/lightbulb-spark.svg +13 -0
- package/lib/devtools/Images/lightbulb.svg +3 -0
- package/lib/devtools/Images/lighthouse_logo.svg +158 -0
- package/lib/devtools/Images/list.svg +3 -0
- package/lib/devtools/Images/location-on.svg +3 -0
- package/lib/devtools/Images/lock-person.svg +1 -0
- package/lib/devtools/Images/lock.svg +3 -0
- package/lib/devtools/Images/mark-email-unread.svg +3 -0
- package/lib/devtools/Images/match-case.svg +3 -0
- package/lib/devtools/Images/match-whole-word.svg +1 -0
- package/lib/devtools/Images/memory.svg +6 -0
- package/lib/devtools/Images/minus.svg +3 -0
- package/lib/devtools/Images/mop.svg +1 -0
- package/lib/devtools/Images/mouse.svg +4 -0
- package/lib/devtools/Images/navigationControls.png +0 -0
- package/lib/devtools/Images/navigationControls_2x.png +0 -0
- package/lib/devtools/Images/network-settings.svg +3 -0
- package/lib/devtools/Images/node-stack-icon.svg +1 -0
- package/lib/devtools/Images/nodeIcon.avif +0 -0
- package/lib/devtools/Images/open-externally.svg +3 -0
- package/lib/devtools/Images/override.svg +11 -0
- package/lib/devtools/Images/palette.svg +10 -0
- package/lib/devtools/Images/pause-circle.svg +1 -0
- package/lib/devtools/Images/pause.svg +1 -0
- package/lib/devtools/Images/pen-spark.svg +3 -0
- package/lib/devtools/Images/performance-panel-delete-annotation.svg +32 -0
- package/lib/devtools/Images/performance-panel-diagram.svg +34 -0
- package/lib/devtools/Images/performance-panel-entry-label.svg +75 -0
- package/lib/devtools/Images/performance-panel-time-range.svg +15 -0
- package/lib/devtools/Images/performance.svg +3 -0
- package/lib/devtools/Images/person.svg +3 -0
- package/lib/devtools/Images/photo-camera.svg +10 -0
- package/lib/devtools/Images/play.svg +3 -0
- package/lib/devtools/Images/plus.svg +3 -0
- package/lib/devtools/Images/policy.svg +3 -0
- package/lib/devtools/Images/popoverArrows.png +0 -0
- package/lib/devtools/Images/popup.svg +3 -0
- package/lib/devtools/Images/preview_feature_video_thumbnail.svg +92 -0
- package/lib/devtools/Images/profile.svg +3 -0
- package/lib/devtools/Images/psychiatry.svg +3 -0
- package/lib/devtools/Images/puzzle.svg +3 -0
- package/lib/devtools/Images/record-start.svg +4 -0
- package/lib/devtools/Images/record-stop.svg +4 -0
- package/lib/devtools/Images/redo.svg +3 -0
- package/lib/devtools/Images/refresh.svg +10 -0
- package/lib/devtools/Images/regular-expression.svg +3 -0
- package/lib/devtools/Images/replace.svg +1 -0
- package/lib/devtools/Images/replay.svg +3 -0
- package/lib/devtools/Images/report.svg +1 -0
- package/lib/devtools/Images/resizeDiagonal.svg +1 -0
- package/lib/devtools/Images/resizeHorizontal.svg +1 -0
- package/lib/devtools/Images/resizeVertical.svg +1 -0
- package/lib/devtools/Images/resume.svg +1 -0
- package/lib/devtools/Images/revert.svg +3 -0
- package/lib/devtools/Images/review.svg +5 -0
- package/lib/devtools/Images/right-panel-close.svg +1 -0
- package/lib/devtools/Images/right-panel-open.svg +1 -0
- package/lib/devtools/Images/scissors.svg +3 -0
- package/lib/devtools/Images/screen-rotation.svg +1 -0
- package/lib/devtools/Images/search.svg +3 -0
- package/lib/devtools/Images/select-element.svg +3 -0
- package/lib/devtools/Images/send.svg +3 -0
- package/lib/devtools/Images/shadow.svg +3 -0
- package/lib/devtools/Images/shield.svg +3 -0
- package/lib/devtools/Images/small-status-dot.svg +3 -0
- package/lib/devtools/Images/smart-assistant.svg +3 -0
- package/lib/devtools/Images/snippet.svg +4 -0
- package/lib/devtools/Images/spark-info.svg +3 -0
- package/lib/devtools/Images/spark.svg +3 -0
- package/lib/devtools/Images/speculative-loads.svg +1 -0
- package/lib/devtools/Images/speedster-badge.svg +166 -0
- package/lib/devtools/Images/star.svg +3 -0
- package/lib/devtools/Images/step-into.svg +1 -0
- package/lib/devtools/Images/step-out.svg +1 -0
- package/lib/devtools/Images/step-over.svg +1 -0
- package/lib/devtools/Images/step.svg +1 -0
- package/lib/devtools/Images/stop.svg +3 -0
- package/lib/devtools/Images/symbol.svg +3 -0
- package/lib/devtools/Images/sync.svg +3 -0
- package/lib/devtools/Images/tab-move.svg +1 -0
- package/lib/devtools/Images/table.svg +3 -0
- package/lib/devtools/Images/terminal.svg +10 -0
- package/lib/devtools/Images/text-analysis.svg +3 -0
- package/lib/devtools/Images/thumb-down-filled.svg +3 -0
- package/lib/devtools/Images/thumb-down.svg +3 -0
- package/lib/devtools/Images/thumb-up-filled.svg +3 -0
- package/lib/devtools/Images/thumb-up.svg +3 -0
- package/lib/devtools/Images/tonality.svg +10 -0
- package/lib/devtools/Images/toolbarResizerVertical.png +0 -0
- package/lib/devtools/Images/top-panel-close.svg +1 -0
- package/lib/devtools/Images/top-panel-open.svg +1 -0
- package/lib/devtools/Images/touch-app.svg +4 -0
- package/lib/devtools/Images/touchCursor.png +0 -0
- package/lib/devtools/Images/touchCursor_2x.png +0 -0
- package/lib/devtools/Images/triangle-bottom-right.svg +3 -0
- package/lib/devtools/Images/triangle-down.svg +1 -0
- package/lib/devtools/Images/triangle-left.svg +1 -0
- package/lib/devtools/Images/triangle-right.svg +1 -0
- package/lib/devtools/Images/triangle-up.svg +3 -0
- package/lib/devtools/Images/trophy.svg +3 -0
- package/lib/devtools/Images/tune.svg +3 -0
- package/lib/devtools/Images/undo.svg +1 -0
- package/lib/devtools/Images/warning-filled.svg +3 -0
- package/lib/devtools/Images/warning.svg +3 -0
- package/lib/devtools/Images/watch.svg +3 -0
- package/lib/devtools/Images/whatsnew.svg +61 -0
- package/lib/devtools/Images/width.svg +3 -0
- package/lib/devtools/Images/zoom-in.svg +3 -0
- package/lib/devtools/LICENSE +27 -0
- package/lib/devtools/application_tokens.css +413 -0
- package/lib/devtools/chunks/FormatterActions-FcPgI0uV.js +19 -0
- package/lib/devtools/chunks/UIFilter-CIzBruM3.js +18 -0
- package/lib/devtools/chunks/UIRequestLocation-CtGcVN3I.js +48 -0
- package/lib/devtools/chunks/_dsh-devtools_empty-BvRk9kiK.js +0 -0
- package/lib/devtools/chunks/accessibility-OQcgkXIB.js +2718 -0
- package/lib/devtools/chunks/acorn-_jSanihy.js +3232 -0
- package/lib/devtools/chunks/adorners-Be2VY5BN.js +45 -0
- package/lib/devtools/chunks/ai_assistance-DRe9GF9j.js +4255 -0
- package/lib/devtools/chunks/angular-Dutmu-L9.js +117 -0
- package/lib/devtools/chunks/animation-TQzd9HO4.js +922 -0
- package/lib/devtools/chunks/application-B8ko2TRt.js +12740 -0
- package/lib/devtools/chunks/autofill-D_Bi6xxt.js +198 -0
- package/lib/devtools/chunks/autofill_manager-Cw0wOndc.js +58 -0
- package/lib/devtools/chunks/bindings-B7uzkbnH.js +4105 -0
- package/lib/devtools/chunks/browser-DL1S1Kiu.js +62 -0
- package/lib/devtools/chunks/browser_debugger-6syzh5He.js +629 -0
- package/lib/devtools/chunks/changes-8Dpo591z.js +393 -0
- package/lib/devtools/chunks/changes-Hp2cPKPp.js +2 -0
- package/lib/devtools/chunks/checkbox.css-Cwxn2mfx.js +4 -0
- package/lib/devtools/chunks/chunk-DF993M8W.js +11 -0
- package/lib/devtools/chunks/code_highlighter-oWKo9plW.js +210 -0
- package/lib/devtools/chunks/codemirror-CBR9VJma.js +15842 -0
- package/lib/devtools/chunks/color_picker-CHmwJ7or.js +1566 -0
- package/lib/devtools/chunks/common-BGyPsfVb.js +2 -0
- package/lib/devtools/chunks/common-C6gzvSKg.js +15145 -0
- package/lib/devtools/chunks/common-qd_KLeYO.js +6639 -0
- package/lib/devtools/chunks/components-B5xBXfXj.js +704 -0
- package/lib/devtools/chunks/components-BkETO50Z.js +1090 -0
- package/lib/devtools/chunks/components-DlE11Hk_.js +1338 -0
- package/lib/devtools/chunks/console-DEk3riFh.js +3855 -0
- package/lib/devtools/chunks/console-OWEKC7bo.js +2 -0
- package/lib/devtools/chunks/console_counters-ClDYfPF6.js +103 -0
- package/lib/devtools/chunks/coverage-Dg9NvtX9.js +1176 -0
- package/lib/devtools/chunks/coverage-uK2NUeVj.js +2 -0
- package/lib/devtools/chunks/cpp-CdElSCaB.js +435 -0
- package/lib/devtools/chunks/css_overview-6FosuoNY.js +1288 -0
- package/lib/devtools/chunks/data_grid-6RZWyPx-.js +1671 -0
- package/lib/devtools/chunks/developer_resources-C6_2oeLF.js +240 -0
- package/lib/devtools/chunks/diff-qn55JSCS.js +444 -0
- package/lib/devtools/chunks/dom_extension-B0UaTHZj.js +172 -0
- package/lib/devtools/chunks/elements-CcvMWzGx.js +2 -0
- package/lib/devtools/chunks/elements-Xw7oHKeq.js +11407 -0
- package/lib/devtools/chunks/emulation-B7sLFSxp.js +1306 -0
- package/lib/devtools/chunks/emulation-CvVuS_p0.js +157 -0
- package/lib/devtools/chunks/emulation-DMC3TuHv.js +2 -0
- package/lib/devtools/chunks/emulation-_lA-Xb1h.js +2732 -0
- package/lib/devtools/chunks/event_listeners-CdGgpDsg.js +414 -0
- package/lib/devtools/chunks/explain-fG84ckui.js +747 -0
- package/lib/devtools/chunks/greendev-DvYwqqmc.js +152 -0
- package/lib/devtools/chunks/heap_snapshot-CZt2KUPL.js +427 -0
- package/lib/devtools/chunks/helper-DoR8dYRk.js +33 -0
- package/lib/devtools/chunks/helpers-BypUnKdS.js +29 -0
- package/lib/devtools/chunks/i18n-DUXZnMbP.js +17 -0
- package/lib/devtools/chunks/icon_button-mu37qw0h.js +83 -0
- package/lib/devtools/chunks/inline_editor-Dgctmf2_.js +1309 -0
- package/lib/devtools/chunks/inspector_main-yb83VyUs.js +279 -0
- package/lib/devtools/chunks/issue_counter-COHuTTL3.js +193 -0
- package/lib/devtools/chunks/issues-C94onoob.js +1649 -0
- package/lib/devtools/chunks/issues_manager-7hP__vf-.js +3009 -0
- package/lib/devtools/chunks/java-7g_qfFa2.js +263 -0
- package/lib/devtools/chunks/layer_viewer-BF3qEG7C.js +1423 -0
- package/lib/devtools/chunks/layers-KW9wwW__.js +370 -0
- package/lib/devtools/chunks/legacy-C0IOfyhX.js +41804 -0
- package/lib/devtools/chunks/legacy-DOCLCisy.js +1434 -0
- package/lib/devtools/chunks/less-DXiRNbd4.js +195 -0
- package/lib/devtools/chunks/lighthouse-BUitD7KK.js +2 -0
- package/lib/devtools/chunks/lighthouse-f3QbU2gw.js +3920 -0
- package/lib/devtools/chunks/linear_memory_inspector-Dhv8CzB6.js +305 -0
- package/lib/devtools/chunks/live-metrics-DTntFi2I.js +284 -0
- package/lib/devtools/chunks/main---7244L8.js +2 -0
- package/lib/devtools/chunks/main-CQ4zKr5A.js +755 -0
- package/lib/devtools/chunks/markdown-tZoR6Bsu.js +1512 -0
- package/lib/devtools/chunks/markdown_view-DN02v7_2.js +461 -0
- package/lib/devtools/chunks/marked-zGgfoDxO.js +1362 -0
- package/lib/devtools/chunks/media-BNfBOtUh.js +1337 -0
- package/lib/devtools/chunks/media-eTuT8cbS.js +2 -0
- package/lib/devtools/chunks/menus-DoacKucS.js +969 -0
- package/lib/devtools/chunks/mobile_throttling-BKeQegny.js +1052 -0
- package/lib/devtools/chunks/mobile_throttling-DXj04TKw.js +2 -0
- package/lib/devtools/chunks/network-BIhtpwBx.js +2 -0
- package/lib/devtools/chunks/network-C1U3mkwJ.js +9181 -0
- package/lib/devtools/chunks/objectValue.css-B7vmCz4R.js +4 -0
- package/lib/devtools/chunks/object_ui-B8MxYDLE.js +2 -0
- package/lib/devtools/chunks/object_ui-C8fCheVq.js +1461 -0
- package/lib/devtools/chunks/perf_ui-4xM6fYl7.js +2 -0
- package/lib/devtools/chunks/perf_ui-Cp2qToEB.js +3143 -0
- package/lib/devtools/chunks/performance_monitor-BUcbKqz4.js +385 -0
- package/lib/devtools/chunks/php-tl5gKrxu.js +423 -0
- package/lib/devtools/chunks/platform-BzB373NB.js +600 -0
- package/lib/devtools/chunks/profiler-Dq2TBqy8.js +4608 -0
- package/lib/devtools/chunks/protocol_client-Cwf_jb8R.js +24329 -0
- package/lib/devtools/chunks/protocol_monitor-BG2dkmPK.js +1224 -0
- package/lib/devtools/chunks/protocol_monitor-DC2CZGW5.js +2 -0
- package/lib/devtools/chunks/puppeteer-ZLIws8kb.js +13299 -0
- package/lib/devtools/chunks/python-D9AdRkMm.js +580 -0
- package/lib/devtools/chunks/quick_open-B0xhg6ZL.js +2 -0
- package/lib/devtools/chunks/quick_open-Dfzyy8ve.js +722 -0
- package/lib/devtools/chunks/recorder-BwV8H_Us.js +5465 -0
- package/lib/devtools/chunks/recorder-actions-S2RfLX4H.js +6 -0
- package/lib/devtools/chunks/request_link_icon-BjtC6uxv.js +87 -0
- package/lib/devtools/chunks/root-DbVQo07X.js +255 -0
- package/lib/devtools/chunks/sass-BPQlMmw2.js +370 -0
- package/lib/devtools/chunks/security-BjoaTtpU.js +898 -0
- package/lib/devtools/chunks/sensors-m9L9nmDB.js +752 -0
- package/lib/devtools/chunks/settings-DvrCWlb3.js +1433 -0
- package/lib/devtools/chunks/settings_ui-Df8-TVsv.js +175 -0
- package/lib/devtools/chunks/snackbars-DTKjs7om.js +12010 -0
- package/lib/devtools/chunks/snippets-DkuCZu-J.js +173 -0
- package/lib/devtools/chunks/source_frame-CzY7luV4.js +1352 -0
- package/lib/devtools/chunks/sources-CdvYPTNy.js +2 -0
- package/lib/devtools/chunks/sources-CoHLP03P.js +8216 -0
- package/lib/devtools/chunks/suggestion_input-CpR9sfDn.js +196 -0
- package/lib/devtools/chunks/svelte-DJS1itbE.js +744 -0
- package/lib/devtools/chunks/textInput.css-D9hN8XWo.js +4 -0
- package/lib/devtools/chunks/text_editor-BH_W0fXD.js +15706 -0
- package/lib/devtools/chunks/text_utils-ohNt_gua.js +608 -0
- package/lib/devtools/chunks/theme_support-DJK4CjXB.js +92 -0
- package/lib/devtools/chunks/third-party-web-DGiPoc0U.js +12626 -0
- package/lib/devtools/chunks/timeline-D6VQ2WWf.js +16347 -0
- package/lib/devtools/chunks/timeline-DfcTNEAb.js +2 -0
- package/lib/devtools/chunks/utils-DqoFGxV_.js +298 -0
- package/lib/devtools/chunks/vue-CjH9yovn.js +73 -0
- package/lib/devtools/chunks/wast-CbGHiqaW.js +109 -0
- package/lib/devtools/chunks/web_audio-CTM_kqxU.js +277 -0
- package/lib/devtools/chunks/webauthn-Bt1tTNVo.js +522 -0
- package/lib/devtools/chunks/whats_new-Dv7HPSaK.js +177 -0
- package/lib/devtools/chunks/xml-DI9dcP5w.js +327 -0
- package/lib/devtools/connect.js +9 -0
- package/lib/devtools/design_system_tokens.css +1061 -0
- package/lib/devtools/device_mode_emulation_frame.html +25 -0
- package/lib/devtools/devtools_app.html +25 -0
- package/lib/devtools/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPad-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPad-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/optimized_images.gni +53 -0
- package/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +4 -0
- package/lib/devtools/entrypoints/devtools_app/devtools_app.js +6240 -0
- package/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +2810 -0
- package/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +2142 -0
- package/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +290095 -0
- package/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +3403 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOrigin.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +18 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameSite.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/CompatibilityModeQuirks.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/CookieAttributeValueExceedsMaxSize.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/LowTextContrast.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeNavigationContextDowngrade.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/arInsecureContext.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/arOsSourceIgnored.md +18 -0
- package/lib/devtools/models/issues_manager/descriptions/arOsTriggerIgnored.md +19 -0
- package/lib/devtools/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/arSourceIgnored.md +13 -0
- package/lib/devtools/models/issues_manager/descriptions/arTriggerIgnored.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/arWebAndOsHeaders.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/bounceTrackingMitigations.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidAllowlistItemType.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidHeader.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidUrlPattern.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistItemNotInnerList.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistMoreThanOneList.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistReportingEndpointNotToken.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieCrossSiteRedirectDowngrade.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeDomainNonAscii.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutRead.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutSet.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnDomainNonAscii.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutRead.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutSet.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsAllowCredentialsRequired.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsDisabledScheme.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsDisallowedByMode.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsHeaderDisallowedByPreflightResponse.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsInvalidHeaderValues.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsLocalNetworkAccessPermissionDenied.md +19 -0
- package/lib/devtools/models/issues_manager/descriptions/corsMethodDisallowedByPreflightResponse.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsNoCorsRedirectModeNotFollow.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsOriginMismatch.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsPreflightResponseInvalid.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsRedirectContainsCredentials.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsWildcardOriginNotAllowed.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cspEvalViolation.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/cspInlineViolation.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesPolicyViolation.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesSinkViolation.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cspURLViolation.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/deprecation.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsFetchFailed.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestInvalidEmail.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestUserLoggedOut.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestApprovalDeclined.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestCanceled.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorFetchingSignin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestInvalidSigninResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestTooManyRequests.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoApiPermission.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotIframe.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/fetchingPartitionedBlobURL.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/genericBackUINavigationWouldSkipAd.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormAriaLabelledByToNonExistingIdError.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormAutocompleteAttributeEmptyError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormDuplicateIdForInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputWithNoLabelError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForMatchesNonExistingIdError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForNameError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolDescription.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingTitleAndDescription.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextRequiredParameterMissingName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericNavigationEntryMarkedSkippable.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/genericResponseWasBlockedByORB.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/heavyAd.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/mixedContent.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/navigatingPartitionedBlobURL.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/propertyRuleInvalidNameIssue.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/propertyRuleIssue.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedSelectChild.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectivePermissionsIntervention.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedArrayBuffer.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorDictionaryLoadFailure.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorExpiredResponse.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInsufficientResources.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidTTLField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNavigationRequest.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNoMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonIntegerTTLField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonListMatchDestField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonSecureContext.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringIdField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringInMatchDestList.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonTokenTypeField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorRequestAborted.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorShuttingDown.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorTooLongIdField.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorUnsupportedType.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureHeader.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureInputHeader.md +15 -0
- package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureHeader.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureInputHeader.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsIncorrectLength.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsNotByteSequence.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsParameterized.md +15 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentName.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentType.md +13 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidParameter.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderKeyIdLength.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingLabel.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueMissingComponents.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueNotInnerList.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedInvalidLength.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureExpired.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureMismatch.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/stylesheetLateImport.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/stylesheetRequestFailed.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestLength.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestType.md +17 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestMalformedDictionary.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestUnknownAlgorithm.md +15 -0
- package/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -0
- package/lib/devtools/panels/recorder/injected/injected.generated.js +1 -0
- package/lib/devtools/panels/whats_new/resources/WNDT.md +14 -0
- package/lib/devtools/resource-manifest.json +3818 -0
- package/lib/devtools/third_party/acorn/package/LICENSE +21 -0
- package/lib/devtools/third_party/axe-core/LICENSE +362 -0
- package/lib/devtools/third_party/chromium/LICENSE +27 -0
- package/lib/devtools/third_party/codemirror/package/LICENSE +21 -0
- package/lib/devtools/third_party/codemirror.next/LICENSE +21 -0
- package/lib/devtools/third_party/csp_evaluator/package/LICENSE +202 -0
- package/lib/devtools/third_party/diff/LICENSE +202 -0
- package/lib/devtools/third_party/i18n/LICENSE +202 -0
- package/lib/devtools/third_party/intl-messageformat/LICENSE +33 -0
- package/lib/devtools/third_party/intl-messageformat/package/LICENSE.md +33 -0
- package/lib/devtools/third_party/json5/LICENSE +23 -0
- package/lib/devtools/third_party/legacy-javascript/LICENSE +202 -0
- package/lib/devtools/third_party/lighthouse/LICENSE +202 -0
- package/lib/devtools/third_party/lit/LICENSE +28 -0
- package/lib/devtools/third_party/marked/LICENSE +39 -0
- package/lib/devtools/third_party/marked/package/LICENSE.md +44 -0
- package/lib/devtools/third_party/puppeteer/LICENSE +202 -0
- package/lib/devtools/third_party/puppeteer/third_party/mitt/LICENSE +21 -0
- package/lib/devtools/third_party/puppeteer/third_party/parsel/LICENSE +21 -0
- package/lib/devtools/third_party/puppeteer/third_party/rxjs/LICENSE +201 -0
- package/lib/devtools/third_party/puppeteer-replay/package/LICENSE +202 -0
- package/lib/devtools/third_party/source-map-scopes-codec/LICENSE +26 -0
- package/lib/devtools/third_party/source-map-scopes-codec/package/LICENSE +26 -0
- package/lib/devtools/third_party/third-party-web/LICENSE +20 -0
- package/lib/devtools/third_party/third-party-web/package/LICENSE +20 -0
- package/lib/devtools/third_party/vscode.web-custom-data/package/LICENSE.md +21 -0
- package/lib/devtools/third_party/wasmparser/package/LICENSE +177 -0
- package/lib/devtools/third_party/web-vitals/package/LICENSE +202 -0
- package/lib/index.js +2599 -0
- package/lib/types/client/bottom/keyboard.d.ts +10 -0
- package/lib/types/client/bottom/locales.d.ts +17 -0
- package/lib/types/client/bottom/page.d.ts +10 -0
- package/lib/types/client/bottom/resize.d.ts +12 -0
- package/lib/types/client/bridge/controller.d.ts +10 -0
- package/lib/types/client/bridge/dispatcher.d.ts +26 -0
- package/lib/types/client/bridge/lifecycle.d.ts +22 -0
- package/lib/types/client/bridge/locales.d.ts +3 -0
- package/lib/types/client/bridge/publisher.d.ts +42 -0
- package/lib/types/client/bridge/rpc.d.ts +13 -0
- package/lib/types/client/bridge/transport.d.ts +41 -0
- package/lib/types/client/cdp/console.d.ts +45 -0
- package/lib/types/client/cdp/debugger.d.ts +8 -0
- package/lib/types/client/cdp/errors.d.ts +8 -0
- package/lib/types/client/cdp/heap-profiler.d.ts +8 -0
- package/lib/types/client/cdp/index.d.ts +10 -0
- package/lib/types/client/cdp/objects.d.ts +69 -0
- package/lib/types/client/cdp/profiler.d.ts +8 -0
- package/lib/types/client/cdp/properties.d.ts +16 -0
- package/lib/types/client/cdp/runtime.d.ts +79 -0
- package/lib/types/client/cdp/sources.d.ts +53 -0
- package/lib/types/client/cdp/stack.d.ts +27 -0
- package/lib/types/client/index.d.ts +3 -0
- package/lib/types/client/inspection/cordis.d.ts +3 -0
- package/lib/types/client/inspection/network.d.ts +4 -0
- package/lib/types/client/inspection/realm.d.ts +27 -0
- package/lib/types/client/plugin.d.ts +29 -0
- package/lib/types/host/bridge/controller.d.ts +108 -0
- package/lib/types/host/bridge/dispatcher.d.ts +16 -0
- package/lib/types/host/bridge/lifecycle.d.ts +42 -0
- package/lib/types/host/bridge/publisher.d.ts +31 -0
- package/lib/types/host/bridge/rpc.d.ts +15 -0
- package/lib/types/host/bridge/transport.d.ts +28 -0
- package/lib/types/host/cdp/console.d.ts +14 -0
- package/lib/types/host/cdp/debugger.d.ts +8 -0
- package/lib/types/host/cdp/errors.d.ts +6 -0
- package/lib/types/host/cdp/heap-profiler.d.ts +8 -0
- package/lib/types/host/cdp/index.d.ts +10 -0
- package/lib/types/host/cdp/objects.d.ts +8 -0
- package/lib/types/host/cdp/profiler.d.ts +8 -0
- package/lib/types/host/cdp/properties.d.ts +7 -0
- package/lib/types/host/cdp/runtime.d.ts +16 -0
- package/lib/types/host/cdp/sources.d.ts +14 -0
- package/lib/types/host/cdp/stack.d.ts +4 -0
- package/lib/types/host/index.d.ts +3 -0
- package/lib/types/host/inspection/cordis.d.ts +3 -0
- package/lib/types/host/inspection/network.d.ts +23 -0
- package/lib/types/host/inspection/realm.d.ts +9 -0
- package/lib/types/host/plugin.d.ts +24 -0
- package/lib/types/index.d.ts +50 -0
- package/lib/types/shared/bridge/buffer.d.ts +62 -0
- package/lib/types/shared/bridge/codec.d.ts +4 -0
- package/lib/types/shared/bridge/control-codec.d.ts +27 -0
- package/lib/types/shared/bridge/ids.d.ts +19 -0
- package/lib/types/shared/bridge/messages/control.d.ts +64 -0
- package/lib/types/shared/bridge/messages/cordis.d.ts +4 -0
- package/lib/types/shared/bridge/messages/network.d.ts +4 -0
- package/lib/types/shared/bridge/messages/observation.d.ts +110 -0
- package/lib/types/shared/bridge/messages/query/codec.d.ts +40 -0
- package/lib/types/shared/bridge/messages/query/commands.d.ts +35 -0
- package/lib/types/shared/bridge/messages/query/frames.d.ts +31 -0
- package/lib/types/shared/bridge/messages/query/index.d.ts +5 -0
- package/lib/types/shared/bridge/messages/runtime/command-codec.d.ts +9 -0
- package/lib/types/shared/bridge/messages/runtime/commands.d.ts +76 -0
- package/lib/types/shared/bridge/messages/runtime/console-frames.d.ts +52 -0
- package/lib/types/shared/bridge/messages/runtime/frames.d.ts +98 -0
- package/lib/types/shared/bridge/messages/runtime/index.d.ts +5 -0
- package/lib/types/shared/bridge/messages/runtime/value-codec.d.ts +28 -0
- package/lib/types/shared/bridge/messages/sources/codec.d.ts +15 -0
- package/lib/types/shared/bridge/messages/sources/commands.d.ts +42 -0
- package/lib/types/shared/bridge/messages/sources/frames.d.ts +67 -0
- package/lib/types/shared/bridge/messages/sources/index.d.ts +5 -0
- package/lib/types/shared/bridge/publisher.d.ts +33 -0
- package/lib/types/shared/bridge/query-reader.d.ts +10 -0
- package/lib/types/shared/bridge/rpc.d.ts +62 -0
- package/lib/types/shared/bridge/validation.d.ts +3 -0
- package/lib/types/shared/bridge/version.d.ts +3 -0
- package/lib/types/shared/cdp/capabilities.d.ts +17 -0
- package/lib/types/shared/cdp/console.d.ts +28 -0
- package/lib/types/shared/cdp/debugger.d.ts +69 -0
- package/lib/types/shared/cdp/errors.d.ts +27 -0
- package/lib/types/shared/cdp/ids.d.ts +9 -0
- package/lib/types/shared/cdp/index.d.ts +11 -0
- package/lib/types/shared/cdp/operations.d.ts +86 -0
- package/lib/types/shared/cdp/property.d.ts +28 -0
- package/lib/types/shared/cdp/realm.d.ts +137 -0
- package/lib/types/shared/cdp/remote-object.d.ts +44 -0
- package/lib/types/shared/cdp/sources.d.ts +18 -0
- package/lib/types/shared/cordis/collector.d.ts +26 -0
- package/lib/types/shared/cordis/ids.d.ts +7 -0
- package/lib/types/shared/cordis/model.d.ts +61 -0
- package/lib/types/shared/cordis/object-reference.d.ts +14 -0
- package/lib/types/shared/cordis/object-registry.d.ts +80 -0
- package/lib/types/shared/cordis/observer.d.ts +15 -0
- package/lib/types/shared/cordis/projector.d.ts +34 -0
- package/lib/types/shared/cordis/publisher.d.ts +13 -0
- package/lib/types/shared/cordis/reader.d.ts +18 -0
- package/lib/types/shared/cordis/snapshot.d.ts +39 -0
- package/lib/types/shared/dispose.d.ts +11 -0
- package/lib/types/shared/identity.d.ts +12 -0
- package/lib/types/shared/index.d.ts +18 -0
- package/lib/types/shared/json.d.ts +35 -0
- package/lib/types/shared/network/event-source.d.ts +20 -0
- package/lib/types/shared/network/observation.d.ts +52 -0
- package/lib/types/shared/service.d.ts +23 -0
- package/lib/types/shared/validation.d.ts +52 -0
- package/lib/types/shared/web.d.ts +16 -0
- package/lib/types/worker/bridge/endpoint.d.ts +49 -0
- package/lib/types/worker/bridge/hub.d.ts +108 -0
- package/lib/types/worker/bridge/runtime-rpc.d.ts +90 -0
- package/lib/types/worker/bridge/session.d.ts +15 -0
- package/lib/types/worker/bridge/source-rpc.d.ts +42 -0
- package/lib/types/worker/cdp/domains/debugger/cdp-params.d.ts +15 -0
- package/lib/types/worker/cdp/domains/debugger/index.d.ts +6 -0
- package/lib/types/worker/cdp/domains/debugger/projector.d.ts +22 -0
- package/lib/types/worker/cdp/domains/debugger/script-registry.d.ts +70 -0
- package/lib/types/worker/cdp/domains/debugger/session.d.ts +47 -0
- package/lib/types/worker/cdp/domains/dom/index.d.ts +4 -0
- package/lib/types/worker/cdp/domains/dom/model.d.ts +121 -0
- package/lib/types/worker/cdp/domains/dom/session.d.ts +78 -0
- package/lib/types/worker/cdp/domains/native.d.ts +25 -0
- package/lib/types/worker/cdp/domains/network/session.d.ts +46 -0
- package/lib/types/worker/cdp/domains/runtime/cdp-params.d.ts +82 -0
- package/lib/types/worker/cdp/domains/runtime/index.d.ts +3 -0
- package/lib/types/worker/cdp/domains/runtime/object-table.d.ts +117 -0
- package/lib/types/worker/cdp/domains/runtime/session.d.ts +97 -0
- package/lib/types/worker/cdp/ids.d.ts +37 -0
- package/lib/types/worker/cdp/protocol.d.ts +46 -0
- package/lib/types/worker/cdp/realm-sessions.d.ts +67 -0
- package/lib/types/worker/cdp/session.d.ts +39 -0
- package/lib/types/worker/cdp/target.d.ts +17 -0
- package/lib/types/worker/entry.d.ts +3 -0
- package/lib/types/worker/inspection/cordis-query.d.ts +11 -0
- package/lib/types/worker/inspection/cordis-store.d.ts +94 -0
- package/lib/types/worker/inspection/network-store.d.ts +110 -0
- package/lib/types/worker/inspection/query-router.d.ts +78 -0
- package/lib/types/worker/inspection/realm-store.d.ts +58 -0
- package/lib/types/worker/inspection/realm.d.ts +43 -0
- package/lib/types/worker/realms/client/bridge.d.ts +18 -0
- package/lib/types/worker/realms/client/console.d.ts +21 -0
- package/lib/types/worker/realms/client/debugger.d.ts +8 -0
- package/lib/types/worker/realms/client/index.d.ts +18 -0
- package/lib/types/worker/realms/client/runtime.d.ts +28 -0
- package/lib/types/worker/realms/client/scripts.d.ts +15 -0
- package/lib/types/worker/realms/client/sources.d.ts +30 -0
- package/lib/types/worker/realms/client/values.d.ts +55 -0
- package/lib/types/worker/realms/host/bridge.d.ts +49 -0
- package/lib/types/worker/realms/host/console.d.ts +25 -0
- package/lib/types/worker/realms/host/debugger.d.ts +25 -0
- package/lib/types/worker/realms/host/index.d.ts +13 -0
- package/lib/types/worker/realms/host/runtime.d.ts +54 -0
- package/lib/types/worker/realms/host/scripts.d.ts +9 -0
- package/lib/types/worker/realms/host/sources.d.ts +26 -0
- package/lib/types/worker/realms/host/values.d.ts +22 -0
- package/lib/types/worker/server.d.ts +16 -0
- package/lib/worker.js +7293 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +86 -3
|
@@ -0,0 +1,752 @@
|
|
|
1
|
+
import { n as e } from "./chunk-DF993M8W.js";
|
|
2
|
+
import { at as t, bt as n, d as r, wt as i } from "./common-qd_KLeYO.js";
|
|
3
|
+
import { $a as a, $i as o, Bn as s, Fo as c, Ja as l, Js as u, La as d, Md as f, Mn as p, Po as m, Si as h, T as g, U as _, Ur as v, Xi as y, Xs as b, Yo as x, ei as S, ha as C, hi as w, ja as T, jr as E, kf as D, no as O, qa as k, qs as A, uo as j, w as M, xi as N, yi as P } from "./legacy-C0IOfyhX.js";
|
|
4
|
+
import { t as F } from "./settings_ui-Df8-TVsv.js";
|
|
5
|
+
import { l as I } from "./mobile_throttling-BKeQegny.js";
|
|
6
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/sensors/locationsSettingsTab.css.mjs
|
|
7
|
+
var L = "/*\n * Copyright 2018 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.add-locations-button {\n margin-bottom: var(--sys-size-5);\n border: none;\n}\n\n.locations-list {\n margin-top: var(--sys-size-3);\n flex: auto;\n}\n\n.locations-list-item {\n padding: 3px 6px;\n height: 30px;\n display: flex;\n align-items: center;\n position: relative;\n flex: auto 1 1;\n}\n\n.locations-list-text {\n white-space: nowrap;\n text-overflow: ellipsis;\n flex-basis: 170px;\n user-select: none;\n color: var(--sys-color-on-surface);\n position: relative;\n overflow: hidden;\n}\n\n.locations-list-title {\n text-align: start;\n}\n\n.locations-list-title-text {\n overflow: hidden;\n flex: auto;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.locations-list-separator {\n flex: 0 0 1px;\n background-color: var(--sys-color-divider);\n height: 30px;\n margin: 0 4px;\n}\n\n.locations-list-separator-invisible {\n visibility: hidden;\n height: 100% !important; /* stylelint-disable-line declaration-no-important */\n}\n\n.locations-edit-row {\n display: flex;\n flex-direction: row;\n margin: 6px 5px;\n}\n\n.locations-edit-row input {\n width: 100%;\n text-align: inherit;\n}\n\n.locations-input-container {\n padding: 1px;\n}\n\n.settings-card-container-wrapper {\n scrollbar-gutter: stable;\n padding: var(--sys-size-8) 0;\n overflow: auto;\n position: absolute;\n inset: var(--sys-size-8) 0 0;\n}\n\n.settings-card-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--sys-size-9);\n}\n", R = /* @__PURE__ */ e({ LocationsSettingsTab: () => H }), z = {
|
|
8
|
+
locations: "Locations",
|
|
9
|
+
locationName: "Location name",
|
|
10
|
+
lat: "Lat",
|
|
11
|
+
long: "Long",
|
|
12
|
+
timezoneId: "Timezone ID",
|
|
13
|
+
locale: "Locale",
|
|
14
|
+
latitude: "Latitude",
|
|
15
|
+
longitude: "Longitude",
|
|
16
|
+
accuracy: "Accuracy",
|
|
17
|
+
locationNameCannotBeEmpty: "Location name cannot be empty",
|
|
18
|
+
locationNameMustBeLessThanS: "Location name must be less than {PH1} characters",
|
|
19
|
+
latitudeMustBeANumber: "Latitude must be a number",
|
|
20
|
+
latitudeMustBeGreaterThanOrEqual: "Latitude must be greater than or equal to {PH1}",
|
|
21
|
+
latitudeMustBeLessThanOrEqualToS: "Latitude must be less than or equal to {PH1}",
|
|
22
|
+
longitudeMustBeANumber: "Longitude must be a number",
|
|
23
|
+
longitudeMustBeGreaterThanOr: "Longitude must be greater than or equal to {PH1}",
|
|
24
|
+
longitudeMustBeLessThanOrEqualTo: "Longitude must be less than or equal to {PH1}",
|
|
25
|
+
timezoneIdMustContainAlphabetic: "Timezone ID must contain alphabetic characters",
|
|
26
|
+
localeMustContainAlphabetic: "Locale must contain alphabetic characters",
|
|
27
|
+
accuracyMustBeANumber: "Accuracy must be a number",
|
|
28
|
+
accuracyMustBeGreaterThanOrEqual: "Accuracy must be greater than or equal to {PH1}",
|
|
29
|
+
addLocation: "Add location"
|
|
30
|
+
}, B = i("panels/sensors/LocationsSettingsTab.ts", z), V = n.bind(void 0, B), H = class extends S {
|
|
31
|
+
list;
|
|
32
|
+
customSetting;
|
|
33
|
+
editor;
|
|
34
|
+
constructor() {
|
|
35
|
+
super({
|
|
36
|
+
jslog: `${k("emulation-locations")}`,
|
|
37
|
+
useShadowDom: !0
|
|
38
|
+
}), this.registerRequiredCSS(L);
|
|
39
|
+
let e = this.contentElement.createChild("div", "settings-card-container-wrapper").createChild("div");
|
|
40
|
+
e.classList.add("settings-card-container");
|
|
41
|
+
let t = e.createChild("devtools-card");
|
|
42
|
+
t.heading = V(z.locations);
|
|
43
|
+
let n = t.createChild("div");
|
|
44
|
+
this.list = new g(this, void 0, !0), this.list.element.classList.add("locations-list"), this.list.registerRequiredCSS(L), this.list.show(n), this.customSetting = r.instance().moduleSetting("emulation.locations");
|
|
45
|
+
let i = this.customSetting.get().map((e) => a(e, this.customSetting.defaultValue));
|
|
46
|
+
function a(e, t) {
|
|
47
|
+
if (!e.title) {
|
|
48
|
+
let n = t.find((t) => t.lat === e.lat && t.long === e.long && t.timezoneId === e.timezoneId && t.locale === e.locale);
|
|
49
|
+
if (!n) console.error("Could not determine a location setting title");
|
|
50
|
+
else return n;
|
|
51
|
+
}
|
|
52
|
+
return e;
|
|
53
|
+
}
|
|
54
|
+
let s = new y();
|
|
55
|
+
s.classList.add("add-locations-button"), s.data = {
|
|
56
|
+
variant: o.OUTLINED,
|
|
57
|
+
iconName: "plus",
|
|
58
|
+
jslogContext: "emulation.add-location"
|
|
59
|
+
}, s.textContent = V(z.addLocation), s.addEventListener("click", () => this.addButtonClicked()), t.append(s), this.customSetting.set(i), this.customSetting.addChangeListener(this.locationsUpdated, this);
|
|
60
|
+
}
|
|
61
|
+
wasShown() {
|
|
62
|
+
super.wasShown(), this.locationsUpdated();
|
|
63
|
+
}
|
|
64
|
+
locationsUpdated() {
|
|
65
|
+
this.list.clear();
|
|
66
|
+
let e = this.customSetting.get();
|
|
67
|
+
for (let t of e) this.list.appendItem(t, !0);
|
|
68
|
+
this.list.appendSeparator();
|
|
69
|
+
}
|
|
70
|
+
addButtonClicked() {
|
|
71
|
+
this.list.addNewItem(this.customSetting.get().length, {
|
|
72
|
+
title: "",
|
|
73
|
+
lat: 0,
|
|
74
|
+
long: 0,
|
|
75
|
+
timezoneId: "",
|
|
76
|
+
locale: "",
|
|
77
|
+
accuracy: b.DEFAULT_ACCURACY
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
renderItem(e, t) {
|
|
81
|
+
let n = document.createElement("div");
|
|
82
|
+
n.role = "row", n.classList.add("locations-list-item");
|
|
83
|
+
let r = n.createChild("div", "locations-list-text locations-list-title");
|
|
84
|
+
r.role = "cell";
|
|
85
|
+
let i = r.createChild("div", "locations-list-title-text");
|
|
86
|
+
i.textContent = e.title, v.install(i, e.title), n.createChild("div", "locations-list-separator");
|
|
87
|
+
let a = n.createChild("div", "locations-list-text");
|
|
88
|
+
a.textContent = String(e.lat), a.role = "cell", n.createChild("div", "locations-list-separator");
|
|
89
|
+
let o = n.createChild("div", "locations-list-text");
|
|
90
|
+
o.textContent = String(e.long), o.role = "cell", n.createChild("div", "locations-list-separator");
|
|
91
|
+
let s = n.createChild("div", "locations-list-text");
|
|
92
|
+
s.textContent = e.timezoneId, s.role = "cell", n.createChild("div", "locations-list-separator");
|
|
93
|
+
let c = n.createChild("div", "locations-list-text");
|
|
94
|
+
return c.textContent = e.locale, c.role = "cell", n.createChild("div", "locations-list-separator"), n.createChild("div", "locations-list-text").textContent = String(e.accuracy || b.DEFAULT_ACCURACY), n;
|
|
95
|
+
}
|
|
96
|
+
removeItemRequested(e, t) {
|
|
97
|
+
let n = this.customSetting.get();
|
|
98
|
+
n.splice(t, 1), this.customSetting.set(n);
|
|
99
|
+
}
|
|
100
|
+
commitEdit(e, t, n) {
|
|
101
|
+
e.title = t.control("title").value.trim();
|
|
102
|
+
let r = t.control("lat").value.trim();
|
|
103
|
+
e.lat = r ? parseFloat(r) : 0;
|
|
104
|
+
let i = t.control("long").value.trim();
|
|
105
|
+
e.long = i ? parseFloat(i) : 0, e.timezoneId = t.control("timezone-id").value.trim(), e.locale = t.control("locale").value.trim();
|
|
106
|
+
let a = t.control("accuracy").value.trim();
|
|
107
|
+
e.accuracy = a ? parseFloat(a) : b.DEFAULT_ACCURACY;
|
|
108
|
+
let o = this.customSetting.get();
|
|
109
|
+
n && o.push(e), this.customSetting.set(o);
|
|
110
|
+
}
|
|
111
|
+
beginEdit(e) {
|
|
112
|
+
let t = this.createEditor();
|
|
113
|
+
return t.control("title").value = e.title, t.control("lat").value = String(e.lat), t.control("long").value = String(e.long), t.control("timezone-id").value = e.timezoneId, t.control("locale").value = e.locale, t.control("accuracy").value = String(e.accuracy || b.DEFAULT_ACCURACY), t;
|
|
114
|
+
}
|
|
115
|
+
createEditor() {
|
|
116
|
+
if (this.editor) return this.editor;
|
|
117
|
+
let e = new M();
|
|
118
|
+
this.editor = e;
|
|
119
|
+
let t = e.contentElement(), n = t.createChild("div", "locations-edit-row");
|
|
120
|
+
n.createChild("div", "locations-list-text locations-list-title").textContent = V(z.locationName), n.createChild("div", "locations-list-separator locations-list-separator-invisible"), n.createChild("div", "locations-list-text").textContent = V(z.lat), n.createChild("div", "locations-list-separator locations-list-separator-invisible"), n.createChild("div", "locations-list-text").textContent = V(z.long), n.createChild("div", "locations-list-separator locations-list-separator-invisible"), n.createChild("div", "locations-list-text").textContent = V(z.timezoneId), n.createChild("div", "locations-list-separator locations-list-separator-invisible"), n.createChild("div", "locations-list-text").textContent = V(z.locale), n.createChild("div", "locations-list-separator locations-list-separator-invisible"), n.createChild("div", "locations-list-text").textContent = V(z.accuracy);
|
|
121
|
+
let r = t.createChild("div", "locations-edit-row");
|
|
122
|
+
r.createChild("div", "locations-list-text locations-list-title locations-input-container").appendChild(e.createInput("title", "text", V(z.locationName), a)), r.createChild("div", "locations-list-separator locations-list-separator-invisible");
|
|
123
|
+
let i = r.createChild("div", "locations-list-text locations-input-container");
|
|
124
|
+
return i.appendChild(e.createInput("lat", "text", V(z.latitude), o)), r.createChild("div", "locations-list-separator locations-list-separator-invisible"), i = r.createChild("div", "locations-list-text locations-list-text-longitude locations-input-container"), i.appendChild(e.createInput("long", "text", V(z.longitude), s)), r.createChild("div", "locations-list-separator locations-list-separator-invisible"), i = r.createChild("div", "locations-list-text locations-input-container"), i.appendChild(e.createInput("timezone-id", "text", V(z.timezoneId), c)), r.createChild("div", "locations-list-separator locations-list-separator-invisible"), i = r.createChild("div", "locations-list-text locations-input-container"), i.appendChild(e.createInput("locale", "text", V(z.locale), l)), r.createChild("div", "locations-list-separator locations-list-separator-invisible"), i = r.createChild("div", "locations-list-text locations-input-container"), i.appendChild(e.createInput("accuracy", "text", V(z.accuracy), u)), e;
|
|
125
|
+
function a(e, t, n) {
|
|
126
|
+
let r = n.value.trim(), i;
|
|
127
|
+
return r.length ? r.length > 50 && (i = V(z.locationNameMustBeLessThanS, { PH1: 50 })) : i = V(z.locationNameCannotBeEmpty), i ? {
|
|
128
|
+
valid: !1,
|
|
129
|
+
errorMessage: i
|
|
130
|
+
} : { valid: !0 };
|
|
131
|
+
}
|
|
132
|
+
function o(e, t, n) {
|
|
133
|
+
let r = n.value.trim(), i = Number(r);
|
|
134
|
+
if (!r) return { valid: !0 };
|
|
135
|
+
let a;
|
|
136
|
+
return Number.isNaN(i) ? a = V(z.latitudeMustBeANumber) : parseFloat(r) < -90 ? a = V(z.latitudeMustBeGreaterThanOrEqual, { PH1: -90 }) : parseFloat(r) > 90 && (a = V(z.latitudeMustBeLessThanOrEqualToS, { PH1: 90 })), a ? {
|
|
137
|
+
valid: !1,
|
|
138
|
+
errorMessage: a
|
|
139
|
+
} : { valid: !0 };
|
|
140
|
+
}
|
|
141
|
+
function s(e, t, n) {
|
|
142
|
+
let r = -180, i = n.value.trim(), a = Number(i);
|
|
143
|
+
if (!i) return { valid: !0 };
|
|
144
|
+
let o;
|
|
145
|
+
return Number.isNaN(a) ? o = V(z.longitudeMustBeANumber) : parseFloat(i) < r ? o = V(z.longitudeMustBeGreaterThanOr, { PH1: r }) : parseFloat(i) > 180 && (o = V(z.longitudeMustBeLessThanOrEqualTo, { PH1: 180 })), o ? {
|
|
146
|
+
valid: !1,
|
|
147
|
+
errorMessage: o
|
|
148
|
+
} : { valid: !0 };
|
|
149
|
+
}
|
|
150
|
+
function c(e, t, n) {
|
|
151
|
+
let r = n.value.trim();
|
|
152
|
+
return r === "" || /[a-zA-Z]/.test(r) ? { valid: !0 } : {
|
|
153
|
+
valid: !1,
|
|
154
|
+
errorMessage: V(z.timezoneIdMustContainAlphabetic)
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function l(e, t, n) {
|
|
158
|
+
let r = n.value.trim();
|
|
159
|
+
return r === "" || /[a-zA-Z]{2}/.test(r) ? { valid: !0 } : {
|
|
160
|
+
valid: !1,
|
|
161
|
+
errorMessage: V(z.localeMustContainAlphabetic)
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
function u(e, t, n) {
|
|
165
|
+
let r = n.value.trim(), i = Number(r);
|
|
166
|
+
if (!r) return { valid: !0 };
|
|
167
|
+
let a;
|
|
168
|
+
return Number.isNaN(i) ? a = V(z.accuracyMustBeANumber) : parseFloat(r) < 0 && (a = V(z.accuracyMustBeGreaterThanOrEqual, { PH1: 0 })), a ? {
|
|
169
|
+
valid: !1,
|
|
170
|
+
errorMessage: a
|
|
171
|
+
} : { valid: !0 };
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}, U = "/*\n * Copyright 2015 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.sensors-view {\n padding: 12px;\n display: block;\n}\n\n.sensors-view input {\n width: 100%;\n max-width: 120px;\n margin: -5px 10px 0 0;\n text-align: end;\n}\n\n.sensors-view input[readonly] {\n background-color: var(--sys-color-neutral-container);\n}\n\n.sensors-view fieldset {\n border: none;\n padding: 10px 0;\n flex: 0 0 auto;\n margin: 0;\n}\n\n.sensors-view fieldset[disabled] {\n opacity: 50%;\n}\n\n.orientation-axis-input-container input {\n max-width: 120px;\n}\n\n.concurrency-details {\n margin: var(--sys-size-5) var(--sys-size-10);\n display: flex;\n align-items: center;\n}\n\n.concurrency-details input {\n width: 50px;\n /* Clear out unexpected margin applied to `.sensors-view input` */\n margin: 0;\n}\n\n.concurrency-hidden {\n visibility: hidden;\n}\n\n.sensors-view input:focus::-webkit-input-placeholder {\n color: transparent !important; /* stylelint-disable-line declaration-no-important */\n}\n\n.sensors-view select {\n width: 200px;\n}\n\n.sensors-group-title {\n width: 80px;\n line-height: 24px;\n}\n\n.sensors-group {\n display: flex;\n flex-wrap: wrap;\n margin-bottom: 10px;\n}\n\n.manage-locations {\n margin-left: var(--sys-size-4);\n}\n\n.geo-fields {\n flex: 2 0 200px;\n}\n\n.latlong-group {\n display: flex;\n margin-bottom: 10px;\n}\n\n.latlong-title {\n width: 70px;\n}\n\n.timezone-error,\n.locale-error {\n margin-left: 10px;\n color: var(--legacy-input-validation-error);\n}\n\n/* Device Orientation */\n\n.orientation-content {\n display: flex;\n flex-wrap: wrap;\n}\n\n.orientation-fields {\n margin-right: 10px;\n}\n\n.orientation-stage {\n --override-gradient-color-1: var(--ref-palette-cyan95);\n --override-gradient-color-2: var(--ref-palette-cyan90);\n\n perspective: 700px;\n perspective-origin: 50% 50%;\n width: 160px;\n height: 150px;\n background: linear-gradient(var(--override-gradient-color-1) 0%, var(--override-gradient-color-1) 64%, var(--override-gradient-color-2) 64%, var(--override-gradient-color-1) 100%);\n transition: 0.2s ease opacity, 0.2s ease filter;\n overflow: hidden;\n margin-bottom: 10px;\n}\n\n.theme-with-dark-background .orientation-stage,\n:host-context(.theme-with-dark-background) .orientation-stage {\n --override-gradient-color-1: var(--ref-palette-cyan10);\n --override-gradient-color-2: var(--ref-palette-cyan30);\n}\n\n.orientation-stage.disabled {\n filter: grayscale();\n opacity: 50%;\n}\n\n.orientation-element,\n.orientation-element::before,\n.orientation-element::after {\n position: absolute;\n box-sizing: border-box;\n transform-style: preserve-3d;\n background: no-repeat;\n background-size: cover;\n backface-visibility: hidden;\n}\n\n.orientation-box {\n width: 62px;\n height: 122px;\n inset: 0;\n margin: auto;\n transform: rotate3d(1, 0, 0, 90deg);\n}\n\n.orientation-layer {\n width: 100%;\n height: 100%;\n transform-style: preserve-3d;\n}\n\n.orientation-box.is-animating,\n.is-animating .orientation-layer {\n transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n\n.orientation-front,\n.orientation-back {\n width: 62px;\n height: 122px;\n border-radius: 8px;\n}\n\n.orientation-front {\n background-image: var(--image-file-accelerometer-front);\n}\n\n.orientation-back {\n transform: rotateY(180deg) translateZ(8px);\n background-image: var(--image-file-accelerometer-back);\n}\n\n.orientation-left,\n.orientation-right {\n width: 8px;\n height: 106px;\n top: 8px;\n background-position: center center;\n}\n\n.orientation-left {\n left: -8px;\n transform-origin: right center;\n transform: rotateY(-90deg);\n background-image: var(--image-file-accelerometer-left);\n}\n\n.orientation-right {\n right: -8px;\n transform-origin: left center;\n transform: rotateY(90deg);\n background-image: var(--image-file-accelerometer-right);\n}\n\n.orientation-left::before,\n.orientation-left::after,\n.orientation-right::before,\n.orientation-right::after {\n content: \"\";\n width: 8px;\n height: 6px;\n}\n\n.orientation-left::before,\n.orientation-left::after {\n background-image: var(--image-file-accelerometer-left);\n}\n\n.orientation-right::before,\n.orientation-right::after {\n background-image: var(--image-file-accelerometer-right);\n}\n\n.orientation-left::before,\n.orientation-right::before {\n top: -6px;\n transform-origin: center bottom;\n transform: rotateX(26deg);\n background-position: center top;\n}\n\n.orientation-left::after,\n.orientation-right::after {\n bottom: -6px;\n transform-origin: center top;\n transform: rotateX(-25deg);\n background-position: center bottom;\n}\n\n.orientation-top,\n.orientation-bottom {\n width: 50px;\n height: 8px;\n left: 8px;\n background-position: center center;\n}\n\n.orientation-top {\n top: -8px;\n transform-origin: center bottom;\n transform: rotateX(90deg);\n background-image: var(--image-file-accelerometer-top);\n}\n\n.orientation-bottom {\n bottom: -8px;\n transform-origin: center top;\n transform: rotateX(-90deg);\n background-image: var(--image-file-accelerometer-bottom);\n}\n\n.orientation-top::before,\n.orientation-top::after,\n.orientation-bottom::before,\n.orientation-bottom::after {\n content: \"\";\n width: 8px;\n height: 8px;\n}\n\n.orientation-top::before,\n.orientation-top::after {\n background-image: var(--image-file-accelerometer-top);\n}\n\n.orientation-bottom::before,\n.orientation-bottom::after {\n background-image: var(--image-file-accelerometer-bottom);\n}\n\n.orientation-top::before,\n.orientation-bottom::before {\n left: -6px;\n transform-origin: right center;\n transform: rotateY(-26deg);\n background-position: left center;\n}\n\n.orientation-top::after,\n.orientation-bottom::after {\n right: -6px;\n transform-origin: left center;\n transform: rotateY(26deg);\n background-position: right center;\n}\n\n.orientation-axis-input-container {\n margin-bottom: 10px;\n}\n\n.orientation-reset-button {\n min-width: 80px;\n}\n\nfieldset.device-orientation-override-section {\n margin: 0;\n display: flex;\n}\n\n.panel-section-separator {\n height: 1px;\n margin-bottom: 20px;\n margin-left: -12px;\n margin-right: -12px;\n background: var(--sys-color-divider);\n}\n\nbutton.text-button {\n margin: 4px 0 0 10px;\n}\n\n@media (forced-colors: active) {\n .sensors-view fieldset[disabled] {\n opacity: 100%;\n }\n}\n\n.chrome-select-label {\n margin-bottom: 16px;\n}\n", W = /* @__PURE__ */ e({
|
|
175
|
+
DeviceOrientationModificationSource: () => Y,
|
|
176
|
+
NonPresetOptions: () => Z,
|
|
177
|
+
PressureOptions: () => X,
|
|
178
|
+
SensorsView: () => J,
|
|
179
|
+
ShiftDragOrientationSpeed: () => 16,
|
|
180
|
+
ShowActionDelegate: () => Q
|
|
181
|
+
}), G = {
|
|
182
|
+
location: "Location",
|
|
183
|
+
noOverride: "No override",
|
|
184
|
+
overrides: "Overrides",
|
|
185
|
+
manage: "Manage",
|
|
186
|
+
manageTheListOfLocations: "Manage the list of locations",
|
|
187
|
+
other: "Other…",
|
|
188
|
+
error: "Error",
|
|
189
|
+
locationUnavailable: "Location unavailable",
|
|
190
|
+
adjustWithMousewheelOrUpdownKeys: "Adjust with mousewheel or up/down keys. {PH1}: ±10, Shift: ±1, Alt: ±0.01",
|
|
191
|
+
latitude: "Latitude",
|
|
192
|
+
longitude: "Longitude",
|
|
193
|
+
timezoneId: "Timezone ID",
|
|
194
|
+
locale: "Locale",
|
|
195
|
+
accuracy: "Accuracy",
|
|
196
|
+
orientation: "Orientation",
|
|
197
|
+
off: "Off",
|
|
198
|
+
customOrientation: "Custom orientation",
|
|
199
|
+
enableOrientationToRotate: "Enable orientation to rotate",
|
|
200
|
+
shiftdragHorizontallyToRotate: "Shift+drag horizontally to rotate around the y-axis",
|
|
201
|
+
deviceOrientationSetToAlphaSBeta: "Device orientation set to alpha: {PH1}, beta: {PH2}, gamma: {PH3}",
|
|
202
|
+
reset: "Reset",
|
|
203
|
+
resetDeviceOrientation: "Reset device orientation",
|
|
204
|
+
forcesTouchInsteadOfClick: "Forces touch instead of click",
|
|
205
|
+
forcesSelectedIdleStateEmulation: "Forces selected idle state emulation",
|
|
206
|
+
forcesSelectedPressureStateEmulation: "Forces selected pressure state emulation",
|
|
207
|
+
presets: "Presets",
|
|
208
|
+
portrait: "Portrait",
|
|
209
|
+
portraitUpsideDown: "Portrait upside down",
|
|
210
|
+
landscapeLeft: "Landscape left",
|
|
211
|
+
landscapeRight: "Landscape right",
|
|
212
|
+
displayUp: "Display up",
|
|
213
|
+
displayDown: "Display down",
|
|
214
|
+
alpha: "α (alpha)",
|
|
215
|
+
beta: "β (beta)",
|
|
216
|
+
gamma: "γ (gamma)"
|
|
217
|
+
}, K = i("panels/sensors/SensorsView.ts", G), q = n.bind(void 0, K), J = class extends S {
|
|
218
|
+
#e;
|
|
219
|
+
#t;
|
|
220
|
+
#n;
|
|
221
|
+
#r;
|
|
222
|
+
fieldsetElement;
|
|
223
|
+
timezoneError;
|
|
224
|
+
locationSelectElement;
|
|
225
|
+
latitudeInput;
|
|
226
|
+
longitudeInput;
|
|
227
|
+
timezoneInput;
|
|
228
|
+
localeInput;
|
|
229
|
+
accuracyInput;
|
|
230
|
+
localeError;
|
|
231
|
+
accuracyError;
|
|
232
|
+
deviceOrientationSetting;
|
|
233
|
+
deviceOrientation;
|
|
234
|
+
deviceOrientationOverrideEnabled;
|
|
235
|
+
deviceOrientationFieldset;
|
|
236
|
+
stageElement;
|
|
237
|
+
orientationSelectElement;
|
|
238
|
+
alphaElement;
|
|
239
|
+
betaElement;
|
|
240
|
+
gammaElement;
|
|
241
|
+
orientationLayer;
|
|
242
|
+
boxMatrix;
|
|
243
|
+
mouseDownVector;
|
|
244
|
+
originalBoxMatrix;
|
|
245
|
+
constructor() {
|
|
246
|
+
super({
|
|
247
|
+
jslog: `${l("sensors").track({ resize: !0 })}`,
|
|
248
|
+
useShadowDom: !0
|
|
249
|
+
}), this.registerRequiredCSS(U), this.contentElement.classList.add("sensors-view"), this.#e = r.instance().createSetting("emulation.location-override", ""), this.#t = b.parseSetting(this.#e.get()), this.#n = !1, this.#r = this.contentElement.createChild("section", "sensors-group");
|
|
250
|
+
let e = r.instance().moduleSetting("emulation.locations");
|
|
251
|
+
this.renderLocationSection(this.#t, e), e.addChangeListener(() => this.renderLocationSection(this.#t, e)), this.createPanelSeparator(), this.deviceOrientationSetting = r.instance().createSetting("emulation.device-orientation-override", ""), this.deviceOrientation = A.parseSetting(this.deviceOrientationSetting.get()), this.deviceOrientationOverrideEnabled = !1, this.createDeviceOrientationSection(), this.createPanelSeparator(), this.appendTouchControl(), this.createPanelSeparator(), this.appendIdleEmulator(), this.createPanelSeparator(), this.createHardwareConcurrencySection(), this.createPanelSeparator(), this.createPressureSection(), this.createPanelSeparator();
|
|
252
|
+
}
|
|
253
|
+
createPanelSeparator() {
|
|
254
|
+
this.contentElement.createChild("div").classList.add("panel-section-separator");
|
|
255
|
+
}
|
|
256
|
+
renderLocationSection(e, n) {
|
|
257
|
+
let r = n.get(), i = 0;
|
|
258
|
+
if (this.#n) if (e.unavailable) i = r.length + 2;
|
|
259
|
+
else {
|
|
260
|
+
i = r.length + 1;
|
|
261
|
+
for (let [t, n] of r.entries()) if (e.latitude === n.lat && e.longitude === n.long && e.timezoneId === n.timezoneId && e.locale === n.locale) {
|
|
262
|
+
i = t + 1;
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
let a = D() ? "⌘" : "Ctrl", s = q(G.adjustWithMousewheelOrUpdownKeys, { PH1: a });
|
|
267
|
+
this.#r.setAttribute("jslog", `${O("location")}`), c(m`
|
|
268
|
+
<label class="sensors-group-title" id="location-select-label" for="location-select">${q(G.location)}</label>
|
|
269
|
+
<div class="geo-fields">
|
|
270
|
+
<select
|
|
271
|
+
id="location-select"
|
|
272
|
+
${x((e) => {
|
|
273
|
+
e && (this.locationSelectElement = e);
|
|
274
|
+
})}
|
|
275
|
+
.selectedIndex=${i}
|
|
276
|
+
@change=${this.#i.bind(this)}
|
|
277
|
+
jslog=${T().track({ change: !0 })}
|
|
278
|
+
>
|
|
279
|
+
<option value=${Z.NoOverride} jslog=${d("no-override")}>${q(G.noOverride)}</option>
|
|
280
|
+
<optgroup label=${q(G.overrides)}>
|
|
281
|
+
${r.map((e) => m`
|
|
282
|
+
<option value=${JSON.stringify(e)} jslog=${d("custom")}>${e.title}</option>
|
|
283
|
+
`)}
|
|
284
|
+
</optgroup>
|
|
285
|
+
<option value=${Z.Custom} jslog=${d("other")}>${q(G.other)}</option>
|
|
286
|
+
<optgroup label=${q(G.error)}>
|
|
287
|
+
<option value=${Z.Unavailable} jslog=${d("unavailable")}>${q(G.locationUnavailable)}</option>
|
|
288
|
+
</optgroup>
|
|
289
|
+
</select>
|
|
290
|
+
<devtools-button
|
|
291
|
+
.variant=${o.OUTLINED}
|
|
292
|
+
class="manage-locations"
|
|
293
|
+
@click=${() => t(n)}
|
|
294
|
+
aria-label=${q(G.manageTheListOfLocations)}
|
|
295
|
+
jslog=${C("sensors.manage-locations").track({ click: !0 })}
|
|
296
|
+
>
|
|
297
|
+
${q(G.manage)}
|
|
298
|
+
</devtools-button>
|
|
299
|
+
<fieldset
|
|
300
|
+
id="location-override-section"
|
|
301
|
+
?disabled=${!this.#n}
|
|
302
|
+
${x((e) => {
|
|
303
|
+
e && (this.fieldsetElement = e);
|
|
304
|
+
})}
|
|
305
|
+
>
|
|
306
|
+
<div class="latlong-group">
|
|
307
|
+
<!-- @ts-ignore -->
|
|
308
|
+
<input
|
|
309
|
+
id="latitude-input"
|
|
310
|
+
type="number"
|
|
311
|
+
min="-90"
|
|
312
|
+
max="90"
|
|
313
|
+
step="any"
|
|
314
|
+
required
|
|
315
|
+
.value=${String(e.latitude)}
|
|
316
|
+
name="latitude"
|
|
317
|
+
title=${s}
|
|
318
|
+
jslog=${j("latitude").track({ change: !0 })}
|
|
319
|
+
${x((e) => {
|
|
320
|
+
e && (this.latitudeInput = e);
|
|
321
|
+
})}
|
|
322
|
+
@change=${this.#a.bind(this)}
|
|
323
|
+
@keydown=${this.#o.bind(this)}
|
|
324
|
+
@focus=${this.#s.bind(this)}
|
|
325
|
+
>
|
|
326
|
+
<label class="latlong-title" for="latitude-input">${q(G.latitude)}</label>
|
|
327
|
+
</div>
|
|
328
|
+
<div class="latlong-group">
|
|
329
|
+
<!-- @ts-ignore -->
|
|
330
|
+
<input
|
|
331
|
+
id="longitude-input"
|
|
332
|
+
type="number"
|
|
333
|
+
min="-180"
|
|
334
|
+
max="180"
|
|
335
|
+
step="any"
|
|
336
|
+
required
|
|
337
|
+
.value=${String(e.longitude)}
|
|
338
|
+
name="longitude"
|
|
339
|
+
title=${s}
|
|
340
|
+
jslog=${j("longitude").track({ change: !0 })}
|
|
341
|
+
${x((e) => {
|
|
342
|
+
e && (this.longitudeInput = e);
|
|
343
|
+
})}
|
|
344
|
+
@change=${this.#a.bind(this)}
|
|
345
|
+
@keydown=${this.#o.bind(this)}
|
|
346
|
+
@focus=${this.#s.bind(this)}
|
|
347
|
+
>
|
|
348
|
+
<label class="latlong-title" for="longitude-input">${q(G.longitude)}</label>
|
|
349
|
+
</div>
|
|
350
|
+
<div class="latlong-group">
|
|
351
|
+
<input
|
|
352
|
+
id="timezone-input"
|
|
353
|
+
type="text"
|
|
354
|
+
pattern=".*[a-zA-Z].*"
|
|
355
|
+
.value=${e.timezoneId}
|
|
356
|
+
name="timezone"
|
|
357
|
+
jslog=${j("timezone").track({ change: !0 })}
|
|
358
|
+
${x((e) => {
|
|
359
|
+
e && (this.timezoneInput = e);
|
|
360
|
+
})}
|
|
361
|
+
@change=${this.#a.bind(this)}
|
|
362
|
+
@keydown=${this.#o.bind(this)}
|
|
363
|
+
@focus=${this.#s.bind(this)}
|
|
364
|
+
>
|
|
365
|
+
<label class="timezone-title" for="timezone-input">${q(G.timezoneId)}</label>
|
|
366
|
+
<div class="timezone-error" ${x((e) => {
|
|
367
|
+
e && (this.timezoneError = e);
|
|
368
|
+
})}></div>
|
|
369
|
+
</div>
|
|
370
|
+
<div class="latlong-group">
|
|
371
|
+
<input
|
|
372
|
+
id="locale-input"
|
|
373
|
+
type="text"
|
|
374
|
+
pattern=".*[a-zA-Z]{2}.*"
|
|
375
|
+
.value=${e.locale}
|
|
376
|
+
name="locale"
|
|
377
|
+
jslog=${j("locale").track({ change: !0 })}
|
|
378
|
+
${x((e) => {
|
|
379
|
+
e && (this.localeInput = e);
|
|
380
|
+
})}
|
|
381
|
+
@change=${this.#a.bind(this)}
|
|
382
|
+
@keydown=${this.#o.bind(this)}
|
|
383
|
+
@focus=${this.#s.bind(this)}
|
|
384
|
+
>
|
|
385
|
+
<label class="locale-title" for="locale-input">${q(G.locale)}</label>
|
|
386
|
+
<div class="locale-error" ${x((e) => {
|
|
387
|
+
e && (this.localeError = e);
|
|
388
|
+
})}></div>
|
|
389
|
+
</div>
|
|
390
|
+
<div class="latlong-group">
|
|
391
|
+
<!-- @ts-ignore -->
|
|
392
|
+
<input
|
|
393
|
+
id="accuracy-input"
|
|
394
|
+
type="number"
|
|
395
|
+
min="0"
|
|
396
|
+
step="any"
|
|
397
|
+
.value=${String(e.accuracy || b.DEFAULT_ACCURACY)}
|
|
398
|
+
name="accuracy"
|
|
399
|
+
jslog=${j("accuracy").track({ change: !0 })}
|
|
400
|
+
${x((e) => {
|
|
401
|
+
e && (this.accuracyInput = e);
|
|
402
|
+
})}
|
|
403
|
+
@change=${this.#a.bind(this)}
|
|
404
|
+
@keydown=${this.#o.bind(this)}
|
|
405
|
+
@focus=${this.#s.bind(this)}
|
|
406
|
+
>
|
|
407
|
+
<label class="accuracy-title" for="accuracy-input">${q(G.accuracy)}</label>
|
|
408
|
+
<div class="accuracy-error" ${x((e) => {
|
|
409
|
+
e && (this.accuracyError = e);
|
|
410
|
+
})}></div>
|
|
411
|
+
</div>
|
|
412
|
+
</fieldset>
|
|
413
|
+
</div>
|
|
414
|
+
`, this.#r);
|
|
415
|
+
}
|
|
416
|
+
#i() {
|
|
417
|
+
this.fieldsetElement.disabled = !1, this.timezoneError.textContent = "", this.accuracyError.textContent = "";
|
|
418
|
+
let e = this.locationSelectElement.options[this.locationSelectElement.selectedIndex].value;
|
|
419
|
+
if (e === Z.NoOverride) this.#n = !1, this.clearFieldsetElementInputs(), this.fieldsetElement.disabled = !0;
|
|
420
|
+
else if (e === Z.Custom) {
|
|
421
|
+
this.#n = !0;
|
|
422
|
+
let e = b.parseUserInput(this.latitudeInput.value.trim(), this.longitudeInput.value.trim(), this.timezoneInput.value.trim(), this.localeInput.value.trim(), this.accuracyInput.value.trim());
|
|
423
|
+
if (!e) return;
|
|
424
|
+
this.#t = e;
|
|
425
|
+
} else if (e === Z.Unavailable) this.#n = !0, this.#t = new b(0, 0, "", "", b.DEFAULT_ACCURACY, !0);
|
|
426
|
+
else {
|
|
427
|
+
this.#n = !0;
|
|
428
|
+
let t = JSON.parse(e);
|
|
429
|
+
this.#t = new b(t.lat, t.long, t.timezoneId, t.locale, t.accuracy || b.DEFAULT_ACCURACY, !1), this.latitudeInput.value = t.lat, this.longitudeInput.value = t.long, this.timezoneInput.value = t.timezoneId, this.localeInput.value = t.locale, this.accuracyInput.value = String(t.accuracy || b.DEFAULT_ACCURACY);
|
|
430
|
+
}
|
|
431
|
+
this.applyLocation(), e === Z.Custom && this.latitudeInput.focus();
|
|
432
|
+
}
|
|
433
|
+
#a(e) {
|
|
434
|
+
e.currentTarget.checkValidity() && this.applyLocationUserInput();
|
|
435
|
+
}
|
|
436
|
+
#o(e) {
|
|
437
|
+
let t = e.currentTarget;
|
|
438
|
+
if (e.key === "Enter") {
|
|
439
|
+
t.checkValidity() && this.applyLocationUserInput(), e.preventDefault();
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
442
|
+
if (!(t === this.latitudeInput || t === this.longitudeInput || t === this.accuracyInput)) return;
|
|
443
|
+
let n = t === this.accuracyInput ? 1 : .1, r = s(parseFloat(t.value), e, n);
|
|
444
|
+
if (r === null) return;
|
|
445
|
+
let i = t.value;
|
|
446
|
+
t.value = String(r), t.checkValidity() ? this.applyLocationUserInput() : t.value = i, e.preventDefault();
|
|
447
|
+
}
|
|
448
|
+
#s(e) {
|
|
449
|
+
e.currentTarget.select();
|
|
450
|
+
}
|
|
451
|
+
applyLocationUserInput() {
|
|
452
|
+
let e = b.parseUserInput(this.latitudeInput.value.trim(), this.longitudeInput.value.trim(), this.timezoneInput.value.trim(), this.localeInput.value.trim(), this.accuracyInput.value.trim());
|
|
453
|
+
e && (this.timezoneError.textContent = "", this.accuracyError.textContent = "", this.setSelectElementLabel(this.locationSelectElement, Z.Custom), this.#t = e, this.applyLocation());
|
|
454
|
+
}
|
|
455
|
+
applyLocation() {
|
|
456
|
+
this.#n ? this.#e.set(this.#t.toSetting()) : this.#e.set("");
|
|
457
|
+
for (let e of f.instance().models(u)) e.emulateLocation(this.#n ? this.#t : null).catch((e) => {
|
|
458
|
+
switch (e.type) {
|
|
459
|
+
case "emulation-set-timezone":
|
|
460
|
+
this.timezoneError.textContent = e.message;
|
|
461
|
+
break;
|
|
462
|
+
case "emulation-set-locale":
|
|
463
|
+
this.localeError.textContent = e.message;
|
|
464
|
+
break;
|
|
465
|
+
case "emulation-set-accuracy":
|
|
466
|
+
this.accuracyError.textContent = e.message;
|
|
467
|
+
break;
|
|
468
|
+
}
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
clearFieldsetElementInputs() {
|
|
472
|
+
this.latitudeInput.value = "0", this.longitudeInput.value = "0", this.timezoneInput.value = "", this.localeInput.value = "", this.accuracyInput.value = b.DEFAULT_ACCURACY.toString();
|
|
473
|
+
}
|
|
474
|
+
createDeviceOrientationSection() {
|
|
475
|
+
let e = this.contentElement.createChild("section", "sensors-group");
|
|
476
|
+
e.setAttribute("jslog", `${O("device-orientation")}`);
|
|
477
|
+
let t = {
|
|
478
|
+
title: q(G.off),
|
|
479
|
+
orientation: Z.NoOverride,
|
|
480
|
+
jslogContext: "off"
|
|
481
|
+
}, n = {
|
|
482
|
+
title: q(G.customOrientation),
|
|
483
|
+
orientation: Z.Custom
|
|
484
|
+
}, r = [{
|
|
485
|
+
title: q(G.presets),
|
|
486
|
+
value: [
|
|
487
|
+
{
|
|
488
|
+
title: q(G.portrait),
|
|
489
|
+
orientation: "[0, 90, 0]",
|
|
490
|
+
jslogContext: "portrait"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
title: q(G.portraitUpsideDown),
|
|
494
|
+
orientation: "[180, -90, 0]",
|
|
495
|
+
jslogContext: "portrait-upside-down"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
title: q(G.landscapeLeft),
|
|
499
|
+
orientation: "[90, 0, -90]",
|
|
500
|
+
jslogContext: "landscape-left"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
title: q(G.landscapeRight),
|
|
504
|
+
orientation: "[90, -180, -90]",
|
|
505
|
+
jslogContext: "landscape-right"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
title: q(G.displayUp),
|
|
509
|
+
orientation: "[0, 0, 0]",
|
|
510
|
+
jslogContext: "display-up"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
title: q(G.displayDown),
|
|
514
|
+
orientation: "[0, -180, 0]",
|
|
515
|
+
jslogContext: "displayUp-down"
|
|
516
|
+
}
|
|
517
|
+
]
|
|
518
|
+
}];
|
|
519
|
+
c(m`
|
|
520
|
+
<label class="sensors-group-title" for="orientation-select">${q(G.orientation)}</label>
|
|
521
|
+
<div class="orientation-content">
|
|
522
|
+
<div class="orientation-fields">
|
|
523
|
+
<select
|
|
524
|
+
id="orientation-select"
|
|
525
|
+
${x((e) => {
|
|
526
|
+
e && (this.orientationSelectElement = e);
|
|
527
|
+
})}
|
|
528
|
+
@change=${this.orientationSelectChanged.bind(this)}
|
|
529
|
+
jslog=${T().track({ change: !0 })}
|
|
530
|
+
>
|
|
531
|
+
<option value=${t.orientation} jslog=${d(t.jslogContext)}>${t.title}</option>
|
|
532
|
+
<option value=${n.orientation} jslog=${d("custom")}>${n.title}</option>
|
|
533
|
+
${r.map((e) => m`
|
|
534
|
+
<optgroup label=${e.title}>
|
|
535
|
+
${e.value.map((e) => m`
|
|
536
|
+
<option value=${e.orientation} jslog=${d(e.jslogContext)}>${e.title}</option>
|
|
537
|
+
`)}
|
|
538
|
+
</optgroup>
|
|
539
|
+
`)}
|
|
540
|
+
</select>
|
|
541
|
+
<fieldset
|
|
542
|
+
class="device-orientation-override-section"
|
|
543
|
+
${x((e) => {
|
|
544
|
+
e && (this.deviceOrientationFieldset = e);
|
|
545
|
+
})}
|
|
546
|
+
>
|
|
547
|
+
<div class="orientation-inputs-cell">
|
|
548
|
+
<div class="orientation-axis-input-container">
|
|
549
|
+
<!-- @ts-ignore -->
|
|
550
|
+
<input
|
|
551
|
+
id="alpha-input"
|
|
552
|
+
type="number"
|
|
553
|
+
min="0"
|
|
554
|
+
max="359.9999"
|
|
555
|
+
step="any"
|
|
556
|
+
required
|
|
557
|
+
${x((e) => {
|
|
558
|
+
e && (this.alphaElement = e);
|
|
559
|
+
})}
|
|
560
|
+
@change=${this.#c.bind(this)}
|
|
561
|
+
@keydown=${this.#l.bind(this)}
|
|
562
|
+
@focus=${this.#u.bind(this)}
|
|
563
|
+
>
|
|
564
|
+
<label for="alpha-input">${q(G.alpha)}</label>
|
|
565
|
+
</div>
|
|
566
|
+
<div class="orientation-axis-input-container">
|
|
567
|
+
<!-- @ts-ignore -->
|
|
568
|
+
<input
|
|
569
|
+
id="beta-input"
|
|
570
|
+
type="number"
|
|
571
|
+
min="-180"
|
|
572
|
+
max="179.9999"
|
|
573
|
+
step="any"
|
|
574
|
+
required
|
|
575
|
+
${x((e) => {
|
|
576
|
+
e && (this.betaElement = e);
|
|
577
|
+
})}
|
|
578
|
+
@change=${this.#c.bind(this)}
|
|
579
|
+
@keydown=${this.#l.bind(this)}
|
|
580
|
+
@focus=${this.#u.bind(this)}
|
|
581
|
+
>
|
|
582
|
+
<label for="beta-input">${q(G.beta)}</label>
|
|
583
|
+
</div>
|
|
584
|
+
<div class="orientation-axis-input-container">
|
|
585
|
+
<!-- @ts-ignore -->
|
|
586
|
+
<input
|
|
587
|
+
id="gamma-input"
|
|
588
|
+
type="number"
|
|
589
|
+
min="-90"
|
|
590
|
+
max="89.9999"
|
|
591
|
+
step="any"
|
|
592
|
+
required
|
|
593
|
+
${x((e) => {
|
|
594
|
+
e && (this.gammaElement = e);
|
|
595
|
+
})}
|
|
596
|
+
@change=${this.#c.bind(this)}
|
|
597
|
+
@keydown=${this.#l.bind(this)}
|
|
598
|
+
@focus=${this.#u.bind(this)}
|
|
599
|
+
>
|
|
600
|
+
<label for="gamma-input">${q(G.gamma)}</label>
|
|
601
|
+
</div>
|
|
602
|
+
<devtools-button
|
|
603
|
+
.variant=${o.OUTLINED}
|
|
604
|
+
class="orientation-reset-button"
|
|
605
|
+
type="reset"
|
|
606
|
+
aria-label=${q(G.resetDeviceOrientation)}
|
|
607
|
+
@click=${this.resetDeviceOrientation.bind(this)}
|
|
608
|
+
jslog=${C("sensors.reset-device-orientiation").track({ click: !0 })}
|
|
609
|
+
>
|
|
610
|
+
${q(G.reset)}
|
|
611
|
+
</devtools-button>
|
|
612
|
+
</div>
|
|
613
|
+
</fieldset>
|
|
614
|
+
</div>
|
|
615
|
+
<div
|
|
616
|
+
class="orientation-stage"
|
|
617
|
+
jslog=${a().track({ drag: !0 })}
|
|
618
|
+
${x((e) => {
|
|
619
|
+
e && !this.stageElement && (this.stageElement = e, p(this.stageElement, this.onBoxDragStart.bind(this), (e) => {
|
|
620
|
+
this.onBoxDrag(e);
|
|
621
|
+
}, null, "-webkit-grabbing", "-webkit-grab"));
|
|
622
|
+
})}
|
|
623
|
+
>
|
|
624
|
+
<div class="orientation-layer" ${x((e) => {
|
|
625
|
+
e && (this.orientationLayer = e);
|
|
626
|
+
})}>
|
|
627
|
+
<section
|
|
628
|
+
class="orientation-box orientation-element"
|
|
629
|
+
>
|
|
630
|
+
<section class="orientation-front orientation-element"></section>
|
|
631
|
+
<section class="orientation-top orientation-element"></section>
|
|
632
|
+
<section class="orientation-back orientation-element"></section>
|
|
633
|
+
<section class="orientation-left orientation-element"></section>
|
|
634
|
+
<section class="orientation-right orientation-element"></section>
|
|
635
|
+
<section class="orientation-bottom orientation-element"></section>
|
|
636
|
+
</section>
|
|
637
|
+
</div>
|
|
638
|
+
</div>
|
|
639
|
+
</div>
|
|
640
|
+
`, e), this.enableOrientationFields(!0), this.setBoxOrientation(this.deviceOrientation, !1), this.alphaElement.value = String(this.deviceOrientation.alpha), this.betaElement.value = String(this.deviceOrientation.beta), this.gammaElement.value = String(this.deviceOrientation.gamma);
|
|
641
|
+
}
|
|
642
|
+
createPressureSection() {
|
|
643
|
+
let e = this.contentElement.createChild("div", "pressure-section"), t = F(r.instance().moduleSetting("emulation.cpu-pressure"), q(G.forcesSelectedPressureStateEmulation));
|
|
644
|
+
t && e.appendChild(t);
|
|
645
|
+
}
|
|
646
|
+
enableOrientationFields(e) {
|
|
647
|
+
e ? (this.deviceOrientationFieldset.disabled = !0, this.stageElement.classList.add("disabled"), v.install(this.stageElement, q(G.enableOrientationToRotate))) : (this.deviceOrientationFieldset.disabled = !1, this.stageElement.classList.remove("disabled"), v.install(this.stageElement, q(G.shiftdragHorizontallyToRotate)));
|
|
648
|
+
}
|
|
649
|
+
orientationSelectChanged() {
|
|
650
|
+
let e = this.orientationSelectElement.options[this.orientationSelectElement.selectedIndex].value;
|
|
651
|
+
if (this.enableOrientationFields(!1), e === Z.NoOverride) this.deviceOrientationOverrideEnabled = !1, this.enableOrientationFields(!0), this.applyDeviceOrientation();
|
|
652
|
+
else if (e === Z.Custom) this.deviceOrientationOverrideEnabled = !0, this.resetDeviceOrientation(), this.alphaElement.focus();
|
|
653
|
+
else {
|
|
654
|
+
let t = JSON.parse(e);
|
|
655
|
+
this.deviceOrientationOverrideEnabled = !0, this.deviceOrientation = new A(t[0], t[1], t[2]), this.setDeviceOrientation(this.deviceOrientation, "selectPreset");
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
applyDeviceOrientation() {
|
|
659
|
+
this.deviceOrientationOverrideEnabled && this.deviceOrientationSetting.set(this.deviceOrientation.toSetting());
|
|
660
|
+
for (let e of f.instance().models(u)) e.emulateDeviceOrientation(this.deviceOrientationOverrideEnabled ? this.deviceOrientation : null);
|
|
661
|
+
}
|
|
662
|
+
setSelectElementLabel(e, t) {
|
|
663
|
+
e.selectedIndex = Array.prototype.map.call(e.options, (e) => e.value).indexOf(t);
|
|
664
|
+
}
|
|
665
|
+
applyDeviceOrientationUserInput() {
|
|
666
|
+
this.setDeviceOrientation(A.parseUserInput(this.alphaElement.value.trim(), this.betaElement.value.trim(), this.gammaElement.value.trim()), "userInput"), this.setSelectElementLabel(this.orientationSelectElement, Z.Custom);
|
|
667
|
+
}
|
|
668
|
+
resetDeviceOrientation() {
|
|
669
|
+
this.setDeviceOrientation(new A(0, 90, 0), "resetButton"), this.setSelectElementLabel(this.orientationSelectElement, "[0, 90, 0]");
|
|
670
|
+
}
|
|
671
|
+
setDeviceOrientation(e, t) {
|
|
672
|
+
if (!e) return;
|
|
673
|
+
function n(e) {
|
|
674
|
+
return Math.round(e * 1e4) / 1e4;
|
|
675
|
+
}
|
|
676
|
+
t !== "userInput" && (this.alphaElement.value = String(n(e.alpha)), this.betaElement.value = String(n(e.beta)), this.gammaElement.value = String(n(e.gamma)));
|
|
677
|
+
let r = t !== "userDrag";
|
|
678
|
+
this.setBoxOrientation(e, r), this.deviceOrientation = e, this.applyDeviceOrientation(), _.alert(q(G.deviceOrientationSetToAlphaSBeta, {
|
|
679
|
+
PH1: e.alpha,
|
|
680
|
+
PH2: e.beta,
|
|
681
|
+
PH3: e.gamma
|
|
682
|
+
}));
|
|
683
|
+
}
|
|
684
|
+
#c(e) {
|
|
685
|
+
e.currentTarget.checkValidity() && this.applyDeviceOrientationUserInput();
|
|
686
|
+
}
|
|
687
|
+
#l(e) {
|
|
688
|
+
let t = e.currentTarget;
|
|
689
|
+
if (e.key === "Enter") {
|
|
690
|
+
t.checkValidity() && this.applyDeviceOrientationUserInput(), e.preventDefault();
|
|
691
|
+
return;
|
|
692
|
+
}
|
|
693
|
+
let n = s(parseFloat(t.value), e, 1);
|
|
694
|
+
if (n === null) return;
|
|
695
|
+
let r = t.value;
|
|
696
|
+
t.value = String(n), t.checkValidity() ? this.applyDeviceOrientationUserInput() : t.value = r, e.preventDefault();
|
|
697
|
+
}
|
|
698
|
+
#u(e) {
|
|
699
|
+
e.currentTarget.select();
|
|
700
|
+
}
|
|
701
|
+
setBoxOrientation(e, t) {
|
|
702
|
+
t ? this.stageElement.classList.add("is-animating") : this.stageElement.classList.remove("is-animating");
|
|
703
|
+
let { alpha: n, beta: r, gamma: i } = e;
|
|
704
|
+
this.boxMatrix = new DOMMatrixReadOnly().rotate(0, 0, n).rotate(r, 0, 0).rotate(0, i, 0), this.orientationLayer.style.transform = `rotateY(${n}deg) rotateX(${-r}deg) rotateZ(${i}deg)`;
|
|
705
|
+
}
|
|
706
|
+
onBoxDrag(e) {
|
|
707
|
+
let t = this.calculateRadiusVector(e.x, e.y);
|
|
708
|
+
if (!t || !this.mouseDownVector) return !0;
|
|
709
|
+
e.consume(!0);
|
|
710
|
+
let n, r;
|
|
711
|
+
e.shiftKey ? (n = new P(0, 0, 1), r = (t.x - this.mouseDownVector.x) * 16) : (n = h(this.mouseDownVector, t), r = N(this.mouseDownVector, t));
|
|
712
|
+
let i = new DOMMatrixReadOnly().rotateAxisAngle(-n.x, n.z, n.y, r).multiply(this.originalBoxMatrix), a = w.fromDeviceOrientationRotationMatrix(i), o = new A(a.alpha, a.beta, a.gamma);
|
|
713
|
+
return this.setDeviceOrientation(o, "userDrag"), this.setSelectElementLabel(this.orientationSelectElement, Z.Custom), !1;
|
|
714
|
+
}
|
|
715
|
+
onBoxDragStart(e) {
|
|
716
|
+
return !this.deviceOrientationOverrideEnabled || (this.mouseDownVector = this.calculateRadiusVector(e.x, e.y), this.originalBoxMatrix = this.boxMatrix, !this.mouseDownVector) ? !1 : (e.consume(!0), !0);
|
|
717
|
+
}
|
|
718
|
+
calculateRadiusVector(e, t) {
|
|
719
|
+
let n = this.stageElement.getBoundingClientRect(), r = Math.max(n.width, n.height) / 2, i = (e - n.left - n.width / 2) / r, a = (t - n.top - n.height / 2) / r, o = i * i + a * a;
|
|
720
|
+
return o > .5 ? new P(i, a, .5 / Math.sqrt(o)) : new P(i, a, Math.sqrt(1 - o));
|
|
721
|
+
}
|
|
722
|
+
appendTouchControl() {
|
|
723
|
+
let e = this.contentElement.createChild("div", "touch-section"), t = F(r.instance().moduleSetting("emulation.touch"), q(G.forcesTouchInsteadOfClick));
|
|
724
|
+
t && e.appendChild(t);
|
|
725
|
+
}
|
|
726
|
+
appendIdleEmulator() {
|
|
727
|
+
let e = this.contentElement.createChild("div", "idle-section"), t = F(r.instance().moduleSetting("emulation.idle-detection"), q(G.forcesSelectedIdleStateEmulation));
|
|
728
|
+
t && e.appendChild(t);
|
|
729
|
+
}
|
|
730
|
+
createHardwareConcurrencySection() {
|
|
731
|
+
let e = this.contentElement.createChild("div", "concurrency-section"), { checkbox: t, numericInput: n, reset: r, warning: i } = I().createHardwareConcurrencySelector(), a = document.createElement("div");
|
|
732
|
+
a.classList.add("concurrency-details"), a.append(n.element, r.element, i.element), e.append(t, a);
|
|
733
|
+
}
|
|
734
|
+
}, Y = /* @__PURE__ */ function(e) {
|
|
735
|
+
return e.USER_INPUT = "userInput", e.USER_DRAG = "userDrag", e.RESET_BUTTON = "resetButton", e.SELECT_PRESET = "selectPreset", e;
|
|
736
|
+
}({}), X = {
|
|
737
|
+
NoOverride: "no-override",
|
|
738
|
+
Nominal: "nominal",
|
|
739
|
+
Fair: "fair",
|
|
740
|
+
Serious: "serious",
|
|
741
|
+
Critical: "critical"
|
|
742
|
+
}, Z = {
|
|
743
|
+
NoOverride: "noOverride",
|
|
744
|
+
Custom: "custom",
|
|
745
|
+
Unavailable: "unavailable"
|
|
746
|
+
}, Q = class {
|
|
747
|
+
handleAction(e, t) {
|
|
748
|
+
return E.instance().showView("sensors"), !0;
|
|
749
|
+
}
|
|
750
|
+
};
|
|
751
|
+
//#endregion
|
|
752
|
+
export { R as LocationsSettingsTab, W as SensorsView };
|