chrome-devtools-frontend 1.0.1367881 → 1.0.1376716

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.
Files changed (1157) hide show
  1. package/.vscode/extensions.json +4 -4
  2. package/config/gni/devtools_grd_files.gni +30 -8
  3. package/config/gni/devtools_image_files.gni +3 -0
  4. package/docs/README.md +1 -5
  5. package/docs/checklist/javascript.md +45 -8
  6. package/docs/contributing/design.md +1 -1
  7. package/docs/contributing/settings-experiments-features.md +1 -1
  8. package/docs/cookbook/README.md +12 -0
  9. package/docs/cookbook/create_new_issues.md +91 -0
  10. package/docs/cookbook/dependencies.md +103 -0
  11. package/docs/cookbook/localization.md +320 -0
  12. package/docs/cookbook/navbar.md +8 -0
  13. package/docs/cookbook/release_management.md +60 -0
  14. package/docs/cookbook/uma_metrics.md +121 -0
  15. package/docs/dependencies.md +1 -100
  16. package/docs/l10n.md +1 -295
  17. package/docs/release_management.md +1 -53
  18. package/extensions/cxx_debugging/e2e/standalone/MemoryInspector_test.ts +1 -1
  19. package/extensions/cxx_debugging/e2e/tsconfig.json +1 -0
  20. package/extensions/cxx_debugging/src/ExtensionOptions.ts +6 -7
  21. package/extensions/cxx_debugging/tests/CreditsItem_test.ts +4 -4
  22. package/front_end/.eslintrc.js +0 -1
  23. package/front_end/Images/src/center-focus-weak.svg +1 -0
  24. package/front_end/Images/src/history.svg +3 -0
  25. package/front_end/Images/src/home.svg +1 -0
  26. package/front_end/core/common/Color.ts +10 -0
  27. package/front_end/core/common/ResourceType.test.ts +26 -26
  28. package/front_end/core/common/ResourceType.ts +21 -12
  29. package/front_end/core/common/Revealer.ts +5 -0
  30. package/front_end/core/common/Settings.ts +5 -1
  31. package/front_end/core/host/AidaClient.ts +58 -0
  32. package/front_end/core/host/InspectorFrontendHost.ts +1 -1
  33. package/front_end/core/host/InspectorFrontendHostAPI.ts +8 -1
  34. package/front_end/core/host/UserMetrics.ts +16 -13
  35. package/front_end/core/i18n/locales/af.json +598 -109
  36. package/front_end/core/i18n/locales/am.json +607 -118
  37. package/front_end/core/i18n/locales/ar.json +888 -399
  38. package/front_end/core/i18n/locales/as.json +603 -114
  39. package/front_end/core/i18n/locales/az.json +606 -117
  40. package/front_end/core/i18n/locales/be.json +599 -110
  41. package/front_end/core/i18n/locales/bg.json +598 -109
  42. package/front_end/core/i18n/locales/bn.json +609 -120
  43. package/front_end/core/i18n/locales/bs.json +607 -118
  44. package/front_end/core/i18n/locales/ca.json +601 -112
  45. package/front_end/core/i18n/locales/cs.json +605 -116
  46. package/front_end/core/i18n/locales/cy.json +603 -114
  47. package/front_end/core/i18n/locales/da.json +599 -110
  48. package/front_end/core/i18n/locales/de.json +604 -115
  49. package/front_end/core/i18n/locales/el.json +596 -107
  50. package/front_end/core/i18n/locales/en-GB.json +599 -110
  51. package/front_end/core/i18n/locales/es-419.json +600 -111
  52. package/front_end/core/i18n/locales/es.json +602 -113
  53. package/front_end/core/i18n/locales/et.json +601 -112
  54. package/front_end/core/i18n/locales/eu.json +605 -116
  55. package/front_end/core/i18n/locales/fa.json +609 -120
  56. package/front_end/core/i18n/locales/fi.json +598 -109
  57. package/front_end/core/i18n/locales/fil.json +605 -116
  58. package/front_end/core/i18n/locales/fr-CA.json +602 -113
  59. package/front_end/core/i18n/locales/fr.json +600 -111
  60. package/front_end/core/i18n/locales/gl.json +595 -106
  61. package/front_end/core/i18n/locales/gu.json +605 -116
  62. package/front_end/core/i18n/locales/he.json +603 -114
  63. package/front_end/core/i18n/locales/hi.json +600 -111
  64. package/front_end/core/i18n/locales/hr.json +600 -111
  65. package/front_end/core/i18n/locales/hu.json +600 -111
  66. package/front_end/core/i18n/locales/hy.json +599 -110
  67. package/front_end/core/i18n/locales/id.json +603 -114
  68. package/front_end/core/i18n/locales/is.json +598 -109
  69. package/front_end/core/i18n/locales/it.json +602 -113
  70. package/front_end/core/i18n/locales/ja.json +596 -107
  71. package/front_end/core/i18n/locales/ka.json +597 -108
  72. package/front_end/core/i18n/locales/kk.json +884 -395
  73. package/front_end/core/i18n/locales/km.json +605 -116
  74. package/front_end/core/i18n/locales/kn.json +606 -117
  75. package/front_end/core/i18n/locales/ko.json +591 -102
  76. package/front_end/core/i18n/locales/ky.json +599 -110
  77. package/front_end/core/i18n/locales/lo.json +608 -119
  78. package/front_end/core/i18n/locales/lt.json +597 -108
  79. package/front_end/core/i18n/locales/lv.json +606 -117
  80. package/front_end/core/i18n/locales/mk.json +885 -396
  81. package/front_end/core/i18n/locales/ml.json +601 -112
  82. package/front_end/core/i18n/locales/mn.json +599 -110
  83. package/front_end/core/i18n/locales/mr.json +601 -112
  84. package/front_end/core/i18n/locales/ms.json +602 -113
  85. package/front_end/core/i18n/locales/my.json +604 -115
  86. package/front_end/core/i18n/locales/ne.json +609 -120
  87. package/front_end/core/i18n/locales/nl.json +597 -108
  88. package/front_end/core/i18n/locales/no.json +601 -112
  89. package/front_end/core/i18n/locales/or.json +601 -112
  90. package/front_end/core/i18n/locales/pa.json +600 -111
  91. package/front_end/core/i18n/locales/pl.json +601 -112
  92. package/front_end/core/i18n/locales/pt-PT.json +600 -111
  93. package/front_end/core/i18n/locales/pt.json +596 -107
  94. package/front_end/core/i18n/locales/ro.json +601 -112
  95. package/front_end/core/i18n/locales/ru.json +609 -120
  96. package/front_end/core/i18n/locales/si.json +603 -114
  97. package/front_end/core/i18n/locales/sk.json +599 -110
  98. package/front_end/core/i18n/locales/sl.json +601 -112
  99. package/front_end/core/i18n/locales/sq.json +602 -113
  100. package/front_end/core/i18n/locales/sr-Latn.json +598 -109
  101. package/front_end/core/i18n/locales/sr.json +598 -109
  102. package/front_end/core/i18n/locales/sv.json +600 -111
  103. package/front_end/core/i18n/locales/sw.json +606 -117
  104. package/front_end/core/i18n/locales/ta.json +892 -403
  105. package/front_end/core/i18n/locales/te.json +604 -115
  106. package/front_end/core/i18n/locales/th.json +597 -108
  107. package/front_end/core/i18n/locales/tr.json +601 -112
  108. package/front_end/core/i18n/locales/uk.json +598 -109
  109. package/front_end/core/i18n/locales/ur.json +604 -115
  110. package/front_end/core/i18n/locales/uz.json +599 -110
  111. package/front_end/core/i18n/locales/vi.json +602 -113
  112. package/front_end/core/i18n/locales/zh-HK.json +599 -110
  113. package/front_end/core/i18n/locales/zh-TW.json +595 -106
  114. package/front_end/core/i18n/locales/zh.json +601 -112
  115. package/front_end/core/i18n/locales/zu.json +607 -118
  116. package/front_end/core/root/Runtime.ts +15 -7
  117. package/front_end/{panels/animation → core/sdk}/AnimationModel.test.ts +85 -6
  118. package/front_end/{panels/animation → core/sdk}/AnimationModel.ts +302 -36
  119. package/front_end/core/sdk/CSSContainerQuery.ts +4 -2
  120. package/front_end/core/sdk/CSSMatchedStyles.test.ts +4 -0
  121. package/front_end/core/sdk/CSSMatchedStyles.ts +13 -10
  122. package/front_end/core/sdk/CSSMetadata.ts +6 -0
  123. package/front_end/core/sdk/CSSStyleDeclaration.test.ts +10 -0
  124. package/front_end/core/sdk/CSSStyleDeclaration.ts +1 -1
  125. package/front_end/core/sdk/DOMModel.ts +3 -3
  126. package/front_end/core/sdk/DebuggerModel.test.ts +2 -0
  127. package/front_end/core/sdk/EmulationModel.ts +32 -0
  128. package/front_end/core/sdk/EnhancedTracesParser.test.ts +4 -4
  129. package/front_end/core/sdk/EnhancedTracesParser.ts +4 -5
  130. package/front_end/core/sdk/RehydratingConnection.test.ts +190 -0
  131. package/front_end/core/sdk/RehydratingConnection.ts +310 -0
  132. package/front_end/core/sdk/RehydratingObject.ts +26 -2
  133. package/front_end/core/sdk/RuntimeModel.ts +31 -0
  134. package/front_end/core/sdk/Script.ts +1 -1
  135. package/front_end/core/sdk/TraceObject.ts +8 -0
  136. package/front_end/core/sdk/sdk.ts +2 -0
  137. package/front_end/devtools_compatibility.js +0 -1
  138. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +95 -74
  139. package/front_end/entrypoints/main/MainImpl.ts +10 -0
  140. package/front_end/generated/InspectorBackendCommands.js +10 -9
  141. package/front_end/generated/SupportedCSSProperties.js +15 -1
  142. package/front_end/generated/protocol-mapping.d.ts +4 -3
  143. package/front_end/generated/protocol-proxy-api.d.ts +4 -3
  144. package/front_end/generated/protocol.ts +31 -2
  145. package/front_end/legacy_test_runner/network_test_runner/network_test_runner.js +1 -0
  146. package/front_end/models/har/HARFormat.ts +1 -0
  147. package/front_end/models/har/Importer.test.ts +16 -2
  148. package/front_end/models/har/Importer.ts +2 -2
  149. package/front_end/models/har/Log.test.ts +23 -0
  150. package/front_end/models/har/Log.ts +6 -4
  151. package/front_end/models/heap_snapshot_model/HeapSnapshotModel.ts +4 -2
  152. package/front_end/models/issues_manager/AttributionReportingIssue.ts +58 -18
  153. package/front_end/models/issues_manager/CookieIssue.ts +12 -0
  154. package/front_end/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
  155. package/front_end/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
  156. package/front_end/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
  157. package/front_end/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
  158. package/front_end/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
  159. package/front_end/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
  160. package/front_end/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
  161. package/front_end/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
  162. package/front_end/models/javascript_metadata/NativeFunctions.js +69 -18
  163. package/front_end/models/live-metrics/LiveMetrics.ts +116 -19
  164. package/front_end/models/live-metrics/web-vitals-injected/OnEachInteraction.ts +24 -61
  165. package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +49 -21
  166. package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +43 -5
  167. package/front_end/models/timeline_model/TimelineModelFilter.ts +2 -2
  168. package/front_end/models/trace/Processor.ts +5 -1
  169. package/front_end/models/trace/extras/ThirdParties.test.ts +117 -0
  170. package/front_end/models/trace/extras/ThirdParties.ts +207 -0
  171. package/front_end/models/trace/extras/extras.ts +1 -0
  172. package/front_end/models/trace/handlers/FramesHandler.ts +12 -5
  173. package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +40 -0
  174. package/front_end/models/trace/handlers/InitiatorsHandler.ts +9 -0
  175. package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +17 -0
  176. package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +2 -2
  177. package/front_end/models/trace/handlers/RendererHandler.test.ts +4 -4
  178. package/front_end/models/trace/helpers/Timing.test.ts +29 -0
  179. package/front_end/models/trace/helpers/Timing.ts +18 -0
  180. package/front_end/models/trace/helpers/TreeHelpers.test.ts +52 -34
  181. package/front_end/models/trace/helpers/TreeHelpers.ts +135 -45
  182. package/front_end/models/trace/insights/CumulativeLayoutShift.test.ts +22 -0
  183. package/front_end/models/trace/insights/CumulativeLayoutShift.ts +62 -20
  184. package/front_end/models/trace/insights/ThirdPartyWeb.ts +13 -183
  185. package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +4 -4
  186. package/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +9 -5
  187. package/front_end/models/trace/lantern/simulation/Simulator.ts +1 -1
  188. package/front_end/models/trace/lantern/testing/MetricTestUtils.ts +4 -0
  189. package/front_end/models/trace/types/TraceEvents.ts +68 -2
  190. package/front_end/panels/accessibility/AccessibilitySidebarView.ts +1 -1
  191. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +3 -3
  192. package/front_end/panels/animation/AnimationTimeline.test.ts +15 -15
  193. package/front_end/panels/animation/AnimationTimeline.ts +85 -53
  194. package/front_end/panels/animation/AnimationUI.ts +5 -6
  195. package/front_end/panels/animation/animation-meta.ts +15 -0
  196. package/front_end/panels/animation/animation.ts +0 -4
  197. package/front_end/panels/application/ApplicationPanelSidebar.test.ts +16 -0
  198. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -9
  199. package/front_end/panels/application/ExtensionStorageItemsView.test.ts +72 -0
  200. package/front_end/panels/application/ExtensionStorageItemsView.ts +23 -1
  201. package/front_end/panels/application/ExtensionStorageModel.test.ts +15 -0
  202. package/front_end/panels/application/ExtensionStorageModel.ts +10 -1
  203. package/front_end/panels/application/OpenedWindowDetailsView.ts +2 -3
  204. package/front_end/panels/application/SharedStorageItemsView.test.ts +1 -20
  205. package/front_end/panels/application/components/BackForwardCacheStrings.ts +1 -0
  206. package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +3 -7
  207. package/front_end/panels/application/components/EndpointsGrid.ts +1 -2
  208. package/front_end/panels/application/components/FrameDetailsView.ts +8 -8
  209. package/front_end/panels/application/components/InterestGroupAccessGrid.ts +4 -8
  210. package/front_end/panels/application/components/PermissionsPolicySection.ts +3 -4
  211. package/front_end/panels/application/components/ReportsGrid.ts +2 -4
  212. package/front_end/panels/application/components/SharedStorageAccessGrid.ts +4 -9
  213. package/front_end/panels/application/components/StackTrace.ts +6 -9
  214. package/front_end/panels/application/components/StorageMetadataView.ts +1 -2
  215. package/front_end/panels/application/components/TrustTokensView.ts +1 -2
  216. package/front_end/panels/application/preloading/PreloadingView.ts +5 -5
  217. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.test.ts +2 -2
  218. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +3 -9
  219. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -5
  220. package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +2 -2
  221. package/front_end/panels/application/preloading/components/PreloadingGrid.test.ts +1 -1
  222. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +3 -6
  223. package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.ts +1 -3
  224. package/front_end/panels/application/preloading/components/PreloadingString.ts +5 -0
  225. package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -3
  226. package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -10
  227. package/front_end/panels/autofill/AutofillView.ts +2 -5
  228. package/front_end/panels/console/ConsoleView.ts +1 -1
  229. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +3 -5
  230. package/front_end/panels/elements/AccessibilityTreeUtils.ts +4 -6
  231. package/front_end/panels/elements/CSSRuleValidator.ts +0 -5
  232. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +0 -2
  233. package/front_end/panels/elements/ElementStatePaneWidget.ts +5 -0
  234. package/front_end/panels/elements/ElementsPanel.ts +4 -4
  235. package/front_end/panels/elements/ElementsTreeElement.ts +1 -1
  236. package/front_end/panels/elements/StylePropertyTreeElement.test.ts +90 -0
  237. package/front_end/panels/elements/StylePropertyTreeElement.ts +29 -2
  238. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +3 -5
  239. package/front_end/panels/elements/components/LayoutPane.ts +2 -3
  240. package/front_end/panels/elements/components/QueryContainer.ts +3 -5
  241. package/front_end/panels/elements/stylePropertiesTreeOutline.css +13 -0
  242. package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +0 -2
  243. package/front_end/panels/event_listeners/EventListenersView.ts +2 -2
  244. package/front_end/panels/event_listeners/eventListenersView.css +4 -3
  245. package/front_end/panels/explain/components/ConsoleInsight.test.ts +56 -8
  246. package/front_end/panels/explain/components/ConsoleInsight.ts +53 -36
  247. package/front_end/panels/explain/explain-meta.ts +1 -12
  248. package/front_end/panels/freestyler/AiAgent.test.ts +92 -12
  249. package/front_end/panels/freestyler/AiAgent.ts +341 -56
  250. package/front_end/panels/freestyler/DrJonesFileAgent.test.ts +70 -43
  251. package/front_end/panels/freestyler/DrJonesFileAgent.ts +75 -79
  252. package/front_end/panels/freestyler/DrJonesNetworkAgent.test.ts +135 -72
  253. package/front_end/panels/freestyler/DrJonesNetworkAgent.ts +219 -117
  254. package/front_end/panels/freestyler/DrJonesPerformanceAgent.test.ts +102 -56
  255. package/front_end/panels/freestyler/DrJonesPerformanceAgent.ts +118 -114
  256. package/front_end/panels/freestyler/FreestylerAgent.test.ts +108 -100
  257. package/front_end/panels/freestyler/FreestylerAgent.ts +65 -183
  258. package/front_end/panels/freestyler/FreestylerEvaluateAction.test.ts +40 -36
  259. package/front_end/panels/freestyler/FreestylerEvaluateAction.ts +15 -14
  260. package/front_end/panels/freestyler/FreestylerPanel.test.ts +548 -15
  261. package/front_end/panels/freestyler/FreestylerPanel.ts +385 -132
  262. package/front_end/panels/freestyler/components/FreestylerChatUi.test.ts +34 -4
  263. package/front_end/panels/freestyler/components/FreestylerChatUi.ts +186 -92
  264. package/front_end/panels/freestyler/components/UserActionRow.test.ts +60 -0
  265. package/front_end/panels/freestyler/components/{ProvideFeedback.ts → UserActionRow.ts} +42 -16
  266. package/front_end/panels/freestyler/components/freestylerChatUi.css +100 -97
  267. package/front_end/panels/freestyler/components/userActionRow.css +149 -0
  268. package/front_end/panels/freestyler/freestyler-meta.ts +50 -23
  269. package/front_end/panels/freestyler/freestyler.ts +1 -1
  270. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +14 -0
  271. package/front_end/panels/issues/IssueAggregator.ts +10 -1
  272. package/front_end/panels/issues/components/ElementsPanelLink.ts +0 -1
  273. package/front_end/panels/issues/components/HideIssuesMenu.ts +12 -4
  274. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -1
  275. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +2 -2
  276. package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +1 -2
  277. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +7 -12
  278. package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +3 -4
  279. package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +1 -2
  280. package/front_end/panels/network/BinaryResourceView.ts +3 -2
  281. package/front_end/panels/network/NetworkDataGridNode.test.ts +29 -0
  282. package/front_end/panels/network/NetworkDataGridNode.ts +56 -5
  283. package/front_end/panels/network/NetworkLogView.test.ts +29 -0
  284. package/front_end/panels/network/NetworkLogView.ts +2 -2
  285. package/front_end/panels/network/NetworkPanel.test.ts +3 -22
  286. package/front_end/panels/network/NetworkPanel.ts +26 -7
  287. package/front_end/panels/network/NetworkWaterfallColumn.ts +2 -0
  288. package/front_end/panels/network/RequestResponseView.test.ts +2 -2
  289. package/front_end/panels/network/RequestResponseView.ts +6 -10
  290. package/front_end/panels/network/ResourceWebSocketFrameView.ts +3 -1
  291. package/front_end/panels/network/components/HeaderSectionRow.ts +11 -12
  292. package/front_end/panels/network/components/RequestHeaderSection.ts +4 -9
  293. package/front_end/panels/network/components/RequestHeadersView.css +7 -0
  294. package/front_end/panels/network/components/RequestTrustTokensView.ts +1 -1
  295. package/front_end/panels/network/network.ts +0 -2
  296. package/front_end/panels/network/networkConfigView.css +8 -7
  297. package/front_end/panels/network/networkLogView.css +32 -2
  298. package/front_end/panels/network/networkPanel.css +2 -1
  299. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +11 -10
  300. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +12 -8
  301. package/front_end/panels/profiler/HeapSnapshotProxy.ts +6 -6
  302. package/front_end/panels/protocol_monitor/components/JSONEditor.ts +5 -5
  303. package/front_end/panels/recorder/components/StartView.ts +4 -5
  304. package/front_end/panels/recorder/components/recordingView.css +1 -4
  305. package/front_end/panels/recorder/components/selectButton.css +6 -50
  306. package/front_end/panels/recorder/models/RecorderShortcutHelper.ts +1 -1
  307. package/front_end/panels/recorder/models/RecordingSession.ts +4 -4
  308. package/front_end/panels/recorder/recorderController.css +38 -18
  309. package/front_end/panels/screencast/ScreencastApp.ts +1 -1
  310. package/front_end/panels/screencast/ScreencastView.ts +1 -1
  311. package/front_end/panels/search/SearchView.ts +0 -2
  312. package/front_end/panels/search/searchView.css +5 -1
  313. package/front_end/panels/security/CookieReportTreeElement.ts +26 -0
  314. package/front_end/panels/security/OriginTreeElement.ts +20 -7
  315. package/front_end/panels/security/SecurityPanel.ts +64 -15
  316. package/front_end/panels/security/{SecurityAndPrivacyPanelSidebar.ts → SecurityPanelSidebar.ts} +24 -13
  317. package/front_end/panels/security/SecurityPanelSidebarTreeElement.ts +1 -12
  318. package/front_end/panels/security/sidebar.css +40 -1
  319. package/front_end/panels/sensors/SensorsView.ts +27 -0
  320. package/front_end/panels/sensors/sensors-meta.ts +59 -0
  321. package/front_end/panels/settings/AISettingsTab.test.ts +79 -11
  322. package/front_end/panels/settings/AISettingsTab.ts +109 -22
  323. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +44 -30
  324. package/front_end/panels/settings/KeybindsSettingsTab.ts +34 -17
  325. package/front_end/panels/settings/SettingsScreen.ts +1 -1
  326. package/front_end/panels/settings/aiSettingsTab.css +13 -0
  327. package/front_end/panels/settings/components/SyncSection.ts +1 -3
  328. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +51 -29
  329. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +24 -12
  330. package/front_end/panels/settings/emulation/devicesSettingsTab.css +11 -10
  331. package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +14 -42
  332. package/front_end/panels/settings/keybindsSettingsTab.css +51 -89
  333. package/front_end/panels/settings/settingsScreen.css +30 -6
  334. package/front_end/panels/sources/AddSourceMapURLDialog.ts +1 -1
  335. package/front_end/panels/sources/CSSPlugin.ts +0 -2
  336. package/front_end/panels/sources/NavigatorView.ts +31 -23
  337. package/front_end/panels/sources/SourcesPanel.ts +25 -6
  338. package/front_end/panels/sources/SourcesView.test.ts +1 -0
  339. package/front_end/panels/sources/SourcesView.ts +2 -2
  340. package/front_end/panels/sources/components/BreakpointsView.ts +0 -1
  341. package/front_end/panels/sources/components/HeadersView.ts +0 -1
  342. package/front_end/panels/sources/navigatorTree.css +11 -0
  343. package/front_end/panels/timeline/AnnotationHelpers.ts +3 -3
  344. package/front_end/panels/timeline/AppenderUtils.ts +1 -3
  345. package/front_end/panels/timeline/CompatibilityTracksAppender.ts +21 -9
  346. package/front_end/panels/timeline/EntriesFilter.test.ts +19 -36
  347. package/front_end/panels/timeline/EntriesFilter.ts +6 -4
  348. package/front_end/panels/timeline/EventsTimelineTreeView.ts +9 -9
  349. package/front_end/panels/timeline/InteractionsTrackAppender.ts +2 -1
  350. package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -6
  351. package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -8
  352. package/front_end/panels/timeline/ThreadAppender.ts +5 -6
  353. package/front_end/panels/timeline/TimelineDetailsView.test.ts +85 -42
  354. package/front_end/panels/timeline/TimelineDetailsView.ts +71 -42
  355. package/front_end/panels/timeline/TimelineEventOverview.ts +10 -10
  356. package/front_end/panels/timeline/TimelineFilters.test.ts +4 -4
  357. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +58 -62
  358. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +16 -15
  359. package/front_end/panels/timeline/TimelineFlameChartView.test.ts +2 -3
  360. package/front_end/panels/timeline/TimelineFlameChartView.ts +102 -57
  361. package/front_end/panels/timeline/TimelineHistoryManager.ts +4 -0
  362. package/front_end/panels/timeline/TimelineMiniMap.ts +0 -8
  363. package/front_end/panels/timeline/TimelinePanel.ts +89 -44
  364. package/front_end/panels/timeline/TimelineSelection.test.ts +91 -36
  365. package/front_end/panels/timeline/TimelineSelection.ts +48 -60
  366. package/front_end/panels/timeline/TimelineSelectorStatsView.ts +3 -8
  367. package/front_end/panels/timeline/TimelineTreeView.ts +7 -5
  368. package/front_end/panels/timeline/TimelineUIUtils.test.ts +51 -4
  369. package/front_end/panels/timeline/TimelineUIUtils.ts +37 -27
  370. package/front_end/panels/timeline/UIDevtoolsController.ts +5 -5
  371. package/front_end/panels/timeline/UIDevtoolsUtils.ts +59 -68
  372. package/front_end/panels/timeline/components/BreadcrumbsUI.ts +2 -3
  373. package/front_end/panels/timeline/components/LayoutShiftDetails.ts +25 -8
  374. package/front_end/panels/timeline/components/LiveMetricsView.test.ts +230 -68
  375. package/front_end/panels/timeline/components/LiveMetricsView.ts +146 -112
  376. package/front_end/panels/timeline/components/NetworkRequestDetails.test.ts +14 -7
  377. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +47 -117
  378. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +64 -74
  379. package/front_end/panels/timeline/components/Sidebar.ts +2 -1
  380. package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +11 -13
  381. package/front_end/panels/timeline/components/SidebarInsightsTab.ts +51 -2
  382. package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +1 -2
  383. package/front_end/panels/timeline/components/Utils.ts +28 -29
  384. package/front_end/panels/timeline/components/components.ts +0 -4
  385. package/front_end/panels/timeline/components/insights/CLSCulprits.ts +10 -3
  386. package/front_end/panels/timeline/components/insights/DocumentLatency.ts +8 -4
  387. package/front_end/panels/timeline/components/insights/EventRef.ts +0 -1
  388. package/front_end/panels/timeline/components/insights/FontDisplay.ts +1 -1
  389. package/front_end/panels/timeline/components/insights/Helpers.ts +4 -4
  390. package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +3 -5
  391. package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +1 -1
  392. package/front_end/panels/timeline/components/insights/LCPPhases.ts +7 -1
  393. package/front_end/panels/timeline/components/insights/NodeLink.ts +0 -1
  394. package/front_end/panels/timeline/components/insights/README.md +2 -2
  395. package/front_end/panels/timeline/components/insights/RenderBlocking.ts +5 -7
  396. package/front_end/panels/timeline/components/insights/SidebarInsight.ts +14 -5
  397. package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +112 -34
  398. package/front_end/panels/timeline/components/insights/Table.ts +1 -3
  399. package/front_end/panels/timeline/components/insights/ThirdParties.ts +6 -9
  400. package/front_end/panels/timeline/components/insights/Viewport.ts +3 -5
  401. package/front_end/panels/timeline/components/layoutShiftDetails.css +7 -1
  402. package/front_end/panels/timeline/components/liveMetricsView.css +59 -18
  403. package/front_end/panels/timeline/components/networkRequestDetails.css +9 -49
  404. package/front_end/panels/timeline/components/networkRequestTooltip.css +34 -11
  405. package/front_end/panels/timeline/components/relatedInsightChips.css +1 -1
  406. package/front_end/panels/timeline/components/sidebarInsightsTab.css +20 -0
  407. package/front_end/panels/timeline/extensions/ExtensionUI.ts +7 -7
  408. package/front_end/panels/timeline/fixtures/traces/README.md +4 -0
  409. package/front_end/panels/timeline/fixtures/traces/scheduler-post-task.json.gz +0 -0
  410. package/front_end/panels/timeline/fixtures/traces/unsized-images.json.gz +0 -0
  411. package/front_end/panels/timeline/historyToolbarButton.css +33 -19
  412. package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +0 -16
  413. package/front_end/panels/timeline/overlays/OverlaysImpl.ts +48 -22
  414. package/front_end/panels/timeline/overlays/components/entriesLinkOverlay.css +8 -0
  415. package/front_end/panels/timeline/overlays/components/entryLabelOverlay.css +16 -0
  416. package/front_end/panels/timeline/timeline-meta.ts +11 -0
  417. package/front_end/panels/timeline/timelineFlameChartView.css +16 -0
  418. package/front_end/panels/timeline/track_appenders/AnimationsTrackAppender.test.ts +2 -3
  419. package/front_end/panels/timeline/track_appenders/AppenderUtils.test.ts +1 -6
  420. package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +1 -1
  421. package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +7 -8
  422. package/front_end/panels/timeline/track_appenders/GPUTrackAppender.test.ts +2 -2
  423. package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +3 -3
  424. package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +3 -4
  425. package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +2 -3
  426. package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +5 -10
  427. package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +5 -5
  428. package/front_end/panels/timeline/utils/AICallTree.test.ts +80 -0
  429. package/front_end/panels/timeline/utils/AICallTree.ts +165 -0
  430. package/front_end/panels/timeline/{components → utils}/EntryName.test.ts +12 -12
  431. package/front_end/panels/timeline/{components → utils}/EntryName.ts +1 -1
  432. package/front_end/panels/timeline/{components → utils}/EntryStyles.ts +28 -1
  433. package/front_end/panels/timeline/utils/Helpers.test.ts +8 -3
  434. package/front_end/panels/timeline/utils/Helpers.ts +3 -4
  435. package/front_end/panels/timeline/utils/IgnoreList.test.ts +86 -0
  436. package/front_end/panels/timeline/utils/IgnoreList.ts +11 -4
  437. package/front_end/panels/timeline/utils/NetworkRequest.ts +1 -1
  438. package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +51 -18
  439. package/front_end/panels/timeline/utils/SourceMapsResolver.ts +3 -1
  440. package/front_end/panels/timeline/utils/utils.ts +6 -0
  441. package/front_end/panels/utils/utils.ts +56 -4
  442. package/front_end/services/trace_bounds/TraceBounds.ts +7 -1
  443. package/front_end/testing/ContextMenuHelpers.ts +1 -1
  444. package/front_end/testing/EnvironmentHelpers.ts +25 -3
  445. package/front_end/testing/NetworkHelpers.ts +38 -0
  446. package/front_end/testing/StorageItemsViewHelpers.ts +24 -0
  447. package/front_end/testing/TraceHelpers.ts +10 -0
  448. package/front_end/third_party/additional_readme_paths.json +1 -0
  449. package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
  450. package/front_end/third_party/codemirror.next/chunk/angular.js.map +1 -1
  451. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  452. package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
  453. package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
  454. package/front_end/third_party/codemirror.next/chunk/legacy.js.map +1 -1
  455. package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
  456. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  457. package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
  458. package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
  459. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  460. package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
  461. package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
  462. package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
  463. package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
  464. package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
  465. package/front_end/third_party/codemirror.next/chunk/vue.js.map +1 -1
  466. package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
  467. package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
  468. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +68 -3
  469. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  470. package/front_end/third_party/codemirror.next/package.json +2 -1
  471. package/front_end/third_party/intl-messageformat/README.chromium +2 -1
  472. package/front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js +0 -1
  473. package/front_end/third_party/json5/LICENSE +23 -0
  474. package/front_end/third_party/json5/README.chromium +17 -0
  475. package/front_end/third_party/json5/json5-tsconfig.json +8 -0
  476. package/front_end/third_party/json5/json5.ts +4 -0
  477. package/front_end/third_party/json5/lib/index.d.ts +2 -0
  478. package/front_end/third_party/json5/lib/index.js +1121 -0
  479. package/front_end/third_party/json5/package/lib/index.d.ts +4 -0
  480. package/front_end/third_party/json5/package/lib/index.js +9 -0
  481. package/front_end/third_party/json5/package/lib/parse.d.ts +15 -0
  482. package/front_end/third_party/json5/package/lib/parse.js +1114 -0
  483. package/front_end/third_party/json5/package/lib/register.js +13 -0
  484. package/front_end/third_party/json5/package/lib/require.js +4 -0
  485. package/front_end/third_party/json5/package/lib/stringify.d.ts +89 -0
  486. package/front_end/third_party/json5/package/lib/stringify.js +261 -0
  487. package/front_end/third_party/json5/package/lib/unicode.d.ts +3 -0
  488. package/front_end/third_party/json5/package/lib/unicode.js +4 -0
  489. package/front_end/third_party/json5/package/lib/util.d.ts +5 -0
  490. package/front_end/third_party/json5/package/lib/util.js +35 -0
  491. package/front_end/third_party/json5/package.json +8 -0
  492. package/front_end/third_party/json5/rebuild.sh +5 -0
  493. package/front_end/third_party/puppeteer/README.chromium +2 -2
  494. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +2 -2
  495. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
  496. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js +1 -6
  497. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
  498. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts +1 -1
  499. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js +1 -1
  500. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.d.ts +1 -1
  501. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.js +1 -1
  502. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts +4 -4
  503. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js +18 -11
  504. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -1
  505. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.d.ts +2 -2
  506. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +13 -6
  507. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
  508. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +7 -2
  509. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  510. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +3 -3
  511. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
  512. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts +0 -1
  513. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  514. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts +3 -3
  515. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js +1 -1
  516. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js +12 -5
  517. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js.map +1 -1
  518. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +22 -22
  519. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
  520. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js +26 -19
  521. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
  522. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.d.ts +2 -2
  523. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.js +2 -2
  524. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts +1 -1
  525. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts.map +1 -1
  526. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js +0 -1
  527. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js.map +1 -1
  528. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts.map +1 -1
  529. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js +12 -5
  530. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js.map +1 -1
  531. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js +1 -2
  532. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js.map +1 -1
  533. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts +0 -1
  534. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts.map +1 -1
  535. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js +4 -0
  536. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js.map +1 -1
  537. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js +1 -2
  538. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js.map +1 -1
  539. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js +12 -5
  540. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js.map +1 -1
  541. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +12 -5
  542. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
  543. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js +12 -5
  544. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js.map +1 -1
  545. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
  546. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +3 -0
  547. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
  548. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +21 -10
  549. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
  550. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js +12 -5
  551. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js.map +1 -1
  552. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js +12 -5
  553. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js.map +1 -1
  554. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts +1 -1
  555. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts.map +1 -1
  556. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js +0 -1
  557. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js.map +1 -1
  558. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js +2 -3
  559. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js.map +1 -1
  560. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  561. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js +3 -0
  562. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  563. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js +12 -5
  564. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js.map +1 -1
  565. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +0 -1
  566. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
  567. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +1 -2
  568. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
  569. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +12 -5
  570. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
  571. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  572. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js +3 -1
  573. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  574. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js +2 -2
  575. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js.map +1 -1
  576. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  577. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  578. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  579. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  580. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js +17 -13
  581. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js.map +1 -1
  582. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  583. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js +5 -1
  584. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  585. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js +1 -1
  586. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js.map +1 -1
  587. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +1 -1
  588. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
  589. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts.map +1 -1
  590. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js.map +1 -1
  591. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  592. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  593. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  594. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js +2 -2
  595. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js.map +1 -1
  596. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  597. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +2 -1
  598. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
  599. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +1 -1
  600. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
  601. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +16 -7
  602. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
  603. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  604. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  605. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  606. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts +2 -0
  607. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts.map +1 -1
  608. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js +2 -0
  609. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js.map +1 -1
  610. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js +6 -6
  611. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js.map +1 -1
  612. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +1 -2
  613. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  614. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  615. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  616. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +2 -2
  617. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
  618. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +3 -0
  619. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  620. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
  621. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +4 -5
  622. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
  623. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js +1 -2
  624. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js.map +1 -1
  625. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js +13 -7
  626. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js.map +1 -1
  627. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts +1 -1
  628. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts.map +1 -1
  629. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js +1 -2
  630. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js.map +1 -1
  631. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  632. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +12 -5
  633. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
  634. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +7 -7
  635. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
  636. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js +0 -7
  637. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js.map +1 -1
  638. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +2 -3
  639. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
  640. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +14 -12
  641. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
  642. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +0 -2
  643. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
  644. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
  645. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
  646. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  647. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  648. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  649. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  650. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  651. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +4 -4
  652. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -1
  653. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js +3 -3
  654. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js.map +1 -1
  655. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  656. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
  657. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  658. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +3 -4
  659. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
  660. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts +0 -1
  661. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -1
  662. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
  663. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts +0 -1
  664. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  665. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts +1 -1
  666. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts.map +1 -1
  667. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js +0 -1
  668. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js.map +1 -1
  669. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js +2 -3
  670. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js.map +1 -1
  671. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +6 -6
  672. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -1
  673. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +15 -4
  674. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -1
  675. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
  676. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
  677. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
  678. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.d.ts.map +1 -1
  679. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js +1 -0
  680. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js.map +1 -1
  681. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts +0 -1
  682. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts.map +1 -1
  683. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js +4 -5
  684. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js.map +1 -1
  685. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.d.ts.map +1 -1
  686. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js +2 -2
  687. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js.map +1 -1
  688. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
  689. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts.map +1 -1
  690. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts +1 -1
  691. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts.map +1 -1
  692. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js +18 -13
  693. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js.map +1 -1
  694. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/disposable.d.ts.map +1 -1
  695. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js +4 -5
  696. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js.map +1 -1
  697. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts +1 -0
  698. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts.map +1 -1
  699. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js +1 -0
  700. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js.map +1 -1
  701. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +374 -578
  702. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +316 -150
  703. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +2 -2
  704. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
  705. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js +1 -6
  706. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
  707. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts +1 -1
  708. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js +1 -1
  709. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.d.ts +1 -1
  710. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.js +1 -1
  711. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +4 -4
  712. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js +16 -9
  713. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js.map +1 -1
  714. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.d.ts +2 -2
  715. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +13 -6
  716. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
  717. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +7 -2
  718. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  719. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
  720. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts +0 -1
  721. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  722. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts +3 -3
  723. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js +1 -1
  724. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js +12 -5
  725. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js.map +1 -1
  726. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +22 -22
  727. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
  728. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js +24 -17
  729. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
  730. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.d.ts +2 -2
  731. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.js +2 -2
  732. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts +1 -1
  733. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts.map +1 -1
  734. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js +0 -1
  735. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js.map +1 -1
  736. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts.map +1 -1
  737. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js +12 -5
  738. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js.map +1 -1
  739. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts +0 -1
  740. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts.map +1 -1
  741. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js +4 -0
  742. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js.map +1 -1
  743. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js +12 -5
  744. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js.map +1 -1
  745. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +12 -5
  746. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
  747. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js +12 -5
  748. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js.map +1 -1
  749. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
  750. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +3 -0
  751. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
  752. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +21 -10
  753. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
  754. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js +12 -5
  755. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js.map +1 -1
  756. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js +12 -5
  757. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js.map +1 -1
  758. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts +1 -1
  759. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts.map +1 -1
  760. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js +0 -1
  761. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js.map +1 -1
  762. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  763. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js +3 -0
  764. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  765. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js +12 -5
  766. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js.map +1 -1
  767. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +0 -1
  768. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
  769. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +12 -5
  770. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
  771. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  772. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js +3 -1
  773. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  774. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  775. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  776. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  777. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  778. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js +17 -13
  779. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js.map +1 -1
  780. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  781. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js +5 -1
  782. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  783. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js +1 -1
  784. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js.map +1 -1
  785. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +1 -1
  786. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
  787. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts.map +1 -1
  788. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js.map +1 -1
  789. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  790. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  791. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  792. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  793. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +2 -1
  794. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
  795. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +1 -1
  796. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
  797. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +16 -7
  798. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
  799. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  800. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  801. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  802. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts +2 -0
  803. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts.map +1 -1
  804. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js +2 -0
  805. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js.map +1 -1
  806. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  807. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  808. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
  809. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +3 -0
  810. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  811. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
  812. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +0 -1
  813. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
  814. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js +12 -5
  815. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js.map +1 -1
  816. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts +1 -1
  817. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts.map +1 -1
  818. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  819. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +12 -5
  820. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
  821. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +7 -7
  822. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
  823. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js +0 -7
  824. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js.map +1 -1
  825. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +2 -3
  826. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
  827. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +3 -1
  828. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
  829. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +0 -2
  830. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
  831. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
  832. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
  833. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  834. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  835. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  836. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  837. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  838. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts +3 -3
  839. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts.map +1 -1
  840. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  841. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
  842. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  843. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +0 -1
  844. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
  845. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts +0 -1
  846. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -1
  847. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
  848. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts +0 -1
  849. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  850. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts +1 -1
  851. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts.map +1 -1
  852. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js +0 -1
  853. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js.map +1 -1
  854. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts +1 -1
  855. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts.map +1 -1
  856. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +6 -6
  857. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -1
  858. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js +3 -4
  859. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js.map +1 -1
  860. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
  861. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
  862. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
  863. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.d.ts.map +1 -1
  864. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js +1 -0
  865. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js.map +1 -1
  866. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts +0 -1
  867. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts.map +1 -1
  868. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Function.d.ts.map +1 -1
  869. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts +1 -1
  870. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts.map +1 -1
  871. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts +1 -1
  872. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts.map +1 -1
  873. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js +12 -6
  874. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js.map +1 -1
  875. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/disposable.d.ts.map +1 -1
  876. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts +1 -0
  877. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts.map +1 -1
  878. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js +1 -0
  879. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js.map +1 -1
  880. package/front_end/third_party/puppeteer/package/lib/types.d.ts +374 -578
  881. package/front_end/third_party/puppeteer/package/package.json +6 -6
  882. package/front_end/third_party/puppeteer/package/src/api/Browser.ts +8 -8
  883. package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +5 -5
  884. package/front_end/third_party/puppeteer/package/src/api/CDPSession.ts +2 -2
  885. package/front_end/third_party/puppeteer/package/src/api/Dialog.ts +1 -1
  886. package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +44 -44
  887. package/front_end/third_party/puppeteer/package/src/api/Frame.ts +33 -33
  888. package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +14 -9
  889. package/front_end/third_party/puppeteer/package/src/api/Input.ts +11 -11
  890. package/front_end/third_party/puppeteer/package/src/api/JSHandle.ts +5 -5
  891. package/front_end/third_party/puppeteer/package/src/api/Page.ts +88 -87
  892. package/front_end/third_party/puppeteer/package/src/api/Realm.ts +2 -2
  893. package/front_end/third_party/puppeteer/package/src/api/WebWorker.ts +2 -2
  894. package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -1
  895. package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +79 -79
  896. package/front_end/third_party/puppeteer/package/src/bidi/BidiOverCdp.ts +7 -7
  897. package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +9 -5
  898. package/front_end/third_party/puppeteer/package/src/bidi/BrowserConnector.ts +5 -5
  899. package/front_end/third_party/puppeteer/package/src/bidi/BrowserContext.ts +10 -10
  900. package/front_end/third_party/puppeteer/package/src/bidi/CDPSession.ts +4 -4
  901. package/front_end/third_party/puppeteer/package/src/bidi/Connection.ts +6 -6
  902. package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +3 -3
  903. package/front_end/third_party/puppeteer/package/src/bidi/ExposedFunction.ts +11 -11
  904. package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +45 -41
  905. package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +9 -9
  906. package/front_end/third_party/puppeteer/package/src/bidi/HTTPResponse.ts +3 -3
  907. package/front_end/third_party/puppeteer/package/src/bidi/Input.ts +10 -10
  908. package/front_end/third_party/puppeteer/package/src/bidi/JSHandle.ts +1 -1
  909. package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +56 -52
  910. package/front_end/third_party/puppeteer/package/src/bidi/Realm.ts +15 -15
  911. package/front_end/third_party/puppeteer/package/src/bidi/Serializer.ts +1 -1
  912. package/front_end/third_party/puppeteer/package/src/bidi/Target.ts +2 -2
  913. package/front_end/third_party/puppeteer/package/src/bidi/WebWorker.ts +2 -2
  914. package/front_end/third_party/puppeteer/package/src/bidi/core/Browser.ts +4 -4
  915. package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +17 -17
  916. package/front_end/third_party/puppeteer/package/src/bidi/core/Connection.ts +1 -1
  917. package/front_end/third_party/puppeteer/package/src/bidi/core/Navigation.ts +3 -3
  918. package/front_end/third_party/puppeteer/package/src/bidi/core/Realm.ts +6 -6
  919. package/front_end/third_party/puppeteer/package/src/bidi/core/Request.ts +5 -5
  920. package/front_end/third_party/puppeteer/package/src/bidi/core/Session.ts +4 -4
  921. package/front_end/third_party/puppeteer/package/src/bidi/core/UserContext.ts +9 -9
  922. package/front_end/third_party/puppeteer/package/src/bidi/core/UserPrompt.ts +4 -4
  923. package/front_end/third_party/puppeteer/package/src/bidi/core/core.ts +1 -1
  924. package/front_end/third_party/puppeteer/package/src/bidi/util.ts +4 -4
  925. package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +7 -7
  926. package/front_end/third_party/puppeteer/package/src/cdp/AriaQueryHandler.ts +10 -6
  927. package/front_end/third_party/puppeteer/package/src/cdp/Binding.ts +6 -6
  928. package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +24 -24
  929. package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +4 -4
  930. package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +2 -2
  931. package/front_end/third_party/puppeteer/package/src/cdp/CDPSession.ts +7 -7
  932. package/front_end/third_party/puppeteer/package/src/cdp/ChromeTargetManager.ts +19 -17
  933. package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +7 -7
  934. package/front_end/third_party/puppeteer/package/src/cdp/Coverage.ts +11 -11
  935. package/front_end/third_party/puppeteer/package/src/cdp/DeviceRequestPrompt.ts +17 -17
  936. package/front_end/third_party/puppeteer/package/src/cdp/Dialog.ts +1 -1
  937. package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +6 -6
  938. package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +34 -34
  939. package/front_end/third_party/puppeteer/package/src/cdp/ExecutionContext.ts +18 -19
  940. package/front_end/third_party/puppeteer/package/src/cdp/ExtensionTransport.ts +7 -3
  941. package/front_end/third_party/puppeteer/package/src/cdp/FirefoxTargetManager.ts +7 -7
  942. package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +16 -16
  943. package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +20 -20
  944. package/front_end/third_party/puppeteer/package/src/cdp/FrameManagerEvents.ts +1 -1
  945. package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +5 -5
  946. package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +5 -5
  947. package/front_end/third_party/puppeteer/package/src/cdp/Input.ts +16 -14
  948. package/front_end/third_party/puppeteer/package/src/cdp/IsolatedWorld.ts +14 -13
  949. package/front_end/third_party/puppeteer/package/src/cdp/JSHandle.ts +2 -2
  950. package/front_end/third_party/puppeteer/package/src/cdp/LifecycleWatcher.ts +11 -11
  951. package/front_end/third_party/puppeteer/package/src/cdp/NetworkEventManager.ts +15 -15
  952. package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +38 -37
  953. package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +71 -70
  954. package/front_end/third_party/puppeteer/package/src/cdp/PredefinedNetworkConditions.ts +4 -4
  955. package/front_end/third_party/puppeteer/package/src/cdp/Target.ts +4 -4
  956. package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +1 -1
  957. package/front_end/third_party/puppeteer/package/src/cdp/Tracing.ts +2 -2
  958. package/front_end/third_party/puppeteer/package/src/cdp/WebWorker.ts +5 -5
  959. package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +2 -0
  960. package/front_end/third_party/puppeteer/package/src/cdp/utils.ts +10 -10
  961. package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +5 -5
  962. package/front_end/third_party/puppeteer/package/src/common/CSSQueryHandler.ts +2 -2
  963. package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +9 -7
  964. package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +3 -0
  965. package/front_end/third_party/puppeteer/package/src/common/ConsoleMessage.ts +1 -1
  966. package/front_end/third_party/puppeteer/package/src/common/CustomQueryHandler.ts +6 -6
  967. package/front_end/third_party/puppeteer/package/src/common/Debug.ts +0 -1
  968. package/front_end/third_party/puppeteer/package/src/common/EventEmitter.ts +8 -8
  969. package/front_end/third_party/puppeteer/package/src/common/FileChooser.ts +3 -3
  970. package/front_end/third_party/puppeteer/package/src/common/HandleIterator.ts +3 -3
  971. package/front_end/third_party/puppeteer/package/src/common/LazyArg.ts +1 -1
  972. package/front_end/third_party/puppeteer/package/src/common/NetworkManagerEvents.ts +1 -1
  973. package/front_end/third_party/puppeteer/package/src/common/PQueryHandler.ts +2 -2
  974. package/front_end/third_party/puppeteer/package/src/common/PSelectorParser.ts +1 -1
  975. package/front_end/third_party/puppeteer/package/src/common/PierceQueryHandler.ts +2 -2
  976. package/front_end/third_party/puppeteer/package/src/common/Puppeteer.ts +1 -1
  977. package/front_end/third_party/puppeteer/package/src/common/QueryHandler.ts +12 -12
  978. package/front_end/third_party/puppeteer/package/src/common/TaskQueue.ts +1 -1
  979. package/front_end/third_party/puppeteer/package/src/common/TextQueryHandler.ts +1 -1
  980. package/front_end/third_party/puppeteer/package/src/common/WaitTask.ts +8 -8
  981. package/front_end/third_party/puppeteer/package/src/common/XPathQueryHandler.ts +2 -2
  982. package/front_end/third_party/puppeteer/package/src/common/common.ts +7 -7
  983. package/front_end/third_party/puppeteer/package/src/common/util.ts +15 -14
  984. package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
  985. package/front_end/third_party/puppeteer/package/src/injected/ARIAQuerySelector.ts +3 -3
  986. package/front_end/third_party/puppeteer/package/src/injected/CSSSelector.ts +2 -2
  987. package/front_end/third_party/puppeteer/package/src/injected/PQuerySelector.ts +7 -7
  988. package/front_end/third_party/puppeteer/package/src/injected/PierceQuerySelector.ts +2 -2
  989. package/front_end/third_party/puppeteer/package/src/injected/TextContent.ts +1 -1
  990. package/front_end/third_party/puppeteer/package/src/injected/TextQuerySelector.ts +1 -1
  991. package/front_end/third_party/puppeteer/package/src/injected/XPathQuerySelector.ts +2 -2
  992. package/front_end/third_party/puppeteer/package/src/injected/util.ts +2 -2
  993. package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +38 -30
  994. package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +11 -12
  995. package/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts +8 -8
  996. package/front_end/third_party/puppeteer/package/src/node/NodeWebSocketTransport.ts +1 -1
  997. package/front_end/third_party/puppeteer/package/src/node/PipeTransport.ts +7 -3
  998. package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +4 -4
  999. package/front_end/third_party/puppeteer/package/src/node/ScreenRecorder.ts +10 -10
  1000. package/front_end/third_party/puppeteer/package/src/node/node.ts +1 -1
  1001. package/front_end/third_party/puppeteer/package/src/puppeteer-core.ts +4 -4
  1002. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  1003. package/front_end/third_party/puppeteer/package/src/util/AsyncIterableUtil.ts +3 -3
  1004. package/front_end/third_party/puppeteer/package/src/util/Deferred.ts +3 -2
  1005. package/front_end/third_party/puppeteer/package/src/util/ErrorLike.ts +1 -1
  1006. package/front_end/third_party/puppeteer/package/src/util/Function.ts +4 -4
  1007. package/front_end/third_party/puppeteer/package/src/util/Mutex.ts +1 -1
  1008. package/front_end/third_party/puppeteer/package/src/util/assert.ts +1 -1
  1009. package/front_end/third_party/puppeteer/package/src/util/decorators.ts +8 -9
  1010. package/front_end/third_party/puppeteer/package/src/util/encoding.ts +1 -1
  1011. package/front_end/third_party/puppeteer/package/src/util/util.ts +1 -0
  1012. package/front_end/third_party/web-vitals/README.chromium +3 -3
  1013. package/front_end/third_party/web-vitals/package/README.md +36 -23
  1014. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.d.ts +2 -1
  1015. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +11 -13
  1016. package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +2 -22
  1017. package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +3 -2
  1018. package/front_end/third_party/web-vitals/package/dist/modules/lib/interactions.js +1 -1
  1019. package/front_end/third_party/web-vitals/package/dist/modules/onLCP.js +4 -1
  1020. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.iife.js +1 -1
  1021. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.js +1 -1
  1022. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.umd.cjs +1 -1
  1023. package/front_end/third_party/web-vitals/package/dist/web-vitals.iife.js +1 -1
  1024. package/front_end/third_party/web-vitals/package/dist/web-vitals.js +1 -1
  1025. package/front_end/third_party/web-vitals/package/dist/web-vitals.umd.cjs +1 -1
  1026. package/front_end/third_party/web-vitals/package/package.json +1 -1
  1027. package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +11 -14
  1028. package/front_end/third_party/web-vitals/package/src/lib/interactions.ts +1 -1
  1029. package/front_end/third_party/web-vitals/package/src/onLCP.ts +4 -1
  1030. package/front_end/third_party/web-vitals/rebuild.sh +14 -0
  1031. package/front_end/third_party/web-vitals/web-vitals.ts +2 -0
  1032. package/front_end/ui/components/adorners/Adorner.ts +0 -1
  1033. package/front_end/ui/components/buttons/Button.ts +0 -1
  1034. package/front_end/ui/components/buttons/button.css +1 -0
  1035. package/front_end/ui/components/cards/Card.test.ts +31 -5
  1036. package/front_end/ui/components/cards/Card.ts +22 -3
  1037. package/front_end/ui/components/cards/card.css +25 -7
  1038. package/front_end/ui/components/chrome_link/ChromeLink.ts +0 -1
  1039. package/front_end/ui/components/data_grid/DataGrid.ts +0 -1
  1040. package/front_end/ui/components/data_grid/DataGridController.ts +2 -3
  1041. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  1042. package/front_end/ui/components/dialogs/Dialog.ts +0 -1
  1043. package/front_end/ui/components/dialogs/IconDialog.ts +9 -11
  1044. package/front_end/ui/components/dialogs/ShortcutDialog.ts +3 -4
  1045. package/front_end/ui/components/diff_view/DiffView.ts +0 -1
  1046. package/front_end/ui/components/docs/building-ui-documentation/ComponentPerformance.md +1 -4
  1047. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +14 -44
  1048. package/front_end/ui/components/docs/freestyler/basic.ts +2 -3
  1049. package/front_end/ui/components/docs/freestyler/empty_state.ts +2 -2
  1050. package/front_end/ui/components/docs/icon_dialog/basic.ts +4 -4
  1051. package/front_end/ui/components/docs/performance_panel/basic.ts +4 -1
  1052. package/front_end/ui/components/docs/report/basic.ts +3 -3
  1053. package/front_end/ui/components/expandable_list/ExpandableList.ts +0 -1
  1054. package/front_end/ui/components/floating_button/FloatingButton.ts +0 -1
  1055. package/front_end/ui/components/icon_button/FileSourceIcon.test.ts +32 -0
  1056. package/front_end/ui/components/icon_button/FileSourceIcon.ts +76 -0
  1057. package/front_end/ui/components/icon_button/Icon.ts +0 -3
  1058. package/front_end/ui/components/icon_button/IconButton.ts +0 -1
  1059. package/front_end/ui/components/icon_button/fileSourceIcon.css +43 -0
  1060. package/front_end/ui/components/icon_button/icon_button.ts +2 -0
  1061. package/front_end/ui/components/issue_counter/IssueCounter.ts +1 -3
  1062. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +0 -1
  1063. package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
  1064. package/front_end/ui/components/linkifier/LinkifierImpl.ts +4 -2
  1065. package/front_end/ui/components/markdown_view/CodeBlock.ts +0 -1
  1066. package/front_end/ui/components/markdown_view/MarkdownImage.ts +0 -1
  1067. package/front_end/ui/components/markdown_view/MarkdownLink.ts +0 -1
  1068. package/front_end/ui/components/markdown_view/MarkdownView.ts +10 -7
  1069. package/front_end/ui/components/menus/Menu.ts +0 -3
  1070. package/front_end/ui/components/menus/SelectMenu.ts +0 -2
  1071. package/front_end/ui/components/menus/selectMenu.css +8 -5
  1072. package/front_end/ui/components/menus/selectMenuButton.css +29 -17
  1073. package/front_end/ui/components/node_text/NodeText.ts +0 -1
  1074. package/front_end/ui/components/panel_feedback/FeedbackButton.ts +0 -1
  1075. package/front_end/ui/components/panel_feedback/PanelFeedback.ts +1 -3
  1076. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -3
  1077. package/front_end/ui/components/panel_introduction_steps/PanelIntroductionSteps.ts +0 -1
  1078. package/front_end/ui/components/report_view/ReportView.ts +1 -7
  1079. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +0 -1
  1080. package/front_end/ui/components/settings/SettingCheckbox.ts +28 -10
  1081. package/front_end/ui/components/settings/SettingDeprecationWarning.ts +2 -4
  1082. package/front_end/ui/components/settings/settingCheckbox.css +1 -0
  1083. package/front_end/ui/components/spinners/Spinner.ts +0 -1
  1084. package/front_end/ui/components/spinners/spinner.css +1 -0
  1085. package/front_end/ui/components/split_view/SplitView.ts +0 -1
  1086. package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +0 -1
  1087. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -3
  1088. package/front_end/ui/components/switch/SwitchImpl.ts +0 -1
  1089. package/front_end/ui/components/text_editor/TextEditor.ts +0 -2
  1090. package/front_end/ui/components/text_prompt/TextPrompt.ts +0 -1
  1091. package/front_end/ui/components/tree_outline/TreeOutline.ts +0 -1
  1092. package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -1
  1093. package/front_end/ui/legacy/ContextMenu.ts +46 -7
  1094. package/front_end/ui/legacy/FilterBar.test.ts +52 -0
  1095. package/front_end/ui/legacy/FilterBar.ts +46 -1
  1096. package/front_end/ui/legacy/KeyboardShortcut.ts +35 -21
  1097. package/front_end/ui/legacy/Panel.ts +2 -2
  1098. package/front_end/ui/legacy/ShortcutRegistry.ts +10 -7
  1099. package/front_end/ui/legacy/SoftContextMenu.ts +3 -0
  1100. package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
  1101. package/front_end/ui/legacy/Toolbar.ts +1 -0
  1102. package/front_end/ui/legacy/Treeoutline.ts +7 -4
  1103. package/front_end/ui/legacy/UIUtils.ts +9 -0
  1104. package/front_end/ui/legacy/View.ts +2 -2
  1105. package/front_end/ui/legacy/ViewManager.ts +2 -1
  1106. package/front_end/ui/legacy/Widget.ts +4 -4
  1107. package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +51 -0
  1108. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +92 -6
  1109. package/front_end/ui/legacy/components/data_grid/dataGrid.css +8 -1
  1110. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -7
  1111. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +0 -1
  1112. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +0 -1
  1113. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +0 -1
  1114. package/front_end/ui/legacy/components/inline_editor/ColorMixSwatch.ts +0 -1
  1115. package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +0 -1
  1116. package/front_end/ui/legacy/components/inline_editor/LinkSwatch.ts +0 -3
  1117. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -2
  1118. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +2 -2
  1119. package/front_end/ui/legacy/components/perf_ui/CanvasHelper.ts +1 -83
  1120. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +3 -2
  1121. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +162 -57
  1122. package/front_end/ui/legacy/components/perf_ui/PieChart.ts +0 -1
  1123. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +3 -3
  1124. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.test.ts +5 -9
  1125. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +9 -60
  1126. package/front_end/ui/legacy/components/source_frame/SourceFrame.test.ts +18 -0
  1127. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +20 -3
  1128. package/front_end/{panels/network/RequestBinaryResponseView.test.ts → ui/legacy/components/source_frame/StreamingContentHexView.test.ts} +12 -12
  1129. package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.ts +122 -0
  1130. package/front_end/ui/legacy/components/source_frame/source_frame.ts +2 -0
  1131. package/front_end/ui/legacy/designTokens.css +46 -40
  1132. package/front_end/ui/legacy/filter.css +23 -8
  1133. package/front_end/ui/legacy/inspectorCommon.css +31 -29
  1134. package/front_end/ui/legacy/searchableView.css +4 -3
  1135. package/front_end/ui/legacy/softDropDownButton.css +10 -6
  1136. package/front_end/ui/legacy/tabbedPane.css +1 -1
  1137. package/front_end/ui/legacy/toolbar.css +38 -18
  1138. package/front_end/ui/visual_logging/KnownContextValues.ts +67 -1
  1139. package/front_end/ui/visual_logging/LoggingDriver.test.ts +53 -6
  1140. package/front_end/ui/visual_logging/LoggingDriver.ts +8 -5
  1141. package/front_end/ui/visual_logging/LoggingEvents.test.ts +5 -1
  1142. package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
  1143. package/front_end/ui/visual_logging/LoggingState.ts +1 -1
  1144. package/package.json +5 -6
  1145. package/scripts/build/esbuild.js +3 -1
  1146. package/scripts/devtools_paths.js +11 -1
  1147. package/scripts/eslint_rules/lib/check_test_definitions.js +1 -1
  1148. package/scripts/eslint_rules/tests/check_test_definitions_test.js +10 -0
  1149. package/tsconfig.json +11 -1
  1150. package/docs/add_uma_metrics.md +0 -41
  1151. package/docs/uma_metrics.md +0 -23
  1152. package/front_end/panels/animation/AnimationDOMNode.ts +0 -268
  1153. package/front_end/panels/freestyler/components/ProvideFeedback.test.ts +0 -29
  1154. package/front_end/panels/freestyler/components/provideFeedback.css +0 -60
  1155. package/front_end/panels/network/RequestBinaryResponseView.ts +0 -67
  1156. package/scripts/eslint_rules/lib/lit_html_data_as_type.js +0 -83
  1157. package/scripts/eslint_rules/tests/lit_html_data_as_type_test.js +0 -81
@@ -6,8 +6,13 @@ import * as Common from '../../core/common/common.js';
6
6
  import * as i18n from '../../core/i18n/i18n.js';
7
7
  import type * as SDK from '../../core/sdk/sdk.js';
8
8
  import * as Formatter from '../../models/formatter/formatter.js';
9
+ import * as Persistence from '../../models/persistence/persistence.js';
10
+ import type * as Workspace from '../../models/workspace/workspace.js';
9
11
  import type * as Diff from '../../third_party/diff/diff.js';
10
12
  import * as DiffView from '../../ui/components/diff_view/diff_view.js';
13
+ import * as IconButton from '../../ui/components/icon_button/icon_button.js';
14
+ import * as UI from '../../ui/legacy/legacy.js';
15
+ import * as Snippets from '../snippets/snippets.js';
11
16
 
12
17
  const UIStrings = {
13
18
  /**
@@ -71,10 +76,20 @@ export class PanelUtils {
71
76
  let iconElement: HTMLElement;
72
77
 
73
78
  if (PanelUtils.isFailedNetworkRequest(request)) {
74
- const iconData = {
75
- iconName: 'cross-circle-filled',
76
- color: 'var(--icon-error)',
77
- };
79
+ let iconData = undefined;
80
+ // Failed prefetch network requests are displayed as warnings instead of errors.
81
+ if (request.resourceType() === Common.ResourceType.resourceTypes.Prefetch) {
82
+ iconData = {
83
+ iconName: 'warning-filled',
84
+ color: 'var(--icon-warning)',
85
+ };
86
+ } else {
87
+ iconData = {
88
+ iconName: 'cross-circle-filled',
89
+ color: 'var(--icon-error)',
90
+ };
91
+ }
92
+
78
93
  iconElement = PanelUtils.createIconElement(iconData, type.title());
79
94
  iconElement.classList.add('icon');
80
95
 
@@ -210,6 +225,43 @@ export class PanelUtils {
210
225
  return {iconName: 'file-generic', color: 'var(--icon-default)'};
211
226
  }
212
227
 
228
+ static getIconForSourceFile(uiSourceCode: Workspace.UISourceCode.UISourceCode):
229
+ IconButton.FileSourceIcon.FileSourceIcon {
230
+ const binding = Persistence.Persistence.PersistenceImpl.instance().binding(uiSourceCode);
231
+ const networkPersistenceManager = Persistence.NetworkPersistenceManager.NetworkPersistenceManager.instance();
232
+ let iconType = 'document';
233
+ let hasDotBadge = false;
234
+ let isDotPurple = false;
235
+ if (binding) {
236
+ if (Snippets.ScriptSnippetFileSystem.isSnippetsUISourceCode(binding.fileSystem)) {
237
+ iconType = 'snippet';
238
+ }
239
+ hasDotBadge = true;
240
+ isDotPurple = networkPersistenceManager.project() === binding.fileSystem.project();
241
+ } else if (networkPersistenceManager.isActiveHeaderOverrides(uiSourceCode)) {
242
+ hasDotBadge = true;
243
+ isDotPurple = true;
244
+ } else {
245
+ if (Snippets.ScriptSnippetFileSystem.isSnippetsUISourceCode(uiSourceCode)) {
246
+ iconType = 'snippet';
247
+ }
248
+ }
249
+
250
+ const icon = new IconButton.FileSourceIcon.FileSourceIcon(iconType);
251
+ icon.data = {
252
+ contentType: uiSourceCode.contentType().name(),
253
+ hasDotBadge,
254
+ isDotPurple,
255
+ };
256
+
257
+ if (binding) {
258
+ UI.Tooltip.Tooltip.install(
259
+ icon, Persistence.PersistenceUtils.PersistenceUtils.tooltipForUISourceCode(uiSourceCode));
260
+ }
261
+
262
+ return icon;
263
+ }
264
+
213
265
  static async formatCSSChangesFromDiff(diff: Diff.Diff.DiffArray): Promise<string> {
214
266
  const indent = ' ';
215
267
  const {originalLines, currentLines, rows} = DiffView.DiffView.buildDiffRows(diff);
@@ -169,6 +169,11 @@ export class BoundsManager extends EventTarget {
169
169
  return;
170
170
  }
171
171
 
172
+ if (newWindow.min === existingWindow.min && newWindow.max === existingWindow.max) {
173
+ // New bounds are identical to the old ones so no action required.
174
+ return;
175
+ }
176
+
172
177
  if (!options.ignoreMiniMapBounds) {
173
178
  // Ensure that the setTimelineVisibleWindow can never go outside the bounds of the minimap bounds.
174
179
  newWindow.min =
@@ -178,7 +183,8 @@ export class BoundsManager extends EventTarget {
178
183
  }
179
184
 
180
185
  if (newWindow.min === existingWindow.min && newWindow.max === existingWindow.max) {
181
- // New bounds are identical to the old ones so no action required.
186
+ // If, after we adjust for the minimap bounds, the new window matches the
187
+ // old one, we can exit as no action is required.
182
188
  return;
183
189
  }
184
190
 
@@ -3,7 +3,7 @@
3
3
  // found in the LICENSE file.
4
4
  import * as UI from '../ui/legacy/legacy.js';
5
5
 
6
- function getMenu(action: () => void): UI.ContextMenu.ContextMenu {
6
+ export function getMenu(action: () => void): UI.ContextMenu.ContextMenu {
7
7
  const sandbox = sinon.createSandbox();
8
8
 
9
9
  const contextMenuShow = sandbox.stub(UI.ContextMenu.ContextMenu.prototype, 'show').resolves();
@@ -133,6 +133,8 @@ const REGISTERED_EXPERIMENTS = [
133
133
  Root.Runtime.ExperimentName.TIMELINE_ENHANCED_TRACES,
134
134
  Root.Runtime.ExperimentName.EXTENSION_STORAGE_VIEWER,
135
135
  Root.Runtime.ExperimentName.TIMELINE_EXPERIMENTAL_INSIGHTS,
136
+ Root.Runtime.ExperimentName.TIMELINE_DIM_UNRELATED_EVENTS,
137
+ Root.Runtime.ExperimentName.TIMELINE_ALTERNATIVE_NAVIGATION,
136
138
  ];
137
139
 
138
140
  export async function initializeGlobalVars({reset = true} = {}) {
@@ -220,6 +222,8 @@ export async function initializeGlobalVars({reset = true} = {}) {
220
222
  Common.Settings.SettingCategory.EMULATION, 'emulation.touch', '', Common.Settings.SettingType.ENUM),
221
223
  createSettingValue(
222
224
  Common.Settings.SettingCategory.EMULATION, 'emulation.idle-detection', '', Common.Settings.SettingType.ENUM),
225
+ createSettingValue(
226
+ Common.Settings.SettingCategory.EMULATION, 'emulation.cpu-pressure', '', Common.Settings.SettingType.ENUM),
223
227
  createSettingValue(
224
228
  Common.Settings.SettingCategory.GRID, 'show-grid-line-labels', 'none', Common.Settings.SettingType.ENUM),
225
229
  createSettingValue(Common.Settings.SettingCategory.GRID, 'extend-grid-lines', true),
@@ -521,19 +525,37 @@ export function getGetHostConfigStub(config: Root.Runtime.HostConfig): sinon.Sin
521
525
  temperature: -1,
522
526
  enabled: false,
523
527
  ...config.devToolsExplainThisResourceDogfood,
524
- } as Root.Runtime.HostConfigExplainThisResourceDogfood,
528
+ } as Root.Runtime.HostConfigAiAssistanceNetworkAgent,
529
+ devToolsAiAssistanceNetworkAgent: {
530
+ modelId: '',
531
+ temperature: -1,
532
+ enabled: false,
533
+ ...config.devToolsAiAssistanceNetworkAgent,
534
+ } as Root.Runtime.HostConfigAiAssistanceNetworkAgent,
525
535
  devToolsAiAssistanceFileAgentDogfood: {
526
536
  modelId: '',
527
537
  temperature: -1,
528
538
  enabled: false,
529
539
  ...config.devToolsAiAssistanceFileAgentDogfood,
530
- } as Root.Runtime.HostConfigAiAssistanceFileAgentDogfood,
540
+ } as Root.Runtime.HostConfigAiAssistanceFileAgent,
541
+ devToolsAiAssistanceFileAgent: {
542
+ modelId: '',
543
+ temperature: -1,
544
+ enabled: false,
545
+ ...config.devToolsAiAssistanceFileAgent,
546
+ } as Root.Runtime.HostConfigAiAssistanceFileAgent,
531
547
  devToolsAiAssistancePerformanceAgentDogfood: {
532
548
  modelId: '',
533
549
  temperature: -1,
534
550
  enabled: false,
535
551
  ...config.devToolsAiAssistancePerformanceAgentDogfood,
536
- } as Root.Runtime.HostConfigAiAssistancePerformanceAgentDogfood,
552
+ } as Root.Runtime.HostConfigAiAssistancePerformanceAgent,
553
+ devToolsAiAssistancePerformanceAgent: {
554
+ modelId: '',
555
+ temperature: -1,
556
+ enabled: false,
557
+ ...config.devToolsAiAssistancePerformanceAgent,
558
+ } as Root.Runtime.HostConfigAiAssistancePerformanceAgent,
537
559
  devToolsVeLogging: {
538
560
  enabled: true,
539
561
  testing: false,
@@ -0,0 +1,38 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import * as Common from '../core/common/common.js';
6
+ import * as Network from '../panels/network/network.js';
7
+ import * as Coordinator from '../ui/components/render_coordinator/render_coordinator.js';
8
+
9
+ import {
10
+ registerNoopActions,
11
+ } from './EnvironmentHelpers.js';
12
+
13
+ const coordinator = Coordinator.RenderCoordinator.RenderCoordinator.instance();
14
+
15
+ export async function createNetworkPanelForMockConnection(): Promise<Network.NetworkPanel.NetworkPanel> {
16
+ registerNoopActions(['network.toggle-recording', 'network.clear']);
17
+
18
+ const dummyStorage = new Common.Settings.SettingsStorage({});
19
+ for (const settingName
20
+ of ['network-color-code-resource-types', 'network.group-by-frame', 'network-record-film-strip-setting']) {
21
+ Common.Settings.registerSettingExtension({
22
+ settingName,
23
+ settingType: Common.Settings.SettingType.BOOLEAN,
24
+ defaultValue: false,
25
+ });
26
+ }
27
+ Common.Settings.Settings.instance({
28
+ forceNew: true,
29
+ syncedStorage: dummyStorage,
30
+ globalStorage: dummyStorage,
31
+ localStorage: dummyStorage,
32
+ });
33
+ const networkPanel = Network.NetworkPanel.NetworkPanel.instance({forceNew: true, displayScreenshotDelay: 0});
34
+ networkPanel.markAsRoot();
35
+ networkPanel.show(document.body);
36
+ await coordinator.done();
37
+ return networkPanel;
38
+ }
@@ -0,0 +1,24 @@
1
+ // Copyright 2024 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import type * as DataGrid from '../ui/legacy/components/data_grid/data_grid.js';
6
+
7
+ export function getCellElementFromNodeAndColumnId<T>(
8
+ dataGrid: DataGrid.DataGrid.DataGridImpl<T>, node: DataGrid.DataGrid.DataGridNode<T>, columnId: string): Element|
9
+ null {
10
+ const column = dataGrid.columns[columnId];
11
+ const cellIndex = dataGrid.visibleColumnsArray.indexOf(column);
12
+ return node.element()?.children[cellIndex] || null;
13
+ }
14
+
15
+ export function selectNodeByKey<T>(
16
+ dataGrid: DataGrid.DataGrid.DataGridImpl<T>, key: string|null): DataGrid.DataGrid.DataGridNode<T>|null {
17
+ for (const node of dataGrid.rootNode().children) {
18
+ if (node?.data?.key === key) {
19
+ node.select();
20
+ return node;
21
+ }
22
+ }
23
+ return null;
24
+ }
@@ -542,9 +542,11 @@ export function getBaseTraceParseModelData(overrides: Partial<ParsedTrace> = {})
542
542
  styleRecalcInvalidationEvents: [],
543
543
  renderFrameImplCreateChildFrameEvents: [],
544
544
  domLoadingEvents: [],
545
+ layoutImageUnsizedEvents: [],
545
546
  beginRemoteFontLoadEvents: [],
546
547
  scoreRecords: [],
547
548
  backendNodeIds: [],
549
+ paintImageEvents: [],
548
550
  },
549
551
  Meta: {
550
552
  traceBounds: {
@@ -709,3 +711,11 @@ export function microsecondsTraceWindow(min: number, max: number): Trace.Types.T
709
711
  max as Trace.Types.Timing.MicroSeconds,
710
712
  );
711
713
  }
714
+
715
+ export function microseconds(x: number): Trace.Types.Timing.MicroSeconds {
716
+ return Trace.Types.Timing.MicroSeconds(x);
717
+ }
718
+
719
+ export function milliseconds(x: number): Trace.Types.Timing.MilliSeconds {
720
+ return Trace.Types.Timing.MilliSeconds(x);
721
+ }
@@ -5,6 +5,7 @@
5
5
  "chromium",
6
6
  "csp_evaluator",
7
7
  "diff",
8
+ "json5",
8
9
  "i18n",
9
10
  "intl-messageformat",
10
11
  "lighthouse",
@@ -1,2 +1,2 @@
1
- import{s as O,t as r,j as e,p as t,L as n,a,b as o,h as i,E as p}from"./codemirror.js";const l=new p((O=>{let r=O.pos;for(;;){if(10==O.next){O.advance();break}if(123==O.next&&123==O.peek(1)||O.next<0)break;O.advance()}O.pos>r&&O.acceptToken(1)}));function Q(O,r,e){return new p((t=>{let n=t.pos;for(;t.next!=O&&t.next>=0&&(e||38!=t.next&&(123!=t.next||123!=t.peek(1)));)t.advance();t.pos>n&&t.acceptToken(r)}))}const S=Q(39,33,!1),s=Q(34,34,!1),u=Q(39,35,!0),q=Q(34,36,!0),P=o.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^",stateData:"&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O",goto:"#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf",nodeNames:"⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue",maxTerm:42,nodeProps:[["openedBy",3,"{{",15,"("],["closedBy",4,"}}",14,")"],["isolate",-4,5,19,25,27,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*byz*xz{+`{}#r}!O+v!O!P-]!P!Q#r!Q![+v![!]+v!]!_#r!_!`-s!`!c#r!c!}+v!}#O.Z#O#P#r#P#Q.q#Q#R#r#R#S+v#S#T#r#T#o+v#o#p/X#p#q#r#q#r0Z#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vQ#wTUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rQ$ZSO#q#r#r;'S#r;'S;=`$g<%lO#rQ$jP;=`<%l#rR$t[UQvPOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mq#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR%qTyPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&XTaPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&oXUQWPOp'[pq#rq!]'[!]!^#r!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R'aXUQOp'[pq#rq!]'[!]!^'|!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R(TTVPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR(gXOp'[pq#rq!]'[!]!^'|!^#q'[#q#r)S#r;'S'[;'S;=`)t<%lO'[P)VUOp)Sq!])S!]!^)i!^;'S)S;'S;=`)n<%lO)SP)nOVPP)qP;=`<%l)SR)wP;=`<%l'[R*RTzPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR*iT^PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+PT_PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+gThPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+}b[PUQO}#r}!O+v!O!Q#r!Q![+v![!]+v!]!c#r!c!}+v!}#R#r#R#S+v#S#T#r#T#o+v#o#q#r#q#r$W#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vR-YP;=`<%l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~",tokenizers:[l,S,s,u,q,0,1],topRules:{Content:[0,2],Attribute:[1,9]},tokenPrec:0}),R=e.parser.configure({top:"SingleExpression"}),$=P.configure({props:[O({Text:r.content,Is:r.definitionOperator,AttributeName:r.attributeName,"AttributeValue ExpressionAttributeValue StatementAttributeValue":r.attributeValue,Entity:r.character,InvalidEntity:r.invalid,"BoundAttributeName/Identifier":r.attributeName,"EventName/Identifier":r.special(r.attributeName),"ReferenceName/Identifier":r.variableName,"DirectiveName/Identifier":r.keyword,"{{ }}":r.brace,"( )":r.paren,"[ ]":r.bracket,"# '*'":r.punctuation})]}),g={parser:R},c={parser:e.parser},b={parser:$.configure({wrap:t(((O,r)=>"InterpolationContent"==O.name?g:null))})},m={parser:$.configure({wrap:t(((O,r)=>{var e;return"InterpolationContent"==O.name?g:"AttributeInterpolation"!=O.name?null:"StatementAttributeValue"==(null===(e=O.node.parent)||void 0===e?void 0:e.name)?c:g})),top:"Attribute"})},v=i();function W(O){return O.configure({wrap:t(f)},"angular")}const d=W(v.language);function f(O,r){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(r.read(O.from,O.to))?m:null;case"Text":return b}return null}function C(O={}){let r=v;if(O.base){if("html"!=O.base.language.name||!(O.base.language instanceof n))throw new RangeError("The base option must be the result of calling html(...)");r=O.base}return new a(r.language==v.language?d:W(r.language),[r.support,r.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{C as angular,d as angularLanguage};
1
+ import{s as O,t as r,j as e,L as t,a as n,b as a,h as o,p as i,E as p}from"./codemirror.js";const l=new p((O=>{let r=O.pos;for(;;){if(10==O.next){O.advance();break}if(123==O.next&&123==O.peek(1)||O.next<0)break;O.advance()}O.pos>r&&O.acceptToken(1)}));function Q(O,r,e){return new p((t=>{let n=t.pos;for(;t.next!=O&&t.next>=0&&(e||38!=t.next&&(123!=t.next||123!=t.peek(1)));)t.advance();t.pos>n&&t.acceptToken(r)}))}const S=Q(39,33,!1),s=Q(34,34,!1),u=Q(39,35,!0),q=Q(34,36,!0),P=a.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^",stateData:"&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O",goto:"#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf",nodeNames:"⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue",maxTerm:42,nodeProps:[["openedBy",3,"{{",15,"("],["closedBy",4,"}}",14,")"],["isolate",-4,5,19,25,27,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*byz*xz{+`{}#r}!O+v!O!P-]!P!Q#r!Q![+v![!]+v!]!_#r!_!`-s!`!c#r!c!}+v!}#O.Z#O#P#r#P#Q.q#Q#R#r#R#S+v#S#T#r#T#o+v#o#p/X#p#q#r#q#r0Z#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vQ#wTUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rQ$ZSO#q#r#r;'S#r;'S;=`$g<%lO#rQ$jP;=`<%l#rR$t[UQvPOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mq#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR%qTyPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&XTaPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&oXUQWPOp'[pq#rq!]'[!]!^#r!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R'aXUQOp'[pq#rq!]'[!]!^'|!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R(TTVPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR(gXOp'[pq#rq!]'[!]!^'|!^#q'[#q#r)S#r;'S'[;'S;=`)t<%lO'[P)VUOp)Sq!])S!]!^)i!^;'S)S;'S;=`)n<%lO)SP)nOVPP)qP;=`<%l)SR)wP;=`<%l'[R*RTzPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR*iT^PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+PT_PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+gThPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+}b[PUQO}#r}!O+v!O!Q#r!Q![+v![!]+v!]!c#r!c!}+v!}#R#r#R#S+v#S#T#r#T#o+v#o#q#r#q#r$W#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vR-YP;=`<%l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~",tokenizers:[l,S,s,u,q,0,1],topRules:{Content:[0,2],Attribute:[1,9]},tokenPrec:0}),R=e.parser.configure({top:"SingleExpression"}),$=P.configure({props:[O({Text:r.content,Is:r.definitionOperator,AttributeName:r.attributeName,"AttributeValue ExpressionAttributeValue StatementAttributeValue":r.attributeValue,Entity:r.character,InvalidEntity:r.invalid,"BoundAttributeName/Identifier":r.attributeName,"EventName/Identifier":r.special(r.attributeName),"ReferenceName/Identifier":r.variableName,"DirectiveName/Identifier":r.keyword,"{{ }}":r.brace,"( )":r.paren,"[ ]":r.bracket,"# '*'":r.punctuation})]}),g={parser:R},c={parser:e.parser},b={parser:$.configure({wrap:i(((O,r)=>"InterpolationContent"==O.name?g:null))})},m={parser:$.configure({wrap:i(((O,r)=>{var e;return"InterpolationContent"==O.name?g:"AttributeInterpolation"!=O.name?null:"StatementAttributeValue"==(null===(e=O.node.parent)||void 0===e?void 0:e.name)?c:g})),top:"Attribute"})},v=o();function W(O){return O.configure({wrap:i(f)},"angular")}const d=W(v.language);function f(O,r){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(r.read(O.from,O.to))?m:null;case"Text":return b}return null}function C(O={}){let r=v;if(O.base){if("html"!=O.base.language.name||!(O.base.language instanceof t))throw new RangeError("The base option must be the result of calling html(...)");r=O.base}return new n(r.language==v.language?d:W(r.language),[r.support,r.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{C as angular,d as angularLanguage};
2
2
  //# sourceMappingURL=angular.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"angular.js","sources":["../node_modules/@codemirror/lang-angular/dist/index.js"],"sourcesContent":["import { LRLanguage, LanguageSupport } from '@codemirror/language';\nimport { html } from '@codemirror/lang-html';\nimport { javascriptLanguage } from '@codemirror/lang-javascript';\nimport { styleTags, tags } from '@lezer/highlight';\nimport { parseMixed } from '@lezer/common';\nimport { ExternalTokenizer, LRParser } from '@lezer/lr';\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst Text = 1,\n attributeContentSingle = 33,\n attributeContentDouble = 34,\n scriptAttributeContentSingle = 35,\n scriptAttributeContentDouble = 36;\n\nconst text = /*@__PURE__*/new ExternalTokenizer(input => {\n let start = input.pos;\n for (;;) {\n if (input.next == 10 /* Ch.Newline */) {\n input.advance();\n break;\n }\n else if (input.next == 123 /* Ch.BraceL */ && input.peek(1) == 123 /* Ch.BraceL */ || input.next < 0) {\n break;\n }\n input.advance();\n }\n if (input.pos > start)\n input.acceptToken(Text);\n});\nfunction attrContent(quote, token, script) {\n return new ExternalTokenizer(input => {\n let start = input.pos;\n while (input.next != quote && input.next >= 0 &&\n (script || input.next != 38 /* Ch.Ampersand */ && (input.next != 123 /* Ch.BraceL */ || input.peek(1) != 123 /* Ch.BraceL */)))\n input.advance();\n if (input.pos > start)\n input.acceptToken(token);\n });\n}\nconst attrSingle = /*@__PURE__*/attrContent(39 /* Ch.SingleQuote */, attributeContentSingle, false);\nconst attrDouble = /*@__PURE__*/attrContent(34 /* Ch.DoubleQuote */, attributeContentDouble, false);\nconst scriptAttrSingle = /*@__PURE__*/attrContent(39 /* Ch.SingleQuote */, scriptAttributeContentSingle, true);\nconst scriptAttrDouble = /*@__PURE__*/attrContent(34 /* Ch.DoubleQuote */, scriptAttributeContentDouble, true);\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst parser = /*@__PURE__*/LRParser.deserialize({\n version: 14,\n states: \"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^\",\n stateData: \"&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O\",\n goto: \"#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf\",\n nodeNames: \"⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue\",\n maxTerm: 42,\n nodeProps: [\n [\"openedBy\", 3,\"{{\",15,\"(\"],\n [\"closedBy\", 4,\"}}\",14,\")\"],\n [\"isolate\", -4,5,19,25,27,\"\"]\n ],\n skippedNodes: [0],\n repeatNodeCount: 4,\n tokenData: \"0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*byz*xz{+`{}#r}!O+v!O!P-]!P!Q#r!Q![+v![!]+v!]!_#r!_!`-s!`!c#r!c!}+v!}#O.Z#O#P#r#P#Q.q#Q#R#r#R#S+v#S#T#r#T#o+v#o#p/X#p#q#r#q#r0Z#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vQ#wTUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rQ$ZSO#q#r#r;'S#r;'S;=`$g<%lO#rQ$jP;=`<%l#rR$t[UQvPOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mq#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR%qTyPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&XTaPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&oXUQWPOp'[pq#rq!]'[!]!^#r!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R'aXUQOp'[pq#rq!]'[!]!^'|!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R(TTVPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR(gXOp'[pq#rq!]'[!]!^'|!^#q'[#q#r)S#r;'S'[;'S;=`)t<%lO'[P)VUOp)Sq!])S!]!^)i!^;'S)S;'S;=`)n<%lO)SP)nOVPP)qP;=`<%l)SR)wP;=`<%l'[R*RTzPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR*iT^PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+PT_PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+gThPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+}b[PUQO}#r}!O+v!O!Q#r!Q![+v![!]+v!]!c#r!c!}+v!}#R#r#R#S+v#S#T#r#T#o+v#o#q#r#q#r$W#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vR-YP;=`<%l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~\",\n tokenizers: [text, attrSingle, attrDouble, scriptAttrSingle, scriptAttrDouble, 0, 1],\n topRules: {\"Content\":[0,2],\"Attribute\":[1,9]},\n tokenPrec: 0\n});\n\nconst exprParser = /*@__PURE__*/javascriptLanguage.parser.configure({\n top: \"SingleExpression\"\n});\nconst baseParser = /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/styleTags({\n Text: tags.content,\n Is: tags.definitionOperator,\n AttributeName: tags.attributeName,\n \"AttributeValue ExpressionAttributeValue StatementAttributeValue\": tags.attributeValue,\n Entity: tags.character,\n InvalidEntity: tags.invalid,\n \"BoundAttributeName/Identifier\": tags.attributeName,\n \"EventName/Identifier\": /*@__PURE__*/tags.special(tags.attributeName),\n \"ReferenceName/Identifier\": tags.variableName,\n \"DirectiveName/Identifier\": tags.keyword,\n \"{{ }}\": tags.brace,\n \"( )\": tags.paren,\n \"[ ]\": tags.bracket,\n \"# '*'\": tags.punctuation\n })\n ]\n});\nconst exprMixed = { parser: exprParser }, statementMixed = { parser: javascriptLanguage.parser };\nconst textParser = /*@__PURE__*/baseParser.configure({\n wrap: /*@__PURE__*/parseMixed((node, input) => node.name == \"InterpolationContent\" ? exprMixed : null),\n});\nconst attrParser = /*@__PURE__*/baseParser.configure({\n wrap: /*@__PURE__*/parseMixed((node, input) => {\n var _a;\n return node.name == \"InterpolationContent\" ? exprMixed\n : node.name != \"AttributeInterpolation\" ? null\n : ((_a = node.node.parent) === null || _a === void 0 ? void 0 : _a.name) == \"StatementAttributeValue\" ? statementMixed : exprMixed;\n }),\n top: \"Attribute\"\n});\nconst textMixed = { parser: textParser }, attrMixed = { parser: attrParser };\nconst baseHTML = /*@__PURE__*/html();\nfunction mkAngular(language) {\n return language.configure({ wrap: parseMixed(mixAngular) }, \"angular\");\n}\n/**\nA language provider for Angular Templates.\n*/\nconst angularLanguage = /*@__PURE__*/mkAngular(baseHTML.language);\nfunction mixAngular(node, input) {\n switch (node.name) {\n case \"Attribute\":\n return /^[*#(\\[]|\\{\\{/.test(input.read(node.from, node.to)) ? attrMixed : null;\n case \"Text\":\n return textMixed;\n }\n return null;\n}\n/**\nAngular Template language support.\n*/\nfunction angular(config = {}) {\n let base = baseHTML;\n if (config.base) {\n if (config.base.language.name != \"html\" || !(config.base.language instanceof LRLanguage))\n throw new RangeError(\"The base option must be the result of calling html(...)\");\n base = config.base;\n }\n return new LanguageSupport(base.language == baseHTML.language ? angularLanguage : mkAngular(base.language), [base.support, base.language.data.of({\n closeBrackets: { brackets: [\"[\", \"{\", '\"'] },\n indentOnInput: /^\\s*[\\}\\]]$/\n })]);\n}\n\nexport { angular, angularLanguage };\n"],"names":["text","ExternalTokenizer","input","start","pos","next","advance","peek","acceptToken","attrContent","quote","token","script","attrSingle","attrDouble","scriptAttrSingle","scriptAttrDouble","parser","LRParser","deserialize","version","states","stateData","goto","nodeNames","maxTerm","nodeProps","skippedNodes","repeatNodeCount","tokenData","tokenizers","topRules","Content","Attribute","tokenPrec","exprParser","javascriptLanguage","configure","top","baseParser","props","styleTags","Text","tags","content","Is","definitionOperator","AttributeName","attributeName","attributeValue","Entity","character","InvalidEntity","invalid","special","variableName","keyword","brace","paren","bracket","punctuation","exprMixed","statementMixed","textMixed","wrap","parseMixed","node","name","attrMixed","_a","parent","baseHTML","html","mkAngular","language","mixAngular","angularLanguage","test","read","from","to","angular","config","base","LRLanguage","RangeError","LanguageSupport","support","data","of","closeBrackets","brackets","indentOnInput"],"mappings":"uFAQA,MAMMA,EAAoB,IAAIC,GAAkBC,IAC5C,IAAIC,EAAQD,EAAME,IAClB,OAAS,CACL,GAAkB,IAAdF,EAAMG,KAA6B,CACnCH,EAAMI,UACN,MAEC,GAAkB,KAAdJ,EAAMG,MAAgD,KAAjBH,EAAMK,KAAK,IAA6BL,EAAMG,KAAO,EAC/F,MAEJH,EAAMI,UAENJ,EAAME,IAAMD,GACZD,EAAMM,YAnBD,EAmBkB,IAE/B,SAASC,EAAYC,EAAOC,EAAOC,GAC/B,OAAO,IAAIX,GAAkBC,IACzB,IAAIC,EAAQD,EAAME,IAClB,KAAOF,EAAMG,MAAQK,GAASR,EAAMG,MAAQ,IACvCO,GAAwB,IAAdV,EAAMG,OAAgD,KAAdH,EAAMG,MAAgD,KAAjBH,EAAMK,KAAK,MACnGL,EAAMI,UACNJ,EAAME,IAAMD,GACZD,EAAMM,YAAYG,EAAM,GAEpC,CACA,MAAME,EAA0BJ,EAAY,GA9BjB,IA8BkE,GACvFK,EAA0BL,EAAY,GA9BjB,IA8BkE,GACvFM,EAAgCN,EAAY,GA9BjB,IA8BwE,GACnGO,EAAgCP,EAAY,GA9BjB,IA8BwE,GAGnGQ,EAAsBC,EAASC,YAAY,CAC/CC,QAAS,GACTC,OAAQ,ylBACRC,UAAW,oRACXC,KAAM,8IACNC,UAAW,wSACXC,QAAS,GACTC,UAAW,CACT,CAAC,WAAY,EAAE,KAAK,GAAG,KACvB,CAAC,WAAY,EAAE,KAAK,GAAG,KACvB,CAAC,WAAY,EAAE,EAAE,GAAG,GAAG,GAAG,KAE5BC,aAAc,CAAC,GACfC,gBAAiB,EACjBC,UAAW,syCACXC,WAAY,CAAC9B,EAAMa,EAAYC,EAAYC,EAAkBC,EAAkB,EAAG,GAClFe,SAAU,CAACC,QAAU,CAAC,EAAE,GAAGC,UAAY,CAAC,EAAE,IAC1CC,UAAW,IAGPC,EAA0BC,EAAmBnB,OAAOoB,UAAU,CAChEC,IAAK,qBAEHC,EAA0BtB,EAAOoB,UAAU,CAC7CG,MAAO,CACUC,EAAU,CACnBC,KAAMC,EAAKC,QACXC,GAAIF,EAAKG,mBACTC,cAAeJ,EAAKK,cACpB,kEAAmEL,EAAKM,eACxEC,OAAQP,EAAKQ,UACbC,cAAeT,EAAKU,QACpB,gCAAiCV,EAAKK,cACtC,uBAAqCL,EAAKW,QAAQX,EAAKK,eACvD,2BAA4BL,EAAKY,aACjC,2BAA4BZ,EAAKa,QACjC,QAASb,EAAKc,MACd,MAAOd,EAAKe,MACZ,MAAOf,EAAKgB,QACZ,QAAShB,EAAKiB,iBAIpBC,EAAY,CAAE5C,OAAQkB,GAAc2B,EAAiB,CAAE7C,OAAQmB,EAAmBnB,QAalF8C,EAAY,CAAE9C,OAZYsB,EAAWF,UAAU,CACjD2B,KAAmBC,GAAW,CAACC,EAAMhE,IAAuB,wBAAbgE,EAAKC,KAAiCN,EAAY,UAW3DO,EAAY,CAAEnD,OATxBsB,EAAWF,UAAU,CACjD2B,KAAmBC,GAAW,CAACC,EAAMhE,KACjC,IAAImE,EACJ,MAAoB,wBAAbH,EAAKC,KAAiCN,EAC1B,0BAAbK,EAAKC,KAAmC,KACsC,4BAA7C,QAA3BE,EAAKH,EAAKA,KAAKI,cAA2B,IAAPD,OAAgB,EAASA,EAAGF,MAAqCL,EAAiBD,CAAS,IAE9IvB,IAAK,eAGHiC,EAAwBC,IAC9B,SAASC,EAAUC,GACf,OAAOA,EAASrC,UAAU,CAAE2B,KAAMC,EAAWU,IAAe,UAChE,CAIK,MAACC,EAA+BH,EAAUF,EAASG,UACxD,SAASC,EAAWT,EAAMhE,GACtB,OAAQgE,EAAKC,MACT,IAAK,YACD,MAAO,gBAAgBU,KAAK3E,EAAM4E,KAAKZ,EAAKa,KAAMb,EAAKc,KAAOZ,EAAY,KAC9E,IAAK,OACD,OAAOL,EAEf,OAAO,IACX,CAIA,SAASkB,EAAQC,EAAS,IACtB,IAAIC,EAAOZ,EACX,GAAIW,EAAOC,KAAM,CACb,GAAiC,QAA7BD,EAAOC,KAAKT,SAASP,QAAoBe,EAAOC,KAAKT,oBAAoBU,GACzE,MAAM,IAAIC,WAAW,2DACzBF,EAAOD,EAAOC,KAElB,OAAO,IAAIG,EAAgBH,EAAKT,UAAYH,EAASG,SAAWE,EAAkBH,EAAUU,EAAKT,UAAW,CAACS,EAAKI,QAASJ,EAAKT,SAASc,KAAKC,GAAG,CACzIC,cAAe,CAAEC,SAAU,CAAC,IAAK,IAAK,MACtCC,cAAe,iBAE3B"}
1
+ {"version":3,"file":"angular.js","sources":["../node_modules/@codemirror/lang-angular/dist/index.js"],"sourcesContent":["import { LRLanguage, LanguageSupport } from '@codemirror/language';\nimport { html } from '@codemirror/lang-html';\nimport { javascriptLanguage } from '@codemirror/lang-javascript';\nimport { styleTags, tags } from '@lezer/highlight';\nimport { parseMixed } from '@lezer/common';\nimport { ExternalTokenizer, LRParser } from '@lezer/lr';\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst Text = 1,\n attributeContentSingle = 33,\n attributeContentDouble = 34,\n scriptAttributeContentSingle = 35,\n scriptAttributeContentDouble = 36;\n\nconst text = /*@__PURE__*/new ExternalTokenizer(input => {\n let start = input.pos;\n for (;;) {\n if (input.next == 10 /* Ch.Newline */) {\n input.advance();\n break;\n }\n else if (input.next == 123 /* Ch.BraceL */ && input.peek(1) == 123 /* Ch.BraceL */ || input.next < 0) {\n break;\n }\n input.advance();\n }\n if (input.pos > start)\n input.acceptToken(Text);\n});\nfunction attrContent(quote, token, script) {\n return new ExternalTokenizer(input => {\n let start = input.pos;\n while (input.next != quote && input.next >= 0 &&\n (script || input.next != 38 /* Ch.Ampersand */ && (input.next != 123 /* Ch.BraceL */ || input.peek(1) != 123 /* Ch.BraceL */)))\n input.advance();\n if (input.pos > start)\n input.acceptToken(token);\n });\n}\nconst attrSingle = /*@__PURE__*/attrContent(39 /* Ch.SingleQuote */, attributeContentSingle, false);\nconst attrDouble = /*@__PURE__*/attrContent(34 /* Ch.DoubleQuote */, attributeContentDouble, false);\nconst scriptAttrSingle = /*@__PURE__*/attrContent(39 /* Ch.SingleQuote */, scriptAttributeContentSingle, true);\nconst scriptAttrDouble = /*@__PURE__*/attrContent(34 /* Ch.DoubleQuote */, scriptAttributeContentDouble, true);\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst parser = /*@__PURE__*/LRParser.deserialize({\n version: 14,\n states: \"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^\",\n stateData: \"&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O\",\n goto: \"#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf\",\n nodeNames: \"⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue\",\n maxTerm: 42,\n nodeProps: [\n [\"openedBy\", 3,\"{{\",15,\"(\"],\n [\"closedBy\", 4,\"}}\",14,\")\"],\n [\"isolate\", -4,5,19,25,27,\"\"]\n ],\n skippedNodes: [0],\n repeatNodeCount: 4,\n tokenData: \"0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*byz*xz{+`{}#r}!O+v!O!P-]!P!Q#r!Q![+v![!]+v!]!_#r!_!`-s!`!c#r!c!}+v!}#O.Z#O#P#r#P#Q.q#Q#R#r#R#S+v#S#T#r#T#o+v#o#p/X#p#q#r#q#r0Z#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vQ#wTUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rQ$ZSO#q#r#r;'S#r;'S;=`$g<%lO#rQ$jP;=`<%l#rR$t[UQvPOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mq#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR%qTyPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&XTaPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&oXUQWPOp'[pq#rq!]'[!]!^#r!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R'aXUQOp'[pq#rq!]'[!]!^'|!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R(TTVPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR(gXOp'[pq#rq!]'[!]!^'|!^#q'[#q#r)S#r;'S'[;'S;=`)t<%lO'[P)VUOp)Sq!])S!]!^)i!^;'S)S;'S;=`)n<%lO)SP)nOVPP)qP;=`<%l)SR)wP;=`<%l'[R*RTzPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR*iT^PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+PT_PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+gThPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+}b[PUQO}#r}!O+v!O!Q#r!Q![+v![!]+v!]!c#r!c!}+v!}#R#r#R#S+v#S#T#r#T#o+v#o#q#r#q#r$W#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vR-YP;=`<%l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~\",\n tokenizers: [text, attrSingle, attrDouble, scriptAttrSingle, scriptAttrDouble, 0, 1],\n topRules: {\"Content\":[0,2],\"Attribute\":[1,9]},\n tokenPrec: 0\n});\n\nconst exprParser = /*@__PURE__*/javascriptLanguage.parser.configure({\n top: \"SingleExpression\"\n});\nconst baseParser = /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/styleTags({\n Text: tags.content,\n Is: tags.definitionOperator,\n AttributeName: tags.attributeName,\n \"AttributeValue ExpressionAttributeValue StatementAttributeValue\": tags.attributeValue,\n Entity: tags.character,\n InvalidEntity: tags.invalid,\n \"BoundAttributeName/Identifier\": tags.attributeName,\n \"EventName/Identifier\": /*@__PURE__*/tags.special(tags.attributeName),\n \"ReferenceName/Identifier\": tags.variableName,\n \"DirectiveName/Identifier\": tags.keyword,\n \"{{ }}\": tags.brace,\n \"( )\": tags.paren,\n \"[ ]\": tags.bracket,\n \"# '*'\": tags.punctuation\n })\n ]\n});\nconst exprMixed = { parser: exprParser }, statementMixed = { parser: javascriptLanguage.parser };\nconst textParser = /*@__PURE__*/baseParser.configure({\n wrap: /*@__PURE__*/parseMixed((node, input) => node.name == \"InterpolationContent\" ? exprMixed : null),\n});\nconst attrParser = /*@__PURE__*/baseParser.configure({\n wrap: /*@__PURE__*/parseMixed((node, input) => {\n var _a;\n return node.name == \"InterpolationContent\" ? exprMixed\n : node.name != \"AttributeInterpolation\" ? null\n : ((_a = node.node.parent) === null || _a === void 0 ? void 0 : _a.name) == \"StatementAttributeValue\" ? statementMixed : exprMixed;\n }),\n top: \"Attribute\"\n});\nconst textMixed = { parser: textParser }, attrMixed = { parser: attrParser };\nconst baseHTML = /*@__PURE__*/html();\nfunction mkAngular(language) {\n return language.configure({ wrap: parseMixed(mixAngular) }, \"angular\");\n}\n/**\nA language provider for Angular Templates.\n*/\nconst angularLanguage = /*@__PURE__*/mkAngular(baseHTML.language);\nfunction mixAngular(node, input) {\n switch (node.name) {\n case \"Attribute\":\n return /^[*#(\\[]|\\{\\{/.test(input.read(node.from, node.to)) ? attrMixed : null;\n case \"Text\":\n return textMixed;\n }\n return null;\n}\n/**\nAngular Template language support.\n*/\nfunction angular(config = {}) {\n let base = baseHTML;\n if (config.base) {\n if (config.base.language.name != \"html\" || !(config.base.language instanceof LRLanguage))\n throw new RangeError(\"The base option must be the result of calling html(...)\");\n base = config.base;\n }\n return new LanguageSupport(base.language == baseHTML.language ? angularLanguage : mkAngular(base.language), [base.support, base.language.data.of({\n closeBrackets: { brackets: [\"[\", \"{\", '\"'] },\n indentOnInput: /^\\s*[\\}\\]]$/\n })]);\n}\n\nexport { angular, angularLanguage };\n"],"names":["text","ExternalTokenizer","input","start","pos","next","advance","peek","acceptToken","attrContent","quote","token","script","attrSingle","attrDouble","scriptAttrSingle","scriptAttrDouble","parser","LRParser","deserialize","version","states","stateData","goto","nodeNames","maxTerm","nodeProps","skippedNodes","repeatNodeCount","tokenData","tokenizers","topRules","Content","Attribute","tokenPrec","exprParser","javascriptLanguage","configure","top","baseParser","props","styleTags","Text","tags","content","Is","definitionOperator","AttributeName","attributeName","attributeValue","Entity","character","InvalidEntity","invalid","special","variableName","keyword","brace","paren","bracket","punctuation","exprMixed","statementMixed","textMixed","wrap","parseMixed","node","name","attrMixed","_a","parent","baseHTML","html","mkAngular","language","mixAngular","angularLanguage","test","read","from","to","angular","config","base","LRLanguage","RangeError","LanguageSupport","support","data","of","closeBrackets","brackets","indentOnInput"],"mappings":"4FAQA,MAMMA,EAAoB,IAAIC,GAAkBC,IAC5C,IAAIC,EAAQD,EAAME,IAClB,OAAS,CACL,GAAkB,IAAdF,EAAMG,KAA6B,CACnCH,EAAMI,UACN,KACH,CACI,GAAkB,KAAdJ,EAAMG,MAAgD,KAAjBH,EAAMK,KAAK,IAA6BL,EAAMG,KAAO,EAC/F,MAEJH,EAAMI,SACT,CACGJ,EAAME,IAAMD,GACZD,EAAMM,YAnBD,EAmBkB,IAE/B,SAASC,EAAYC,EAAOC,EAAOC,GAC/B,OAAO,IAAIX,GAAkBC,IACzB,IAAIC,EAAQD,EAAME,IAClB,KAAOF,EAAMG,MAAQK,GAASR,EAAMG,MAAQ,IACvCO,GAAwB,IAAdV,EAAMG,OAAgD,KAAdH,EAAMG,MAAgD,KAAjBH,EAAMK,KAAK,MACnGL,EAAMI,UACNJ,EAAME,IAAMD,GACZD,EAAMM,YAAYG,EAAM,GAEpC,CACA,MAAME,EAA0BJ,EAAY,GA9BjB,IA8BkE,GACvFK,EAA0BL,EAAY,GA9BjB,IA8BkE,GACvFM,EAAgCN,EAAY,GA9BjB,IA8BwE,GACnGO,EAAgCP,EAAY,GA9BjB,IA8BwE,GAGnGQ,EAAsBC,EAASC,YAAY,CAC/CC,QAAS,GACTC,OAAQ,ylBACRC,UAAW,oRACXC,KAAM,8IACNC,UAAW,wSACXC,QAAS,GACTC,UAAW,CACT,CAAC,WAAY,EAAE,KAAK,GAAG,KACvB,CAAC,WAAY,EAAE,KAAK,GAAG,KACvB,CAAC,WAAY,EAAE,EAAE,GAAG,GAAG,GAAG,KAE5BC,aAAc,CAAC,GACfC,gBAAiB,EACjBC,UAAW,syCACXC,WAAY,CAAC9B,EAAMa,EAAYC,EAAYC,EAAkBC,EAAkB,EAAG,GAClFe,SAAU,CAACC,QAAU,CAAC,EAAE,GAAGC,UAAY,CAAC,EAAE,IAC1CC,UAAW,IAGPC,EAA0BC,EAAmBnB,OAAOoB,UAAU,CAChEC,IAAK,qBAEHC,EAA0BtB,EAAOoB,UAAU,CAC7CG,MAAO,CACUC,EAAU,CACnBC,KAAMC,EAAKC,QACXC,GAAIF,EAAKG,mBACTC,cAAeJ,EAAKK,cACpB,kEAAmEL,EAAKM,eACxEC,OAAQP,EAAKQ,UACbC,cAAeT,EAAKU,QACpB,gCAAiCV,EAAKK,cACtC,uBAAqCL,EAAKW,QAAQX,EAAKK,eACvD,2BAA4BL,EAAKY,aACjC,2BAA4BZ,EAAKa,QACjC,QAASb,EAAKc,MACd,MAAOd,EAAKe,MACZ,MAAOf,EAAKgB,QACZ,QAAShB,EAAKiB,iBAIpBC,EAAY,CAAE5C,OAAQkB,GAAc2B,EAAiB,CAAE7C,OAAQmB,EAAmBnB,QAalF8C,EAAY,CAAE9C,OAZYsB,EAAWF,UAAU,CACjD2B,KAAmBC,GAAW,CAACC,EAAMhE,IAAuB,wBAAbgE,EAAKC,KAAiCN,EAAY,UAW3DO,EAAY,CAAEnD,OATxBsB,EAAWF,UAAU,CACjD2B,KAAmBC,GAAW,CAACC,EAAMhE,KACjC,IAAImE,EACJ,MAAoB,wBAAbH,EAAKC,KAAiCN,EAC1B,0BAAbK,EAAKC,KAAmC,KACsC,4BAA7C,QAA3BE,EAAKH,EAAKA,KAAKI,cAA2B,IAAPD,OAAgB,EAASA,EAAGF,MAAqCL,EAAiBD,CAAS,IAE9IvB,IAAK,eAGHiC,EAAwBC,IAC9B,SAASC,EAAUC,GACf,OAAOA,EAASrC,UAAU,CAAE2B,KAAMC,EAAWU,IAAe,UAChE,CAIK,MAACC,EAA+BH,EAAUF,EAASG,UACxD,SAASC,EAAWT,EAAMhE,GACtB,OAAQgE,EAAKC,MACT,IAAK,YACD,MAAO,gBAAgBU,KAAK3E,EAAM4E,KAAKZ,EAAKa,KAAMb,EAAKc,KAAOZ,EAAY,KAC9E,IAAK,OACD,OAAOL,EAEf,OAAO,IACX,CAIA,SAASkB,EAAQC,EAAS,IACtB,IAAIC,EAAOZ,EACX,GAAIW,EAAOC,KAAM,CACb,GAAiC,QAA7BD,EAAOC,KAAKT,SAASP,QAAoBe,EAAOC,KAAKT,oBAAoBU,GACzE,MAAM,IAAIC,WAAW,2DACzBF,EAAOD,EAAOC,IACjB,CACD,OAAO,IAAIG,EAAgBH,EAAKT,UAAYH,EAASG,SAAWE,EAAkBH,EAAUU,EAAKT,UAAW,CAACS,EAAKI,QAASJ,EAAKT,SAASc,KAAKC,GAAG,CACzIC,cAAe,CAAEC,SAAU,CAAC,IAAK,IAAK,MACtCC,cAAe,iBAE3B"}