@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,2732 @@
|
|
|
1
|
+
import { At as e, at as t, bt as n, d as r, u as i, vt as a, wt as o } from "./common-qd_KLeYO.js";
|
|
2
|
+
import { Js as s, Md as c, Vc as l, Wc as u, Yd as d, Ys as f, cs as p, hd as m, ls as h, mf as g, pf as _, rf as v, vi as y } from "./legacy-C0IOfyhX.js";
|
|
3
|
+
//#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/models/emulation/EmulatedDevices.ts
|
|
4
|
+
var b = {
|
|
5
|
+
laptopWithTouch: "Laptop with touch",
|
|
6
|
+
laptopWithHiDPIScreen: "Laptop with HiDPI screen",
|
|
7
|
+
laptopWithMDPIScreen: "Laptop with MDPI screen"
|
|
8
|
+
}, x = o("models/emulation/EmulatedDevices.ts", b), S = a.bind(void 0, x);
|
|
9
|
+
function C(e) {
|
|
10
|
+
return e.replace(/@url\(([^\)]*?)\)/g, (e, t) => new URL(`../../emulated_devices/${t}`, new URL("models/emulation/EmulatedDevices.js", typeof document < "u" ? document.baseURI : new URL("../../", self.location.href).href).href).toString());
|
|
11
|
+
}
|
|
12
|
+
var w = class e {
|
|
13
|
+
title;
|
|
14
|
+
type;
|
|
15
|
+
order;
|
|
16
|
+
vertical;
|
|
17
|
+
horizontal;
|
|
18
|
+
deviceScaleFactor;
|
|
19
|
+
capabilities;
|
|
20
|
+
userAgent;
|
|
21
|
+
userAgentMetadata;
|
|
22
|
+
modes;
|
|
23
|
+
isDualScreen;
|
|
24
|
+
isFoldableScreen;
|
|
25
|
+
verticalSpanned;
|
|
26
|
+
horizontalSpanned;
|
|
27
|
+
#e;
|
|
28
|
+
#t;
|
|
29
|
+
constructor() {
|
|
30
|
+
this.title = "", this.type = "unknown", this.vertical = {
|
|
31
|
+
width: 0,
|
|
32
|
+
height: 0,
|
|
33
|
+
outlineInsets: null,
|
|
34
|
+
outlineImage: null,
|
|
35
|
+
hinge: null
|
|
36
|
+
}, this.horizontal = {
|
|
37
|
+
width: 0,
|
|
38
|
+
height: 0,
|
|
39
|
+
outlineInsets: null,
|
|
40
|
+
outlineImage: null,
|
|
41
|
+
hinge: null
|
|
42
|
+
}, this.deviceScaleFactor = 1, this.capabilities = ["touch", "mobile"], this.userAgent = "", this.userAgentMetadata = null, this.modes = [], this.isDualScreen = !1, this.isFoldableScreen = !1, this.verticalSpanned = {
|
|
43
|
+
width: 0,
|
|
44
|
+
height: 0,
|
|
45
|
+
outlineInsets: null,
|
|
46
|
+
outlineImage: null,
|
|
47
|
+
hinge: null
|
|
48
|
+
}, this.horizontalSpanned = {
|
|
49
|
+
width: 0,
|
|
50
|
+
height: 0,
|
|
51
|
+
outlineInsets: null,
|
|
52
|
+
outlineImage: null,
|
|
53
|
+
hinge: null
|
|
54
|
+
}, this.#e = "Default", this.#t = !0;
|
|
55
|
+
}
|
|
56
|
+
static fromJSONV1(t) {
|
|
57
|
+
try {
|
|
58
|
+
function n(e, t, n, r) {
|
|
59
|
+
if (typeof e != "object" || !e || !e.hasOwnProperty(t)) {
|
|
60
|
+
if (r !== void 0) return r;
|
|
61
|
+
throw Error("Emulated device is missing required property '" + t + "'");
|
|
62
|
+
}
|
|
63
|
+
let i = e[t];
|
|
64
|
+
if (typeof i !== n || i === null) throw Error("Emulated device property '" + t + "' has wrong type '" + typeof i + "'");
|
|
65
|
+
return i;
|
|
66
|
+
}
|
|
67
|
+
function r(e, t) {
|
|
68
|
+
let r = n(e, t, "number");
|
|
69
|
+
if (r !== Math.abs(r)) throw Error("Emulated device value '" + t + "' must be integer");
|
|
70
|
+
return r;
|
|
71
|
+
}
|
|
72
|
+
function i(e) {
|
|
73
|
+
return new V(r(e, "left"), r(e, "top"), r(e, "right"), r(e, "bottom"));
|
|
74
|
+
}
|
|
75
|
+
function a(e) {
|
|
76
|
+
let t = {};
|
|
77
|
+
if (t.r = r(e, "r"), t.r < 0 || t.r > 255) throw Error("color has wrong r value: " + t.r);
|
|
78
|
+
if (t.g = r(e, "g"), t.g < 0 || t.g > 255) throw Error("color has wrong g value: " + t.g);
|
|
79
|
+
if (t.b = r(e, "b"), t.b < 0 || t.b > 255) throw Error("color has wrong b value: " + t.b);
|
|
80
|
+
if (t.a = n(e, "a", "number"), t.a < 0 || t.a > 1) throw Error("color has wrong a value: " + t.a);
|
|
81
|
+
return t;
|
|
82
|
+
}
|
|
83
|
+
function o(e) {
|
|
84
|
+
let t = {};
|
|
85
|
+
if (t.width = r(e, "width"), t.width < 0 || t.width > 9999) throw Error("Emulated device has wrong hinge width: " + t.width);
|
|
86
|
+
if (t.height = r(e, "height"), t.height < 0 || t.height > 9999) throw Error("Emulated device has wrong hinge height: " + t.height);
|
|
87
|
+
if (t.x = r(e, "x"), t.x < 0 || t.x > 9999) throw Error("Emulated device has wrong x offset: " + t.height);
|
|
88
|
+
if (t.y = r(e, "y"), t.x < 0 || t.x > 9999) throw Error("Emulated device has wrong y offset: " + t.height);
|
|
89
|
+
return e.contentColor && (t.contentColor = a(e.contentColor)), e.outlineColor && (t.outlineColor = a(e.outlineColor)), t;
|
|
90
|
+
}
|
|
91
|
+
function s(e) {
|
|
92
|
+
let t = {};
|
|
93
|
+
if (t.width = r(e, "width"), t.width < 0 || t.width > 9999 || t.width < 50) throw Error("Emulated device has wrong width: " + t.width);
|
|
94
|
+
if (t.height = r(e, "height"), t.height < 0 || t.height > 9999 || t.height < 50) throw Error("Emulated device has wrong height: " + t.height);
|
|
95
|
+
let a = n(e.outline, "insets", "object", null);
|
|
96
|
+
if (a) {
|
|
97
|
+
if (t.outlineInsets = i(a), t.outlineInsets.left < 0 || t.outlineInsets.top < 0) throw Error("Emulated device has wrong outline insets");
|
|
98
|
+
t.outlineImage = n(e.outline, "image", "string");
|
|
99
|
+
}
|
|
100
|
+
return e.hinge && (t.hinge = o(n(e, "hinge", "object", void 0))), t;
|
|
101
|
+
}
|
|
102
|
+
let c = new e();
|
|
103
|
+
c.title = n(t, "title", "string");
|
|
104
|
+
let l = n(t, "type", "string");
|
|
105
|
+
if (!Object.values(k).includes(l)) throw Error("Emulated device has wrong type: " + l);
|
|
106
|
+
c.type = l, c.order = n(t, "order", "number", 0);
|
|
107
|
+
let u = n(t, "user-agent", "string");
|
|
108
|
+
c.userAgent = m.patchUserAgentWithChromeVersion(u);
|
|
109
|
+
let d = n(t, "user-agent-metadata", "object", null);
|
|
110
|
+
c.userAgentMetadata = c.userAgent ? d : null;
|
|
111
|
+
let f = n(t, "capabilities", "object", []);
|
|
112
|
+
if (!Array.isArray(f)) throw Error("Emulated device capabilities must be an array");
|
|
113
|
+
c.capabilities = [];
|
|
114
|
+
for (let e = 0; e < f.length; ++e) {
|
|
115
|
+
if (typeof f[e] != "string") throw Error("Emulated device capability must be a string");
|
|
116
|
+
c.capabilities.push(f[e]);
|
|
117
|
+
}
|
|
118
|
+
if (c.deviceScaleFactor = n(t.screen, "device-pixel-ratio", "number"), c.deviceScaleFactor < 0 || c.deviceScaleFactor > 100) throw Error("Emulated device has wrong deviceScaleFactor: " + c.deviceScaleFactor);
|
|
119
|
+
if (c.vertical = s(n(t.screen, "vertical", "object")), c.horizontal = s(n(t.screen, "horizontal", "object")), c.isDualScreen = n(t, "dual-screen", "boolean", !1), c.isFoldableScreen = n(t, "foldable-screen", "boolean", !1), (c.isDualScreen || c.isFoldableScreen) && (c.verticalSpanned = s(n(t.screen, "vertical-spanned", "object", null)), c.horizontalSpanned = s(n(t.screen, "horizontal-spanned", "object", null))), (c.isDualScreen || c.isFoldableScreen) && (!c.verticalSpanned || !c.horizontalSpanned)) throw Error("Emulated device '" + c.title + "'has dual screen without spanned orientations");
|
|
120
|
+
let p = n(t, "modes", "object", [{
|
|
121
|
+
title: "default",
|
|
122
|
+
orientation: "vertical"
|
|
123
|
+
}, {
|
|
124
|
+
title: "default",
|
|
125
|
+
orientation: "horizontal"
|
|
126
|
+
}]);
|
|
127
|
+
if (!Array.isArray(p)) throw Error("Emulated device modes must be an array");
|
|
128
|
+
c.modes = [];
|
|
129
|
+
for (let e = 0; e < p.length; ++e) {
|
|
130
|
+
let t = {};
|
|
131
|
+
if (t.title = n(p[e], "title", "string"), t.orientation = n(p[e], "orientation", "string"), t.orientation !== "vertical" && t.orientation !== "horizontal" && t.orientation !== "vertical-spanned" && t.orientation !== "horizontal-spanned") throw Error("Emulated device mode has wrong orientation '" + t.orientation + "'");
|
|
132
|
+
let r = c.orientationByName(t.orientation);
|
|
133
|
+
if (t.insets = i(n(p[e], "insets", "object", {
|
|
134
|
+
left: 0,
|
|
135
|
+
top: 0,
|
|
136
|
+
right: 0,
|
|
137
|
+
bottom: 0
|
|
138
|
+
})), t.insets.top < 0 || t.insets.left < 0 || t.insets.right < 0 || t.insets.bottom < 0 || t.insets.top + t.insets.bottom > r.height || t.insets.left + t.insets.right > r.width) throw Error("Emulated device mode '" + t.title + "'has wrong mode insets");
|
|
139
|
+
t.image = n(p[e], "image", "string", null), c.modes.push(t);
|
|
140
|
+
}
|
|
141
|
+
c.#t = n(t, "show-by-default", "boolean", void 0);
|
|
142
|
+
let h = n(t, "show", "string", "Default");
|
|
143
|
+
if (!Object.values(j).includes(h)) throw Error("Emulated device has wrong show mode: " + h);
|
|
144
|
+
return c.#e = h, c;
|
|
145
|
+
} catch {
|
|
146
|
+
return null;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
static deviceComparator(e, t) {
|
|
150
|
+
let n = e.order || 0, r = t.order || 0;
|
|
151
|
+
return n > r ? 1 : r > n || e.title < t.title ? -1 : +(e.title > t.title);
|
|
152
|
+
}
|
|
153
|
+
modesForOrientation(e) {
|
|
154
|
+
let t = [];
|
|
155
|
+
for (let n = 0; n < this.modes.length; n++) this.modes[n].orientation === e && t.push(this.modes[n]);
|
|
156
|
+
return t;
|
|
157
|
+
}
|
|
158
|
+
getSpanPartner(e) {
|
|
159
|
+
switch (e.orientation) {
|
|
160
|
+
case E: return this.modesForOrientation(O)[0];
|
|
161
|
+
case T: return this.modesForOrientation(D)[0];
|
|
162
|
+
case O: return this.modesForOrientation(E)[0];
|
|
163
|
+
default: return this.modesForOrientation(T)[0];
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
getRotationPartner(e) {
|
|
167
|
+
switch (e.orientation) {
|
|
168
|
+
case D: return this.modesForOrientation(O)[0];
|
|
169
|
+
case O: return this.modesForOrientation(D)[0];
|
|
170
|
+
case T: return this.modesForOrientation(E)[0];
|
|
171
|
+
default: return this.modesForOrientation(T)[0];
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
toJSON() {
|
|
175
|
+
let e = {};
|
|
176
|
+
e.title = this.title, e.type = this.type, e["user-agent"] = this.userAgent, e.capabilities = this.capabilities, e.screen = {
|
|
177
|
+
"device-pixel-ratio": this.deviceScaleFactor,
|
|
178
|
+
vertical: this.orientationToJSON(this.vertical),
|
|
179
|
+
horizontal: this.orientationToJSON(this.horizontal),
|
|
180
|
+
"vertical-spanned": void 0,
|
|
181
|
+
"horizontal-spanned": void 0
|
|
182
|
+
}, (this.isDualScreen || this.isFoldableScreen) && (e.screen["vertical-spanned"] = this.orientationToJSON(this.verticalSpanned), e.screen["horizontal-spanned"] = this.orientationToJSON(this.horizontalSpanned)), e.modes = [];
|
|
183
|
+
for (let t = 0; t < this.modes.length; ++t) {
|
|
184
|
+
let n = {
|
|
185
|
+
title: this.modes[t].title,
|
|
186
|
+
orientation: this.modes[t].orientation,
|
|
187
|
+
insets: {
|
|
188
|
+
left: this.modes[t].insets.left,
|
|
189
|
+
top: this.modes[t].insets.top,
|
|
190
|
+
right: this.modes[t].insets.right,
|
|
191
|
+
bottom: this.modes[t].insets.bottom
|
|
192
|
+
},
|
|
193
|
+
image: this.modes[t].image || void 0
|
|
194
|
+
};
|
|
195
|
+
e.modes.push(n);
|
|
196
|
+
}
|
|
197
|
+
return e["show-by-default"] = this.#t, e["dual-screen"] = this.isDualScreen, e["foldable-screen"] = this.isFoldableScreen, e.show = this.#e, this.userAgent && this.userAgentMetadata && (e["user-agent-metadata"] = this.userAgentMetadata), e;
|
|
198
|
+
}
|
|
199
|
+
orientationToJSON(e) {
|
|
200
|
+
let t = {};
|
|
201
|
+
return t.width = e.width, t.height = e.height, e.outlineInsets && (t.outline = {
|
|
202
|
+
insets: {
|
|
203
|
+
left: e.outlineInsets.left,
|
|
204
|
+
top: e.outlineInsets.top,
|
|
205
|
+
right: e.outlineInsets.right,
|
|
206
|
+
bottom: e.outlineInsets.bottom
|
|
207
|
+
},
|
|
208
|
+
image: e.outlineImage
|
|
209
|
+
}), e.hinge && (t.hinge = {
|
|
210
|
+
width: e.hinge.width,
|
|
211
|
+
height: e.hinge.height,
|
|
212
|
+
x: e.hinge.x,
|
|
213
|
+
y: e.hinge.y
|
|
214
|
+
}, e.hinge.contentColor && (t.hinge.contentColor = {
|
|
215
|
+
r: e.hinge.contentColor.r,
|
|
216
|
+
g: e.hinge.contentColor.g,
|
|
217
|
+
b: e.hinge.contentColor.b,
|
|
218
|
+
a: e.hinge.contentColor.a
|
|
219
|
+
}), e.hinge.outlineColor && (t.hinge.outlineColor = {
|
|
220
|
+
r: e.hinge.outlineColor.r,
|
|
221
|
+
g: e.hinge.outlineColor.g,
|
|
222
|
+
b: e.hinge.outlineColor.b,
|
|
223
|
+
a: e.hinge.outlineColor.a
|
|
224
|
+
})), t;
|
|
225
|
+
}
|
|
226
|
+
modeImage(e) {
|
|
227
|
+
return e.image ? C(e.image) : "";
|
|
228
|
+
}
|
|
229
|
+
outlineImage(e) {
|
|
230
|
+
let t = this.orientationByName(e.orientation);
|
|
231
|
+
return t.outlineImage ? C(t.outlineImage) : "";
|
|
232
|
+
}
|
|
233
|
+
orientationByName(e) {
|
|
234
|
+
switch (e) {
|
|
235
|
+
case O: return this.verticalSpanned;
|
|
236
|
+
case D: return this.horizontalSpanned;
|
|
237
|
+
case E: return this.vertical;
|
|
238
|
+
default: return this.horizontal;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
show() {
|
|
242
|
+
return this.#e === "Default" ? this.#t : this.#e === "Always";
|
|
243
|
+
}
|
|
244
|
+
setShow(e) {
|
|
245
|
+
this.#e = e ? "Always" : "Never";
|
|
246
|
+
}
|
|
247
|
+
copyShowFrom(e) {
|
|
248
|
+
this.#e = e.#e;
|
|
249
|
+
}
|
|
250
|
+
touch() {
|
|
251
|
+
return this.capabilities.indexOf("touch") !== -1;
|
|
252
|
+
}
|
|
253
|
+
mobile() {
|
|
254
|
+
return this.capabilities.indexOf("mobile") !== -1;
|
|
255
|
+
}
|
|
256
|
+
}, T = "horizontal", E = "vertical", D = "horizontal-spanned", O = "vertical-spanned", k = /* @__PURE__ */ function(e) {
|
|
257
|
+
return e.Phone = "phone", e.Tablet = "tablet", e.Notebook = "notebook", e.Desktop = "desktop", e.Unknown = "unknown", e;
|
|
258
|
+
}(k || {}), A = /* @__PURE__ */ function(e) {
|
|
259
|
+
return e.TOUCH = "touch", e.MOBILE = "mobile", e;
|
|
260
|
+
}({}), j = /* @__PURE__ */ function(e) {
|
|
261
|
+
return e.Always = "Always", e.Default = "Default", e.Never = "Never", e;
|
|
262
|
+
}(j || {}), M, N = class n extends e {
|
|
263
|
+
#e;
|
|
264
|
+
#t;
|
|
265
|
+
#n;
|
|
266
|
+
#r;
|
|
267
|
+
constructor() {
|
|
268
|
+
super(), this.#e = r.instance().createSetting("standard-emulated-device-list", []), this.#t = /* @__PURE__ */ new Set(), this.listFromJSONV1(this.#e.get(), this.#t), this.updateStandardDevices(), this.#n = r.instance().createSetting("custom-emulated-device-list", []), this.#r = /* @__PURE__ */ new Set(), this.listFromJSONV1(this.#n.get(), this.#r) || this.saveCustomDevices();
|
|
269
|
+
}
|
|
270
|
+
static instance() {
|
|
271
|
+
return M ||= new n(), M;
|
|
272
|
+
}
|
|
273
|
+
updateStandardDevices() {
|
|
274
|
+
let e = /* @__PURE__ */ new Set();
|
|
275
|
+
for (let t of F) {
|
|
276
|
+
let n = w.fromJSONV1(t);
|
|
277
|
+
n && e.add(n);
|
|
278
|
+
}
|
|
279
|
+
this.copyShowValues(this.#t, e), this.#t = e, this.saveStandardDevices();
|
|
280
|
+
}
|
|
281
|
+
listFromJSONV1(e, t) {
|
|
282
|
+
if (!Array.isArray(e)) return !1;
|
|
283
|
+
let n = !0;
|
|
284
|
+
for (let r = 0; r < e.length; ++r) {
|
|
285
|
+
let i = w.fromJSONV1(e[r]);
|
|
286
|
+
i ? (t.add(i), i.modes.length || (i.modes.push({
|
|
287
|
+
title: "",
|
|
288
|
+
orientation: T,
|
|
289
|
+
insets: new V(0, 0, 0, 0),
|
|
290
|
+
image: null
|
|
291
|
+
}), i.modes.push({
|
|
292
|
+
title: "",
|
|
293
|
+
orientation: E,
|
|
294
|
+
insets: new V(0, 0, 0, 0),
|
|
295
|
+
image: null
|
|
296
|
+
}))) : n = !1;
|
|
297
|
+
}
|
|
298
|
+
return n;
|
|
299
|
+
}
|
|
300
|
+
static rawEmulatedDevicesForTest() {
|
|
301
|
+
return F;
|
|
302
|
+
}
|
|
303
|
+
standard() {
|
|
304
|
+
return [...this.#t];
|
|
305
|
+
}
|
|
306
|
+
custom() {
|
|
307
|
+
return [...this.#r];
|
|
308
|
+
}
|
|
309
|
+
revealCustomSetting() {
|
|
310
|
+
t(this.#n);
|
|
311
|
+
}
|
|
312
|
+
addCustomDevice(e) {
|
|
313
|
+
this.#r.add(e), this.saveCustomDevices();
|
|
314
|
+
}
|
|
315
|
+
removeCustomDevice(e) {
|
|
316
|
+
this.#r.delete(e), this.saveCustomDevices();
|
|
317
|
+
}
|
|
318
|
+
saveCustomDevices() {
|
|
319
|
+
let e = [];
|
|
320
|
+
this.#r.forEach((t) => e.push(t.toJSON())), this.#n.set(e), this.dispatchEventToListeners("CustomDevicesUpdated");
|
|
321
|
+
}
|
|
322
|
+
saveStandardDevices() {
|
|
323
|
+
let e = [];
|
|
324
|
+
this.#t.forEach((t) => e.push(t.toJSON())), this.#e.set(e), this.dispatchEventToListeners("StandardDevicesUpdated");
|
|
325
|
+
}
|
|
326
|
+
copyShowValues(e, t) {
|
|
327
|
+
let n = /* @__PURE__ */ new Map();
|
|
328
|
+
for (let t of e) n.set(t.title, t);
|
|
329
|
+
for (let e of t) {
|
|
330
|
+
let t = n.get(e.title);
|
|
331
|
+
t && e.copyShowFrom(t);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}, P = /* @__PURE__ */ function(e) {
|
|
335
|
+
return e.CUSTOM_DEVICES_UPDATED = "CustomDevicesUpdated", e.STANDARD_DEVICES_UPDATED = "StandardDevicesUpdated", e;
|
|
336
|
+
}({}), F = [
|
|
337
|
+
{
|
|
338
|
+
order: 10,
|
|
339
|
+
"show-by-default": !0,
|
|
340
|
+
title: "iPhone SE",
|
|
341
|
+
screen: {
|
|
342
|
+
horizontal: {
|
|
343
|
+
width: 667,
|
|
344
|
+
height: 375
|
|
345
|
+
},
|
|
346
|
+
"device-pixel-ratio": 2,
|
|
347
|
+
vertical: {
|
|
348
|
+
width: 375,
|
|
349
|
+
height: 667
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
capabilities: ["touch", "mobile"],
|
|
353
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
|
|
354
|
+
"user-agent-metadata": {
|
|
355
|
+
platform: "iOS",
|
|
356
|
+
platformVersion: "18.5",
|
|
357
|
+
architecture: "",
|
|
358
|
+
model: "iPhone",
|
|
359
|
+
mobile: !0
|
|
360
|
+
},
|
|
361
|
+
type: "phone"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
order: 12,
|
|
365
|
+
"show-by-default": !0,
|
|
366
|
+
title: "iPhone XR",
|
|
367
|
+
screen: {
|
|
368
|
+
horizontal: {
|
|
369
|
+
width: 896,
|
|
370
|
+
height: 414
|
|
371
|
+
},
|
|
372
|
+
"device-pixel-ratio": 2,
|
|
373
|
+
vertical: {
|
|
374
|
+
width: 414,
|
|
375
|
+
height: 896
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
capabilities: ["touch", "mobile"],
|
|
379
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
|
|
380
|
+
"user-agent-metadata": {
|
|
381
|
+
platform: "iOS",
|
|
382
|
+
platformVersion: "18.5",
|
|
383
|
+
architecture: "",
|
|
384
|
+
model: "iPhone",
|
|
385
|
+
mobile: !0
|
|
386
|
+
},
|
|
387
|
+
type: "phone"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
order: 14,
|
|
391
|
+
"show-by-default": !0,
|
|
392
|
+
title: "iPhone 12 Pro",
|
|
393
|
+
screen: {
|
|
394
|
+
horizontal: {
|
|
395
|
+
width: 844,
|
|
396
|
+
height: 390
|
|
397
|
+
},
|
|
398
|
+
"device-pixel-ratio": 3,
|
|
399
|
+
vertical: {
|
|
400
|
+
width: 390,
|
|
401
|
+
height: 844
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
capabilities: ["touch", "mobile"],
|
|
405
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
|
|
406
|
+
"user-agent-metadata": {
|
|
407
|
+
platform: "iOS",
|
|
408
|
+
platformVersion: "18.5",
|
|
409
|
+
architecture: "",
|
|
410
|
+
model: "iPhone",
|
|
411
|
+
mobile: !0
|
|
412
|
+
},
|
|
413
|
+
type: "phone"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
order: 15,
|
|
417
|
+
"show-by-default": !0,
|
|
418
|
+
title: "iPhone 14 Pro Max",
|
|
419
|
+
screen: {
|
|
420
|
+
horizontal: {
|
|
421
|
+
width: 932,
|
|
422
|
+
height: 430
|
|
423
|
+
},
|
|
424
|
+
"device-pixel-ratio": 3,
|
|
425
|
+
vertical: {
|
|
426
|
+
width: 430,
|
|
427
|
+
height: 932
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
capabilities: ["touch", "mobile"],
|
|
431
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
|
|
432
|
+
"user-agent-metadata": {
|
|
433
|
+
platform: "iOS",
|
|
434
|
+
platformVersion: "18.5",
|
|
435
|
+
architecture: "",
|
|
436
|
+
model: "iPhone",
|
|
437
|
+
mobile: !0
|
|
438
|
+
},
|
|
439
|
+
type: "phone"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
order: 16,
|
|
443
|
+
"show-by-default": !1,
|
|
444
|
+
title: "Pixel 3 XL",
|
|
445
|
+
screen: {
|
|
446
|
+
horizontal: {
|
|
447
|
+
width: 786,
|
|
448
|
+
height: 393
|
|
449
|
+
},
|
|
450
|
+
"device-pixel-ratio": 2.75,
|
|
451
|
+
vertical: {
|
|
452
|
+
width: 393,
|
|
453
|
+
height: 786
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
capabilities: ["touch", "mobile"],
|
|
457
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 11; Pixel 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
458
|
+
"user-agent-metadata": {
|
|
459
|
+
platform: "Android",
|
|
460
|
+
platformVersion: "11",
|
|
461
|
+
architecture: "",
|
|
462
|
+
model: "Pixel 3",
|
|
463
|
+
mobile: !0
|
|
464
|
+
},
|
|
465
|
+
type: "phone"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
order: 18,
|
|
469
|
+
"show-by-default": !0,
|
|
470
|
+
title: "Pixel 7",
|
|
471
|
+
screen: {
|
|
472
|
+
horizontal: {
|
|
473
|
+
width: 915,
|
|
474
|
+
height: 412
|
|
475
|
+
},
|
|
476
|
+
"device-pixel-ratio": 2.625,
|
|
477
|
+
vertical: {
|
|
478
|
+
width: 412,
|
|
479
|
+
height: 915
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
capabilities: ["touch", "mobile"],
|
|
483
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
484
|
+
"user-agent-metadata": {
|
|
485
|
+
platform: "Android",
|
|
486
|
+
platformVersion: "13",
|
|
487
|
+
architecture: "",
|
|
488
|
+
model: "Pixel 7",
|
|
489
|
+
mobile: !0
|
|
490
|
+
},
|
|
491
|
+
type: "phone"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
order: 20,
|
|
495
|
+
"show-by-default": !0,
|
|
496
|
+
title: "Samsung Galaxy S8+",
|
|
497
|
+
screen: {
|
|
498
|
+
horizontal: {
|
|
499
|
+
width: 740,
|
|
500
|
+
height: 360
|
|
501
|
+
},
|
|
502
|
+
"device-pixel-ratio": 4,
|
|
503
|
+
vertical: {
|
|
504
|
+
width: 360,
|
|
505
|
+
height: 740
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
capabilities: ["touch", "mobile"],
|
|
509
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
510
|
+
"user-agent-metadata": {
|
|
511
|
+
platform: "Android",
|
|
512
|
+
platformVersion: "8.0.0",
|
|
513
|
+
architecture: "",
|
|
514
|
+
model: "SM-G955U",
|
|
515
|
+
mobile: !0
|
|
516
|
+
},
|
|
517
|
+
type: "phone"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
order: 24,
|
|
521
|
+
"show-by-default": !0,
|
|
522
|
+
title: "Samsung Galaxy S20 Ultra",
|
|
523
|
+
screen: {
|
|
524
|
+
horizontal: {
|
|
525
|
+
width: 915,
|
|
526
|
+
height: 412
|
|
527
|
+
},
|
|
528
|
+
"device-pixel-ratio": 3.5,
|
|
529
|
+
vertical: {
|
|
530
|
+
width: 412,
|
|
531
|
+
height: 915
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
capabilities: ["touch", "mobile"],
|
|
535
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 13; SM-G981B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
536
|
+
"user-agent-metadata": {
|
|
537
|
+
platform: "Android",
|
|
538
|
+
platformVersion: "13",
|
|
539
|
+
architecture: "",
|
|
540
|
+
model: "SM-G981B",
|
|
541
|
+
mobile: !0
|
|
542
|
+
},
|
|
543
|
+
type: "phone"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
order: 26,
|
|
547
|
+
"show-by-default": !0,
|
|
548
|
+
title: "iPad Mini",
|
|
549
|
+
screen: {
|
|
550
|
+
horizontal: {
|
|
551
|
+
width: 1024,
|
|
552
|
+
height: 768
|
|
553
|
+
},
|
|
554
|
+
"device-pixel-ratio": 2,
|
|
555
|
+
vertical: {
|
|
556
|
+
width: 768,
|
|
557
|
+
height: 1024
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
capabilities: ["touch", "mobile"],
|
|
561
|
+
"user-agent": "Mozilla/5.0 (iPad; CPU OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
|
|
562
|
+
"user-agent-metadata": {
|
|
563
|
+
platform: "iOS",
|
|
564
|
+
platformVersion: "18.5",
|
|
565
|
+
architecture: "",
|
|
566
|
+
model: "iPad",
|
|
567
|
+
mobile: !0
|
|
568
|
+
},
|
|
569
|
+
type: "tablet"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
order: 28,
|
|
573
|
+
"show-by-default": !0,
|
|
574
|
+
title: "iPad Air",
|
|
575
|
+
screen: {
|
|
576
|
+
horizontal: {
|
|
577
|
+
width: 1180,
|
|
578
|
+
height: 820
|
|
579
|
+
},
|
|
580
|
+
"device-pixel-ratio": 2,
|
|
581
|
+
vertical: {
|
|
582
|
+
width: 820,
|
|
583
|
+
height: 1180
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
capabilities: ["touch", "mobile"],
|
|
587
|
+
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15",
|
|
588
|
+
"user-agent-metadata": {
|
|
589
|
+
platform: "iOS",
|
|
590
|
+
platformVersion: "18.5",
|
|
591
|
+
architecture: "",
|
|
592
|
+
model: "iPad",
|
|
593
|
+
mobile: !0
|
|
594
|
+
},
|
|
595
|
+
type: "tablet"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
order: 29,
|
|
599
|
+
"show-by-default": !0,
|
|
600
|
+
title: "iPad Pro",
|
|
601
|
+
screen: {
|
|
602
|
+
horizontal: {
|
|
603
|
+
width: 1366,
|
|
604
|
+
height: 1024
|
|
605
|
+
},
|
|
606
|
+
"device-pixel-ratio": 2,
|
|
607
|
+
vertical: {
|
|
608
|
+
width: 1024,
|
|
609
|
+
height: 1366
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
capabilities: ["touch", "mobile"],
|
|
613
|
+
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15",
|
|
614
|
+
"user-agent-metadata": {
|
|
615
|
+
platform: "iOS",
|
|
616
|
+
platformVersion: "18.5",
|
|
617
|
+
architecture: "",
|
|
618
|
+
model: "iPad",
|
|
619
|
+
mobile: !0
|
|
620
|
+
},
|
|
621
|
+
type: "tablet"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
order: 30,
|
|
625
|
+
"show-by-default": !0,
|
|
626
|
+
title: "Surface Pro 7",
|
|
627
|
+
screen: {
|
|
628
|
+
horizontal: {
|
|
629
|
+
width: 1368,
|
|
630
|
+
height: 912
|
|
631
|
+
},
|
|
632
|
+
"device-pixel-ratio": 2,
|
|
633
|
+
vertical: {
|
|
634
|
+
width: 912,
|
|
635
|
+
height: 1368
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
capabilities: ["touch", "mobile"],
|
|
639
|
+
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
|
|
640
|
+
type: "tablet"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
order: 32,
|
|
644
|
+
"show-by-default": !0,
|
|
645
|
+
"dual-screen": !0,
|
|
646
|
+
title: "Surface Duo",
|
|
647
|
+
screen: {
|
|
648
|
+
horizontal: {
|
|
649
|
+
width: 720,
|
|
650
|
+
height: 540
|
|
651
|
+
},
|
|
652
|
+
"device-pixel-ratio": 2.5,
|
|
653
|
+
vertical: {
|
|
654
|
+
width: 540,
|
|
655
|
+
height: 720
|
|
656
|
+
},
|
|
657
|
+
"vertical-spanned": {
|
|
658
|
+
width: 1114,
|
|
659
|
+
height: 720,
|
|
660
|
+
hinge: {
|
|
661
|
+
width: 34,
|
|
662
|
+
height: 720,
|
|
663
|
+
x: 540,
|
|
664
|
+
y: 0,
|
|
665
|
+
contentColor: {
|
|
666
|
+
r: 38,
|
|
667
|
+
g: 38,
|
|
668
|
+
b: 38,
|
|
669
|
+
a: 1
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"horizontal-spanned": {
|
|
674
|
+
width: 720,
|
|
675
|
+
height: 1114,
|
|
676
|
+
hinge: {
|
|
677
|
+
width: 720,
|
|
678
|
+
height: 34,
|
|
679
|
+
x: 0,
|
|
680
|
+
y: 540,
|
|
681
|
+
contentColor: {
|
|
682
|
+
r: 38,
|
|
683
|
+
g: 38,
|
|
684
|
+
b: 38,
|
|
685
|
+
a: 1
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
capabilities: ["touch", "mobile"],
|
|
691
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 11.0; Surface Duo) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
692
|
+
"user-agent-metadata": {
|
|
693
|
+
platform: "Android",
|
|
694
|
+
platformVersion: "11.0",
|
|
695
|
+
architecture: "",
|
|
696
|
+
model: "Surface Duo",
|
|
697
|
+
mobile: !0
|
|
698
|
+
},
|
|
699
|
+
type: "phone",
|
|
700
|
+
modes: [
|
|
701
|
+
{
|
|
702
|
+
title: "default",
|
|
703
|
+
orientation: "vertical",
|
|
704
|
+
insets: {
|
|
705
|
+
left: 0,
|
|
706
|
+
top: 0,
|
|
707
|
+
right: 0,
|
|
708
|
+
bottom: 0
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
title: "default",
|
|
713
|
+
orientation: "horizontal",
|
|
714
|
+
insets: {
|
|
715
|
+
left: 0,
|
|
716
|
+
top: 0,
|
|
717
|
+
right: 0,
|
|
718
|
+
bottom: 0
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
title: "spanned",
|
|
723
|
+
orientation: "vertical-spanned",
|
|
724
|
+
insets: {
|
|
725
|
+
left: 0,
|
|
726
|
+
top: 0,
|
|
727
|
+
right: 0,
|
|
728
|
+
bottom: 0
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
title: "spanned",
|
|
733
|
+
orientation: "horizontal-spanned",
|
|
734
|
+
insets: {
|
|
735
|
+
left: 0,
|
|
736
|
+
top: 0,
|
|
737
|
+
right: 0,
|
|
738
|
+
bottom: 0
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
]
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
order: 34,
|
|
745
|
+
"show-by-default": !0,
|
|
746
|
+
"foldable-screen": !0,
|
|
747
|
+
title: "Galaxy Z Fold 5",
|
|
748
|
+
screen: {
|
|
749
|
+
horizontal: {
|
|
750
|
+
width: 882,
|
|
751
|
+
height: 344
|
|
752
|
+
},
|
|
753
|
+
"device-pixel-ratio": 2.625,
|
|
754
|
+
vertical: {
|
|
755
|
+
width: 344,
|
|
756
|
+
height: 882
|
|
757
|
+
},
|
|
758
|
+
"vertical-spanned": {
|
|
759
|
+
width: 690,
|
|
760
|
+
height: 829,
|
|
761
|
+
hinge: {
|
|
762
|
+
width: 0,
|
|
763
|
+
height: 829,
|
|
764
|
+
x: 345,
|
|
765
|
+
y: 0,
|
|
766
|
+
contentColor: {
|
|
767
|
+
r: 38,
|
|
768
|
+
g: 38,
|
|
769
|
+
b: 38,
|
|
770
|
+
a: .2
|
|
771
|
+
},
|
|
772
|
+
outlineColor: {
|
|
773
|
+
r: 38,
|
|
774
|
+
g: 38,
|
|
775
|
+
b: 38,
|
|
776
|
+
a: .7
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
"horizontal-spanned": {
|
|
781
|
+
width: 829,
|
|
782
|
+
height: 690,
|
|
783
|
+
hinge: {
|
|
784
|
+
width: 829,
|
|
785
|
+
height: 0,
|
|
786
|
+
x: 0,
|
|
787
|
+
y: 345,
|
|
788
|
+
contentColor: {
|
|
789
|
+
r: 38,
|
|
790
|
+
g: 38,
|
|
791
|
+
b: 38,
|
|
792
|
+
a: .2
|
|
793
|
+
},
|
|
794
|
+
outlineColor: {
|
|
795
|
+
r: 38,
|
|
796
|
+
g: 38,
|
|
797
|
+
b: 38,
|
|
798
|
+
a: .7
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
capabilities: ["touch", "mobile"],
|
|
804
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
805
|
+
"user-agent-metadata": {
|
|
806
|
+
platform: "Android",
|
|
807
|
+
platformVersion: "10.0",
|
|
808
|
+
architecture: "",
|
|
809
|
+
model: "SM-F946U",
|
|
810
|
+
mobile: !0
|
|
811
|
+
},
|
|
812
|
+
type: "phone",
|
|
813
|
+
modes: [
|
|
814
|
+
{
|
|
815
|
+
title: "default",
|
|
816
|
+
orientation: "vertical",
|
|
817
|
+
insets: {
|
|
818
|
+
left: 0,
|
|
819
|
+
top: 0,
|
|
820
|
+
right: 0,
|
|
821
|
+
bottom: 0
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
title: "default",
|
|
826
|
+
orientation: "horizontal",
|
|
827
|
+
insets: {
|
|
828
|
+
left: 0,
|
|
829
|
+
top: 0,
|
|
830
|
+
right: 0,
|
|
831
|
+
bottom: 0
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
title: "spanned",
|
|
836
|
+
orientation: "vertical-spanned",
|
|
837
|
+
insets: {
|
|
838
|
+
left: 0,
|
|
839
|
+
top: 0,
|
|
840
|
+
right: 0,
|
|
841
|
+
bottom: 0
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
title: "spanned",
|
|
846
|
+
orientation: "horizontal-spanned",
|
|
847
|
+
insets: {
|
|
848
|
+
left: 0,
|
|
849
|
+
top: 0,
|
|
850
|
+
right: 0,
|
|
851
|
+
bottom: 0
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
]
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
order: 35,
|
|
858
|
+
"show-by-default": !0,
|
|
859
|
+
"foldable-screen": !0,
|
|
860
|
+
title: "Asus Zenbook Fold",
|
|
861
|
+
screen: {
|
|
862
|
+
horizontal: {
|
|
863
|
+
width: 1280,
|
|
864
|
+
height: 853
|
|
865
|
+
},
|
|
866
|
+
"device-pixel-ratio": 1.5,
|
|
867
|
+
vertical: {
|
|
868
|
+
width: 853,
|
|
869
|
+
height: 1280
|
|
870
|
+
},
|
|
871
|
+
"vertical-spanned": {
|
|
872
|
+
width: 1706,
|
|
873
|
+
height: 1280,
|
|
874
|
+
hinge: {
|
|
875
|
+
width: 107,
|
|
876
|
+
height: 1280,
|
|
877
|
+
x: 800,
|
|
878
|
+
y: 0,
|
|
879
|
+
contentColor: {
|
|
880
|
+
r: 38,
|
|
881
|
+
g: 38,
|
|
882
|
+
b: 38,
|
|
883
|
+
a: .2
|
|
884
|
+
},
|
|
885
|
+
outlineColor: {
|
|
886
|
+
r: 38,
|
|
887
|
+
g: 38,
|
|
888
|
+
b: 38,
|
|
889
|
+
a: .7
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"horizontal-spanned": {
|
|
894
|
+
width: 1280,
|
|
895
|
+
height: 1706,
|
|
896
|
+
hinge: {
|
|
897
|
+
width: 1706,
|
|
898
|
+
height: 107,
|
|
899
|
+
x: 0,
|
|
900
|
+
y: 800,
|
|
901
|
+
contentColor: {
|
|
902
|
+
r: 38,
|
|
903
|
+
g: 38,
|
|
904
|
+
b: 38,
|
|
905
|
+
a: .2
|
|
906
|
+
},
|
|
907
|
+
outlineColor: {
|
|
908
|
+
r: 38,
|
|
909
|
+
g: 38,
|
|
910
|
+
b: 38,
|
|
911
|
+
a: .7
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
capabilities: ["touch"],
|
|
917
|
+
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
|
|
918
|
+
"user-agent-metadata": {
|
|
919
|
+
platform: "Windows",
|
|
920
|
+
platformVersion: "11.0",
|
|
921
|
+
architecture: "",
|
|
922
|
+
model: "UX9702AA",
|
|
923
|
+
mobile: !1
|
|
924
|
+
},
|
|
925
|
+
type: "tablet",
|
|
926
|
+
modes: [
|
|
927
|
+
{
|
|
928
|
+
title: "default",
|
|
929
|
+
orientation: "vertical",
|
|
930
|
+
insets: {
|
|
931
|
+
left: 0,
|
|
932
|
+
top: 0,
|
|
933
|
+
right: 0,
|
|
934
|
+
bottom: 0
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
title: "default",
|
|
939
|
+
orientation: "horizontal",
|
|
940
|
+
insets: {
|
|
941
|
+
left: 0,
|
|
942
|
+
top: 0,
|
|
943
|
+
right: 0,
|
|
944
|
+
bottom: 0
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
title: "spanned",
|
|
949
|
+
orientation: "vertical-spanned",
|
|
950
|
+
insets: {
|
|
951
|
+
left: 0,
|
|
952
|
+
top: 0,
|
|
953
|
+
right: 0,
|
|
954
|
+
bottom: 0
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
title: "spanned",
|
|
959
|
+
orientation: "horizontal-spanned",
|
|
960
|
+
insets: {
|
|
961
|
+
left: 0,
|
|
962
|
+
top: 0,
|
|
963
|
+
right: 0,
|
|
964
|
+
bottom: 0
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
order: 36,
|
|
971
|
+
"show-by-default": !0,
|
|
972
|
+
title: "Samsung Galaxy A51/71",
|
|
973
|
+
screen: {
|
|
974
|
+
horizontal: {
|
|
975
|
+
width: 914,
|
|
976
|
+
height: 412
|
|
977
|
+
},
|
|
978
|
+
"device-pixel-ratio": 2.625,
|
|
979
|
+
vertical: {
|
|
980
|
+
width: 412,
|
|
981
|
+
height: 914
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
capabilities: ["touch", "mobile"],
|
|
985
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
986
|
+
"user-agent-metadata": {
|
|
987
|
+
platform: "Android",
|
|
988
|
+
platformVersion: "8.0.0",
|
|
989
|
+
architecture: "",
|
|
990
|
+
model: "SM-G955U",
|
|
991
|
+
mobile: !0
|
|
992
|
+
},
|
|
993
|
+
type: "phone"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
order: 52,
|
|
997
|
+
"show-by-default": !0,
|
|
998
|
+
title: "Nest Hub Max",
|
|
999
|
+
screen: {
|
|
1000
|
+
horizontal: {
|
|
1001
|
+
outline: {
|
|
1002
|
+
image: "@url(optimized/google-nest-hub-max-horizontal.avif)",
|
|
1003
|
+
insets: {
|
|
1004
|
+
left: 92,
|
|
1005
|
+
top: 96,
|
|
1006
|
+
right: 91,
|
|
1007
|
+
bottom: 248
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
width: 1280,
|
|
1011
|
+
height: 800
|
|
1012
|
+
},
|
|
1013
|
+
"device-pixel-ratio": 2,
|
|
1014
|
+
vertical: {
|
|
1015
|
+
width: 1280,
|
|
1016
|
+
height: 800
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
capabilities: ["touch", "mobile"],
|
|
1020
|
+
"user-agent": "Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36 CrKey/1.54.250320",
|
|
1021
|
+
type: "tablet",
|
|
1022
|
+
modes: [{
|
|
1023
|
+
title: "default",
|
|
1024
|
+
orientation: "horizontal"
|
|
1025
|
+
}]
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
order: 50,
|
|
1029
|
+
"show-by-default": !0,
|
|
1030
|
+
title: "Nest Hub",
|
|
1031
|
+
screen: {
|
|
1032
|
+
horizontal: {
|
|
1033
|
+
outline: {
|
|
1034
|
+
image: "@url(optimized/google-nest-hub-horizontal.avif)",
|
|
1035
|
+
insets: {
|
|
1036
|
+
left: 82,
|
|
1037
|
+
top: 74,
|
|
1038
|
+
right: 83,
|
|
1039
|
+
bottom: 222
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
width: 1024,
|
|
1043
|
+
height: 600
|
|
1044
|
+
},
|
|
1045
|
+
"device-pixel-ratio": 2,
|
|
1046
|
+
vertical: {
|
|
1047
|
+
width: 1024,
|
|
1048
|
+
height: 600
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
capabilities: ["touch", "mobile"],
|
|
1052
|
+
"user-agent": "Mozilla/5.0 (Linux; Android) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36 CrKey/1.54.248666",
|
|
1053
|
+
"user-agent-metadata": {
|
|
1054
|
+
platform: "Android",
|
|
1055
|
+
platformVersion: "",
|
|
1056
|
+
architecture: "",
|
|
1057
|
+
model: "",
|
|
1058
|
+
mobile: !1
|
|
1059
|
+
},
|
|
1060
|
+
type: "tablet",
|
|
1061
|
+
modes: [{
|
|
1062
|
+
title: "default",
|
|
1063
|
+
orientation: "horizontal"
|
|
1064
|
+
}]
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
order: 129,
|
|
1068
|
+
"show-by-default": !1,
|
|
1069
|
+
title: "iPhone 4",
|
|
1070
|
+
screen: {
|
|
1071
|
+
horizontal: {
|
|
1072
|
+
width: 480,
|
|
1073
|
+
height: 320
|
|
1074
|
+
},
|
|
1075
|
+
"device-pixel-ratio": 2,
|
|
1076
|
+
vertical: {
|
|
1077
|
+
width: 320,
|
|
1078
|
+
height: 480
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
capabilities: ["touch", "mobile"],
|
|
1082
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53",
|
|
1083
|
+
"user-agent-metadata": {
|
|
1084
|
+
platform: "iOS",
|
|
1085
|
+
platformVersion: "7.1.2",
|
|
1086
|
+
architecture: "",
|
|
1087
|
+
model: "iPhone",
|
|
1088
|
+
mobile: !0
|
|
1089
|
+
},
|
|
1090
|
+
type: "phone"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
order: 130,
|
|
1094
|
+
"show-by-default": !1,
|
|
1095
|
+
title: "iPhone 5/SE",
|
|
1096
|
+
screen: {
|
|
1097
|
+
horizontal: {
|
|
1098
|
+
outline: {
|
|
1099
|
+
image: "@url(optimized/iPhone5-landscape.avif)",
|
|
1100
|
+
insets: {
|
|
1101
|
+
left: 115,
|
|
1102
|
+
top: 25,
|
|
1103
|
+
right: 115,
|
|
1104
|
+
bottom: 28
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
width: 568,
|
|
1108
|
+
height: 320
|
|
1109
|
+
},
|
|
1110
|
+
"device-pixel-ratio": 2,
|
|
1111
|
+
vertical: {
|
|
1112
|
+
outline: {
|
|
1113
|
+
image: "@url(optimized/iPhone5-portrait.avif)",
|
|
1114
|
+
insets: {
|
|
1115
|
+
left: 29,
|
|
1116
|
+
top: 105,
|
|
1117
|
+
right: 25,
|
|
1118
|
+
bottom: 111
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
width: 320,
|
|
1122
|
+
height: 568
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
capabilities: ["touch", "mobile"],
|
|
1126
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",
|
|
1127
|
+
"user-agent-metadata": {
|
|
1128
|
+
platform: "iOS",
|
|
1129
|
+
platformVersion: "10.3.1",
|
|
1130
|
+
architecture: "",
|
|
1131
|
+
model: "iPhone",
|
|
1132
|
+
mobile: !0
|
|
1133
|
+
},
|
|
1134
|
+
type: "phone"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
order: 131,
|
|
1138
|
+
"show-by-default": !1,
|
|
1139
|
+
title: "iPhone 6/7/8",
|
|
1140
|
+
screen: {
|
|
1141
|
+
horizontal: {
|
|
1142
|
+
outline: {
|
|
1143
|
+
image: "@url(optimized/iPhone6-landscape.avif)",
|
|
1144
|
+
insets: {
|
|
1145
|
+
left: 106,
|
|
1146
|
+
top: 28,
|
|
1147
|
+
right: 106,
|
|
1148
|
+
bottom: 28
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
width: 667,
|
|
1152
|
+
height: 375
|
|
1153
|
+
},
|
|
1154
|
+
"device-pixel-ratio": 2,
|
|
1155
|
+
vertical: {
|
|
1156
|
+
outline: {
|
|
1157
|
+
image: "@url(optimized/iPhone6-portrait.avif)",
|
|
1158
|
+
insets: {
|
|
1159
|
+
left: 28,
|
|
1160
|
+
top: 105,
|
|
1161
|
+
right: 28,
|
|
1162
|
+
bottom: 105
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
width: 375,
|
|
1166
|
+
height: 667
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
capabilities: ["touch", "mobile"],
|
|
1170
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
|
|
1171
|
+
"user-agent-metadata": {
|
|
1172
|
+
platform: "iOS",
|
|
1173
|
+
platformVersion: "13.2.3",
|
|
1174
|
+
architecture: "",
|
|
1175
|
+
model: "iPhone",
|
|
1176
|
+
mobile: !0
|
|
1177
|
+
},
|
|
1178
|
+
type: "phone"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
order: 132,
|
|
1182
|
+
"show-by-default": !1,
|
|
1183
|
+
title: "iPhone 6/7/8 Plus",
|
|
1184
|
+
screen: {
|
|
1185
|
+
horizontal: {
|
|
1186
|
+
outline: {
|
|
1187
|
+
image: "@url(optimized/iPhone6Plus-landscape.avif)",
|
|
1188
|
+
insets: {
|
|
1189
|
+
left: 109,
|
|
1190
|
+
top: 29,
|
|
1191
|
+
right: 109,
|
|
1192
|
+
bottom: 27
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
width: 736,
|
|
1196
|
+
height: 414
|
|
1197
|
+
},
|
|
1198
|
+
"device-pixel-ratio": 3,
|
|
1199
|
+
vertical: {
|
|
1200
|
+
outline: {
|
|
1201
|
+
image: "@url(optimized/iPhone6Plus-portrait.avif)",
|
|
1202
|
+
insets: {
|
|
1203
|
+
left: 26,
|
|
1204
|
+
top: 107,
|
|
1205
|
+
right: 30,
|
|
1206
|
+
bottom: 111
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
width: 414,
|
|
1210
|
+
height: 736
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
capabilities: ["touch", "mobile"],
|
|
1214
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
|
|
1215
|
+
"user-agent-metadata": {
|
|
1216
|
+
platform: "iOS",
|
|
1217
|
+
platformVersion: "13.2.3",
|
|
1218
|
+
architecture: "",
|
|
1219
|
+
model: "iPhone",
|
|
1220
|
+
mobile: !0
|
|
1221
|
+
},
|
|
1222
|
+
type: "phone"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
order: 133,
|
|
1226
|
+
"show-by-default": !1,
|
|
1227
|
+
title: "iPhone X",
|
|
1228
|
+
screen: {
|
|
1229
|
+
horizontal: {
|
|
1230
|
+
width: 812,
|
|
1231
|
+
height: 375
|
|
1232
|
+
},
|
|
1233
|
+
"device-pixel-ratio": 3,
|
|
1234
|
+
vertical: {
|
|
1235
|
+
width: 375,
|
|
1236
|
+
height: 812
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
capabilities: ["touch", "mobile"],
|
|
1240
|
+
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
|
|
1241
|
+
"user-agent-metadata": {
|
|
1242
|
+
platform: "iOS",
|
|
1243
|
+
platformVersion: "13.2.3",
|
|
1244
|
+
architecture: "",
|
|
1245
|
+
model: "iPhone",
|
|
1246
|
+
mobile: !0
|
|
1247
|
+
},
|
|
1248
|
+
type: "phone"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"show-by-default": !1,
|
|
1252
|
+
title: "BlackBerry Z30",
|
|
1253
|
+
screen: {
|
|
1254
|
+
horizontal: {
|
|
1255
|
+
width: 640,
|
|
1256
|
+
height: 360
|
|
1257
|
+
},
|
|
1258
|
+
"device-pixel-ratio": 2,
|
|
1259
|
+
vertical: {
|
|
1260
|
+
width: 360,
|
|
1261
|
+
height: 640
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
capabilities: ["touch", "mobile"],
|
|
1265
|
+
"user-agent": "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",
|
|
1266
|
+
type: "phone"
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"show-by-default": !1,
|
|
1270
|
+
title: "Nexus 4",
|
|
1271
|
+
screen: {
|
|
1272
|
+
horizontal: {
|
|
1273
|
+
width: 640,
|
|
1274
|
+
height: 384
|
|
1275
|
+
},
|
|
1276
|
+
"device-pixel-ratio": 2,
|
|
1277
|
+
vertical: {
|
|
1278
|
+
width: 384,
|
|
1279
|
+
height: 640
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
capabilities: ["touch", "mobile"],
|
|
1283
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1284
|
+
"user-agent-metadata": {
|
|
1285
|
+
platform: "Android",
|
|
1286
|
+
platformVersion: "4.4.2",
|
|
1287
|
+
architecture: "",
|
|
1288
|
+
model: "Nexus 4",
|
|
1289
|
+
mobile: !0
|
|
1290
|
+
},
|
|
1291
|
+
type: "phone"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
title: "Nexus 5",
|
|
1295
|
+
type: "phone",
|
|
1296
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1297
|
+
"user-agent-metadata": {
|
|
1298
|
+
platform: "Android",
|
|
1299
|
+
platformVersion: "6.0",
|
|
1300
|
+
architecture: "",
|
|
1301
|
+
model: "Nexus 5",
|
|
1302
|
+
mobile: !0
|
|
1303
|
+
},
|
|
1304
|
+
capabilities: ["touch", "mobile"],
|
|
1305
|
+
"show-by-default": !1,
|
|
1306
|
+
screen: {
|
|
1307
|
+
"device-pixel-ratio": 3,
|
|
1308
|
+
vertical: {
|
|
1309
|
+
width: 360,
|
|
1310
|
+
height: 640
|
|
1311
|
+
},
|
|
1312
|
+
horizontal: {
|
|
1313
|
+
width: 640,
|
|
1314
|
+
height: 360
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
modes: [
|
|
1318
|
+
{
|
|
1319
|
+
title: "default",
|
|
1320
|
+
orientation: "vertical",
|
|
1321
|
+
insets: {
|
|
1322
|
+
left: 0,
|
|
1323
|
+
top: 25,
|
|
1324
|
+
right: 0,
|
|
1325
|
+
bottom: 48
|
|
1326
|
+
},
|
|
1327
|
+
image: "@url(optimized/google-nexus-5-vertical-default-1x.avif) 1x, @url(optimized/google-nexus-5-vertical-default-2x.avif) 2x"
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
title: "navigation bar",
|
|
1331
|
+
orientation: "vertical",
|
|
1332
|
+
insets: {
|
|
1333
|
+
left: 0,
|
|
1334
|
+
top: 80,
|
|
1335
|
+
right: 0,
|
|
1336
|
+
bottom: 48
|
|
1337
|
+
},
|
|
1338
|
+
image: "@url(optimized/google-nexus-5-vertical-navigation-1x.avif) 1x, @url(optimized/google-nexus-5-vertical-navigation-2x.avif) 2x"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
title: "keyboard",
|
|
1342
|
+
orientation: "vertical",
|
|
1343
|
+
insets: {
|
|
1344
|
+
left: 0,
|
|
1345
|
+
top: 80,
|
|
1346
|
+
right: 0,
|
|
1347
|
+
bottom: 312
|
|
1348
|
+
},
|
|
1349
|
+
image: "@url(optimized/google-nexus-5-vertical-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5-vertical-keyboard-2x.avif) 2x"
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
title: "default",
|
|
1353
|
+
orientation: "horizontal",
|
|
1354
|
+
insets: {
|
|
1355
|
+
left: 0,
|
|
1356
|
+
top: 25,
|
|
1357
|
+
right: 42,
|
|
1358
|
+
bottom: 0
|
|
1359
|
+
},
|
|
1360
|
+
image: "@url(optimized/google-nexus-5-horizontal-default-1x.avif) 1x, @url(optimized/google-nexus-5-horizontal-default-2x.avif) 2x"
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
title: "navigation bar",
|
|
1364
|
+
orientation: "horizontal",
|
|
1365
|
+
insets: {
|
|
1366
|
+
left: 0,
|
|
1367
|
+
top: 80,
|
|
1368
|
+
right: 42,
|
|
1369
|
+
bottom: 0
|
|
1370
|
+
},
|
|
1371
|
+
image: "@url(optimized/google-nexus-5-horizontal-navigation-1x.avif) 1x, @url(optimized/google-nexus-5-horizontal-navigation-2x.avif) 2x"
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
title: "keyboard",
|
|
1375
|
+
orientation: "horizontal",
|
|
1376
|
+
insets: {
|
|
1377
|
+
left: 0,
|
|
1378
|
+
top: 80,
|
|
1379
|
+
right: 42,
|
|
1380
|
+
bottom: 202
|
|
1381
|
+
},
|
|
1382
|
+
image: "@url(optimized/google-nexus-5-horizontal-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5-horizontal-keyboard-2x.avif) 2x"
|
|
1383
|
+
}
|
|
1384
|
+
]
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
title: "Nexus 5X",
|
|
1388
|
+
type: "phone",
|
|
1389
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1390
|
+
"user-agent-metadata": {
|
|
1391
|
+
platform: "Android",
|
|
1392
|
+
platformVersion: "8.0.0",
|
|
1393
|
+
architecture: "",
|
|
1394
|
+
model: "Nexus 5X",
|
|
1395
|
+
mobile: !0
|
|
1396
|
+
},
|
|
1397
|
+
capabilities: ["touch", "mobile"],
|
|
1398
|
+
"show-by-default": !1,
|
|
1399
|
+
screen: {
|
|
1400
|
+
"device-pixel-ratio": 2.625,
|
|
1401
|
+
vertical: {
|
|
1402
|
+
outline: {
|
|
1403
|
+
image: "@url(optimized/Nexus5X-portrait.avif)",
|
|
1404
|
+
insets: {
|
|
1405
|
+
left: 18,
|
|
1406
|
+
top: 88,
|
|
1407
|
+
right: 22,
|
|
1408
|
+
bottom: 98
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
width: 412,
|
|
1412
|
+
height: 732
|
|
1413
|
+
},
|
|
1414
|
+
horizontal: {
|
|
1415
|
+
outline: {
|
|
1416
|
+
image: "@url(optimized/Nexus5X-landscape.avif)",
|
|
1417
|
+
insets: {
|
|
1418
|
+
left: 88,
|
|
1419
|
+
top: 21,
|
|
1420
|
+
right: 98,
|
|
1421
|
+
bottom: 19
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
width: 732,
|
|
1425
|
+
height: 412
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
modes: [
|
|
1429
|
+
{
|
|
1430
|
+
title: "default",
|
|
1431
|
+
orientation: "vertical",
|
|
1432
|
+
insets: {
|
|
1433
|
+
left: 0,
|
|
1434
|
+
top: 24,
|
|
1435
|
+
right: 0,
|
|
1436
|
+
bottom: 48
|
|
1437
|
+
},
|
|
1438
|
+
image: "@url(optimized/google-nexus-5x-vertical-default-1x.avif) 1x, @url(optimized/google-nexus-5x-vertical-default-2x.avif) 2x"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
title: "navigation bar",
|
|
1442
|
+
orientation: "vertical",
|
|
1443
|
+
insets: {
|
|
1444
|
+
left: 0,
|
|
1445
|
+
top: 80,
|
|
1446
|
+
right: 0,
|
|
1447
|
+
bottom: 48
|
|
1448
|
+
},
|
|
1449
|
+
image: "@url(optimized/google-nexus-5x-vertical-navigation-1x.avif) 1x, @url(optimized/google-nexus-5x-vertical-navigation-2x.avif) 2x"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
title: "keyboard",
|
|
1453
|
+
orientation: "vertical",
|
|
1454
|
+
insets: {
|
|
1455
|
+
left: 0,
|
|
1456
|
+
top: 80,
|
|
1457
|
+
right: 0,
|
|
1458
|
+
bottom: 342
|
|
1459
|
+
},
|
|
1460
|
+
image: "@url(optimized/google-nexus-5x-vertical-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5x-vertical-keyboard-2x.avif) 2x"
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
title: "default",
|
|
1464
|
+
orientation: "horizontal",
|
|
1465
|
+
insets: {
|
|
1466
|
+
left: 0,
|
|
1467
|
+
top: 24,
|
|
1468
|
+
right: 48,
|
|
1469
|
+
bottom: 0
|
|
1470
|
+
},
|
|
1471
|
+
image: "@url(optimized/google-nexus-5x-horizontal-default-1x.avif) 1x, @url(optimized/google-nexus-5x-horizontal-default-2x.avif) 2x"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
title: "navigation bar",
|
|
1475
|
+
orientation: "horizontal",
|
|
1476
|
+
insets: {
|
|
1477
|
+
left: 0,
|
|
1478
|
+
top: 80,
|
|
1479
|
+
right: 48,
|
|
1480
|
+
bottom: 0
|
|
1481
|
+
},
|
|
1482
|
+
image: "@url(optimized/google-nexus-5x-horizontal-navigation-1x.avif) 1x, @url(optimized/google-nexus-5x-horizontal-navigation-2x.avif) 2x"
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
title: "keyboard",
|
|
1486
|
+
orientation: "horizontal",
|
|
1487
|
+
insets: {
|
|
1488
|
+
left: 0,
|
|
1489
|
+
top: 80,
|
|
1490
|
+
right: 48,
|
|
1491
|
+
bottom: 222
|
|
1492
|
+
},
|
|
1493
|
+
image: "@url(optimized/google-nexus-5x-horizontal-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5x-horizontal-keyboard-2x.avif) 2x"
|
|
1494
|
+
}
|
|
1495
|
+
]
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"show-by-default": !1,
|
|
1499
|
+
title: "Nexus 6",
|
|
1500
|
+
screen: {
|
|
1501
|
+
horizontal: {
|
|
1502
|
+
width: 732,
|
|
1503
|
+
height: 412
|
|
1504
|
+
},
|
|
1505
|
+
"device-pixel-ratio": 3.5,
|
|
1506
|
+
vertical: {
|
|
1507
|
+
width: 412,
|
|
1508
|
+
height: 732
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
capabilities: ["touch", "mobile"],
|
|
1512
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1513
|
+
"user-agent-metadata": {
|
|
1514
|
+
platform: "Android",
|
|
1515
|
+
platformVersion: "7.1.1",
|
|
1516
|
+
architecture: "",
|
|
1517
|
+
model: "Nexus 6",
|
|
1518
|
+
mobile: !0
|
|
1519
|
+
},
|
|
1520
|
+
type: "phone"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"show-by-default": !1,
|
|
1524
|
+
title: "Nexus 6P",
|
|
1525
|
+
screen: {
|
|
1526
|
+
horizontal: {
|
|
1527
|
+
outline: {
|
|
1528
|
+
image: "@url(optimized/Nexus6P-landscape.avif)",
|
|
1529
|
+
insets: {
|
|
1530
|
+
left: 94,
|
|
1531
|
+
top: 17,
|
|
1532
|
+
right: 88,
|
|
1533
|
+
bottom: 17
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
width: 732,
|
|
1537
|
+
height: 412
|
|
1538
|
+
},
|
|
1539
|
+
"device-pixel-ratio": 3.5,
|
|
1540
|
+
vertical: {
|
|
1541
|
+
outline: {
|
|
1542
|
+
image: "@url(optimized/Nexus6P-portrait.avif)",
|
|
1543
|
+
insets: {
|
|
1544
|
+
left: 16,
|
|
1545
|
+
top: 94,
|
|
1546
|
+
right: 16,
|
|
1547
|
+
bottom: 88
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
width: 412,
|
|
1551
|
+
height: 732
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
capabilities: ["touch", "mobile"],
|
|
1555
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1556
|
+
"user-agent-metadata": {
|
|
1557
|
+
platform: "Android",
|
|
1558
|
+
platformVersion: "8.0.0",
|
|
1559
|
+
architecture: "",
|
|
1560
|
+
model: "Nexus 6P",
|
|
1561
|
+
mobile: !0
|
|
1562
|
+
},
|
|
1563
|
+
type: "phone"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
order: 120,
|
|
1567
|
+
"show-by-default": !1,
|
|
1568
|
+
title: "Pixel 2",
|
|
1569
|
+
screen: {
|
|
1570
|
+
horizontal: {
|
|
1571
|
+
width: 731,
|
|
1572
|
+
height: 411
|
|
1573
|
+
},
|
|
1574
|
+
"device-pixel-ratio": 2.625,
|
|
1575
|
+
vertical: {
|
|
1576
|
+
width: 411,
|
|
1577
|
+
height: 731
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
capabilities: ["touch", "mobile"],
|
|
1581
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1582
|
+
"user-agent-metadata": {
|
|
1583
|
+
platform: "Android",
|
|
1584
|
+
platformVersion: "8.0",
|
|
1585
|
+
architecture: "",
|
|
1586
|
+
model: "Pixel 2",
|
|
1587
|
+
mobile: !0
|
|
1588
|
+
},
|
|
1589
|
+
type: "phone"
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
order: 121,
|
|
1593
|
+
"show-by-default": !1,
|
|
1594
|
+
title: "Pixel 2 XL",
|
|
1595
|
+
screen: {
|
|
1596
|
+
horizontal: {
|
|
1597
|
+
width: 823,
|
|
1598
|
+
height: 411
|
|
1599
|
+
},
|
|
1600
|
+
"device-pixel-ratio": 3.5,
|
|
1601
|
+
vertical: {
|
|
1602
|
+
width: 411,
|
|
1603
|
+
height: 823
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
capabilities: ["touch", "mobile"],
|
|
1607
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1608
|
+
"user-agent-metadata": {
|
|
1609
|
+
platform: "Android",
|
|
1610
|
+
platformVersion: "8.0.0",
|
|
1611
|
+
architecture: "",
|
|
1612
|
+
model: "Pixel 2 XL",
|
|
1613
|
+
mobile: !0
|
|
1614
|
+
},
|
|
1615
|
+
type: "phone"
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"show-by-default": !1,
|
|
1619
|
+
title: "Pixel 3",
|
|
1620
|
+
screen: {
|
|
1621
|
+
horizontal: {
|
|
1622
|
+
width: 786,
|
|
1623
|
+
height: 393
|
|
1624
|
+
},
|
|
1625
|
+
"device-pixel-ratio": 2.75,
|
|
1626
|
+
vertical: {
|
|
1627
|
+
width: 393,
|
|
1628
|
+
height: 786
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
capabilities: ["touch", "mobile"],
|
|
1632
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1633
|
+
"user-agent-metadata": {
|
|
1634
|
+
platform: "Android",
|
|
1635
|
+
platformVersion: "9",
|
|
1636
|
+
architecture: "",
|
|
1637
|
+
model: "Pixel 3",
|
|
1638
|
+
mobile: !0
|
|
1639
|
+
},
|
|
1640
|
+
type: "phone"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"show-by-default": !1,
|
|
1644
|
+
title: "Pixel 4",
|
|
1645
|
+
screen: {
|
|
1646
|
+
horizontal: {
|
|
1647
|
+
width: 745,
|
|
1648
|
+
height: 353
|
|
1649
|
+
},
|
|
1650
|
+
"device-pixel-ratio": 3,
|
|
1651
|
+
vertical: {
|
|
1652
|
+
width: 353,
|
|
1653
|
+
height: 745
|
|
1654
|
+
}
|
|
1655
|
+
},
|
|
1656
|
+
capabilities: ["touch", "mobile"],
|
|
1657
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1658
|
+
"user-agent-metadata": {
|
|
1659
|
+
platform: "Android",
|
|
1660
|
+
platformVersion: "10",
|
|
1661
|
+
architecture: "",
|
|
1662
|
+
model: "Pixel 4",
|
|
1663
|
+
mobile: !0
|
|
1664
|
+
},
|
|
1665
|
+
type: "phone"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"show-by-default": !1,
|
|
1669
|
+
title: "LG Optimus L70",
|
|
1670
|
+
screen: {
|
|
1671
|
+
horizontal: {
|
|
1672
|
+
width: 640,
|
|
1673
|
+
height: 384
|
|
1674
|
+
},
|
|
1675
|
+
"device-pixel-ratio": 1.25,
|
|
1676
|
+
vertical: {
|
|
1677
|
+
width: 384,
|
|
1678
|
+
height: 640
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
capabilities: ["touch", "mobile"],
|
|
1682
|
+
"user-agent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/%s Mobile Safari/537.36",
|
|
1683
|
+
"user-agent-metadata": {
|
|
1684
|
+
platform: "Android",
|
|
1685
|
+
platformVersion: "4.4.2",
|
|
1686
|
+
architecture: "",
|
|
1687
|
+
model: "LGMS323",
|
|
1688
|
+
mobile: !0
|
|
1689
|
+
},
|
|
1690
|
+
type: "phone"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"show-by-default": !1,
|
|
1694
|
+
title: "Nokia N9",
|
|
1695
|
+
screen: {
|
|
1696
|
+
horizontal: {
|
|
1697
|
+
width: 854,
|
|
1698
|
+
height: 480
|
|
1699
|
+
},
|
|
1700
|
+
"device-pixel-ratio": 1,
|
|
1701
|
+
vertical: {
|
|
1702
|
+
width: 480,
|
|
1703
|
+
height: 854
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
capabilities: ["touch", "mobile"],
|
|
1707
|
+
"user-agent": "Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 (KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13",
|
|
1708
|
+
type: "phone"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"show-by-default": !1,
|
|
1712
|
+
title: "Nokia Lumia 520",
|
|
1713
|
+
screen: {
|
|
1714
|
+
horizontal: {
|
|
1715
|
+
width: 533,
|
|
1716
|
+
height: 320
|
|
1717
|
+
},
|
|
1718
|
+
"device-pixel-ratio": 1.5,
|
|
1719
|
+
vertical: {
|
|
1720
|
+
width: 320,
|
|
1721
|
+
height: 533
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
capabilities: ["touch", "mobile"],
|
|
1725
|
+
"user-agent": "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)",
|
|
1726
|
+
type: "phone"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"show-by-default": !1,
|
|
1730
|
+
title: "Microsoft Lumia 550",
|
|
1731
|
+
screen: {
|
|
1732
|
+
horizontal: {
|
|
1733
|
+
width: 640,
|
|
1734
|
+
height: 360
|
|
1735
|
+
},
|
|
1736
|
+
"device-pixel-ratio": 2,
|
|
1737
|
+
vertical: {
|
|
1738
|
+
width: 640,
|
|
1739
|
+
height: 360
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
capabilities: ["touch", "mobile"],
|
|
1743
|
+
"user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36 Edge/14.14263",
|
|
1744
|
+
"user-agent-metadata": {
|
|
1745
|
+
platform: "Android",
|
|
1746
|
+
platformVersion: "4.2.1",
|
|
1747
|
+
architecture: "",
|
|
1748
|
+
model: "Lumia 550",
|
|
1749
|
+
mobile: !0
|
|
1750
|
+
},
|
|
1751
|
+
type: "phone"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"show-by-default": !1,
|
|
1755
|
+
title: "Microsoft Lumia 950",
|
|
1756
|
+
screen: {
|
|
1757
|
+
horizontal: {
|
|
1758
|
+
width: 640,
|
|
1759
|
+
height: 360
|
|
1760
|
+
},
|
|
1761
|
+
"device-pixel-ratio": 4,
|
|
1762
|
+
vertical: {
|
|
1763
|
+
width: 360,
|
|
1764
|
+
height: 640
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
capabilities: ["touch", "mobile"],
|
|
1768
|
+
"user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36 Edge/14.14263",
|
|
1769
|
+
"user-agent-metadata": {
|
|
1770
|
+
platform: "Android",
|
|
1771
|
+
platformVersion: "4.2.1",
|
|
1772
|
+
architecture: "",
|
|
1773
|
+
model: "Lumia 950",
|
|
1774
|
+
mobile: !0
|
|
1775
|
+
},
|
|
1776
|
+
type: "phone"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"show-by-default": !1,
|
|
1780
|
+
title: "Galaxy S III",
|
|
1781
|
+
screen: {
|
|
1782
|
+
horizontal: {
|
|
1783
|
+
width: 640,
|
|
1784
|
+
height: 360
|
|
1785
|
+
},
|
|
1786
|
+
"device-pixel-ratio": 2,
|
|
1787
|
+
vertical: {
|
|
1788
|
+
width: 360,
|
|
1789
|
+
height: 640
|
|
1790
|
+
}
|
|
1791
|
+
},
|
|
1792
|
+
capabilities: ["touch", "mobile"],
|
|
1793
|
+
"user-agent": "Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I9300 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
|
|
1794
|
+
"user-agent-metadata": {
|
|
1795
|
+
platform: "Android",
|
|
1796
|
+
platformVersion: "4.0",
|
|
1797
|
+
architecture: "",
|
|
1798
|
+
model: "GT-I9300",
|
|
1799
|
+
mobile: !0
|
|
1800
|
+
},
|
|
1801
|
+
type: "phone"
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
order: 110,
|
|
1805
|
+
"show-by-default": !1,
|
|
1806
|
+
title: "Galaxy S5",
|
|
1807
|
+
screen: {
|
|
1808
|
+
horizontal: {
|
|
1809
|
+
width: 640,
|
|
1810
|
+
height: 360
|
|
1811
|
+
},
|
|
1812
|
+
"device-pixel-ratio": 3,
|
|
1813
|
+
vertical: {
|
|
1814
|
+
width: 360,
|
|
1815
|
+
height: 640
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
capabilities: ["touch", "mobile"],
|
|
1819
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1820
|
+
"user-agent-metadata": {
|
|
1821
|
+
platform: "Android",
|
|
1822
|
+
platformVersion: "5.0",
|
|
1823
|
+
architecture: "",
|
|
1824
|
+
model: "SM-G900P",
|
|
1825
|
+
mobile: !0
|
|
1826
|
+
},
|
|
1827
|
+
type: "phone"
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"show-by-default": !1,
|
|
1831
|
+
title: "Galaxy S8",
|
|
1832
|
+
screen: {
|
|
1833
|
+
horizontal: {
|
|
1834
|
+
width: 740,
|
|
1835
|
+
height: 360
|
|
1836
|
+
},
|
|
1837
|
+
"device-pixel-ratio": 3,
|
|
1838
|
+
vertical: {
|
|
1839
|
+
width: 360,
|
|
1840
|
+
height: 740
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
capabilities: ["touch", "mobile"],
|
|
1844
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1845
|
+
"user-agent-metadata": {
|
|
1846
|
+
platform: "Android",
|
|
1847
|
+
platformVersion: "7.0",
|
|
1848
|
+
architecture: "",
|
|
1849
|
+
model: "SM-G950U",
|
|
1850
|
+
mobile: !0
|
|
1851
|
+
},
|
|
1852
|
+
type: "phone"
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"show-by-default": !1,
|
|
1856
|
+
title: "Galaxy S9+",
|
|
1857
|
+
screen: {
|
|
1858
|
+
horizontal: {
|
|
1859
|
+
width: 658,
|
|
1860
|
+
height: 320
|
|
1861
|
+
},
|
|
1862
|
+
"device-pixel-ratio": 4.5,
|
|
1863
|
+
vertical: {
|
|
1864
|
+
width: 320,
|
|
1865
|
+
height: 658
|
|
1866
|
+
}
|
|
1867
|
+
},
|
|
1868
|
+
capabilities: ["touch", "mobile"],
|
|
1869
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
1870
|
+
"user-agent-metadata": {
|
|
1871
|
+
platform: "Android",
|
|
1872
|
+
platformVersion: "8.0.0",
|
|
1873
|
+
architecture: "",
|
|
1874
|
+
model: "SM-G965U",
|
|
1875
|
+
mobile: !0
|
|
1876
|
+
},
|
|
1877
|
+
type: "phone"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"show-by-default": !1,
|
|
1881
|
+
title: "Galaxy Tab S4",
|
|
1882
|
+
screen: {
|
|
1883
|
+
horizontal: {
|
|
1884
|
+
width: 1138,
|
|
1885
|
+
height: 712
|
|
1886
|
+
},
|
|
1887
|
+
"device-pixel-ratio": 2.25,
|
|
1888
|
+
vertical: {
|
|
1889
|
+
width: 712,
|
|
1890
|
+
height: 1138
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
capabilities: ["touch", "mobile"],
|
|
1894
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
|
|
1895
|
+
"user-agent-metadata": {
|
|
1896
|
+
platform: "Android",
|
|
1897
|
+
platformVersion: "8.1.0",
|
|
1898
|
+
architecture: "",
|
|
1899
|
+
model: "SM-T837A",
|
|
1900
|
+
mobile: !1
|
|
1901
|
+
},
|
|
1902
|
+
type: "phone"
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
order: 1,
|
|
1906
|
+
"show-by-default": !1,
|
|
1907
|
+
title: "JioPhone 2",
|
|
1908
|
+
screen: {
|
|
1909
|
+
horizontal: {
|
|
1910
|
+
width: 320,
|
|
1911
|
+
height: 240
|
|
1912
|
+
},
|
|
1913
|
+
"device-pixel-ratio": 1,
|
|
1914
|
+
vertical: {
|
|
1915
|
+
width: 240,
|
|
1916
|
+
height: 320
|
|
1917
|
+
}
|
|
1918
|
+
},
|
|
1919
|
+
capabilities: ["touch", "mobile"],
|
|
1920
|
+
"user-agent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5",
|
|
1921
|
+
"user-agent-metadata": {
|
|
1922
|
+
platform: "Android",
|
|
1923
|
+
platformVersion: "",
|
|
1924
|
+
architecture: "",
|
|
1925
|
+
model: "LYF/F300B/LYF-F300B-001-01-15-130718-i",
|
|
1926
|
+
mobile: !0
|
|
1927
|
+
},
|
|
1928
|
+
type: "phone"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"show-by-default": !1,
|
|
1932
|
+
title: "Kindle Fire HDX",
|
|
1933
|
+
screen: {
|
|
1934
|
+
horizontal: {
|
|
1935
|
+
width: 1280,
|
|
1936
|
+
height: 800
|
|
1937
|
+
},
|
|
1938
|
+
"device-pixel-ratio": 2,
|
|
1939
|
+
vertical: {
|
|
1940
|
+
width: 800,
|
|
1941
|
+
height: 1280
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
capabilities: ["touch", "mobile"],
|
|
1945
|
+
"user-agent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true",
|
|
1946
|
+
type: "tablet"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
order: 140,
|
|
1950
|
+
"show-by-default": !1,
|
|
1951
|
+
title: "iPad",
|
|
1952
|
+
screen: {
|
|
1953
|
+
horizontal: {
|
|
1954
|
+
outline: {
|
|
1955
|
+
image: "@url(optimized/iPad-landscape.avif)",
|
|
1956
|
+
insets: {
|
|
1957
|
+
left: 112,
|
|
1958
|
+
top: 56,
|
|
1959
|
+
right: 116,
|
|
1960
|
+
bottom: 52
|
|
1961
|
+
}
|
|
1962
|
+
},
|
|
1963
|
+
width: 1024,
|
|
1964
|
+
height: 768
|
|
1965
|
+
},
|
|
1966
|
+
"device-pixel-ratio": 2,
|
|
1967
|
+
vertical: {
|
|
1968
|
+
outline: {
|
|
1969
|
+
image: "@url(optimized/iPad-portrait.avif)",
|
|
1970
|
+
insets: {
|
|
1971
|
+
left: 52,
|
|
1972
|
+
top: 114,
|
|
1973
|
+
right: 55,
|
|
1974
|
+
bottom: 114
|
|
1975
|
+
}
|
|
1976
|
+
},
|
|
1977
|
+
width: 768,
|
|
1978
|
+
height: 1024
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
capabilities: ["touch", "mobile"],
|
|
1982
|
+
"user-agent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
|
|
1983
|
+
"user-agent-metadata": {
|
|
1984
|
+
platform: "iOS",
|
|
1985
|
+
platformVersion: "11.0",
|
|
1986
|
+
architecture: "",
|
|
1987
|
+
model: "iPad",
|
|
1988
|
+
mobile: !0
|
|
1989
|
+
},
|
|
1990
|
+
type: "tablet"
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
order: 141,
|
|
1994
|
+
"show-by-default": !1,
|
|
1995
|
+
title: "iPad Pro",
|
|
1996
|
+
screen: {
|
|
1997
|
+
horizontal: {
|
|
1998
|
+
width: 1366,
|
|
1999
|
+
height: 1024
|
|
2000
|
+
},
|
|
2001
|
+
"device-pixel-ratio": 2,
|
|
2002
|
+
vertical: {
|
|
2003
|
+
width: 1024,
|
|
2004
|
+
height: 1366
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
capabilities: ["touch", "mobile"],
|
|
2008
|
+
"user-agent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
|
|
2009
|
+
"user-agent-metadata": {
|
|
2010
|
+
platform: "iOS",
|
|
2011
|
+
platformVersion: "11.0",
|
|
2012
|
+
architecture: "",
|
|
2013
|
+
model: "iPad",
|
|
2014
|
+
mobile: !0
|
|
2015
|
+
},
|
|
2016
|
+
type: "tablet"
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"show-by-default": !1,
|
|
2020
|
+
title: "Blackberry PlayBook",
|
|
2021
|
+
screen: {
|
|
2022
|
+
horizontal: {
|
|
2023
|
+
width: 1024,
|
|
2024
|
+
height: 600
|
|
2025
|
+
},
|
|
2026
|
+
"device-pixel-ratio": 1,
|
|
2027
|
+
vertical: {
|
|
2028
|
+
width: 600,
|
|
2029
|
+
height: 1024
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
capabilities: ["touch", "mobile"],
|
|
2033
|
+
"user-agent": "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",
|
|
2034
|
+
type: "tablet"
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"show-by-default": !1,
|
|
2038
|
+
title: "Nexus 10",
|
|
2039
|
+
screen: {
|
|
2040
|
+
horizontal: {
|
|
2041
|
+
width: 1280,
|
|
2042
|
+
height: 800
|
|
2043
|
+
},
|
|
2044
|
+
"device-pixel-ratio": 2,
|
|
2045
|
+
vertical: {
|
|
2046
|
+
width: 800,
|
|
2047
|
+
height: 1280
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
capabilities: ["touch", "mobile"],
|
|
2051
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
|
|
2052
|
+
"user-agent-metadata": {
|
|
2053
|
+
platform: "Android",
|
|
2054
|
+
platformVersion: "6.0.1",
|
|
2055
|
+
architecture: "",
|
|
2056
|
+
model: "Nexus 10",
|
|
2057
|
+
mobile: !1
|
|
2058
|
+
},
|
|
2059
|
+
type: "tablet"
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"show-by-default": !1,
|
|
2063
|
+
title: "Nexus 7",
|
|
2064
|
+
screen: {
|
|
2065
|
+
horizontal: {
|
|
2066
|
+
width: 960,
|
|
2067
|
+
height: 600
|
|
2068
|
+
},
|
|
2069
|
+
"device-pixel-ratio": 2,
|
|
2070
|
+
vertical: {
|
|
2071
|
+
width: 600,
|
|
2072
|
+
height: 960
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
capabilities: ["touch", "mobile"],
|
|
2076
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
|
|
2077
|
+
"user-agent-metadata": {
|
|
2078
|
+
platform: "Android",
|
|
2079
|
+
platformVersion: "6.0.1",
|
|
2080
|
+
architecture: "",
|
|
2081
|
+
model: "Nexus 7",
|
|
2082
|
+
mobile: !1
|
|
2083
|
+
},
|
|
2084
|
+
type: "tablet"
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"show-by-default": !1,
|
|
2088
|
+
title: "Galaxy Note 3",
|
|
2089
|
+
screen: {
|
|
2090
|
+
horizontal: {
|
|
2091
|
+
width: 640,
|
|
2092
|
+
height: 360
|
|
2093
|
+
},
|
|
2094
|
+
"device-pixel-ratio": 3,
|
|
2095
|
+
vertical: {
|
|
2096
|
+
width: 360,
|
|
2097
|
+
height: 640
|
|
2098
|
+
}
|
|
2099
|
+
},
|
|
2100
|
+
capabilities: ["touch", "mobile"],
|
|
2101
|
+
"user-agent": "Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N900T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
|
|
2102
|
+
"user-agent-metadata": {
|
|
2103
|
+
platform: "Android",
|
|
2104
|
+
platformVersion: "4.3",
|
|
2105
|
+
architecture: "",
|
|
2106
|
+
model: "SM-N900T",
|
|
2107
|
+
mobile: !0
|
|
2108
|
+
},
|
|
2109
|
+
type: "phone"
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"show-by-default": !1,
|
|
2113
|
+
title: "Galaxy Note II",
|
|
2114
|
+
screen: {
|
|
2115
|
+
horizontal: {
|
|
2116
|
+
width: 640,
|
|
2117
|
+
height: 360
|
|
2118
|
+
},
|
|
2119
|
+
"device-pixel-ratio": 2,
|
|
2120
|
+
vertical: {
|
|
2121
|
+
width: 360,
|
|
2122
|
+
height: 640
|
|
2123
|
+
}
|
|
2124
|
+
},
|
|
2125
|
+
capabilities: ["touch", "mobile"],
|
|
2126
|
+
"user-agent": "Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N7100 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
|
|
2127
|
+
"user-agent-metadata": {
|
|
2128
|
+
platform: "Android",
|
|
2129
|
+
platformVersion: "4.1",
|
|
2130
|
+
architecture: "",
|
|
2131
|
+
model: "GT-N7100",
|
|
2132
|
+
mobile: !0
|
|
2133
|
+
},
|
|
2134
|
+
type: "phone"
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"show-by-default": !1,
|
|
2138
|
+
title: S(b.laptopWithTouch),
|
|
2139
|
+
screen: {
|
|
2140
|
+
horizontal: {
|
|
2141
|
+
width: 1280,
|
|
2142
|
+
height: 950
|
|
2143
|
+
},
|
|
2144
|
+
"device-pixel-ratio": 1,
|
|
2145
|
+
vertical: {
|
|
2146
|
+
width: 950,
|
|
2147
|
+
height: 1280
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
capabilities: ["touch"],
|
|
2151
|
+
"user-agent": "",
|
|
2152
|
+
type: "notebook",
|
|
2153
|
+
modes: [{
|
|
2154
|
+
title: "default",
|
|
2155
|
+
orientation: "horizontal"
|
|
2156
|
+
}]
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"show-by-default": !1,
|
|
2160
|
+
title: S(b.laptopWithHiDPIScreen),
|
|
2161
|
+
screen: {
|
|
2162
|
+
horizontal: {
|
|
2163
|
+
width: 1440,
|
|
2164
|
+
height: 900
|
|
2165
|
+
},
|
|
2166
|
+
"device-pixel-ratio": 2,
|
|
2167
|
+
vertical: {
|
|
2168
|
+
width: 900,
|
|
2169
|
+
height: 1440
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
capabilities: [],
|
|
2173
|
+
"user-agent": "",
|
|
2174
|
+
type: "notebook",
|
|
2175
|
+
modes: [{
|
|
2176
|
+
title: "default",
|
|
2177
|
+
orientation: "horizontal"
|
|
2178
|
+
}]
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"show-by-default": !1,
|
|
2182
|
+
title: S(b.laptopWithMDPIScreen),
|
|
2183
|
+
screen: {
|
|
2184
|
+
horizontal: {
|
|
2185
|
+
width: 1280,
|
|
2186
|
+
height: 800
|
|
2187
|
+
},
|
|
2188
|
+
"device-pixel-ratio": 1,
|
|
2189
|
+
vertical: {
|
|
2190
|
+
width: 800,
|
|
2191
|
+
height: 1280
|
|
2192
|
+
}
|
|
2193
|
+
},
|
|
2194
|
+
capabilities: [],
|
|
2195
|
+
"user-agent": "",
|
|
2196
|
+
type: "notebook",
|
|
2197
|
+
modes: [{
|
|
2198
|
+
title: "default",
|
|
2199
|
+
orientation: "horizontal"
|
|
2200
|
+
}]
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"show-by-default": !1,
|
|
2204
|
+
title: "Moto G4",
|
|
2205
|
+
screen: {
|
|
2206
|
+
horizontal: {
|
|
2207
|
+
outline: {
|
|
2208
|
+
image: "@url(optimized/MotoG4-landscape.avif)",
|
|
2209
|
+
insets: {
|
|
2210
|
+
left: 91,
|
|
2211
|
+
top: 30,
|
|
2212
|
+
right: 74,
|
|
2213
|
+
bottom: 30
|
|
2214
|
+
}
|
|
2215
|
+
},
|
|
2216
|
+
width: 640,
|
|
2217
|
+
height: 360
|
|
2218
|
+
},
|
|
2219
|
+
"device-pixel-ratio": 3,
|
|
2220
|
+
vertical: {
|
|
2221
|
+
outline: {
|
|
2222
|
+
image: "@url(optimized/MotoG4-portrait.avif)",
|
|
2223
|
+
insets: {
|
|
2224
|
+
left: 30,
|
|
2225
|
+
top: 91,
|
|
2226
|
+
right: 30,
|
|
2227
|
+
bottom: 74
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
width: 360,
|
|
2231
|
+
height: 640
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
capabilities: ["touch", "mobile"],
|
|
2235
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
2236
|
+
"user-agent-metadata": {
|
|
2237
|
+
platform: "Android",
|
|
2238
|
+
platformVersion: "6.0.1",
|
|
2239
|
+
architecture: "",
|
|
2240
|
+
model: "Moto G (4)",
|
|
2241
|
+
mobile: !0
|
|
2242
|
+
},
|
|
2243
|
+
type: "phone"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"show-by-default": !1,
|
|
2247
|
+
title: "Moto G Power",
|
|
2248
|
+
screen: {
|
|
2249
|
+
"device-pixel-ratio": 1.75,
|
|
2250
|
+
horizontal: {
|
|
2251
|
+
width: 823,
|
|
2252
|
+
height: 412
|
|
2253
|
+
},
|
|
2254
|
+
vertical: {
|
|
2255
|
+
width: 412,
|
|
2256
|
+
height: 823
|
|
2257
|
+
}
|
|
2258
|
+
},
|
|
2259
|
+
capabilities: ["touch", "mobile"],
|
|
2260
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
|
|
2261
|
+
"user-agent-metadata": {
|
|
2262
|
+
platform: "Android",
|
|
2263
|
+
platformVersion: "11",
|
|
2264
|
+
architecture: "",
|
|
2265
|
+
model: "moto g power (2022)",
|
|
2266
|
+
mobile: !0
|
|
2267
|
+
},
|
|
2268
|
+
type: "phone"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
order: 200,
|
|
2272
|
+
"show-by-default": !1,
|
|
2273
|
+
title: "Facebook on Android",
|
|
2274
|
+
screen: {
|
|
2275
|
+
horizontal: {
|
|
2276
|
+
width: 892,
|
|
2277
|
+
height: 412
|
|
2278
|
+
},
|
|
2279
|
+
"device-pixel-ratio": 3.5,
|
|
2280
|
+
vertical: {
|
|
2281
|
+
width: 412,
|
|
2282
|
+
height: 892
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2285
|
+
capabilities: ["touch", "mobile"],
|
|
2286
|
+
"user-agent": "Mozilla/5.0 (Linux; Android 12; Pixel 6 Build/SQ3A.220705.004; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/%s Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/407.0.0.0.65;]",
|
|
2287
|
+
"user-agent-metadata": {
|
|
2288
|
+
platform: "Android",
|
|
2289
|
+
platformVersion: "12",
|
|
2290
|
+
architecture: "",
|
|
2291
|
+
model: "Pixel 6",
|
|
2292
|
+
mobile: !0
|
|
2293
|
+
},
|
|
2294
|
+
type: "phone"
|
|
2295
|
+
}
|
|
2296
|
+
], I = {
|
|
2297
|
+
widthCannotBeEmpty: "Width cannot be empty.",
|
|
2298
|
+
widthMustBeANumber: "Width must be a number.",
|
|
2299
|
+
widthMustBeLessThanOrEqualToS: "Width must be less than or equal to {PH1}.",
|
|
2300
|
+
widthMustBeGreaterThanOrEqualToS: "Width must be greater than or equal to {PH1}.",
|
|
2301
|
+
heightCannotBeEmpty: "Height cannot be empty.",
|
|
2302
|
+
heightMustBeANumber: "Height must be a number.",
|
|
2303
|
+
heightMustBeLessThanOrEqualToS: "Height must be less than or equal to {PH1}.",
|
|
2304
|
+
heightMustBeGreaterThanOrEqualTo: "Height must be greater than or equal to {PH1}.",
|
|
2305
|
+
devicePixelRatioMustBeANumberOr: "Device pixel ratio must be a number or blank.",
|
|
2306
|
+
devicePixelRatioMustBeLessThanOr: "Device pixel ratio must be less than or equal to {PH1}.",
|
|
2307
|
+
devicePixelRatioMustBeGreater: "Device pixel ratio must be greater than or equal to {PH1}."
|
|
2308
|
+
}, L = o("models/emulation/DeviceModeModel.ts", I), R = n.bind(void 0, L), z, B = class t extends e {
|
|
2309
|
+
#e;
|
|
2310
|
+
#t;
|
|
2311
|
+
#n;
|
|
2312
|
+
#r;
|
|
2313
|
+
#i;
|
|
2314
|
+
#a;
|
|
2315
|
+
#o;
|
|
2316
|
+
#s;
|
|
2317
|
+
#c;
|
|
2318
|
+
#l;
|
|
2319
|
+
#u;
|
|
2320
|
+
#d;
|
|
2321
|
+
#f;
|
|
2322
|
+
#p;
|
|
2323
|
+
#m;
|
|
2324
|
+
#h;
|
|
2325
|
+
#g;
|
|
2326
|
+
#_;
|
|
2327
|
+
#v;
|
|
2328
|
+
#y;
|
|
2329
|
+
#b;
|
|
2330
|
+
#x;
|
|
2331
|
+
#S;
|
|
2332
|
+
#C;
|
|
2333
|
+
#w;
|
|
2334
|
+
#T;
|
|
2335
|
+
constructor() {
|
|
2336
|
+
super(), this.#e = new H(0, 0, 1, 1), this.#t = new H(0, 0, 1, 1), this.#n = new y(1, 1), this.#r = new y(1, 1), this.#i = !1, this.#a = new y(1, 1), this.#o = globalThis.devicePixelRatio, this.#s = "Desktop", this.#c = r.instance().createSetting("emulation.device-scale", 1), this.#c.get() || this.#c.set(1), this.#c.addChangeListener(this.scaleSettingChanged, this), this.#l = 1, this.#u = r.instance().createSetting("emulation.device-width", 400), this.#u.get() < 50 && this.#u.set(50), this.#u.get() > 9999 && this.#u.set(K), this.#u.addChangeListener(this.widthSettingChanged, this), this.#d = r.instance().createSetting("emulation.device-height", 0), this.#d.get() && this.#d.get() < 50 && this.#d.set(50), this.#d.get() > 9999 && this.#d.set(K), this.#d.addChangeListener(this.heightSettingChanged, this), this.#f = r.instance().createSetting("emulation.device-ua", "Mobile"), this.#f.addChangeListener(this.uaSettingChanged, this), this.#p = r.instance().createSetting("emulation.device-scale-factor", 0), this.#p.addChangeListener(this.deviceScaleFactorSettingChanged, this), this.#m = r.instance().moduleSetting("emulation.show-device-outline"), this.#m.addChangeListener(this.deviceOutlineSettingChanged, this), this.#h = r.instance().createSetting("emulation.toolbar-controls-enabled", !0, i.SESSION), this.#g = "None", this.#_ = null, this.#v = null, this.#y = 1, this.#b = !1, this.#x = !1, this.#S = null, this.#C = null, this.#T = !1, c.instance().observeModels(s, this);
|
|
2337
|
+
}
|
|
2338
|
+
static instance(e) {
|
|
2339
|
+
return (!z || e?.forceNew) && (z = new t()), z;
|
|
2340
|
+
}
|
|
2341
|
+
static tryInstance(e) {
|
|
2342
|
+
try {
|
|
2343
|
+
return this.instance(e);
|
|
2344
|
+
} catch {
|
|
2345
|
+
return null;
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
dispose() {
|
|
2349
|
+
c.instance().unobserveModels(s, this);
|
|
2350
|
+
}
|
|
2351
|
+
static widthValidator(e) {
|
|
2352
|
+
let t = !1, n;
|
|
2353
|
+
return e ? /^[\d]+$/.test(e) ? Number(e) > 9999 ? n = R(I.widthMustBeLessThanOrEqualToS, { PH1: K }) : Number(e) < 50 ? n = R(I.widthMustBeGreaterThanOrEqualToS, { PH1: 50 }) : t = !0 : n = R(I.widthMustBeANumber) : n = R(I.widthCannotBeEmpty), {
|
|
2354
|
+
valid: t,
|
|
2355
|
+
errorMessage: n
|
|
2356
|
+
};
|
|
2357
|
+
}
|
|
2358
|
+
static heightValidator(e) {
|
|
2359
|
+
let t = !1, n;
|
|
2360
|
+
return e ? /^[\d]+$/.test(e) ? Number(e) > 9999 ? n = R(I.heightMustBeLessThanOrEqualToS, { PH1: K }) : Number(e) < 50 ? n = R(I.heightMustBeGreaterThanOrEqualTo, { PH1: 50 }) : t = !0 : n = R(I.heightMustBeANumber) : n = R(I.heightCannotBeEmpty), {
|
|
2361
|
+
valid: t,
|
|
2362
|
+
errorMessage: n
|
|
2363
|
+
};
|
|
2364
|
+
}
|
|
2365
|
+
static scaleValidator(e) {
|
|
2366
|
+
let t = !1, n, r = Number(e.trim());
|
|
2367
|
+
return e ? Number.isNaN(r) ? n = R(I.devicePixelRatioMustBeANumberOr) : Number(e) > 10 ? n = R(I.devicePixelRatioMustBeLessThanOr, { PH1: 10 }) : Number(e) < 0 ? n = R(I.devicePixelRatioMustBeGreater, { PH1: 0 }) : t = !0 : t = !0, {
|
|
2368
|
+
valid: t,
|
|
2369
|
+
errorMessage: n
|
|
2370
|
+
};
|
|
2371
|
+
}
|
|
2372
|
+
get scaleSettingInternal() {
|
|
2373
|
+
return this.#c;
|
|
2374
|
+
}
|
|
2375
|
+
setAvailableSize(e, t) {
|
|
2376
|
+
this.#n = e, this.#r = t, this.#i = !0, this.calculateAndEmulate(!1);
|
|
2377
|
+
}
|
|
2378
|
+
emulate(e, t, n, r) {
|
|
2379
|
+
let i = this.#g !== e || this.#_ !== t || this.#v !== n;
|
|
2380
|
+
if (this.#g = e, e === "Device" && t && n) {
|
|
2381
|
+
if (console.assert(!!t && !!n, "Must pass device and mode for device emulation"), this.#v = n, this.#_ = t, this.#i) {
|
|
2382
|
+
let e = t.orientationByName(n.orientation);
|
|
2383
|
+
this.#c.set(r || this.calculateFitScale(e.width, e.height, this.currentOutline(), this.currentInsets()));
|
|
2384
|
+
}
|
|
2385
|
+
} else this.#_ = null, this.#v = null;
|
|
2386
|
+
e !== "None" && _.actionTaken(g.DeviceModeEnabled), this.calculateAndEmulate(i);
|
|
2387
|
+
}
|
|
2388
|
+
setWidth(e) {
|
|
2389
|
+
let t = Math.min(K, this.preferredScaledWidth());
|
|
2390
|
+
e = Math.max(Math.min(e, t), 1), this.#u.set(e);
|
|
2391
|
+
}
|
|
2392
|
+
setWidthAndScaleToFit(e) {
|
|
2393
|
+
e = Math.max(Math.min(e, K), 1), this.#c.set(this.calculateFitScale(e, this.#d.get())), this.#u.set(e);
|
|
2394
|
+
}
|
|
2395
|
+
setHeight(e) {
|
|
2396
|
+
let t = Math.min(K, this.preferredScaledHeight());
|
|
2397
|
+
e = Math.max(Math.min(e, t), 0), e === this.preferredScaledHeight() && (e = 0), this.#d.set(e);
|
|
2398
|
+
}
|
|
2399
|
+
setHeightAndScaleToFit(e) {
|
|
2400
|
+
e = Math.max(Math.min(e, K), 0), this.#c.set(this.calculateFitScale(this.#u.get(), e)), this.#d.set(e);
|
|
2401
|
+
}
|
|
2402
|
+
setScale(e) {
|
|
2403
|
+
this.#c.set(e);
|
|
2404
|
+
}
|
|
2405
|
+
device() {
|
|
2406
|
+
return this.#_;
|
|
2407
|
+
}
|
|
2408
|
+
mode() {
|
|
2409
|
+
return this.#v;
|
|
2410
|
+
}
|
|
2411
|
+
type() {
|
|
2412
|
+
return this.#g;
|
|
2413
|
+
}
|
|
2414
|
+
screenImage() {
|
|
2415
|
+
return this.#_ && this.#v ? this.#_.modeImage(this.#v) : "";
|
|
2416
|
+
}
|
|
2417
|
+
outlineImage() {
|
|
2418
|
+
return this.#_ && this.#v && this.#m.get() ? this.#_.outlineImage(this.#v) : "";
|
|
2419
|
+
}
|
|
2420
|
+
outlineRect() {
|
|
2421
|
+
return this.#w || null;
|
|
2422
|
+
}
|
|
2423
|
+
screenRect() {
|
|
2424
|
+
return this.#e;
|
|
2425
|
+
}
|
|
2426
|
+
visiblePageRect() {
|
|
2427
|
+
return this.#t;
|
|
2428
|
+
}
|
|
2429
|
+
scale() {
|
|
2430
|
+
return this.#l;
|
|
2431
|
+
}
|
|
2432
|
+
fitScale() {
|
|
2433
|
+
return this.#y;
|
|
2434
|
+
}
|
|
2435
|
+
appliedDeviceSize() {
|
|
2436
|
+
return this.#a;
|
|
2437
|
+
}
|
|
2438
|
+
appliedDeviceScaleFactor() {
|
|
2439
|
+
return this.#o;
|
|
2440
|
+
}
|
|
2441
|
+
appliedUserAgentType() {
|
|
2442
|
+
return this.#s;
|
|
2443
|
+
}
|
|
2444
|
+
isFullHeight() {
|
|
2445
|
+
return !this.#d.get();
|
|
2446
|
+
}
|
|
2447
|
+
isMobile() {
|
|
2448
|
+
switch (this.#g) {
|
|
2449
|
+
case "Device": return this.#_ ? this.#_.mobile() : !1;
|
|
2450
|
+
case "None": return !1;
|
|
2451
|
+
case "Responsive": return this.#f.get() === "Mobile" || this.#f.get() === "Mobile (no touch)";
|
|
2452
|
+
}
|
|
2453
|
+
return !1;
|
|
2454
|
+
}
|
|
2455
|
+
enabledSetting() {
|
|
2456
|
+
return r.instance().createSetting("emulation.show-device-mode", !1);
|
|
2457
|
+
}
|
|
2458
|
+
scaleSetting() {
|
|
2459
|
+
return this.#c;
|
|
2460
|
+
}
|
|
2461
|
+
uaSetting() {
|
|
2462
|
+
return this.#f;
|
|
2463
|
+
}
|
|
2464
|
+
deviceScaleFactorSetting() {
|
|
2465
|
+
return this.#p;
|
|
2466
|
+
}
|
|
2467
|
+
deviceOutlineSetting() {
|
|
2468
|
+
return this.#m;
|
|
2469
|
+
}
|
|
2470
|
+
toolbarControlsEnabledSetting() {
|
|
2471
|
+
return this.#h;
|
|
2472
|
+
}
|
|
2473
|
+
reset() {
|
|
2474
|
+
this.#p.set(0), this.#c.set(1), this.setWidth(400), this.setHeight(0), this.#f.set("Mobile");
|
|
2475
|
+
}
|
|
2476
|
+
modelAdded(e) {
|
|
2477
|
+
if (e.target() === c.instance().primaryPageTarget() && e.supportsDeviceEmulation()) {
|
|
2478
|
+
if (this.#S = e, this.#C) {
|
|
2479
|
+
let e = this.#C;
|
|
2480
|
+
this.#C = null, e();
|
|
2481
|
+
}
|
|
2482
|
+
e.addEventListener(f.SCREEN_ORIENTATION_LOCK_CHANGED, this.onScreenOrientationLockChanged, this);
|
|
2483
|
+
let t = e.target().model(u);
|
|
2484
|
+
t && (t.addEventListener(l.FrameResized, this.onFrameChange, this), t.addEventListener(l.FrameNavigated, this.onFrameChange, this));
|
|
2485
|
+
} else e.emulateTouch(this.#b, this.#x);
|
|
2486
|
+
}
|
|
2487
|
+
modelRemoved(e) {
|
|
2488
|
+
this.#S === e && (e.removeEventListener(f.SCREEN_ORIENTATION_LOCK_CHANGED, this.onScreenOrientationLockChanged, this), this.#S = null, this.#T = !1, this.dispatchEventToListeners("Updated"));
|
|
2489
|
+
}
|
|
2490
|
+
inspectedURL() {
|
|
2491
|
+
return this.#S ? this.#S.target().inspectedURL() : null;
|
|
2492
|
+
}
|
|
2493
|
+
onFrameChange() {
|
|
2494
|
+
let e = this.#S ? this.#S.overlayModel() : null;
|
|
2495
|
+
e && this.showHingeIfApplicable(e);
|
|
2496
|
+
}
|
|
2497
|
+
onScreenOrientationLockChanged(e) {
|
|
2498
|
+
this.#T = e.data.locked, e.data.locked && e.data.orientation && this.applyOrientationLock(e.data.orientation), this.dispatchEventToListeners("Updated");
|
|
2499
|
+
}
|
|
2500
|
+
applyOrientationLock(e) {
|
|
2501
|
+
let t = e.type === d.ScreenOrientationType.LandscapePrimary || e.type === d.ScreenOrientationType.LandscapeSecondary;
|
|
2502
|
+
if (this.#g === "Device" && this.#_ && this.#v) {
|
|
2503
|
+
if (t !== (this.#v.orientation === "horizontal" || this.#v.orientation === "horizontal-spanned")) {
|
|
2504
|
+
let e = this.#_.getRotationPartner(this.#v);
|
|
2505
|
+
e && this.emulate(this.#g, this.#_, e);
|
|
2506
|
+
}
|
|
2507
|
+
} else if (this.#g === "Responsive") {
|
|
2508
|
+
let e = this.appliedDeviceSize();
|
|
2509
|
+
t !== e.width > e.height && this.setSizeAndScaleToFit(e.height, e.width);
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
isScreenOrientationLocked() {
|
|
2513
|
+
return this.#T;
|
|
2514
|
+
}
|
|
2515
|
+
scaleSettingChanged() {
|
|
2516
|
+
this.calculateAndEmulate(!1);
|
|
2517
|
+
}
|
|
2518
|
+
widthSettingChanged() {
|
|
2519
|
+
this.calculateAndEmulate(!1);
|
|
2520
|
+
}
|
|
2521
|
+
heightSettingChanged() {
|
|
2522
|
+
this.calculateAndEmulate(!1);
|
|
2523
|
+
}
|
|
2524
|
+
uaSettingChanged() {
|
|
2525
|
+
this.calculateAndEmulate(!0);
|
|
2526
|
+
}
|
|
2527
|
+
deviceScaleFactorSettingChanged() {
|
|
2528
|
+
this.calculateAndEmulate(!1);
|
|
2529
|
+
}
|
|
2530
|
+
deviceOutlineSettingChanged() {
|
|
2531
|
+
this.calculateAndEmulate(!1);
|
|
2532
|
+
}
|
|
2533
|
+
preferredScaledWidth() {
|
|
2534
|
+
return Math.floor(this.#r.width / (this.#c.get() || 1));
|
|
2535
|
+
}
|
|
2536
|
+
preferredScaledHeight() {
|
|
2537
|
+
return Math.floor(this.#r.height / (this.#c.get() || 1));
|
|
2538
|
+
}
|
|
2539
|
+
currentOutline() {
|
|
2540
|
+
let e = new V(0, 0, 0, 0);
|
|
2541
|
+
if (this.#g !== "Device" || !this.#_ || !this.#v) return e;
|
|
2542
|
+
let t = this.#_.orientationByName(this.#v.orientation);
|
|
2543
|
+
return this.#m.get() && (e = t.outlineInsets || e), e;
|
|
2544
|
+
}
|
|
2545
|
+
currentInsets() {
|
|
2546
|
+
return this.#g !== "Device" || !this.#v ? new V(0, 0, 0, 0) : this.#v.insets;
|
|
2547
|
+
}
|
|
2548
|
+
getScreenOrientationType() {
|
|
2549
|
+
if (!this.#v) throw Error("Mode required to get orientation type.");
|
|
2550
|
+
switch (this.#v.orientation) {
|
|
2551
|
+
case O:
|
|
2552
|
+
case E: return d.ScreenOrientationType.PortraitPrimary;
|
|
2553
|
+
case D:
|
|
2554
|
+
case T:
|
|
2555
|
+
default: return d.ScreenOrientationType.LandscapePrimary;
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
calculateAndEmulate(e) {
|
|
2559
|
+
this.#S || (this.#C = this.calculateAndEmulate.bind(this, e));
|
|
2560
|
+
let n = this.isMobile(), r = this.#S ? this.#S.overlayModel() : null;
|
|
2561
|
+
if (r && this.showHingeIfApplicable(r), this.#g === "Device" && this.#_ && this.#v) {
|
|
2562
|
+
let t = this.#_.orientationByName(this.#v.orientation), r = this.currentOutline(), i = this.currentInsets();
|
|
2563
|
+
this.#y = this.calculateFitScale(t.width, t.height, r, i), n ? this.#s = this.#_.touch() ? "Mobile" : "Mobile (no touch)" : this.#s = this.#_.touch() ? "Desktop (touch)" : "Desktop", this.applyDeviceMetrics(new y(t.width, t.height), i, r, this.#c.get(), this.#_.deviceScaleFactor, n, this.getScreenOrientationType(), e), this.applyUserAgent(this.#_.userAgent, this.#_.userAgentMetadata), this.applyTouch(this.#_.touch(), n);
|
|
2564
|
+
} else if (this.#g === "None") this.#y = this.calculateFitScale(this.#n.width, this.#n.height), this.#s = "Desktop", this.applyDeviceMetrics(this.#n, new V(0, 0, 0, 0), new V(0, 0, 0, 0), 1, 0, n, null, e), this.applyUserAgent("", null), this.applyTouch(!1, !1);
|
|
2565
|
+
else if (this.#g === "Responsive") {
|
|
2566
|
+
let r = this.#u.get();
|
|
2567
|
+
(!r || r > this.preferredScaledWidth()) && (r = this.preferredScaledWidth());
|
|
2568
|
+
let i = this.#d.get();
|
|
2569
|
+
(!i || i > this.preferredScaledHeight()) && (i = this.preferredScaledHeight());
|
|
2570
|
+
let a = n ? 2 : 0;
|
|
2571
|
+
this.#y = this.calculateFitScale(this.#u.get(), this.#d.get()), this.#s = this.#f.get(), this.applyDeviceMetrics(new y(r, i), new V(0, 0, 0, 0), new V(0, 0, 0, 0), this.#c.get(), this.#p.get() || a, n, i >= r ? d.ScreenOrientationType.PortraitPrimary : d.ScreenOrientationType.LandscapePrimary, e), this.applyUserAgent(n ? t.defaultMobileUserAgent() : "", n ? t.defaultMobileUserAgentMetadata() : null), this.applyTouch(this.#f.get() === "Desktop (touch)" || this.#f.get() === "Mobile", this.#f.get() === "Mobile");
|
|
2572
|
+
}
|
|
2573
|
+
r && r.setShowViewportSizeOnResize(this.#g === "None"), this.dispatchEventToListeners("Updated");
|
|
2574
|
+
}
|
|
2575
|
+
calculateFitScale(e, t, n, r) {
|
|
2576
|
+
let i = n ? n.left + n.right : 0, a = n ? n.top + n.bottom : 0, o = r ? r.left + r.right : 0, s = r ? r.top + r.bottom : 0, c = Math.min(e ? this.#r.width / (e + i) : 1, t ? this.#r.height / (t + a) : 1);
|
|
2577
|
+
c = Math.min(Math.floor(c * 100), 100);
|
|
2578
|
+
let l = c;
|
|
2579
|
+
for (; l > c * .7;) {
|
|
2580
|
+
let n = !0;
|
|
2581
|
+
if (e && (n &&= Number.isInteger((e - o) * l / 100)), t && (n &&= Number.isInteger((t - s) * l / 100)), n) return l / 100;
|
|
2582
|
+
--l;
|
|
2583
|
+
}
|
|
2584
|
+
return c / 100;
|
|
2585
|
+
}
|
|
2586
|
+
setSizeAndScaleToFit(e, t) {
|
|
2587
|
+
this.#c.set(this.calculateFitScale(e, t)), this.setWidth(e), this.setHeight(t);
|
|
2588
|
+
}
|
|
2589
|
+
applyUserAgent(e, t) {
|
|
2590
|
+
m.instance().setUserAgentOverride(e, e ? t : null);
|
|
2591
|
+
}
|
|
2592
|
+
applyDeviceMetrics(e, t, n, r, i, a, o, s) {
|
|
2593
|
+
e.width = Math.max(1, Math.floor(e.width)), e.height = Math.max(1, Math.floor(e.height));
|
|
2594
|
+
let c = e.width - t.left - t.right, l = e.height - t.top - t.bottom, u = t.left, f = t.top, p = o === d.ScreenOrientationType.LandscapePrimary ? 90 : 0;
|
|
2595
|
+
this.#a = e, this.#o = i || window.devicePixelRatio, this.#e = new H(Math.max(0, (this.#n.width - e.width * r) / 2), n.top * r, e.width * r, e.height * r), this.#w = new H(this.#e.left - n.left * r, 0, (n.left + e.width + n.right) * r, (n.top + e.height + n.bottom) * r), this.#t = new H(u * r, f * r, Math.min(c * r, this.#n.width - this.#e.left - u * r), Math.min(l * r, this.#n.height - this.#e.top - f * r)), this.#l = r;
|
|
2596
|
+
let m = this.getDisplayFeature();
|
|
2597
|
+
if (m || (r === 1 && this.#n.width >= e.width && this.#n.height >= e.height && (c = 0, l = 0), this.#t.width === c * r && this.#t.height === l * r && Number.isInteger(c * r) && Number.isInteger(l * r) && (c = 0, l = 0)), this.#S) if (s && this.#S.resetPageScaleFactor(), c || l || a || i || r !== 1 || o || m) {
|
|
2598
|
+
let t = {
|
|
2599
|
+
width: c,
|
|
2600
|
+
height: l,
|
|
2601
|
+
deviceScaleFactor: i,
|
|
2602
|
+
mobile: a,
|
|
2603
|
+
scale: r,
|
|
2604
|
+
screenWidth: e.width,
|
|
2605
|
+
screenHeight: e.height,
|
|
2606
|
+
positionX: u,
|
|
2607
|
+
positionY: f,
|
|
2608
|
+
dontSetVisibleSize: !0
|
|
2609
|
+
};
|
|
2610
|
+
m ? (t.displayFeature = m, t.devicePosture = { type: d.DevicePostureType.Folded }) : t.devicePosture = { type: d.DevicePostureType.Continuous }, o && (t.screenOrientation = {
|
|
2611
|
+
type: o,
|
|
2612
|
+
angle: p
|
|
2613
|
+
}), this.#S.emulateDevice(t);
|
|
2614
|
+
} else this.#S.emulateDevice(null);
|
|
2615
|
+
}
|
|
2616
|
+
exitHingeMode() {
|
|
2617
|
+
let e = this.#S ? this.#S.overlayModel() : null;
|
|
2618
|
+
e && e.showHingeForDualScreen(null);
|
|
2619
|
+
}
|
|
2620
|
+
async captureScreenshot(e, t) {
|
|
2621
|
+
let n = this.#S ? this.#S.target().model(p) : null;
|
|
2622
|
+
if (!n) return null;
|
|
2623
|
+
let r;
|
|
2624
|
+
r = t ? h.FROM_CLIP : e ? h.FULLPAGE : h.FROM_VIEWPORT;
|
|
2625
|
+
let i = this.#S ? this.#S.overlayModel() : null;
|
|
2626
|
+
if (i && i.setShowViewportSizeOnResize(!1), this.#S && this.#_ && this.#v) {
|
|
2627
|
+
let e = this.#_.orientationByName(this.#v.orientation), t = {
|
|
2628
|
+
width: e.width,
|
|
2629
|
+
height: e.height,
|
|
2630
|
+
deviceScaleFactor: this.#_.deviceScaleFactor,
|
|
2631
|
+
mobile: this.isMobile()
|
|
2632
|
+
}, n = this.getDisplayFeature();
|
|
2633
|
+
n && (t.displayFeature = n), await this.#S.emulateDevice(t);
|
|
2634
|
+
}
|
|
2635
|
+
try {
|
|
2636
|
+
return await n.captureScreenshot(v.CaptureScreenshotRequestFormat.Png, 100, r, t);
|
|
2637
|
+
} finally {
|
|
2638
|
+
await this.#S?.emulateDevice(null), i?.setShowViewportSizeOnResize(this.#g === "None"), this.calculateAndEmulate(!1);
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
applyTouch(e, t) {
|
|
2642
|
+
this.#b = e, this.#x = t;
|
|
2643
|
+
for (let n of c.instance().models(s)) n.emulateTouch(e, t);
|
|
2644
|
+
}
|
|
2645
|
+
showHingeIfApplicable(e) {
|
|
2646
|
+
let t = this.#_ && this.#v ? this.#_.orientationByName(this.#v.orientation) : null;
|
|
2647
|
+
if (t?.hinge) {
|
|
2648
|
+
e.showHingeForDualScreen(t.hinge);
|
|
2649
|
+
return;
|
|
2650
|
+
}
|
|
2651
|
+
e.showHingeForDualScreen(null);
|
|
2652
|
+
}
|
|
2653
|
+
getDisplayFeatureOrientation() {
|
|
2654
|
+
if (!this.#v) throw Error("Mode required to get display feature orientation.");
|
|
2655
|
+
switch (this.#v.orientation) {
|
|
2656
|
+
case O:
|
|
2657
|
+
case E: return d.DisplayFeatureOrientation.Vertical;
|
|
2658
|
+
case D:
|
|
2659
|
+
case T:
|
|
2660
|
+
default: return d.DisplayFeatureOrientation.Horizontal;
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
getDisplayFeature() {
|
|
2664
|
+
if (!this.#_ || !this.#v || this.#v.orientation !== "vertical-spanned" && this.#v.orientation !== "horizontal-spanned") return null;
|
|
2665
|
+
let e = this.#_.orientationByName(this.#v.orientation);
|
|
2666
|
+
if (!e?.hinge) return null;
|
|
2667
|
+
let t = e.hinge;
|
|
2668
|
+
return {
|
|
2669
|
+
orientation: this.getDisplayFeatureOrientation(),
|
|
2670
|
+
offset: this.#v.orientation === "vertical-spanned" ? t.x : t.y,
|
|
2671
|
+
maskLength: this.#v.orientation === "vertical-spanned" ? t.width : t.height
|
|
2672
|
+
};
|
|
2673
|
+
}
|
|
2674
|
+
static getDynamicMobileUA() {
|
|
2675
|
+
let e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth() >= 9, r = n ? t - 2010 : t - 2011, i = n ? t - 2016 : t - 2017;
|
|
2676
|
+
return {
|
|
2677
|
+
userAgent: `Mozilla/5.0 (Linux; Android ${r}; Pixel ${i}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36`,
|
|
2678
|
+
metadata: {
|
|
2679
|
+
platform: "Android",
|
|
2680
|
+
platformVersion: r.toString(),
|
|
2681
|
+
architecture: "",
|
|
2682
|
+
model: `Pixel ${i}`,
|
|
2683
|
+
mobile: !0
|
|
2684
|
+
}
|
|
2685
|
+
};
|
|
2686
|
+
}
|
|
2687
|
+
static defaultMobileUserAgent() {
|
|
2688
|
+
return m.patchUserAgentWithChromeVersion(t.getDynamicMobileUA().userAgent);
|
|
2689
|
+
}
|
|
2690
|
+
static defaultMobileUserAgentMetadata() {
|
|
2691
|
+
return t.getDynamicMobileUA().metadata;
|
|
2692
|
+
}
|
|
2693
|
+
}, V = class {
|
|
2694
|
+
left;
|
|
2695
|
+
top;
|
|
2696
|
+
right;
|
|
2697
|
+
bottom;
|
|
2698
|
+
constructor(e, t, n, r) {
|
|
2699
|
+
this.left = e, this.top = t, this.right = n, this.bottom = r;
|
|
2700
|
+
}
|
|
2701
|
+
isEqual(e) {
|
|
2702
|
+
return e !== null && this.left === e.left && this.top === e.top && this.right === e.right && this.bottom === e.bottom;
|
|
2703
|
+
}
|
|
2704
|
+
}, H = class e {
|
|
2705
|
+
left;
|
|
2706
|
+
top;
|
|
2707
|
+
width;
|
|
2708
|
+
height;
|
|
2709
|
+
constructor(e, t, n, r) {
|
|
2710
|
+
this.left = e, this.top = t, this.width = n, this.height = r;
|
|
2711
|
+
}
|
|
2712
|
+
isEqual(e) {
|
|
2713
|
+
return e !== null && this.left === e.left && this.top === e.top && this.width === e.width && this.height === e.height;
|
|
2714
|
+
}
|
|
2715
|
+
scale(t) {
|
|
2716
|
+
return new e(this.left * t, this.top * t, this.width * t, this.height * t);
|
|
2717
|
+
}
|
|
2718
|
+
relativeTo(t) {
|
|
2719
|
+
return new e(this.left - t.left, this.top - t.top, this.width, this.height);
|
|
2720
|
+
}
|
|
2721
|
+
rebaseTo(t) {
|
|
2722
|
+
return new e(this.left + t.left, this.top + t.top, this.width, this.height);
|
|
2723
|
+
}
|
|
2724
|
+
}, U = /* @__PURE__ */ function(e) {
|
|
2725
|
+
return e.UPDATED = "Updated", e;
|
|
2726
|
+
}({}), W = /* @__PURE__ */ function(e) {
|
|
2727
|
+
return e.None = "None", e.Responsive = "Responsive", e.Device = "Device", e;
|
|
2728
|
+
}({}), G = /* @__PURE__ */ function(e) {
|
|
2729
|
+
return e.MOBILE = "Mobile", e.MOBILE_NO_TOUCH = "Mobile (no touch)", e.DESKTOP = "Desktop", e.DESKTOP_TOUCH = "Desktop (touch)", e;
|
|
2730
|
+
}({}), K = 9999;
|
|
2731
|
+
//#endregion
|
|
2732
|
+
export { W as a, w as c, T as d, D as f, K as i, N as l, O as m, U as n, G as o, E as p, V as r, A as s, B as t, P as u };
|