debug-server-next
Version:
Dev server for hippy-core.
133 lines (129 loc) • 17.5 kB
JavaScript
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const sheet = new CSSStyleSheet();
sheet.replaceSync(':root {}');
const style = sheet.cssRules[0].style;
style.setProperty('--image-file-accelerometer-bottom', 'url(\"' + new URL('./accelerometer-bottom.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-accelerometer-left', 'url(\"' + new URL('./accelerometer-left.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-accelerometer-right', 'url(\"' + new URL('./accelerometer-right.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-accelerometer-top', 'url(\"' + new URL('./accelerometer-top.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-checker', 'url(\"' + new URL('./checker.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chromeDisabledSelect_2x', 'url(\"' + new URL('./chromeDisabledSelect_2x.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chromeDisabledSelect', 'url(\"' + new URL('./chromeDisabledSelect.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chromeLeft', 'url(\"' + new URL('./chromeLeft.avif', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chromeMiddle', 'url(\"' + new URL('./chromeMiddle.avif', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chromeRight', 'url(\"' + new URL('./chromeRight.avif', import.meta.url).toString() + '\")');
style.setProperty('--image-file-cssoverview_icons_2x', 'url(\"' + new URL('./cssoverview_icons_2x.avif', import.meta.url).toString() + '\")');
style.setProperty('--image-file-navigationControls_2x', 'url(\"' + new URL('./navigationControls_2x.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-navigationControls', 'url(\"' + new URL('./navigationControls.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-nodeIcon', 'url(\"' + new URL('./nodeIcon.avif', import.meta.url).toString() + '\")');
style.setProperty('--image-file-popoverArrows', 'url(\"' + new URL('./popoverArrows.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-profileGroupIcon', 'url(\"' + new URL('./profileGroupIcon.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-profileIcon', 'url(\"' + new URL('./profileIcon.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-profileSmallIcon', 'url(\"' + new URL('./profileSmallIcon.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-radioDot-dark-theme', 'url(\"' + new URL('./radioDot-dark-theme.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-radioDot', 'url(\"' + new URL('./radioDot.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-resourcesTimeGraphIcon', 'url(\"' + new URL('./resourcesTimeGraphIcon.avif', import.meta.url).toString() + '\")');
style.setProperty('--image-file-searchNext', 'url(\"' + new URL('./searchNext.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-searchPrev', 'url(\"' + new URL('./searchPrev.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-speech', 'url(\"' + new URL('./speech.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-toolbarResizerVertical', 'url(\"' + new URL('./toolbarResizerVertical.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-touchCursor_2x', 'url(\"' + new URL('./touchCursor_2x.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-touchCursor', 'url(\"' + new URL('./touchCursor.png', import.meta.url).toString() + '\")');
style.setProperty('--image-file-whatsnew', 'url(\"' + new URL('./whatsnew.avif', import.meta.url).toString() + '\")');
style.setProperty('--image-file-accelerometer-back', 'url(\"' + new URL('./src/accelerometer-back.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-accelerometer-front', 'url(\"' + new URL('./src/accelerometer-front.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-accessibility-icon', 'url(\"' + new URL('./src/accessibility-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-add-icon', 'url(\"' + new URL('./src/add-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-content-center-icon', 'url(\"' + new URL('./src/align-content-center-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-content-end-icon', 'url(\"' + new URL('./src/align-content-end-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-content-space-around-icon', 'url(\"' + new URL('./src/align-content-space-around-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-content-space-between-icon', 'url(\"' + new URL('./src/align-content-space-between-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-content-space-evenly-icon', 'url(\"' + new URL('./src/align-content-space-evenly-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-content-start-icon', 'url(\"' + new URL('./src/align-content-start-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-content-stretch-icon', 'url(\"' + new URL('./src/align-content-stretch-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-items-center-icon', 'url(\"' + new URL('./src/align-items-center-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-items-flex-end-icon', 'url(\"' + new URL('./src/align-items-flex-end-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-items-flex-start-icon', 'url(\"' + new URL('./src/align-items-flex-start-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-items-stretch-icon', 'url(\"' + new URL('./src/align-items-stretch-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-self-center-icon', 'url(\"' + new URL('./src/align-self-center-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-self-flex-end-icon', 'url(\"' + new URL('./src/align-self-flex-end-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-self-flex-start-icon', 'url(\"' + new URL('./src/align-self-flex-start-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-align-self-stretch-icon', 'url(\"' + new URL('./src/align-self-stretch-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-baseline-icon', 'url(\"' + new URL('./src/baseline-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-checkboxCheckmark', 'url(\"' + new URL('./src/checkboxCheckmark.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chevrons', 'url(\"' + new URL('./src/chevrons.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chromeSelect', 'url(\"' + new URL('./src/chromeSelect.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-chromeSelectDark', 'url(\"' + new URL('./src/chromeSelectDark.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-close-icon', 'url(\"' + new URL('./src/close-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-dropdown_7x6_icon', 'url(\"' + new URL('./src/dropdown_7x6_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-elements_panel_icon', 'url(\"' + new URL('./src/elements_panel_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-errorWave', 'url(\"' + new URL('./src/errorWave.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-error_icon', 'url(\"' + new URL('./src/error_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-feedback_thin_16x16_icon', 'url(\"' + new URL('./src/feedback_thin_16x16_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-flex-direction-icon', 'url(\"' + new URL('./src/flex-direction-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-flex-nowrap-icon', 'url(\"' + new URL('./src/flex-nowrap-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-flex-wrap-icon', 'url(\"' + new URL('./src/flex-wrap-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-help_outline', 'url(\"' + new URL('./src/help_outline.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_checkmark_16x16', 'url(\"' + new URL('./src/ic_checkmark_16x16.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_delete_filter', 'url(\"' + new URL('./src/ic_delete_filter.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_delete_list', 'url(\"' + new URL('./src/ic_delete_list.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_dimension_single', 'url(\"' + new URL('./src/ic_dimension_single.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_default', 'url(\"' + new URL('./src/ic_file_default.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_document', 'url(\"' + new URL('./src/ic_file_document.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_font', 'url(\"' + new URL('./src/ic_file_font.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_image', 'url(\"' + new URL('./src/ic_file_image.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_script', 'url(\"' + new URL('./src/ic_file_script.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_snippet', 'url(\"' + new URL('./src/ic_file_snippet.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_stylesheet', 'url(\"' + new URL('./src/ic_file_stylesheet.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_webbundle', 'url(\"' + new URL('./src/ic_file_webbundle.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_file_webbundle_inner_request', 'url(\"' + new URL('./src/ic_file_webbundle_inner_request.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_folder_default', 'url(\"' + new URL('./src/ic_folder_default.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_folder_local', 'url(\"' + new URL('./src/ic_folder_local.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_folder_network', 'url(\"' + new URL('./src/ic_folder_network.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_help_16x16', 'url(\"' + new URL('./src/ic_help_16x16.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_info_black_18dp', 'url(\"' + new URL('./src/ic_info_black_18dp.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_memory_16x16', 'url(\"' + new URL('./src/ic_memory_16x16.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_page_next_16x16_icon', 'url(\"' + new URL('./src/ic_page_next_16x16_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_page_prev_16x16_icon', 'url(\"' + new URL('./src/ic_page_prev_16x16_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_redo_16x16_icon', 'url(\"' + new URL('./src/ic_redo_16x16_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_show_node_16x16', 'url(\"' + new URL('./src/ic_show_node_16x16.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_suggest_color', 'url(\"' + new URL('./src/ic_suggest_color.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_undo_16x16_icon', 'url(\"' + new URL('./src/ic_undo_16x16_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-ic_warning_black_18dp', 'url(\"' + new URL('./src/ic_warning_black_18dp.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-issue-cross-icon', 'url(\"' + new URL('./src/issue-cross-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-issue-exclamation-icon', 'url(\"' + new URL('./src/issue-exclamation-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-issue-questionmark-icon', 'url(\"' + new URL('./src/issue-questionmark-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-issue-text-icon', 'url(\"' + new URL('./src/issue-text-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-content-center-icon', 'url(\"' + new URL('./src/justify-content-center-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-content-flex-end-icon', 'url(\"' + new URL('./src/justify-content-flex-end-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-content-flex-start-icon', 'url(\"' + new URL('./src/justify-content-flex-start-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-content-space-around-icon', 'url(\"' + new URL('./src/justify-content-space-around-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-content-space-between-icon', 'url(\"' + new URL('./src/justify-content-space-between-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-content-space-evenly-icon', 'url(\"' + new URL('./src/justify-content-space-evenly-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-items-center-icon', 'url(\"' + new URL('./src/justify-items-center-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-items-end-icon', 'url(\"' + new URL('./src/justify-items-end-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-items-start-icon', 'url(\"' + new URL('./src/justify-items-start-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-justify-items-stretch-icon', 'url(\"' + new URL('./src/justify-items-stretch-icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-largeIcons', 'url(\"' + new URL('./src/largeIcons.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-lighthouse_logo', 'url(\"' + new URL('./src/lighthouse_logo.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-link_icon', 'url(\"' + new URL('./src/link_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-mediumIcons', 'url(\"' + new URL('./src/mediumIcons.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-network_conditions_icon', 'url(\"' + new URL('./src/network_conditions_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-network_panel_icon', 'url(\"' + new URL('./src/network_panel_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-node_search_icon', 'url(\"' + new URL('./src/node_search_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-refresh_12x12_icon', 'url(\"' + new URL('./src/refresh_12x12_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-resizeDiagonal', 'url(\"' + new URL('./src/resizeDiagonal.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-resizeHorizontal', 'url(\"' + new URL('./src/resizeHorizontal.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-resizeVertical', 'url(\"' + new URL('./src/resizeVertical.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-securityIcons', 'url(\"' + new URL('./src/securityIcons.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-settings_14x14_icon', 'url(\"' + new URL('./src/settings_14x14_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-smallIcons', 'url(\"' + new URL('./src/smallIcons.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-sources_panel_icon', 'url(\"' + new URL('./src/sources_panel_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-switcherIcon', 'url(\"' + new URL('./src/switcherIcon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-three_dots_menu_icon', 'url(\"' + new URL('./src/three_dots_menu_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-trash_bin_icon', 'url(\"' + new URL('./src/trash_bin_icon.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-treeoutlineTriangles', 'url(\"' + new URL('./src/treeoutlineTriangles.svg', import.meta.url).toString() + '\")');
style.setProperty('--image-file-warning_icon', 'url(\"' + new URL('./src/warning_icon.svg', import.meta.url).toString() + '\")');
document.adoptedStyleSheets = [sheet];