chrome-devtools-frontend 1.0.1367881 → 1.0.1380117

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 (1391) hide show
  1. package/.vscode/extensions.json +4 -4
  2. package/config/gni/devtools_grd_files.gni +45 -15
  3. package/config/gni/devtools_image_files.gni +5 -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/animation.svg +3 -0
  24. package/front_end/Images/src/brush-2.svg +3 -0
  25. package/front_end/Images/src/center-focus-weak.svg +1 -0
  26. package/front_end/Images/src/history.svg +3 -0
  27. package/front_end/Images/src/home.svg +1 -0
  28. package/front_end/core/common/Color.ts +10 -0
  29. package/front_end/core/common/ResourceType.test.ts +26 -26
  30. package/front_end/core/common/ResourceType.ts +21 -12
  31. package/front_end/core/common/Revealer.ts +5 -0
  32. package/front_end/core/common/SettingRegistration.ts +1 -1
  33. package/front_end/core/common/Settings.ts +5 -1
  34. package/front_end/core/host/AidaClient.ts +59 -0
  35. package/front_end/core/host/InspectorFrontendHost.ts +5 -1
  36. package/front_end/core/host/InspectorFrontendHostAPI.ts +8 -1
  37. package/front_end/core/host/UserMetrics.ts +16 -13
  38. package/front_end/core/i18n/ByteUtilities.test.ts +34 -0
  39. package/front_end/core/i18n/ByteUtilities.ts +65 -0
  40. package/front_end/core/i18n/NumberFormatter.ts +75 -0
  41. package/front_end/core/i18n/i18n.ts +4 -0
  42. package/front_end/core/i18n/locales/af.json +598 -109
  43. package/front_end/core/i18n/locales/am.json +607 -118
  44. package/front_end/core/i18n/locales/ar.json +888 -399
  45. package/front_end/core/i18n/locales/as.json +603 -114
  46. package/front_end/core/i18n/locales/az.json +606 -117
  47. package/front_end/core/i18n/locales/be.json +599 -110
  48. package/front_end/core/i18n/locales/bg.json +598 -109
  49. package/front_end/core/i18n/locales/bn.json +609 -120
  50. package/front_end/core/i18n/locales/bs.json +607 -118
  51. package/front_end/core/i18n/locales/ca.json +601 -112
  52. package/front_end/core/i18n/locales/cs.json +605 -116
  53. package/front_end/core/i18n/locales/cy.json +603 -114
  54. package/front_end/core/i18n/locales/da.json +599 -110
  55. package/front_end/core/i18n/locales/de.json +604 -115
  56. package/front_end/core/i18n/locales/el.json +596 -107
  57. package/front_end/core/i18n/locales/en-GB.json +599 -110
  58. package/front_end/core/i18n/locales/es-419.json +600 -111
  59. package/front_end/core/i18n/locales/es.json +602 -113
  60. package/front_end/core/i18n/locales/et.json +601 -112
  61. package/front_end/core/i18n/locales/eu.json +605 -116
  62. package/front_end/core/i18n/locales/fa.json +609 -120
  63. package/front_end/core/i18n/locales/fi.json +598 -109
  64. package/front_end/core/i18n/locales/fil.json +605 -116
  65. package/front_end/core/i18n/locales/fr-CA.json +602 -113
  66. package/front_end/core/i18n/locales/fr.json +600 -111
  67. package/front_end/core/i18n/locales/gl.json +595 -106
  68. package/front_end/core/i18n/locales/gu.json +605 -116
  69. package/front_end/core/i18n/locales/he.json +603 -114
  70. package/front_end/core/i18n/locales/hi.json +600 -111
  71. package/front_end/core/i18n/locales/hr.json +600 -111
  72. package/front_end/core/i18n/locales/hu.json +600 -111
  73. package/front_end/core/i18n/locales/hy.json +599 -110
  74. package/front_end/core/i18n/locales/id.json +603 -114
  75. package/front_end/core/i18n/locales/is.json +598 -109
  76. package/front_end/core/i18n/locales/it.json +602 -113
  77. package/front_end/core/i18n/locales/ja.json +596 -107
  78. package/front_end/core/i18n/locales/ka.json +597 -108
  79. package/front_end/core/i18n/locales/kk.json +884 -395
  80. package/front_end/core/i18n/locales/km.json +605 -116
  81. package/front_end/core/i18n/locales/kn.json +606 -117
  82. package/front_end/core/i18n/locales/ko.json +591 -102
  83. package/front_end/core/i18n/locales/ky.json +599 -110
  84. package/front_end/core/i18n/locales/lo.json +608 -119
  85. package/front_end/core/i18n/locales/lt.json +597 -108
  86. package/front_end/core/i18n/locales/lv.json +606 -117
  87. package/front_end/core/i18n/locales/mk.json +885 -396
  88. package/front_end/core/i18n/locales/ml.json +601 -112
  89. package/front_end/core/i18n/locales/mn.json +599 -110
  90. package/front_end/core/i18n/locales/mr.json +601 -112
  91. package/front_end/core/i18n/locales/ms.json +602 -113
  92. package/front_end/core/i18n/locales/my.json +604 -115
  93. package/front_end/core/i18n/locales/ne.json +609 -120
  94. package/front_end/core/i18n/locales/nl.json +597 -108
  95. package/front_end/core/i18n/locales/no.json +601 -112
  96. package/front_end/core/i18n/locales/or.json +601 -112
  97. package/front_end/core/i18n/locales/pa.json +600 -111
  98. package/front_end/core/i18n/locales/pl.json +601 -112
  99. package/front_end/core/i18n/locales/pt-PT.json +600 -111
  100. package/front_end/core/i18n/locales/pt.json +596 -107
  101. package/front_end/core/i18n/locales/ro.json +601 -112
  102. package/front_end/core/i18n/locales/ru.json +609 -120
  103. package/front_end/core/i18n/locales/si.json +603 -114
  104. package/front_end/core/i18n/locales/sk.json +599 -110
  105. package/front_end/core/i18n/locales/sl.json +601 -112
  106. package/front_end/core/i18n/locales/sq.json +602 -113
  107. package/front_end/core/i18n/locales/sr-Latn.json +598 -109
  108. package/front_end/core/i18n/locales/sr.json +598 -109
  109. package/front_end/core/i18n/locales/sv.json +600 -111
  110. package/front_end/core/i18n/locales/sw.json +606 -117
  111. package/front_end/core/i18n/locales/ta.json +892 -403
  112. package/front_end/core/i18n/locales/te.json +604 -115
  113. package/front_end/core/i18n/locales/th.json +597 -108
  114. package/front_end/core/i18n/locales/tr.json +601 -112
  115. package/front_end/core/i18n/locales/uk.json +598 -109
  116. package/front_end/core/i18n/locales/ur.json +604 -115
  117. package/front_end/core/i18n/locales/uz.json +599 -110
  118. package/front_end/core/i18n/locales/vi.json +602 -113
  119. package/front_end/core/i18n/locales/zh-HK.json +599 -110
  120. package/front_end/core/i18n/locales/zh-TW.json +595 -106
  121. package/front_end/core/i18n/locales/zh.json +601 -112
  122. package/front_end/core/i18n/locales/zu.json +607 -118
  123. package/front_end/core/i18n/time-utilities.test.ts +20 -2
  124. package/front_end/core/i18n/time-utilities.ts +125 -86
  125. package/front_end/core/platform/NumberUtilities.test.ts +3 -26
  126. package/front_end/core/platform/NumberUtilities.ts +0 -20
  127. package/front_end/core/root/Runtime.ts +18 -7
  128. package/front_end/{panels/animation → core/sdk}/AnimationModel.test.ts +85 -6
  129. package/front_end/{panels/animation → core/sdk}/AnimationModel.ts +302 -36
  130. package/front_end/core/sdk/CPUThrottlingManager.ts +4 -0
  131. package/front_end/core/sdk/CSSContainerQuery.test.ts +10 -16
  132. package/front_end/core/sdk/CSSContainerQuery.ts +7 -17
  133. package/front_end/core/sdk/CSSMatchedStyles.test.ts +8 -0
  134. package/front_end/core/sdk/CSSMatchedStyles.ts +16 -13
  135. package/front_end/core/sdk/CSSMetadata.ts +6 -0
  136. package/front_end/core/sdk/CSSModel.ts +18 -0
  137. package/front_end/core/sdk/CSSPropertyParser.test.ts +16 -1
  138. package/front_end/core/sdk/CSSPropertyParser.ts +2 -2
  139. package/front_end/core/sdk/CSSStyleDeclaration.test.ts +10 -0
  140. package/front_end/core/sdk/CSSStyleDeclaration.ts +1 -1
  141. package/front_end/core/sdk/DOMModel.ts +3 -3
  142. package/front_end/core/sdk/DebuggerModel.test.ts +2 -0
  143. package/front_end/core/sdk/EmulationModel.ts +32 -0
  144. package/front_end/core/sdk/EnhancedTracesParser.test.ts +4 -4
  145. package/front_end/core/sdk/EnhancedTracesParser.ts +4 -5
  146. package/front_end/core/sdk/RehydratingConnection.test.ts +190 -0
  147. package/front_end/core/sdk/RehydratingConnection.ts +310 -0
  148. package/front_end/core/sdk/RehydratingObject.ts +26 -2
  149. package/front_end/core/sdk/RuntimeModel.ts +31 -0
  150. package/front_end/core/sdk/Script.ts +1 -1
  151. package/front_end/core/sdk/TraceObject.ts +8 -0
  152. package/front_end/core/sdk/sdk-meta.ts +8 -0
  153. package/front_end/core/sdk/sdk.ts +2 -0
  154. package/front_end/devtools_compatibility.js +0 -1
  155. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +96 -75
  156. package/front_end/entrypoints/main/MainImpl.ts +10 -0
  157. package/front_end/generated/ARIAProperties.js +4 -0
  158. package/front_end/generated/InspectorBackendCommands.js +17 -14
  159. package/front_end/generated/SupportedCSSProperties.js +32 -5
  160. package/front_end/generated/protocol-mapping.d.ts +19 -4
  161. package/front_end/generated/protocol-proxy-api.d.ts +18 -4
  162. package/front_end/generated/protocol.ts +57 -4
  163. package/front_end/legacy_test_runner/network_test_runner/network_test_runner.js +1 -0
  164. package/front_end/models/extensions/ExtensionAPI.ts +9 -1
  165. package/front_end/models/har/HARFormat.ts +1 -0
  166. package/front_end/models/har/Importer.test.ts +16 -2
  167. package/front_end/models/har/Importer.ts +2 -2
  168. package/front_end/models/har/Log.test.ts +23 -0
  169. package/front_end/models/har/Log.ts +6 -4
  170. package/front_end/models/heap_snapshot_model/HeapSnapshotModel.ts +6 -2
  171. package/front_end/models/issues_manager/AttributionReportingIssue.ts +58 -18
  172. package/front_end/models/issues_manager/CookieIssue.ts +12 -0
  173. package/front_end/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
  174. package/front_end/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
  175. package/front_end/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
  176. package/front_end/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
  177. package/front_end/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
  178. package/front_end/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
  179. package/front_end/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
  180. package/front_end/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
  181. package/front_end/models/javascript_metadata/NativeFunctions.js +77 -39
  182. package/front_end/models/live-metrics/LiveMetrics.ts +116 -19
  183. package/front_end/models/live-metrics/web-vitals-injected/OnEachInteraction.ts +24 -61
  184. package/front_end/models/live-metrics/web-vitals-injected/{rollup.config.js → rollup.config.mjs} +1 -1
  185. package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +49 -21
  186. package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +43 -5
  187. package/front_end/models/persistence/EditFileSystemView.ts +19 -9
  188. package/front_end/models/persistence/WorkspaceSettingsTab.ts +50 -54
  189. package/front_end/models/persistence/editFileSystemView.css +35 -15
  190. package/front_end/models/persistence/workspaceSettingsTab.css +21 -87
  191. package/front_end/models/timeline_model/timeline_model.ts +0 -6
  192. package/front_end/models/trace/Processor.test.ts +18 -17
  193. package/front_end/models/trace/Processor.ts +15 -15
  194. package/front_end/models/trace/README.md +0 -1
  195. package/front_end/models/trace/extras/ThirdParties.test.ts +117 -0
  196. package/front_end/models/trace/{insights/ThirdPartyWeb.ts → extras/ThirdParties.ts} +41 -73
  197. package/front_end/models/{timeline_model → trace/extras}/TimelineJSProfile.ts +19 -29
  198. package/front_end/models/{timeline_model/TimelineModelFilter.test.ts → trace/extras/TraceFilter.test.ts} +15 -17
  199. package/front_end/models/trace/extras/TraceFilter.ts +62 -0
  200. package/front_end/models/{timeline_model/TimelineProfileTree.test.ts → trace/extras/TraceTree.test.ts} +44 -43
  201. package/front_end/models/{timeline_model/TimelineProfileTree.ts → trace/extras/TraceTree.ts} +65 -59
  202. package/front_end/models/trace/extras/extras.ts +4 -0
  203. package/front_end/models/trace/handlers/AnimationHandler.ts +0 -8
  204. package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +1 -11
  205. package/front_end/models/trace/handlers/FramesHandler.test.ts +1 -6
  206. package/front_end/models/trace/handlers/FramesHandler.ts +13 -19
  207. package/front_end/models/trace/handlers/GPUHandler.test.ts +0 -2
  208. package/front_end/models/trace/handlers/GPUHandler.ts +1 -25
  209. package/front_end/models/trace/handlers/ImagePaintingHandler.ts +3 -0
  210. package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +40 -1
  211. package/front_end/models/trace/handlers/InitiatorsHandler.ts +9 -20
  212. package/front_end/models/trace/handlers/InvalidationsHandler.test.ts +0 -1
  213. package/front_end/models/trace/handlers/InvalidationsHandler.ts +0 -18
  214. package/front_end/models/trace/handlers/LargestImagePaintHandler.test.ts +2 -2
  215. package/front_end/models/trace/handlers/LargestImagePaintHandler.ts +63 -3
  216. package/front_end/models/trace/handlers/LargestTextPaintHandler.ts +3 -0
  217. package/front_end/models/trace/handlers/LayerTreeHandler.test.ts +0 -2
  218. package/front_end/models/trace/handlers/LayerTreeHandler.ts +1 -18
  219. package/front_end/models/trace/handlers/LayoutShiftsHandler.test.ts +0 -3
  220. package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +18 -20
  221. package/front_end/models/trace/handlers/MemoryHandler.test.ts +0 -1
  222. package/front_end/models/trace/handlers/MemoryHandler.ts +3 -0
  223. package/front_end/models/trace/handlers/MetaHandler.test.ts +1 -32
  224. package/front_end/models/trace/handlers/MetaHandler.ts +2 -30
  225. package/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts +0 -26
  226. package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +6 -25
  227. package/front_end/models/trace/handlers/PageFramesHandler.ts +3 -0
  228. package/front_end/models/trace/handlers/RendererHandler.test.ts +4 -8
  229. package/front_end/models/trace/handlers/RendererHandler.ts +1 -24
  230. package/front_end/models/trace/handlers/SamplesHandler.test.ts +0 -5
  231. package/front_end/models/trace/handlers/SamplesHandler.ts +0 -26
  232. package/front_end/models/trace/handlers/ScreenshotsHandler.test.ts +0 -1
  233. package/front_end/models/trace/handlers/SelectorStatsHandler.ts +3 -0
  234. package/front_end/models/trace/handlers/ServerTimingsHandler.ts +1 -16
  235. package/front_end/models/trace/handlers/Threads.test.ts +1 -2
  236. package/front_end/models/trace/handlers/UserInteractionsHandler.test.ts +4 -27
  237. package/front_end/models/trace/handlers/UserInteractionsHandler.ts +16 -25
  238. package/front_end/models/trace/handlers/UserTimingsHandler.ts +0 -17
  239. package/front_end/models/trace/handlers/WorkersHandler.test.ts +0 -1
  240. package/front_end/models/trace/handlers/WorkersHandler.ts +0 -23
  241. package/front_end/models/trace/handlers/types.ts +1 -8
  242. package/front_end/models/trace/helpers/Timing.test.ts +29 -0
  243. package/front_end/models/trace/helpers/Timing.ts +18 -0
  244. package/front_end/models/trace/helpers/TreeHelpers.test.ts +52 -34
  245. package/front_end/models/trace/helpers/TreeHelpers.ts +135 -45
  246. package/front_end/models/trace/insights/{CumulativeLayoutShift.test.ts → CLSCulprits.test.ts} +42 -20
  247. package/front_end/models/trace/insights/{CumulativeLayoutShift.ts → CLSCulprits.ts} +86 -25
  248. package/front_end/models/trace/insights/Common.ts +5 -55
  249. package/front_end/models/trace/insights/DocumentLatency.test.ts +2 -2
  250. package/front_end/models/trace/insights/DocumentLatency.ts +26 -6
  251. package/front_end/models/trace/insights/FontDisplay.ts +24 -5
  252. package/front_end/models/trace/insights/InteractionToNextPaint.test.ts +1 -1
  253. package/front_end/models/trace/insights/InteractionToNextPaint.ts +26 -6
  254. package/front_end/models/trace/insights/LCPDiscovery.test.ts +58 -0
  255. package/front_end/models/trace/insights/LCPDiscovery.ts +101 -0
  256. package/front_end/models/trace/insights/{LargestContentfulPaint.test.ts → LCPPhases.test.ts} +6 -28
  257. package/front_end/models/trace/insights/{LargestContentfulPaint.ts → LCPPhases.ts} +37 -38
  258. package/front_end/models/trace/insights/{InsightRunners.ts → Models.ts} +4 -3
  259. package/front_end/models/trace/insights/RenderBlocking.test.ts +1 -1
  260. package/front_end/models/trace/insights/RenderBlocking.ts +33 -28
  261. package/front_end/models/trace/insights/SlowCSSSelector.ts +26 -5
  262. package/front_end/models/trace/insights/{ThirdPartyWeb.test.ts → ThirdParties.test.ts} +3 -3
  263. package/front_end/models/trace/insights/ThirdParties.ts +88 -0
  264. package/front_end/models/trace/insights/Viewport.test.ts +1 -1
  265. package/front_end/models/trace/insights/Viewport.ts +27 -9
  266. package/front_end/models/trace/insights/insights.ts +1 -1
  267. package/front_end/models/trace/insights/types.ts +11 -9
  268. package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +4 -4
  269. package/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +9 -5
  270. package/front_end/models/trace/lantern/simulation/Simulator.ts +1 -1
  271. package/front_end/models/trace/lantern/testing/MetricTestUtils.ts +4 -0
  272. package/front_end/models/trace/types/TraceEvents.ts +119 -24
  273. package/front_end/panels/accessibility/AccessibilitySidebarView.ts +1 -1
  274. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +3 -3
  275. package/front_end/panels/animation/AnimationTimeline.test.ts +15 -15
  276. package/front_end/panels/animation/AnimationTimeline.ts +85 -53
  277. package/front_end/panels/animation/AnimationUI.ts +5 -6
  278. package/front_end/panels/animation/animation-meta.ts +15 -0
  279. package/front_end/panels/animation/animation.ts +0 -4
  280. package/front_end/panels/application/ApplicationPanelSidebar.test.ts +16 -0
  281. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -9
  282. package/front_end/panels/application/ExtensionStorageItemsView.test.ts +72 -0
  283. package/front_end/panels/application/ExtensionStorageItemsView.ts +23 -1
  284. package/front_end/panels/application/ExtensionStorageModel.test.ts +15 -0
  285. package/front_end/panels/application/ExtensionStorageModel.ts +10 -1
  286. package/front_end/panels/application/OpenedWindowDetailsView.ts +2 -3
  287. package/front_end/panels/application/SharedStorageItemsView.test.ts +4 -23
  288. package/front_end/panels/application/SharedStorageItemsView.ts +5 -3
  289. package/front_end/panels/application/StorageView.ts +3 -3
  290. package/front_end/panels/application/components/BackForwardCacheStrings.ts +1 -0
  291. package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +3 -7
  292. package/front_end/panels/application/components/EndpointsGrid.ts +1 -2
  293. package/front_end/panels/application/components/FrameDetailsView.ts +8 -8
  294. package/front_end/panels/application/components/InterestGroupAccessGrid.ts +4 -8
  295. package/front_end/panels/application/components/PermissionsPolicySection.ts +3 -4
  296. package/front_end/panels/application/components/ReportsGrid.ts +2 -4
  297. package/front_end/panels/application/components/SharedStorageAccessGrid.ts +4 -9
  298. package/front_end/panels/application/components/StackTrace.ts +6 -9
  299. package/front_end/panels/application/components/StorageMetadataView.ts +2 -4
  300. package/front_end/panels/application/components/TrustTokensView.ts +1 -2
  301. package/front_end/panels/application/preloading/PreloadingView.ts +5 -5
  302. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.test.ts +2 -2
  303. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +3 -9
  304. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -5
  305. package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +2 -2
  306. package/front_end/panels/application/preloading/components/PreloadingGrid.test.ts +1 -1
  307. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +3 -6
  308. package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.ts +1 -3
  309. package/front_end/panels/application/preloading/components/PreloadingString.ts +5 -0
  310. package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -3
  311. package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -10
  312. package/front_end/panels/autofill/AutofillView.ts +2 -5
  313. package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +34 -31
  314. package/front_end/panels/console/ConsoleView.ts +1 -1
  315. package/front_end/panels/coverage/CoverageView.ts +3 -3
  316. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +3 -5
  317. package/front_end/panels/elements/AccessibilityTreeUtils.ts +4 -6
  318. package/front_end/panels/elements/CSSRuleValidator.ts +0 -5
  319. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +0 -2
  320. package/front_end/panels/elements/ComputedStyleModel.ts +9 -2
  321. package/front_end/panels/elements/ComputedStyleWidget.test.ts +72 -0
  322. package/front_end/panels/elements/ComputedStyleWidget.ts +12 -0
  323. package/front_end/panels/elements/ElementStatePaneWidget.test.ts +84 -30
  324. package/front_end/panels/elements/ElementStatePaneWidget.ts +47 -24
  325. package/front_end/panels/elements/ElementsPanel.ts +4 -4
  326. package/front_end/panels/elements/ElementsTreeElement.ts +25 -12
  327. package/front_end/panels/elements/MetricsSidebarPane.ts +12 -7
  328. package/front_end/panels/elements/PropertyMatchers.ts +3 -0
  329. package/front_end/panels/elements/StylePropertiesSection.ts +15 -6
  330. package/front_end/panels/elements/StylePropertyTreeElement.test.ts +92 -0
  331. package/front_end/panels/elements/StylePropertyTreeElement.ts +36 -4
  332. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +3 -5
  333. package/front_end/panels/elements/components/LayoutPane.ts +2 -3
  334. package/front_end/panels/elements/components/QueryContainer.ts +3 -5
  335. package/front_end/panels/elements/stylePropertiesTreeOutline.css +13 -0
  336. package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +0 -2
  337. package/front_end/panels/event_listeners/EventListenersView.ts +2 -2
  338. package/front_end/panels/event_listeners/eventListenersView.css +4 -3
  339. package/front_end/panels/explain/components/ConsoleInsight.test.ts +56 -8
  340. package/front_end/panels/explain/components/ConsoleInsight.ts +61 -54
  341. package/front_end/panels/explain/explain-meta.ts +1 -12
  342. package/front_end/panels/freestyler/AiAgent.test.ts +149 -12
  343. package/front_end/panels/freestyler/AiAgent.ts +394 -54
  344. package/front_end/panels/freestyler/DrJonesFileAgent.test.ts +160 -57
  345. package/front_end/panels/freestyler/DrJonesFileAgent.ts +117 -88
  346. package/front_end/panels/freestyler/DrJonesNetworkAgent.test.ts +143 -72
  347. package/front_end/panels/freestyler/DrJonesNetworkAgent.ts +242 -119
  348. package/front_end/panels/freestyler/DrJonesPerformanceAgent.test.ts +104 -58
  349. package/front_end/panels/freestyler/DrJonesPerformanceAgent.ts +158 -114
  350. package/front_end/panels/freestyler/FreestylerAgent.test.ts +109 -100
  351. package/front_end/panels/freestyler/FreestylerAgent.ts +114 -188
  352. package/front_end/panels/freestyler/FreestylerEvaluateAction.test.ts +40 -36
  353. package/front_end/panels/freestyler/FreestylerEvaluateAction.ts +15 -14
  354. package/front_end/panels/freestyler/FreestylerPanel.test.ts +1048 -15
  355. package/front_end/panels/freestyler/FreestylerPanel.ts +576 -189
  356. package/front_end/panels/freestyler/components/FreestylerChatUi.test.ts +131 -9
  357. package/front_end/panels/freestyler/components/FreestylerChatUi.ts +415 -269
  358. package/front_end/panels/freestyler/components/UserActionRow.test.ts +60 -0
  359. package/front_end/panels/freestyler/components/UserActionRow.ts +382 -0
  360. package/front_end/panels/freestyler/components/freestylerChatUi.css +137 -99
  361. package/front_end/panels/freestyler/components/{provideFeedback.css → userActionRow.css} +62 -0
  362. package/front_end/panels/freestyler/freestyler-meta.ts +44 -25
  363. package/front_end/panels/freestyler/freestyler.ts +1 -1
  364. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +14 -0
  365. package/front_end/panels/issues/IssueAggregator.ts +10 -1
  366. package/front_end/panels/issues/components/ElementsPanelLink.ts +0 -1
  367. package/front_end/panels/issues/components/HideIssuesMenu.ts +2 -3
  368. package/front_end/panels/layer_viewer/LayerDetailsView.ts +1 -2
  369. package/front_end/panels/layer_viewer/PaintProfilerView.ts +5 -5
  370. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +46 -0
  371. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -1
  372. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +2 -2
  373. package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +1 -2
  374. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +7 -12
  375. package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +3 -4
  376. package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +1 -2
  377. package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +26 -17
  378. package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +25 -19
  379. package/front_end/panels/network/BinaryResourceView.ts +9 -9
  380. package/front_end/panels/network/EventSourceMessagesView.ts +1 -1
  381. package/front_end/panels/network/NetworkDataGridNode.test.ts +29 -0
  382. package/front_end/panels/network/NetworkDataGridNode.ts +59 -8
  383. package/front_end/panels/network/NetworkLogView.test.ts +29 -0
  384. package/front_end/panels/network/NetworkLogView.ts +9 -10
  385. package/front_end/panels/network/NetworkPanel.test.ts +3 -22
  386. package/front_end/panels/network/NetworkPanel.ts +26 -7
  387. package/front_end/panels/network/NetworkWaterfallColumn.ts +2 -0
  388. package/front_end/panels/network/RequestResponseView.test.ts +2 -2
  389. package/front_end/panels/network/RequestResponseView.ts +6 -10
  390. package/front_end/panels/network/RequestTimingView.test.ts +35 -1
  391. package/front_end/panels/network/RequestTimingView.ts +96 -0
  392. package/front_end/panels/network/ResourceWebSocketFrameView.ts +5 -3
  393. package/front_end/panels/network/components/HeaderSectionRow.ts +11 -12
  394. package/front_end/panels/network/components/RequestHeaderSection.ts +4 -9
  395. package/front_end/panels/network/components/RequestHeadersView.css +7 -0
  396. package/front_end/panels/network/components/RequestTrustTokensView.ts +1 -1
  397. package/front_end/panels/network/network.ts +0 -2
  398. package/front_end/panels/network/networkConfigView.css +8 -7
  399. package/front_end/panels/network/networkLogView.css +32 -2
  400. package/front_end/panels/network/networkPanel.css +2 -1
  401. package/front_end/panels/network/networkTimingTable.css +2 -1
  402. package/front_end/panels/performance_monitor/PerformanceMonitor.ts +1 -1
  403. package/front_end/panels/profiler/HeapProfileView.ts +3 -3
  404. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +11 -10
  405. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +12 -8
  406. package/front_end/panels/profiler/HeapSnapshotProxy.ts +6 -6
  407. package/front_end/panels/profiler/HeapSnapshotView.ts +2 -2
  408. package/front_end/panels/profiler/HeapTimelineOverview.ts +12 -12
  409. package/front_end/panels/profiler/IsolateSelector.ts +3 -4
  410. package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +1 -1
  411. package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +7 -6
  412. package/front_end/panels/profiler/ProfileView.ts +1 -1
  413. package/front_end/panels/protocol_monitor/components/JSONEditor.ts +5 -5
  414. package/front_end/panels/recorder/components/RecordingView.ts +2 -2
  415. package/front_end/panels/recorder/components/StartView.ts +4 -5
  416. package/front_end/panels/recorder/components/recordingView.css +1 -4
  417. package/front_end/panels/recorder/components/selectButton.css +6 -50
  418. package/front_end/panels/recorder/injected/{rollup.config.js → rollup.config.mjs} +1 -1
  419. package/front_end/panels/recorder/models/RecorderShortcutHelper.ts +1 -1
  420. package/front_end/panels/recorder/models/RecordingSession.ts +4 -4
  421. package/front_end/panels/recorder/recorderController.css +38 -22
  422. package/front_end/panels/screencast/ScreencastApp.ts +1 -1
  423. package/front_end/panels/screencast/ScreencastView.ts +1 -1
  424. package/front_end/panels/search/SearchView.ts +0 -2
  425. package/front_end/panels/search/searchView.css +5 -1
  426. package/front_end/panels/security/CookieReportTreeElement.ts +18 -0
  427. package/front_end/panels/security/CookieReportView.ts +120 -0
  428. package/front_end/panels/security/OriginTreeElement.ts +20 -7
  429. package/front_end/panels/security/SecurityPanel.ts +71 -16
  430. package/front_end/panels/security/{SecurityAndPrivacyPanelSidebar.ts → SecurityPanelSidebar.ts} +24 -13
  431. package/front_end/panels/security/SecurityPanelSidebarTreeElement.ts +1 -12
  432. package/front_end/panels/security/cookieReportView.css +46 -0
  433. package/front_end/panels/security/sidebar.css +39 -1
  434. package/front_end/panels/sensors/LocationsSettingsTab.ts +26 -11
  435. package/front_end/panels/sensors/SensorsView.ts +27 -0
  436. package/front_end/panels/sensors/locationsSettingsTab.css +18 -18
  437. package/front_end/panels/sensors/sensors-meta.ts +59 -0
  438. package/front_end/panels/settings/AISettingsTab.test.ts +79 -11
  439. package/front_end/panels/settings/AISettingsTab.ts +107 -29
  440. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +44 -30
  441. package/front_end/panels/settings/KeybindsSettingsTab.ts +35 -18
  442. package/front_end/panels/settings/SettingsScreen.ts +62 -57
  443. package/front_end/panels/settings/aiSettingsTab.css +16 -14
  444. package/front_end/panels/settings/components/SyncSection.ts +2 -5
  445. package/front_end/panels/settings/components/syncSection.css +0 -10
  446. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +51 -29
  447. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +24 -12
  448. package/front_end/panels/settings/emulation/devicesSettingsTab.css +11 -10
  449. package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +16 -42
  450. package/front_end/panels/settings/keybindsSettingsTab.css +50 -91
  451. package/front_end/panels/settings/settingsScreen.css +39 -113
  452. package/front_end/panels/sources/AddSourceMapURLDialog.ts +1 -1
  453. package/front_end/panels/sources/CSSPlugin.ts +0 -2
  454. package/front_end/panels/sources/DebuggerPlugin.ts +9 -4
  455. package/front_end/panels/sources/NavigatorView.ts +42 -36
  456. package/front_end/panels/sources/SourcesPanel.ts +25 -6
  457. package/front_end/panels/sources/SourcesView.test.ts +1 -0
  458. package/front_end/panels/sources/SourcesView.ts +2 -2
  459. package/front_end/panels/sources/components/BreakpointsView.ts +0 -1
  460. package/front_end/panels/sources/components/HeadersView.ts +0 -1
  461. package/front_end/panels/sources/navigatorTree.css +11 -0
  462. package/front_end/panels/timeline/ActiveFilters.ts +3 -4
  463. package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -2
  464. package/front_end/panels/timeline/AnnotationHelpers.ts +3 -3
  465. package/front_end/panels/timeline/AppenderUtils.ts +1 -3
  466. package/front_end/panels/timeline/CompatibilityTracksAppender.ts +21 -9
  467. package/front_end/panels/timeline/CountersGraph.ts +2 -4
  468. package/front_end/panels/timeline/EntriesFilter.test.ts +19 -36
  469. package/front_end/panels/timeline/EntriesFilter.ts +6 -4
  470. package/front_end/panels/timeline/EventsTimelineTreeView.ts +16 -17
  471. package/front_end/panels/timeline/InteractionsTrackAppender.ts +2 -1
  472. package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -6
  473. package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -8
  474. package/front_end/panels/timeline/README.md +2 -1
  475. package/front_end/panels/timeline/ThreadAppender.ts +5 -6
  476. package/front_end/panels/timeline/TimelineController.ts +14 -4
  477. package/front_end/panels/timeline/TimelineDetailsView.test.ts +85 -42
  478. package/front_end/panels/timeline/TimelineDetailsView.ts +71 -42
  479. package/front_end/panels/timeline/TimelineEventOverview.ts +13 -14
  480. package/front_end/panels/timeline/TimelineFilters.test.ts +4 -4
  481. package/front_end/panels/timeline/TimelineFilters.ts +3 -4
  482. package/front_end/panels/timeline/TimelineFlameChartDataProvider.test.ts +1 -1
  483. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +59 -70
  484. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +16 -16
  485. package/front_end/panels/timeline/TimelineFlameChartView.test.ts +2 -3
  486. package/front_end/panels/timeline/TimelineFlameChartView.ts +123 -69
  487. package/front_end/panels/timeline/TimelineHistoryManager.ts +4 -0
  488. package/front_end/panels/timeline/TimelineLoader.test.ts +1 -2
  489. package/front_end/panels/timeline/TimelineLoader.ts +3 -4
  490. package/front_end/panels/timeline/TimelineMiniMap.ts +10 -8
  491. package/front_end/panels/timeline/TimelinePanel.ts +109 -52
  492. package/front_end/panels/timeline/TimelineSelection.test.ts +91 -36
  493. package/front_end/panels/timeline/TimelineSelection.ts +48 -60
  494. package/front_end/panels/timeline/TimelineSelectorStatsView.ts +3 -8
  495. package/front_end/panels/timeline/TimelineTreeView.test.ts +12 -13
  496. package/front_end/panels/timeline/TimelineTreeView.ts +42 -45
  497. package/front_end/panels/timeline/TimelineUIUtils.test.ts +53 -6
  498. package/front_end/panels/timeline/TimelineUIUtils.ts +48 -40
  499. package/front_end/panels/timeline/UIDevtoolsController.ts +5 -5
  500. package/front_end/panels/timeline/UIDevtoolsUtils.ts +59 -68
  501. package/front_end/panels/timeline/components/BreadcrumbsUI.ts +2 -3
  502. package/front_end/panels/timeline/components/LayoutShiftDetails.ts +31 -15
  503. package/front_end/panels/timeline/components/LiveMetricsView.test.ts +227 -65
  504. package/front_end/panels/timeline/components/LiveMetricsView.ts +144 -122
  505. package/front_end/panels/timeline/components/MetricCard.test.ts +1 -1
  506. package/front_end/panels/timeline/components/MetricCard.ts +46 -0
  507. package/front_end/panels/timeline/components/NetworkRequestDetails.test.ts +14 -7
  508. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +50 -121
  509. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +64 -74
  510. package/front_end/panels/timeline/components/Sidebar.ts +2 -1
  511. package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +11 -13
  512. package/front_end/panels/timeline/components/SidebarInsightsTab.ts +51 -2
  513. package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +3 -2
  514. package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +41 -36
  515. package/front_end/panels/timeline/components/Utils.ts +28 -29
  516. package/front_end/panels/timeline/components/components.ts +0 -4
  517. package/front_end/panels/timeline/components/insights/CLSCulprits.ts +29 -36
  518. package/front_end/panels/timeline/components/insights/DocumentLatency.ts +32 -39
  519. package/front_end/panels/timeline/components/insights/EventRef.ts +0 -1
  520. package/front_end/panels/timeline/components/insights/FontDisplay.ts +17 -23
  521. package/front_end/panels/timeline/components/insights/Helpers.ts +16 -20
  522. package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +17 -31
  523. package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +25 -37
  524. package/front_end/panels/timeline/components/insights/LCPPhases.ts +25 -46
  525. package/front_end/panels/timeline/components/insights/NodeLink.ts +0 -1
  526. package/front_end/panels/timeline/components/insights/README.md +2 -2
  527. package/front_end/panels/timeline/components/insights/RenderBlocking.ts +24 -35
  528. package/front_end/panels/timeline/components/insights/SidebarInsight.ts +15 -7
  529. package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +125 -60
  530. package/front_end/panels/timeline/components/insights/Table.ts +6 -6
  531. package/front_end/panels/timeline/components/insights/ThirdParties.ts +24 -34
  532. package/front_end/panels/timeline/components/insights/Viewport.ts +17 -30
  533. package/front_end/panels/timeline/components/layoutShiftDetails.css +7 -1
  534. package/front_end/panels/timeline/components/liveMetricsView.css +58 -25
  535. package/front_end/panels/timeline/components/metricCard.css +11 -0
  536. package/front_end/panels/timeline/components/networkRequestDetails.css +9 -49
  537. package/front_end/panels/timeline/components/networkRequestTooltip.css +34 -11
  538. package/front_end/panels/timeline/components/relatedInsightChips.css +1 -1
  539. package/front_end/panels/timeline/components/sidebarInsightsTab.css +20 -0
  540. package/front_end/panels/timeline/extensions/ExtensionUI.ts +7 -7
  541. package/front_end/panels/timeline/fixtures/traces/README.md +4 -0
  542. package/front_end/panels/timeline/fixtures/traces/scheduler-post-task.json.gz +0 -0
  543. package/front_end/panels/timeline/fixtures/traces/unsized-images.json.gz +0 -0
  544. package/front_end/panels/timeline/historyToolbarButton.css +33 -19
  545. package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +5 -21
  546. package/front_end/panels/timeline/overlays/OverlaysImpl.ts +61 -34
  547. package/front_end/panels/timeline/overlays/components/entriesLinkOverlay.css +8 -0
  548. package/front_end/panels/timeline/overlays/components/entryLabelOverlay.css +16 -0
  549. package/front_end/panels/timeline/timeline-meta.ts +11 -0
  550. package/front_end/panels/timeline/timelineFlameChartView.css +17 -1
  551. package/front_end/panels/timeline/track_appenders/AnimationsTrackAppender.test.ts +2 -3
  552. package/front_end/panels/timeline/track_appenders/AppenderUtils.test.ts +1 -6
  553. package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +1 -1
  554. package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +7 -8
  555. package/front_end/panels/timeline/track_appenders/GPUTrackAppender.test.ts +2 -2
  556. package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +3 -3
  557. package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +3 -4
  558. package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +2 -3
  559. package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +5 -10
  560. package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +5 -5
  561. package/front_end/panels/timeline/utils/AICallTree.test.ts +185 -0
  562. package/front_end/panels/timeline/utils/AICallTree.ts +166 -0
  563. package/front_end/panels/timeline/{components → utils}/EntryName.test.ts +12 -12
  564. package/front_end/panels/timeline/{components → utils}/EntryName.ts +1 -1
  565. package/front_end/panels/timeline/{components → utils}/EntryStyles.ts +28 -1
  566. package/front_end/panels/timeline/utils/Helpers.test.ts +8 -3
  567. package/front_end/panels/timeline/utils/Helpers.ts +3 -4
  568. package/front_end/panels/timeline/utils/IgnoreList.test.ts +86 -0
  569. package/front_end/panels/timeline/utils/IgnoreList.ts +11 -4
  570. package/front_end/panels/timeline/utils/NetworkRequest.ts +1 -1
  571. package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +51 -18
  572. package/front_end/panels/timeline/utils/SourceMapsResolver.ts +3 -1
  573. package/front_end/panels/timeline/utils/utils.ts +6 -0
  574. package/front_end/panels/utils/utils.ts +56 -4
  575. package/front_end/services/trace_bounds/TraceBounds.ts +7 -1
  576. package/front_end/testing/ContextMenuHelpers.ts +1 -1
  577. package/front_end/testing/EnvironmentHelpers.ts +18 -9
  578. package/front_end/testing/InsightHelpers.ts +4 -4
  579. package/front_end/testing/NetworkHelpers.ts +38 -0
  580. package/front_end/testing/StorageItemsViewHelpers.ts +24 -0
  581. package/front_end/testing/TraceHelpers.ts +11 -1
  582. package/front_end/third_party/additional_readme_paths.json +1 -0
  583. package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
  584. package/front_end/third_party/codemirror.next/chunk/angular.js.map +1 -1
  585. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  586. package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
  587. package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
  588. package/front_end/third_party/codemirror.next/chunk/legacy.js.map +1 -1
  589. package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
  590. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  591. package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
  592. package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
  593. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  594. package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
  595. package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
  596. package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
  597. package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
  598. package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
  599. package/front_end/third_party/codemirror.next/chunk/vue.js.map +1 -1
  600. package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
  601. package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
  602. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +68 -3
  603. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  604. package/front_end/third_party/codemirror.next/package.json +2 -1
  605. package/front_end/third_party/intl-messageformat/README.chromium +2 -1
  606. package/front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js +0 -1
  607. package/front_end/third_party/json5/LICENSE +23 -0
  608. package/front_end/third_party/json5/README.chromium +17 -0
  609. package/front_end/third_party/json5/json5-tsconfig.json +8 -0
  610. package/front_end/third_party/json5/json5.ts +4 -0
  611. package/front_end/third_party/json5/lib/index.d.ts +2 -0
  612. package/front_end/third_party/json5/lib/index.js +1121 -0
  613. package/front_end/third_party/json5/package/lib/index.d.ts +4 -0
  614. package/front_end/third_party/json5/package/lib/index.js +9 -0
  615. package/front_end/third_party/json5/package/lib/parse.d.ts +15 -0
  616. package/front_end/third_party/json5/package/lib/parse.js +1114 -0
  617. package/front_end/third_party/json5/package/lib/register.js +13 -0
  618. package/front_end/third_party/json5/package/lib/require.js +4 -0
  619. package/front_end/third_party/json5/package/lib/stringify.d.ts +89 -0
  620. package/front_end/third_party/json5/package/lib/stringify.js +261 -0
  621. package/front_end/third_party/json5/package/lib/unicode.d.ts +3 -0
  622. package/front_end/third_party/json5/package/lib/unicode.js +4 -0
  623. package/front_end/third_party/json5/package/lib/util.d.ts +5 -0
  624. package/front_end/third_party/json5/package/lib/util.js +35 -0
  625. package/front_end/third_party/json5/package.json +8 -0
  626. package/front_end/third_party/json5/rebuild.sh +5 -0
  627. package/front_end/third_party/puppeteer/README.chromium +2 -2
  628. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +4 -5
  629. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
  630. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js +1 -6
  631. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
  632. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts +1 -1
  633. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js +1 -1
  634. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.d.ts +1 -1
  635. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.js +1 -1
  636. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts +18 -7
  637. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts.map +1 -1
  638. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js +34 -13
  639. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -1
  640. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.d.ts +2 -2
  641. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +13 -6
  642. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
  643. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +7 -2
  644. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  645. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +3 -3
  646. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
  647. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts +0 -1
  648. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  649. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts +37 -8
  650. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts.map +1 -1
  651. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js +52 -3
  652. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js.map +1 -1
  653. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js +12 -5
  654. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js.map +1 -1
  655. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +22 -22
  656. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
  657. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js +26 -19
  658. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
  659. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.d.ts +2 -2
  660. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.js +2 -2
  661. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts +1 -1
  662. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts.map +1 -1
  663. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js +0 -1
  664. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js.map +1 -1
  665. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts.map +1 -1
  666. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js +12 -5
  667. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js.map +1 -1
  668. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js +1 -2
  669. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js.map +1 -1
  670. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts +0 -1
  671. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts.map +1 -1
  672. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js +4 -0
  673. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js.map +1 -1
  674. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js +1 -2
  675. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js.map +1 -1
  676. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js +12 -5
  677. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js.map +1 -1
  678. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
  679. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +22 -13
  680. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
  681. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js +12 -5
  682. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js.map +1 -1
  683. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
  684. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +4 -1
  685. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
  686. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.d.ts +14 -4
  687. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.d.ts.map +1 -1
  688. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.js +57 -23
  689. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.js.map +1 -1
  690. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +21 -10
  691. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
  692. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js +12 -5
  693. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js.map +1 -1
  694. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js +12 -5
  695. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js.map +1 -1
  696. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts +1 -1
  697. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts.map +1 -1
  698. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js +0 -1
  699. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js.map +1 -1
  700. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js +2 -3
  701. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js.map +1 -1
  702. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  703. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js +3 -0
  704. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  705. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js +12 -5
  706. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js.map +1 -1
  707. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +0 -1
  708. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
  709. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +1 -2
  710. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
  711. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +12 -5
  712. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
  713. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  714. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js +3 -1
  715. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  716. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js +2 -2
  717. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js.map +1 -1
  718. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  719. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  720. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts +1 -1
  721. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
  722. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js +13 -10
  723. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js.map +1 -1
  724. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  725. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  726. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js +17 -13
  727. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js.map +1 -1
  728. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  729. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js +5 -1
  730. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  731. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js +1 -1
  732. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js.map +1 -1
  733. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +1 -1
  734. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
  735. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts +15 -4
  736. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts.map +1 -1
  737. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js +55 -26
  738. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js.map +1 -1
  739. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  740. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  741. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  742. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js +2 -2
  743. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js.map +1 -1
  744. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  745. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +2 -1
  746. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
  747. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +1 -1
  748. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
  749. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +16 -7
  750. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
  751. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  752. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  753. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  754. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts +2 -0
  755. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts.map +1 -1
  756. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js +2 -0
  757. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js.map +1 -1
  758. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js +6 -6
  759. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js.map +1 -1
  760. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +1 -2
  761. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  762. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  763. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts +0 -8
  764. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  765. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +3 -12
  766. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
  767. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +3 -0
  768. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  769. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +2 -1
  770. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
  771. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js +5 -2
  772. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -1
  773. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
  774. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +4 -5
  775. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
  776. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +7 -0
  777. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
  778. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +9 -1
  779. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
  780. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js +1 -2
  781. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js.map +1 -1
  782. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js +13 -7
  783. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js.map +1 -1
  784. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts +1 -1
  785. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts.map +1 -1
  786. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js +1 -2
  787. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js.map +1 -1
  788. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  789. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +12 -5
  790. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
  791. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.d.ts.map +1 -1
  792. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js +5 -3
  793. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js.map +1 -1
  794. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +7 -7
  795. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
  796. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js +0 -7
  797. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js.map +1 -1
  798. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +2 -3
  799. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
  800. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +14 -12
  801. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
  802. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +1 -3
  803. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
  804. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js +0 -3
  805. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js.map +1 -1
  806. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts +1 -1
  807. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js +1 -1
  808. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
  809. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
  810. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  811. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  812. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  813. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  814. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  815. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +4 -4
  816. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -1
  817. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js +3 -3
  818. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js.map +1 -1
  819. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  820. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
  821. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  822. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +3 -4
  823. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
  824. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts +0 -1
  825. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -1
  826. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
  827. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts +0 -1
  828. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  829. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts +1 -1
  830. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts.map +1 -1
  831. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js +0 -1
  832. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js.map +1 -1
  833. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js +2 -3
  834. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js.map +1 -1
  835. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +6 -6
  836. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -1
  837. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +15 -4
  838. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -1
  839. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
  840. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
  841. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
  842. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.d.ts.map +1 -1
  843. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js +1 -0
  844. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js.map +1 -1
  845. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts +0 -1
  846. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts.map +1 -1
  847. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js +4 -5
  848. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js.map +1 -1
  849. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.d.ts.map +1 -1
  850. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js +2 -2
  851. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js.map +1 -1
  852. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
  853. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts.map +1 -1
  854. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts +1 -1
  855. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts.map +1 -1
  856. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js +18 -13
  857. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js.map +1 -1
  858. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/disposable.d.ts.map +1 -1
  859. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js +4 -5
  860. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js.map +1 -1
  861. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.d.ts +14 -0
  862. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.d.ts.map +1 -0
  863. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.js +18 -0
  864. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.js.map +1 -0
  865. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts +1 -0
  866. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts.map +1 -1
  867. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js +1 -0
  868. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js.map +1 -1
  869. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +424 -587
  870. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +527 -243
  871. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +4 -5
  872. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
  873. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js +1 -6
  874. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
  875. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts +1 -1
  876. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js +1 -1
  877. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.d.ts +1 -1
  878. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.js +1 -1
  879. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +18 -7
  880. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts.map +1 -1
  881. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js +32 -11
  882. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js.map +1 -1
  883. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.d.ts +2 -2
  884. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +13 -6
  885. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
  886. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +7 -2
  887. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  888. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
  889. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts +0 -1
  890. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  891. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts +37 -8
  892. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts.map +1 -1
  893. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js +52 -3
  894. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js.map +1 -1
  895. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js +12 -5
  896. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js.map +1 -1
  897. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +22 -22
  898. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
  899. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js +24 -17
  900. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
  901. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.d.ts +2 -2
  902. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.js +2 -2
  903. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts +1 -1
  904. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts.map +1 -1
  905. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js +0 -1
  906. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js.map +1 -1
  907. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts.map +1 -1
  908. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js +12 -5
  909. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js.map +1 -1
  910. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts +0 -1
  911. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts.map +1 -1
  912. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js +4 -0
  913. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js.map +1 -1
  914. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js +12 -5
  915. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js.map +1 -1
  916. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
  917. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +22 -13
  918. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
  919. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js +12 -5
  920. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js.map +1 -1
  921. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
  922. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +4 -1
  923. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
  924. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.d.ts +14 -4
  925. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.d.ts.map +1 -1
  926. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.js +57 -23
  927. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.js.map +1 -1
  928. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +21 -10
  929. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
  930. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js +12 -5
  931. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js.map +1 -1
  932. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js +12 -5
  933. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js.map +1 -1
  934. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts +1 -1
  935. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts.map +1 -1
  936. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js +0 -1
  937. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js.map +1 -1
  938. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  939. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js +3 -0
  940. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  941. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js +12 -5
  942. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js.map +1 -1
  943. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +0 -1
  944. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
  945. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +12 -5
  946. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
  947. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  948. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js +3 -1
  949. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  950. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  951. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  952. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts +1 -1
  953. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
  954. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js +13 -10
  955. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js.map +1 -1
  956. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  957. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  958. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js +17 -13
  959. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js.map +1 -1
  960. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  961. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js +5 -1
  962. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  963. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js +1 -1
  964. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js.map +1 -1
  965. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +1 -1
  966. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
  967. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts +15 -4
  968. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts.map +1 -1
  969. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js +55 -26
  970. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js.map +1 -1
  971. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  972. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  973. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  974. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  975. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +2 -1
  976. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
  977. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +1 -1
  978. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
  979. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +16 -7
  980. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
  981. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  982. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  983. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  984. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts +2 -0
  985. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts.map +1 -1
  986. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js +2 -0
  987. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js.map +1 -1
  988. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  989. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts +0 -8
  990. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  991. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js +1 -9
  992. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
  993. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +3 -0
  994. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  995. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts +2 -1
  996. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
  997. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js +5 -2
  998. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -1
  999. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
  1000. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +0 -1
  1001. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
  1002. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +7 -0
  1003. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
  1004. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +7 -0
  1005. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
  1006. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js +12 -5
  1007. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js.map +1 -1
  1008. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts +1 -1
  1009. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts.map +1 -1
  1010. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  1011. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +12 -5
  1012. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
  1013. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.d.ts.map +1 -1
  1014. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js +5 -3
  1015. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js.map +1 -1
  1016. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +7 -7
  1017. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
  1018. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js +0 -7
  1019. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js.map +1 -1
  1020. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +2 -3
  1021. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
  1022. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +3 -1
  1023. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
  1024. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +1 -3
  1025. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
  1026. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js +0 -3
  1027. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js.map +1 -1
  1028. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts +1 -1
  1029. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js +1 -1
  1030. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
  1031. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
  1032. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  1033. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  1034. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  1035. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  1036. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  1037. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts +3 -3
  1038. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts.map +1 -1
  1039. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  1040. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
  1041. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  1042. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +0 -1
  1043. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
  1044. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts +0 -1
  1045. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -1
  1046. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
  1047. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts +0 -1
  1048. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  1049. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts +1 -1
  1050. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts.map +1 -1
  1051. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js +0 -1
  1052. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js.map +1 -1
  1053. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts +1 -1
  1054. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts.map +1 -1
  1055. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +6 -6
  1056. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -1
  1057. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js +3 -4
  1058. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js.map +1 -1
  1059. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
  1060. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
  1061. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
  1062. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.d.ts.map +1 -1
  1063. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js +1 -0
  1064. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js.map +1 -1
  1065. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts +0 -1
  1066. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts.map +1 -1
  1067. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Function.d.ts.map +1 -1
  1068. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts +1 -1
  1069. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts.map +1 -1
  1070. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts +1 -1
  1071. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts.map +1 -1
  1072. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js +12 -6
  1073. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js.map +1 -1
  1074. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/disposable.d.ts.map +1 -1
  1075. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.d.ts +14 -0
  1076. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.d.ts.map +1 -0
  1077. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.js +15 -0
  1078. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.js.map +1 -0
  1079. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts +1 -0
  1080. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts.map +1 -1
  1081. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js +1 -0
  1082. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js.map +1 -1
  1083. package/front_end/third_party/puppeteer/package/lib/types.d.ts +424 -587
  1084. package/front_end/third_party/puppeteer/package/package.json +8 -8
  1085. package/front_end/third_party/puppeteer/package/src/api/Browser.ts +10 -11
  1086. package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +5 -5
  1087. package/front_end/third_party/puppeteer/package/src/api/CDPSession.ts +2 -2
  1088. package/front_end/third_party/puppeteer/package/src/api/Dialog.ts +1 -1
  1089. package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +65 -47
  1090. package/front_end/third_party/puppeteer/package/src/api/Frame.ts +33 -33
  1091. package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +14 -9
  1092. package/front_end/third_party/puppeteer/package/src/api/Input.ts +68 -19
  1093. package/front_end/third_party/puppeteer/package/src/api/JSHandle.ts +5 -5
  1094. package/front_end/third_party/puppeteer/package/src/api/Page.ts +88 -87
  1095. package/front_end/third_party/puppeteer/package/src/api/Realm.ts +2 -2
  1096. package/front_end/third_party/puppeteer/package/src/api/WebWorker.ts +2 -2
  1097. package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -1
  1098. package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +79 -79
  1099. package/front_end/third_party/puppeteer/package/src/bidi/BidiOverCdp.ts +7 -7
  1100. package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +9 -5
  1101. package/front_end/third_party/puppeteer/package/src/bidi/BrowserConnector.ts +5 -5
  1102. package/front_end/third_party/puppeteer/package/src/bidi/BrowserContext.ts +10 -10
  1103. package/front_end/third_party/puppeteer/package/src/bidi/CDPSession.ts +4 -4
  1104. package/front_end/third_party/puppeteer/package/src/bidi/Connection.ts +6 -6
  1105. package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +12 -10
  1106. package/front_end/third_party/puppeteer/package/src/bidi/ExposedFunction.ts +11 -11
  1107. package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +46 -41
  1108. package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +9 -9
  1109. package/front_end/third_party/puppeteer/package/src/bidi/HTTPResponse.ts +3 -3
  1110. package/front_end/third_party/puppeteer/package/src/bidi/Input.ts +80 -39
  1111. package/front_end/third_party/puppeteer/package/src/bidi/JSHandle.ts +1 -1
  1112. package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +56 -52
  1113. package/front_end/third_party/puppeteer/package/src/bidi/Realm.ts +15 -15
  1114. package/front_end/third_party/puppeteer/package/src/bidi/Serializer.ts +1 -1
  1115. package/front_end/third_party/puppeteer/package/src/bidi/Target.ts +2 -2
  1116. package/front_end/third_party/puppeteer/package/src/bidi/WebWorker.ts +2 -2
  1117. package/front_end/third_party/puppeteer/package/src/bidi/core/Browser.ts +4 -4
  1118. package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +17 -17
  1119. package/front_end/third_party/puppeteer/package/src/bidi/core/Connection.ts +1 -1
  1120. package/front_end/third_party/puppeteer/package/src/bidi/core/Navigation.ts +3 -3
  1121. package/front_end/third_party/puppeteer/package/src/bidi/core/Realm.ts +6 -6
  1122. package/front_end/third_party/puppeteer/package/src/bidi/core/Request.ts +5 -5
  1123. package/front_end/third_party/puppeteer/package/src/bidi/core/Session.ts +4 -4
  1124. package/front_end/third_party/puppeteer/package/src/bidi/core/UserContext.ts +9 -9
  1125. package/front_end/third_party/puppeteer/package/src/bidi/core/UserPrompt.ts +4 -4
  1126. package/front_end/third_party/puppeteer/package/src/bidi/core/core.ts +1 -1
  1127. package/front_end/third_party/puppeteer/package/src/bidi/util.ts +4 -4
  1128. package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +7 -7
  1129. package/front_end/third_party/puppeteer/package/src/cdp/AriaQueryHandler.ts +10 -6
  1130. package/front_end/third_party/puppeteer/package/src/cdp/Binding.ts +6 -6
  1131. package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +24 -24
  1132. package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +4 -4
  1133. package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +2 -2
  1134. package/front_end/third_party/puppeteer/package/src/cdp/CDPSession.ts +7 -7
  1135. package/front_end/third_party/puppeteer/package/src/cdp/ChromeTargetManager.ts +19 -17
  1136. package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +7 -7
  1137. package/front_end/third_party/puppeteer/package/src/cdp/Coverage.ts +11 -11
  1138. package/front_end/third_party/puppeteer/package/src/cdp/DeviceRequestPrompt.ts +17 -17
  1139. package/front_end/third_party/puppeteer/package/src/cdp/Dialog.ts +1 -1
  1140. package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +20 -15
  1141. package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +34 -34
  1142. package/front_end/third_party/puppeteer/package/src/cdp/ExecutionContext.ts +18 -19
  1143. package/front_end/third_party/puppeteer/package/src/cdp/ExtensionTransport.ts +7 -3
  1144. package/front_end/third_party/puppeteer/package/src/cdp/FirefoxTargetManager.ts +7 -7
  1145. package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +16 -16
  1146. package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +20 -20
  1147. package/front_end/third_party/puppeteer/package/src/cdp/FrameManagerEvents.ts +1 -1
  1148. package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +5 -5
  1149. package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +5 -5
  1150. package/front_end/third_party/puppeteer/package/src/cdp/Input.ts +87 -40
  1151. package/front_end/third_party/puppeteer/package/src/cdp/IsolatedWorld.ts +14 -13
  1152. package/front_end/third_party/puppeteer/package/src/cdp/JSHandle.ts +2 -2
  1153. package/front_end/third_party/puppeteer/package/src/cdp/LifecycleWatcher.ts +11 -11
  1154. package/front_end/third_party/puppeteer/package/src/cdp/NetworkEventManager.ts +15 -15
  1155. package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +38 -37
  1156. package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +71 -70
  1157. package/front_end/third_party/puppeteer/package/src/cdp/PredefinedNetworkConditions.ts +4 -4
  1158. package/front_end/third_party/puppeteer/package/src/cdp/Target.ts +4 -4
  1159. package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +1 -1
  1160. package/front_end/third_party/puppeteer/package/src/cdp/Tracing.ts +2 -2
  1161. package/front_end/third_party/puppeteer/package/src/cdp/WebWorker.ts +5 -5
  1162. package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +2 -0
  1163. package/front_end/third_party/puppeteer/package/src/cdp/utils.ts +10 -10
  1164. package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +5 -5
  1165. package/front_end/third_party/puppeteer/package/src/common/CSSQueryHandler.ts +2 -2
  1166. package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +10 -22
  1167. package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +3 -0
  1168. package/front_end/third_party/puppeteer/package/src/common/ConsoleMessage.ts +9 -2
  1169. package/front_end/third_party/puppeteer/package/src/common/CustomQueryHandler.ts +6 -6
  1170. package/front_end/third_party/puppeteer/package/src/common/Debug.ts +0 -1
  1171. package/front_end/third_party/puppeteer/package/src/common/Errors.ts +7 -0
  1172. package/front_end/third_party/puppeteer/package/src/common/EventEmitter.ts +8 -8
  1173. package/front_end/third_party/puppeteer/package/src/common/FileChooser.ts +3 -3
  1174. package/front_end/third_party/puppeteer/package/src/common/HandleIterator.ts +3 -3
  1175. package/front_end/third_party/puppeteer/package/src/common/LazyArg.ts +1 -1
  1176. package/front_end/third_party/puppeteer/package/src/common/NetworkManagerEvents.ts +1 -1
  1177. package/front_end/third_party/puppeteer/package/src/common/PQueryHandler.ts +2 -2
  1178. package/front_end/third_party/puppeteer/package/src/common/PSelectorParser.ts +1 -1
  1179. package/front_end/third_party/puppeteer/package/src/common/PierceQueryHandler.ts +2 -2
  1180. package/front_end/third_party/puppeteer/package/src/common/Puppeteer.ts +1 -1
  1181. package/front_end/third_party/puppeteer/package/src/common/QueryHandler.ts +12 -12
  1182. package/front_end/third_party/puppeteer/package/src/common/TaskQueue.ts +1 -1
  1183. package/front_end/third_party/puppeteer/package/src/common/TextQueryHandler.ts +1 -1
  1184. package/front_end/third_party/puppeteer/package/src/common/WaitTask.ts +16 -16
  1185. package/front_end/third_party/puppeteer/package/src/common/XPathQueryHandler.ts +2 -2
  1186. package/front_end/third_party/puppeteer/package/src/common/common.ts +7 -7
  1187. package/front_end/third_party/puppeteer/package/src/common/util.ts +15 -14
  1188. package/front_end/third_party/puppeteer/package/src/environment.ts +1 -4
  1189. package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
  1190. package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
  1191. package/front_end/third_party/puppeteer/package/src/injected/ARIAQuerySelector.ts +3 -3
  1192. package/front_end/third_party/puppeteer/package/src/injected/CSSSelector.ts +2 -2
  1193. package/front_end/third_party/puppeteer/package/src/injected/PQuerySelector.ts +7 -7
  1194. package/front_end/third_party/puppeteer/package/src/injected/PierceQuerySelector.ts +2 -2
  1195. package/front_end/third_party/puppeteer/package/src/injected/TextContent.ts +1 -1
  1196. package/front_end/third_party/puppeteer/package/src/injected/TextQuerySelector.ts +1 -1
  1197. package/front_end/third_party/puppeteer/package/src/injected/XPathQuerySelector.ts +2 -2
  1198. package/front_end/third_party/puppeteer/package/src/injected/util.ts +2 -2
  1199. package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +38 -30
  1200. package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +11 -12
  1201. package/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts +8 -8
  1202. package/front_end/third_party/puppeteer/package/src/node/NodeWebSocketTransport.ts +1 -1
  1203. package/front_end/third_party/puppeteer/package/src/node/PipeTransport.ts +7 -3
  1204. package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +4 -4
  1205. package/front_end/third_party/puppeteer/package/src/node/ScreenRecorder.ts +10 -10
  1206. package/front_end/third_party/puppeteer/package/src/node/node.ts +1 -1
  1207. package/front_end/third_party/puppeteer/package/src/puppeteer-core.ts +4 -4
  1208. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  1209. package/front_end/third_party/puppeteer/package/src/util/AsyncIterableUtil.ts +3 -3
  1210. package/front_end/third_party/puppeteer/package/src/util/Deferred.ts +3 -2
  1211. package/front_end/third_party/puppeteer/package/src/util/ErrorLike.ts +1 -1
  1212. package/front_end/third_party/puppeteer/package/src/util/Function.ts +4 -4
  1213. package/front_end/third_party/puppeteer/package/src/util/Mutex.ts +1 -1
  1214. package/front_end/third_party/puppeteer/package/src/util/assert.ts +1 -1
  1215. package/front_end/third_party/puppeteer/package/src/util/decorators.ts +8 -9
  1216. package/front_end/third_party/puppeteer/package/src/util/encoding.ts +1 -1
  1217. package/front_end/third_party/puppeteer/package/src/util/incremental-id-generator.ts +20 -0
  1218. package/front_end/third_party/puppeteer/package/src/util/util.ts +1 -0
  1219. package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +1 -0
  1220. package/front_end/third_party/web-vitals/README.chromium +3 -3
  1221. package/front_end/third_party/web-vitals/package/README.md +36 -23
  1222. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.d.ts +2 -1
  1223. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +11 -13
  1224. package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +2 -22
  1225. package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +3 -2
  1226. package/front_end/third_party/web-vitals/package/dist/modules/lib/interactions.js +1 -1
  1227. package/front_end/third_party/web-vitals/package/dist/modules/onLCP.js +4 -1
  1228. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.iife.js +1 -1
  1229. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.js +1 -1
  1230. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.umd.cjs +1 -1
  1231. package/front_end/third_party/web-vitals/package/dist/web-vitals.iife.js +1 -1
  1232. package/front_end/third_party/web-vitals/package/dist/web-vitals.js +1 -1
  1233. package/front_end/third_party/web-vitals/package/dist/web-vitals.umd.cjs +1 -1
  1234. package/front_end/third_party/web-vitals/package/package.json +1 -1
  1235. package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +11 -14
  1236. package/front_end/third_party/web-vitals/package/src/lib/interactions.ts +1 -1
  1237. package/front_end/third_party/web-vitals/package/src/onLCP.ts +4 -1
  1238. package/front_end/third_party/web-vitals/rebuild.sh +14 -0
  1239. package/front_end/third_party/web-vitals/web-vitals.ts +2 -0
  1240. package/front_end/ui/components/adorners/Adorner.ts +0 -1
  1241. package/front_end/ui/components/buttons/Button.test.ts +14 -0
  1242. package/front_end/ui/components/buttons/Button.ts +27 -5
  1243. package/front_end/ui/components/buttons/button.css +1 -0
  1244. package/front_end/ui/components/cards/Card.test.ts +31 -5
  1245. package/front_end/ui/components/cards/Card.ts +22 -3
  1246. package/front_end/ui/components/cards/card.css +29 -8
  1247. package/front_end/ui/components/chrome_link/ChromeLink.ts +0 -1
  1248. package/front_end/ui/components/data_grid/DataGrid.ts +0 -1
  1249. package/front_end/ui/components/data_grid/DataGridController.ts +2 -3
  1250. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  1251. package/front_end/ui/components/dialogs/Dialog.ts +2 -5
  1252. package/front_end/ui/components/dialogs/IconDialog.ts +9 -11
  1253. package/front_end/ui/components/dialogs/ShortcutDialog.ts +18 -17
  1254. package/front_end/ui/components/dialogs/dialog.css +2 -6
  1255. package/front_end/ui/components/dialogs/shortcutDialog.css +33 -41
  1256. package/front_end/ui/components/diff_view/DiffView.ts +0 -1
  1257. package/front_end/ui/components/docs/building-ui-documentation/ComponentPerformance.md +1 -4
  1258. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +14 -44
  1259. package/front_end/ui/components/docs/freestyler/basic.ts +6 -9
  1260. package/front_end/ui/components/docs/freestyler/empty_state.ts +6 -8
  1261. package/front_end/ui/components/docs/icon_dialog/basic.ts +4 -4
  1262. package/front_end/ui/components/docs/performance_panel/basic.ts +4 -1
  1263. package/front_end/ui/components/docs/performance_panel/track_example.html +1 -1
  1264. package/front_end/ui/components/docs/report/basic.ts +3 -3
  1265. package/front_end/ui/components/expandable_list/ExpandableList.ts +0 -1
  1266. package/front_end/ui/components/floating_button/FloatingButton.ts +0 -1
  1267. package/front_end/ui/components/icon_button/FileSourceIcon.test.ts +32 -0
  1268. package/front_end/ui/components/icon_button/FileSourceIcon.ts +76 -0
  1269. package/front_end/ui/components/icon_button/Icon.ts +0 -3
  1270. package/front_end/ui/components/icon_button/IconButton.ts +0 -1
  1271. package/front_end/ui/components/icon_button/fileSourceIcon.css +43 -0
  1272. package/front_end/ui/components/icon_button/icon_button.ts +2 -0
  1273. package/front_end/ui/components/issue_counter/IssueCounter.ts +1 -3
  1274. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +0 -1
  1275. package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
  1276. package/front_end/ui/components/linkifier/LinkifierImpl.ts +4 -2
  1277. package/front_end/ui/components/markdown_view/CodeBlock.ts +0 -1
  1278. package/front_end/ui/components/markdown_view/MarkdownImage.ts +0 -1
  1279. package/front_end/ui/components/markdown_view/MarkdownLink.ts +0 -1
  1280. package/front_end/ui/components/markdown_view/MarkdownView.test.ts +39 -17
  1281. package/front_end/ui/components/markdown_view/MarkdownView.ts +85 -19
  1282. package/front_end/ui/components/markdown_view/markdownView.css +15 -0
  1283. package/front_end/ui/components/menus/Menu.ts +0 -3
  1284. package/front_end/ui/components/menus/SelectMenu.ts +0 -2
  1285. package/front_end/ui/components/menus/selectMenu.css +8 -5
  1286. package/front_end/ui/components/menus/selectMenuButton.css +29 -17
  1287. package/front_end/ui/components/node_text/NodeText.ts +0 -1
  1288. package/front_end/ui/components/panel_feedback/FeedbackButton.ts +0 -1
  1289. package/front_end/ui/components/panel_feedback/PanelFeedback.ts +1 -3
  1290. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -3
  1291. package/front_end/ui/components/panel_introduction_steps/PanelIntroductionSteps.ts +0 -1
  1292. package/front_end/ui/components/report_view/ReportView.ts +1 -7
  1293. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +0 -1
  1294. package/front_end/ui/components/settings/SettingCheckbox.ts +30 -11
  1295. package/front_end/ui/components/settings/SettingDeprecationWarning.ts +2 -4
  1296. package/front_end/ui/components/settings/settingCheckbox.css +1 -0
  1297. package/front_end/ui/components/spinners/Spinner.ts +0 -1
  1298. package/front_end/ui/components/spinners/spinner.css +1 -0
  1299. package/front_end/ui/components/split_view/SplitView.ts +0 -1
  1300. package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +0 -1
  1301. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -3
  1302. package/front_end/ui/components/switch/SwitchImpl.ts +0 -1
  1303. package/front_end/ui/components/text_editor/TextEditor.ts +0 -2
  1304. package/front_end/ui/components/text_prompt/TextPrompt.ts +0 -1
  1305. package/front_end/ui/components/tree_outline/TreeOutline.ts +0 -1
  1306. package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -1
  1307. package/front_end/ui/legacy/ContextMenu.ts +48 -9
  1308. package/front_end/ui/legacy/FilterBar.test.ts +52 -0
  1309. package/front_end/ui/legacy/FilterBar.ts +46 -1
  1310. package/front_end/ui/legacy/InplaceEditor.ts +18 -14
  1311. package/front_end/ui/legacy/KeyboardShortcut.ts +35 -21
  1312. package/front_end/ui/legacy/Panel.ts +2 -2
  1313. package/front_end/ui/legacy/ShortcutRegistry.ts +10 -7
  1314. package/front_end/ui/legacy/SoftContextMenu.ts +3 -0
  1315. package/front_end/ui/legacy/TabbedPane.ts +0 -14
  1316. package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
  1317. package/front_end/ui/legacy/Toolbar.ts +1 -0
  1318. package/front_end/ui/legacy/Treeoutline.ts +7 -4
  1319. package/front_end/ui/legacy/UIUtils.ts +2 -0
  1320. package/front_end/ui/legacy/View.ts +2 -2
  1321. package/front_end/ui/legacy/ViewManager.ts +2 -1
  1322. package/front_end/ui/legacy/Widget.ts +4 -4
  1323. package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +7 -2
  1324. package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +51 -0
  1325. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +100 -10
  1326. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +20 -11
  1327. package/front_end/ui/legacy/components/data_grid/dataGrid.css +8 -1
  1328. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -7
  1329. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +0 -1
  1330. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +0 -1
  1331. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +0 -1
  1332. package/front_end/ui/legacy/components/inline_editor/ColorMixSwatch.ts +0 -1
  1333. package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +0 -1
  1334. package/front_end/ui/legacy/components/inline_editor/LinkSwatch.test.ts +19 -0
  1335. package/front_end/ui/legacy/components/inline_editor/LinkSwatch.ts +1 -4
  1336. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -2
  1337. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +3 -3
  1338. package/front_end/ui/legacy/components/perf_ui/CanvasHelper.ts +1 -83
  1339. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +3 -2
  1340. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +166 -78
  1341. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +129 -100
  1342. package/front_end/ui/legacy/components/perf_ui/PieChart.ts +0 -1
  1343. package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +4 -2
  1344. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.test.ts +9 -4
  1345. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.ts +6 -6
  1346. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +25 -7
  1347. package/front_end/ui/legacy/components/perf_ui/flameChart.css +0 -2
  1348. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.test.ts +54 -9
  1349. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +31 -105
  1350. package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -1
  1351. package/front_end/ui/legacy/components/source_frame/SourceFrame.test.ts +18 -0
  1352. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +20 -3
  1353. package/front_end/{panels/network/RequestBinaryResponseView.test.ts → ui/legacy/components/source_frame/StreamingContentHexView.test.ts} +12 -12
  1354. package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.ts +122 -0
  1355. package/front_end/ui/legacy/components/source_frame/source_frame.ts +2 -0
  1356. package/front_end/ui/legacy/components/utils/ImagePreview.ts +1 -1
  1357. package/front_end/ui/legacy/designTokens.css +46 -40
  1358. package/front_end/ui/legacy/filter.css +23 -8
  1359. package/front_end/ui/legacy/inspectorCommon.css +31 -29
  1360. package/front_end/ui/legacy/searchableView.css +4 -3
  1361. package/front_end/ui/legacy/softDropDownButton.css +10 -6
  1362. package/front_end/ui/legacy/tabbedPane.css +1 -1
  1363. package/front_end/ui/legacy/textPrompt.css +1 -1
  1364. package/front_end/ui/legacy/toolbar.css +38 -19
  1365. package/front_end/ui/visual_logging/KnownContextValues.ts +241 -1
  1366. package/front_end/ui/visual_logging/LoggingConfig.ts +6 -2
  1367. package/front_end/ui/visual_logging/LoggingDriver.test.ts +53 -6
  1368. package/front_end/ui/visual_logging/LoggingDriver.ts +8 -5
  1369. package/front_end/ui/visual_logging/LoggingEvents.test.ts +5 -1
  1370. package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
  1371. package/front_end/ui/visual_logging/LoggingState.ts +1 -1
  1372. package/package.json +10 -10
  1373. package/scripts/build/esbuild.js +3 -1
  1374. package/scripts/build/ninja/bundle.gni +3 -3
  1375. package/scripts/build/{rollup.config.js → rollup.config.mjs} +4 -4
  1376. package/scripts/devtools_paths.js +11 -1
  1377. package/scripts/devtools_paths.py +8 -4
  1378. package/scripts/eslint_rules/lib/check_test_definitions.js +1 -1
  1379. package/scripts/eslint_rules/tests/check_test_definitions_test.js +18 -3
  1380. package/scripts/tools/update_goldens_v2.py +1 -1
  1381. package/tsconfig.json +11 -1
  1382. package/docs/add_uma_metrics.md +0 -41
  1383. package/docs/uma_metrics.md +0 -23
  1384. package/front_end/models/timeline_model/TimelineModelFilter.ts +0 -61
  1385. package/front_end/panels/animation/AnimationDOMNode.ts +0 -268
  1386. package/front_end/panels/freestyler/components/ProvideFeedback.test.ts +0 -29
  1387. package/front_end/panels/freestyler/components/ProvideFeedback.ts +0 -247
  1388. package/front_end/panels/network/RequestBinaryResponseView.ts +0 -67
  1389. package/scripts/eslint_rules/lib/lit_html_data_as_type.js +0 -83
  1390. package/scripts/eslint_rules/tests/lit_html_data_as_type_test.js +0 -81
  1391. /package/front_end/Images/{rollup.config.js → rollup.config.mjs} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"xml.js","sources":["../node_modules/@lezer/xml/dist/index.js","../node_modules/@codemirror/lang-xml/dist/index.js"],"sourcesContent":["import { ContextTracker, ExternalTokenizer, LRParser } from '@lezer/lr';\nimport { styleTags, tags } from '@lezer/highlight';\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst StartTag = 1,\n StartCloseTag = 2,\n MissingCloseTag = 3,\n mismatchedStartCloseTag = 4,\n incompleteStartCloseTag = 5,\n commentContent$1 = 35,\n piContent$1 = 36,\n cdataContent$1 = 37,\n Element = 11,\n OpenTag = 13;\n\n/* Hand-written tokenizer for XML tag matching. */\n\nfunction nameChar(ch) {\n return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161\n}\n\nfunction isSpace(ch) {\n return ch == 9 || ch == 10 || ch == 13 || ch == 32\n}\n\nlet cachedName = null, cachedInput = null, cachedPos = 0;\nfunction tagNameAfter(input, offset) {\n let pos = input.pos + offset;\n if (cachedInput == input && cachedPos == pos) return cachedName\n while (isSpace(input.peek(offset))) offset++;\n let name = \"\";\n for (;;) {\n let next = input.peek(offset);\n if (!nameChar(next)) break\n name += String.fromCharCode(next);\n offset++;\n }\n cachedInput = input; cachedPos = pos;\n return cachedName = name || null\n}\n\nfunction ElementContext(name, parent) {\n this.name = name;\n this.parent = parent;\n this.hash = parent ? parent.hash : 0;\n for (let i = 0; i < name.length; i++) this.hash += (this.hash << 4) + name.charCodeAt(i) + (name.charCodeAt(i) << 8);\n}\n\nconst elementContext = new ContextTracker({\n start: null,\n shift(context, term, stack, input) {\n return term == StartTag ? new ElementContext(tagNameAfter(input, 1) || \"\", context) : context\n },\n reduce(context, term) {\n return term == Element && context ? context.parent : context\n },\n reuse(context, node, _stack, input) {\n let type = node.type.id;\n return type == StartTag || type == OpenTag\n ? new ElementContext(tagNameAfter(input, 1) || \"\", context) : context\n },\n hash(context) { return context ? context.hash : 0 },\n strict: false\n});\n\nconst startTag = new ExternalTokenizer((input, stack) => {\n if (input.next != 60 /* '<' */) return\n input.advance();\n if (input.next == 47 /* '/' */) {\n input.advance();\n let name = tagNameAfter(input, 0);\n if (!name) return input.acceptToken(incompleteStartCloseTag)\n if (stack.context && name == stack.context.name) return input.acceptToken(StartCloseTag)\n for (let cx = stack.context; cx; cx = cx.parent) if (cx.name == name) return input.acceptToken(MissingCloseTag, -2)\n input.acceptToken(mismatchedStartCloseTag);\n } else if (input.next != 33 /* '!' */ && input.next != 63 /* '?' */) {\n return input.acceptToken(StartTag)\n }\n}, {contextual: true});\n\nfunction scanTo(type, end) {\n return new ExternalTokenizer(input => {\n let len = 0, first = end.charCodeAt(0);\n scan: for (;; input.advance(), len++) {\n if (input.next < 0) break\n if (input.next == first) {\n for (let i = 1; i < end.length; i++)\n if (input.peek(i) != end.charCodeAt(i)) continue scan\n break\n }\n }\n if (len) input.acceptToken(type);\n })\n}\n\nconst commentContent = scanTo(commentContent$1, \"-->\");\nconst piContent = scanTo(piContent$1, \"?>\");\nconst cdataContent = scanTo(cdataContent$1, \"]]>\");\n\nconst xmlHighlighting = styleTags({\n Text: tags.content,\n \"StartTag StartCloseTag EndTag SelfCloseEndTag\": tags.angleBracket,\n TagName: tags.tagName,\n \"MismatchedCloseTag/TagName\": [tags.tagName, tags.invalid],\n AttributeName: tags.attributeName,\n AttributeValue: tags.attributeValue,\n Is: tags.definitionOperator,\n \"EntityReference CharacterReference\": tags.character,\n Comment: tags.blockComment,\n ProcessingInst: tags.processingInstruction,\n DoctypeDecl: tags.documentMeta,\n Cdata: tags.special(tags.string)\n});\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst parser = LRParser.deserialize({\n version: 14,\n states: \",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#C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Oy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O\",\n goto: \"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb\",\n nodeNames: \"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl\",\n maxTerm: 47,\n context: elementContext,\n nodeProps: [\n [\"closedBy\", 1,\"SelfCloseEndTag EndTag\",13,\"CloseTag MissingCloseTag\"],\n [\"openedBy\", 12,\"StartTag StartCloseTag\",19,\"OpenTag\",20,\"StartTag\"],\n [\"isolate\", -6,13,18,19,21,22,24,\"\"]\n ],\n propSources: [xmlHighlighting],\n skippedNodes: [0],\n repeatNodeCount: 8,\n tokenData: \"Jy~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O,^!O!P$n!P!Q.m!Q![$n![!]0V!]!^$n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y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n\",\n tokenizers: [startTag, commentContent, piContent, cdataContent, 0, 1, 2, 3],\n topRules: {\"Document\":[0,6]},\n tokenPrec: 0\n});\n\nexport { parser };\n","import { parser } from '@lezer/xml';\nimport { syntaxTree, LRLanguage, indentNodeProp, foldNodeProp, bracketMatchingHandle, LanguageSupport } from '@codemirror/language';\n\nfunction tagName(doc, tag) {\n let name = tag && tag.getChild(\"TagName\");\n return name ? doc.sliceString(name.from, name.to) : \"\";\n}\nfunction elementName(doc, tree) {\n let tag = tree && tree.firstChild;\n return !tag || tag.name != \"OpenTag\" ? \"\" : tagName(doc, tag);\n}\nfunction attrName(doc, tag, pos) {\n let attr = tag && tag.getChildren(\"Attribute\").find(a => a.from <= pos && a.to >= pos);\n let name = attr && attr.getChild(\"AttributeName\");\n return name ? doc.sliceString(name.from, name.to) : \"\";\n}\nfunction findParentElement(tree) {\n for (let cur = tree && tree.parent; cur; cur = cur.parent)\n if (cur.name == \"Element\")\n return cur;\n return null;\n}\nfunction findLocation(state, pos) {\n var _a;\n let at = syntaxTree(state).resolveInner(pos, -1), inTag = null;\n for (let cur = at; !inTag && cur.parent; cur = cur.parent)\n if (cur.name == \"OpenTag\" || cur.name == \"CloseTag\" || cur.name == \"SelfClosingTag\" || cur.name == \"MismatchedCloseTag\")\n inTag = cur;\n if (inTag && (inTag.to > pos || inTag.lastChild.type.isError)) {\n let elt = inTag.parent;\n if (at.name == \"TagName\")\n return inTag.name == \"CloseTag\" || inTag.name == \"MismatchedCloseTag\"\n ? { type: \"closeTag\", from: at.from, context: elt }\n : { type: \"openTag\", from: at.from, context: findParentElement(elt) };\n if (at.name == \"AttributeName\")\n return { type: \"attrName\", from: at.from, context: inTag };\n if (at.name == \"AttributeValue\")\n return { type: \"attrValue\", from: at.from, context: inTag };\n let before = at == inTag || at.name == \"Attribute\" ? at.childBefore(pos) : at;\n if ((before === null || before === void 0 ? void 0 : before.name) == \"StartTag\")\n return { type: \"openTag\", from: pos, context: findParentElement(elt) };\n if ((before === null || before === void 0 ? void 0 : before.name) == \"StartCloseTag\" && before.to <= pos)\n return { type: \"closeTag\", from: pos, context: elt };\n if ((before === null || before === void 0 ? void 0 : before.name) == \"Is\")\n return { type: \"attrValue\", from: pos, context: inTag };\n if (before)\n return { type: \"attrName\", from: pos, context: inTag };\n return null;\n }\n else if (at.name == \"StartCloseTag\") {\n return { type: \"closeTag\", from: pos, context: at.parent };\n }\n while (at.parent && at.to == pos && !((_a = at.lastChild) === null || _a === void 0 ? void 0 : _a.type.isError))\n at = at.parent;\n if (at.name == \"Element\" || at.name == \"Text\" || at.name == \"Document\")\n return { type: \"tag\", from: pos, context: at.name == \"Element\" ? at : findParentElement(at) };\n return null;\n}\nclass Element {\n constructor(spec, attrs, attrValues) {\n this.attrs = attrs;\n this.attrValues = attrValues;\n this.children = [];\n this.name = spec.name;\n this.completion = Object.assign(Object.assign({ type: \"type\" }, spec.completion || {}), { label: this.name });\n this.openCompletion = Object.assign(Object.assign({}, this.completion), { label: \"<\" + this.name });\n this.closeCompletion = Object.assign(Object.assign({}, this.completion), { label: \"</\" + this.name + \">\", boost: 2 });\n this.closeNameCompletion = Object.assign(Object.assign({}, this.completion), { label: this.name + \">\" });\n this.text = spec.textContent ? spec.textContent.map(s => ({ label: s, type: \"text\" })) : [];\n }\n}\nconst Identifier = /^[:\\-\\.\\w\\u00b7-\\uffff]*$/;\nfunction attrCompletion(spec) {\n return Object.assign(Object.assign({ type: \"property\" }, spec.completion || {}), { label: spec.name });\n}\nfunction valueCompletion(spec) {\n return typeof spec == \"string\" ? { label: `\"${spec}\"`, type: \"constant\" }\n : /^\"/.test(spec.label) ? spec\n : Object.assign(Object.assign({}, spec), { label: `\"${spec.label}\"` });\n}\n/**\nCreate a completion source for the given schema.\n*/\nfunction completeFromSchema(eltSpecs, attrSpecs) {\n let allAttrs = [], globalAttrs = [];\n let attrValues = Object.create(null);\n for (let s of attrSpecs) {\n let completion = attrCompletion(s);\n allAttrs.push(completion);\n if (s.global)\n globalAttrs.push(completion);\n if (s.values)\n attrValues[s.name] = s.values.map(valueCompletion);\n }\n let allElements = [], topElements = [];\n let byName = Object.create(null);\n for (let s of eltSpecs) {\n let attrs = globalAttrs, attrVals = attrValues;\n if (s.attributes)\n attrs = attrs.concat(s.attributes.map(s => {\n if (typeof s == \"string\")\n return allAttrs.find(a => a.label == s) || { label: s, type: \"property\" };\n if (s.values) {\n if (attrVals == attrValues)\n attrVals = Object.create(attrVals);\n attrVals[s.name] = s.values.map(valueCompletion);\n }\n return attrCompletion(s);\n }));\n let elt = new Element(s, attrs, attrVals);\n byName[elt.name] = elt;\n allElements.push(elt);\n if (s.top)\n topElements.push(elt);\n }\n if (!topElements.length)\n topElements = allElements;\n for (let i = 0; i < allElements.length; i++) {\n let s = eltSpecs[i], elt = allElements[i];\n if (s.children) {\n for (let ch of s.children)\n if (byName[ch])\n elt.children.push(byName[ch]);\n }\n else {\n elt.children = allElements;\n }\n }\n return cx => {\n var _a;\n let { doc } = cx.state, loc = findLocation(cx.state, cx.pos);\n if (!loc || (loc.type == \"tag\" && !cx.explicit))\n return null;\n let { type, from, context } = loc;\n if (type == \"openTag\") {\n let children = topElements;\n let parentName = elementName(doc, context);\n if (parentName) {\n let parent = byName[parentName];\n children = (parent === null || parent === void 0 ? void 0 : parent.children) || allElements;\n }\n return {\n from,\n options: children.map(ch => ch.completion),\n validFor: Identifier\n };\n }\n else if (type == \"closeTag\") {\n let parentName = elementName(doc, context);\n return parentName ? {\n from,\n to: cx.pos + (doc.sliceString(cx.pos, cx.pos + 1) == \">\" ? 1 : 0),\n options: [((_a = byName[parentName]) === null || _a === void 0 ? void 0 : _a.closeNameCompletion) || { label: parentName + \">\", type: \"type\" }],\n validFor: Identifier\n } : null;\n }\n else if (type == \"attrName\") {\n let parent = byName[tagName(doc, context)];\n return {\n from,\n options: (parent === null || parent === void 0 ? void 0 : parent.attrs) || globalAttrs,\n validFor: Identifier\n };\n }\n else if (type == \"attrValue\") {\n let attr = attrName(doc, context, from);\n if (!attr)\n return null;\n let parent = byName[tagName(doc, context)];\n let values = ((parent === null || parent === void 0 ? void 0 : parent.attrValues) || attrValues)[attr];\n if (!values || !values.length)\n return null;\n return {\n from,\n to: cx.pos + (doc.sliceString(cx.pos, cx.pos + 1) == '\"' ? 1 : 0),\n options: values,\n validFor: /^\"[^\"]*\"?$/\n };\n }\n else if (type == \"tag\") {\n let parentName = elementName(doc, context), parent = byName[parentName];\n let closing = [], last = context && context.lastChild;\n if (parentName && (!last || last.name != \"CloseTag\" || tagName(doc, last) != parentName))\n closing.push(parent ? parent.closeCompletion : { label: \"</\" + parentName + \">\", type: \"type\", boost: 2 });\n let options = closing.concat(((parent === null || parent === void 0 ? void 0 : parent.children) || (context ? allElements : topElements)).map(e => e.openCompletion));\n if (context && (parent === null || parent === void 0 ? void 0 : parent.text.length)) {\n let openTag = context.firstChild;\n if (openTag.to > cx.pos - 20 && !/\\S/.test(cx.state.sliceDoc(openTag.to, cx.pos)))\n options = options.concat(parent.text);\n }\n return {\n from,\n options,\n validFor: /^<\\/?[:\\-\\.\\w\\u00b7-\\uffff]*$/\n };\n }\n else {\n return null;\n }\n };\n}\n\n/**\nA language provider based on the [Lezer XML\nparser](https://github.com/lezer-parser/xml), extended with\nhighlighting and indentation information.\n*/\nconst xmlLanguage = /*@__PURE__*/LRLanguage.define({\n name: \"xml\",\n parser: /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/indentNodeProp.add({\n Element(context) {\n let closed = /^\\s*<\\//.test(context.textAfter);\n return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);\n },\n \"OpenTag CloseTag SelfClosingTag\"(context) {\n return context.column(context.node.from) + context.unit;\n }\n }),\n /*@__PURE__*/foldNodeProp.add({\n Element(subtree) {\n let first = subtree.firstChild, last = subtree.lastChild;\n if (!first || first.name != \"OpenTag\")\n return null;\n return { from: first.to, to: last.name == \"CloseTag\" ? last.from : subtree.to };\n }\n }),\n /*@__PURE__*/bracketMatchingHandle.add({\n \"OpenTag CloseTag\": node => node.getChild(\"TagName\")\n })\n ]\n }),\n languageData: {\n commentTokens: { block: { open: \"<!--\", close: \"-->\" } },\n indentOnInput: /^\\s*<\\/$/\n }\n});\n/**\nXML language support. Includes schema-based autocompletion when\nconfigured.\n*/\nfunction xml(conf = {}) {\n return new LanguageSupport(xmlLanguage, xmlLanguage.data.of({\n autocomplete: completeFromSchema(conf.elements || [], conf.attributes || [])\n }));\n}\n\nexport { completeFromSchema, xml, xmlLanguage };\n"],"names":["nameChar","ch","cachedName","cachedInput","cachedPos","tagNameAfter","input","offset","pos","peek","name","next","String","fromCharCode","ElementContext","parent","this","hash","i","length","charCodeAt","elementContext","ContextTracker","start","shift","context","term","stack","reduce","reuse","node","_stack","type","id","strict","startTag","ExternalTokenizer","advance","acceptToken","cx","contextual","scanTo","end","len","first","scan","commentContent","piContent","cdataContent","xmlHighlighting","styleTags","Text","tags","content","angleBracket","TagName","tagName","invalid","AttributeName","attributeName","AttributeValue","attributeValue","Is","definitionOperator","character","Comment","blockComment","ProcessingInst","processingInstruction","DoctypeDecl","documentMeta","Cdata","special","string","parser","LRParser","deserialize","version","states","stateData","goto","nodeNames","maxTerm","nodeProps","propSources","skippedNodes","repeatNodeCount","tokenData","tokenizers","topRules","Document","tokenPrec","doc","tag","getChild","sliceString","from","to","elementName","tree","firstChild","findParentElement","cur","Element","constructor","spec","attrs","attrValues","children","completion","Object","assign","label","openCompletion","closeCompletion","boost","closeNameCompletion","text","textContent","map","s","Identifier","attrCompletion","valueCompletion","test","completeFromSchema","eltSpecs","attrSpecs","allAttrs","globalAttrs","create","push","global","values","allElements","topElements","byName","attrVals","attributes","concat","find","a","elt","top","_a","state","loc","at","syntaxTree","resolveInner","inTag","lastChild","isError","before","childBefore","findLocation","explicit","parentName","options","validFor","attr","getChildren","attrName","closing","last","e","openTag","sliceDoc","xmlLanguage","LRLanguage","define","configure","props","indentNodeProp","add","closed","textAfter","lineIndent","unit","column","foldNodeProp","subtree","bracketMatchingHandle","languageData","commentTokens","block","open","close","indentOnInput","xml","conf","LanguageSupport","data","of","autocomplete","elements"],"mappings":"0GAiBA,SAASA,EAASC,GAChB,OAAa,IAANA,GAAkB,IAANA,GAAkB,IAANA,GAAYA,GAAM,IAAMA,GAAM,IAAY,IAANA,GAAYA,GAAM,IAAMA,GAAM,KAAOA,GAAM,GAChH,CAMA,IAAIC,EAAa,KAAMC,EAAc,KAAMC,EAAY,EACvD,SAASC,EAAaC,EAAOC,GAC3B,IAAIC,EAAMF,EAAME,IAAMD,EACtB,GAAIJ,GAAeG,GAASF,GAAaI,EAAK,OAAON,EACrD,KAPa,IADED,EAQAK,EAAMG,KAAKF,KAPF,IAANN,GAAkB,IAANA,GAAkB,IAANA,GAONM,IARtC,IAAiBN,EASf,IAAIS,EAAO,GACX,OAAS,CACP,IAAIC,EAAOL,EAAMG,KAAKF,GACtB,IAAKP,EAASW,GAAO,MACrBD,GAAQE,OAAOC,aAAaF,GAC5BJ,IAGF,OADAJ,EAAcG,EAAOF,EAAYI,EAC1BN,EAAaQ,GAAQ,IAC9B,CAEA,SAASI,EAAeJ,EAAMK,GAC5BC,KAAKN,KAAOA,EACZM,KAAKD,OAASA,EACdC,KAAKC,KAAOF,EAASA,EAAOE,KAAO,EACnC,IAAK,IAAIC,E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,KAAM,UAAQC,MAAO,WAC/CC,cAAe,cAOvB,SAASC,EAAIC,EAAO,IAChB,OAAO,IAAIC,EAAgBvB,EAAaA,EAAYwB,KAAKC,GAAG,CACxDC,aAAcrE,EAAmBiE,EAAKK,UAAY,GAAIL,EAAKpD,YAAc,MAEjF"}
1
+ {"version":3,"file":"xml.js","sources":["../node_modules/@lezer/xml/dist/index.js","../node_modules/@codemirror/lang-xml/dist/index.js"],"sourcesContent":["import { ContextTracker, ExternalTokenizer, LRParser } from '@lezer/lr';\nimport { styleTags, tags } from '@lezer/highlight';\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst StartTag = 1,\n StartCloseTag = 2,\n MissingCloseTag = 3,\n mismatchedStartCloseTag = 4,\n incompleteStartCloseTag = 5,\n commentContent$1 = 35,\n piContent$1 = 36,\n cdataContent$1 = 37,\n Element = 11,\n OpenTag = 13;\n\n/* Hand-written tokenizer for XML tag matching. */\n\nfunction nameChar(ch) {\n return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161\n}\n\nfunction isSpace(ch) {\n return ch == 9 || ch == 10 || ch == 13 || ch == 32\n}\n\nlet cachedName = null, cachedInput = null, cachedPos = 0;\nfunction tagNameAfter(input, offset) {\n let pos = input.pos + offset;\n if (cachedInput == input && cachedPos == pos) return cachedName\n while (isSpace(input.peek(offset))) offset++;\n let name = \"\";\n for (;;) {\n let next = input.peek(offset);\n if (!nameChar(next)) break\n name += String.fromCharCode(next);\n offset++;\n }\n cachedInput = input; cachedPos = pos;\n return cachedName = name || null\n}\n\nfunction ElementContext(name, parent) {\n this.name = name;\n this.parent = parent;\n this.hash = parent ? parent.hash : 0;\n for (let i = 0; i < name.length; i++) this.hash += (this.hash << 4) + name.charCodeAt(i) + (name.charCodeAt(i) << 8);\n}\n\nconst elementContext = new ContextTracker({\n start: null,\n shift(context, term, stack, input) {\n return term == StartTag ? new ElementContext(tagNameAfter(input, 1) || \"\", context) : context\n },\n reduce(context, term) {\n return term == Element && context ? context.parent : context\n },\n reuse(context, node, _stack, input) {\n let type = node.type.id;\n return type == StartTag || type == OpenTag\n ? new ElementContext(tagNameAfter(input, 1) || \"\", context) : context\n },\n hash(context) { return context ? context.hash : 0 },\n strict: false\n});\n\nconst startTag = new ExternalTokenizer((input, stack) => {\n if (input.next != 60 /* '<' */) return\n input.advance();\n if (input.next == 47 /* '/' */) {\n input.advance();\n let name = tagNameAfter(input, 0);\n if (!name) return input.acceptToken(incompleteStartCloseTag)\n if (stack.context && name == stack.context.name) return input.acceptToken(StartCloseTag)\n for (let cx = stack.context; cx; cx = cx.parent) if (cx.name == name) return input.acceptToken(MissingCloseTag, -2)\n input.acceptToken(mismatchedStartCloseTag);\n } else if (input.next != 33 /* '!' */ && input.next != 63 /* '?' */) {\n return input.acceptToken(StartTag)\n }\n}, {contextual: true});\n\nfunction scanTo(type, end) {\n return new ExternalTokenizer(input => {\n let len = 0, first = end.charCodeAt(0);\n scan: for (;; input.advance(), len++) {\n if (input.next < 0) break\n if (input.next == first) {\n for (let i = 1; i < end.length; i++)\n if (input.peek(i) != end.charCodeAt(i)) continue scan\n break\n }\n }\n if (len) input.acceptToken(type);\n })\n}\n\nconst commentContent = scanTo(commentContent$1, \"-->\");\nconst piContent = scanTo(piContent$1, \"?>\");\nconst cdataContent = scanTo(cdataContent$1, \"]]>\");\n\nconst xmlHighlighting = styleTags({\n Text: tags.content,\n \"StartTag StartCloseTag EndTag SelfCloseEndTag\": tags.angleBracket,\n TagName: tags.tagName,\n \"MismatchedCloseTag/TagName\": [tags.tagName, tags.invalid],\n AttributeName: tags.attributeName,\n AttributeValue: tags.attributeValue,\n Is: tags.definitionOperator,\n \"EntityReference CharacterReference\": tags.character,\n Comment: tags.blockComment,\n ProcessingInst: tags.processingInstruction,\n DoctypeDecl: tags.documentMeta,\n Cdata: tags.special(tags.string)\n});\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst parser = LRParser.deserial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VWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O\",\n goto: \"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb\",\n nodeNames: \"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl\",\n maxTerm: 47,\n context: elementContext,\n nodeProps: [\n [\"closedBy\", 1,\"SelfCloseEndTag EndTag\",13,\"CloseTag MissingCloseTag\"],\n [\"openedBy\", 12,\"StartTag StartCloseTag\",19,\"OpenTag\",20,\"StartTag\"],\n [\"isolate\", -6,13,18,19,21,22,24,\"\"]\n ],\n propSources: [xmlHighlighting],\n skippedNodes: [0],\n repeatNodeCount: 8,\n tokenData: \"Jy~R!XOX$nXY&kYZ&kZ]$n]^&k^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{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n\",\n tokenizers: [startTag, commentContent, piContent, cdataContent, 0, 1, 2, 3],\n topRules: {\"Document\":[0,6]},\n tokenPrec: 0\n});\n\nexport { parser };\n","import { parser } from '@lezer/xml';\nimport { syntaxTree, LRLanguage, indentNodeProp, foldNodeProp, bracketMatchingHandle, LanguageSupport } from '@codemirror/language';\n\nfunction tagName(doc, tag) {\n let name = tag && tag.getChild(\"TagName\");\n return name ? doc.sliceString(name.from, name.to) : \"\";\n}\nfunction elementName(doc, tree) {\n let tag = tree && tree.firstChild;\n return !tag || tag.name != \"OpenTag\" ? \"\" : tagName(doc, tag);\n}\nfunction attrName(doc, tag, pos) {\n let attr = tag && tag.getChildren(\"Attribute\").find(a => a.from <= pos && a.to >= pos);\n let name = attr && attr.getChild(\"AttributeName\");\n return name ? doc.sliceString(name.from, name.to) : \"\";\n}\nfunction findParentElement(tree) {\n for (let cur = tree && tree.parent; cur; cur = cur.parent)\n if (cur.name == \"Element\")\n return cur;\n return null;\n}\nfunction findLocation(state, pos) {\n var _a;\n let at = syntaxTree(state).resolveInner(pos, -1), inTag = null;\n for (let cur = at; !inTag && cur.parent; cur = cur.parent)\n if (cur.name == \"OpenTag\" || cur.name == \"CloseTag\" || cur.name == \"SelfClosingTag\" || cur.name == \"MismatchedCloseTag\")\n inTag = cur;\n if (inTag && (inTag.to > pos || inTag.lastChild.type.isError)) {\n let elt = inTag.parent;\n if (at.name == \"TagName\")\n return inTag.name == \"CloseTag\" || inTag.name == \"MismatchedCloseTag\"\n ? { type: \"closeTag\", from: at.from, context: elt }\n : { type: \"openTag\", from: at.from, context: findParentElement(elt) };\n if (at.name == \"AttributeName\")\n return { type: \"attrName\", from: at.from, context: inTag };\n if (at.name == \"AttributeValue\")\n return { type: \"attrValue\", from: at.from, context: inTag };\n let before = at == inTag || at.name == \"Attribute\" ? at.childBefore(pos) : at;\n if ((before === null || before === void 0 ? void 0 : before.name) == \"StartTag\")\n return { type: \"openTag\", from: pos, context: findParentElement(elt) };\n if ((before === null || before === void 0 ? void 0 : before.name) == \"StartCloseTag\" && before.to <= pos)\n return { type: \"closeTag\", from: pos, context: elt };\n if ((before === null || before === void 0 ? void 0 : before.name) == \"Is\")\n return { type: \"attrValue\", from: pos, context: inTag };\n if (before)\n return { type: \"attrName\", from: pos, context: inTag };\n return null;\n }\n else if (at.name == \"StartCloseTag\") {\n return { type: \"closeTag\", from: pos, context: at.parent };\n }\n while (at.parent && at.to == pos && !((_a = at.lastChild) === null || _a === void 0 ? void 0 : _a.type.isError))\n at = at.parent;\n if (at.name == \"Element\" || at.name == \"Text\" || at.name == \"Document\")\n return { type: \"tag\", from: pos, context: at.name == \"Element\" ? at : findParentElement(at) };\n return null;\n}\nclass Element {\n constructor(spec, attrs, attrValues) {\n this.attrs = attrs;\n this.attrValues = attrValues;\n this.children = [];\n this.name = spec.name;\n this.completion = Object.assign(Object.assign({ type: \"type\" }, spec.completion || {}), { label: this.name });\n this.openCompletion = Object.assign(Object.assign({}, this.completion), { label: \"<\" + this.name });\n this.closeCompletion = Object.assign(Object.assign({}, this.completion), { label: \"</\" + this.name + \">\", boost: 2 });\n this.closeNameCompletion = Object.assign(Object.assign({}, this.completion), { label: this.name + \">\" });\n this.text = spec.textContent ? spec.textContent.map(s => ({ label: s, type: \"text\" })) : [];\n }\n}\nconst Identifier = /^[:\\-\\.\\w\\u00b7-\\uffff]*$/;\nfunction attrCompletion(spec) {\n return Object.assign(Object.assign({ type: \"property\" }, spec.completion || {}), { label: spec.name });\n}\nfunction valueCompletion(spec) {\n return typeof spec == \"string\" ? { label: `\"${spec}\"`, type: \"constant\" }\n : /^\"/.test(spec.label) ? spec\n : Object.assign(Object.assign({}, spec), { label: `\"${spec.label}\"` });\n}\n/**\nCreate a completion source for the given schema.\n*/\nfunction completeFromSchema(eltSpecs, attrSpecs) {\n let allAttrs = [], globalAttrs = [];\n let attrValues = Object.create(null);\n for (let s of attrSpecs) {\n let completion = attrCompletion(s);\n allAttrs.push(completion);\n if (s.global)\n globalAttrs.push(completion);\n if (s.values)\n attrValues[s.name] = s.values.map(valueCompletion);\n }\n let allElements = [], topElements = [];\n let byName = Object.create(null);\n for (let s of eltSpecs) {\n let attrs = globalAttrs, attrVals = attrValues;\n if (s.attributes)\n attrs = attrs.concat(s.attributes.map(s => {\n if (typeof s == \"string\")\n return allAttrs.find(a => a.label == s) || { label: s, type: \"property\" };\n if (s.values) {\n if (attrVals == attrValues)\n attrVals = Object.create(attrVals);\n attrVals[s.name] = s.values.map(valueCompletion);\n }\n return attrCompletion(s);\n }));\n let elt = new Element(s, attrs, attrVals);\n byName[elt.name] = elt;\n allElements.push(elt);\n if (s.top)\n topElements.push(elt);\n }\n if (!topElements.length)\n topElements = allElements;\n for (let i = 0; i < allElements.length; i++) {\n let s = eltSpecs[i], elt = allElements[i];\n if (s.children) {\n for (let ch of s.children)\n if (byName[ch])\n elt.children.push(byName[ch]);\n }\n else {\n elt.children = allElements;\n }\n }\n return cx => {\n var _a;\n let { doc } = cx.state, loc = findLocation(cx.state, cx.pos);\n if (!loc || (loc.type == \"tag\" && !cx.explicit))\n return null;\n let { type, from, context } = loc;\n if (type == \"openTag\") {\n let children = topElements;\n let parentName = elementName(doc, context);\n if (parentName) {\n let parent = byName[parentName];\n children = (parent === null || parent === void 0 ? void 0 : parent.children) || allElements;\n }\n return {\n from,\n options: children.map(ch => ch.completion),\n validFor: Identifier\n };\n }\n else if (type == \"closeTag\") {\n let parentName = elementName(doc, context);\n return parentName ? {\n from,\n to: cx.pos + (doc.sliceString(cx.pos, cx.pos + 1) == \">\" ? 1 : 0),\n options: [((_a = byName[parentName]) === null || _a === void 0 ? void 0 : _a.closeNameCompletion) || { label: parentName + \">\", type: \"type\" }],\n validFor: Identifier\n } : null;\n }\n else if (type == \"attrName\") {\n let parent = byName[tagName(doc, context)];\n return {\n from,\n options: (parent === null || parent === void 0 ? void 0 : parent.attrs) || globalAttrs,\n validFor: Identifier\n };\n }\n else if (type == \"attrValue\") {\n let attr = attrName(doc, context, from);\n if (!attr)\n return null;\n let parent = byName[tagName(doc, context)];\n let values = ((parent === null || parent === void 0 ? void 0 : parent.attrValues) || attrValues)[attr];\n if (!values || !values.length)\n return null;\n return {\n from,\n to: cx.pos + (doc.sliceString(cx.pos, cx.pos + 1) == '\"' ? 1 : 0),\n options: values,\n validFor: /^\"[^\"]*\"?$/\n };\n }\n else if (type == \"tag\") {\n let parentName = elementName(doc, context), parent = byName[parentName];\n let closing = [], last = context && context.lastChild;\n if (parentName && (!last || last.name != \"CloseTag\" || tagName(doc, last) != parentName))\n closing.push(parent ? parent.closeCompletion : { label: \"</\" + parentName + \">\", type: \"type\", boost: 2 });\n let options = closing.concat(((parent === null || parent === void 0 ? void 0 : parent.children) || (context ? allElements : topElements)).map(e => e.openCompletion));\n if (context && (parent === null || parent === void 0 ? void 0 : parent.text.length)) {\n let openTag = context.firstChild;\n if (openTag.to > cx.pos - 20 && !/\\S/.test(cx.state.sliceDoc(openTag.to, cx.pos)))\n options = options.concat(parent.text);\n }\n return {\n from,\n options,\n validFor: /^<\\/?[:\\-\\.\\w\\u00b7-\\uffff]*$/\n };\n }\n else {\n return null;\n }\n };\n}\n\n/**\nA language provider based on the [Lezer XML\nparser](https://github.com/lezer-parser/xml), extended with\nhighlighting and indentation information.\n*/\nconst xmlLanguage = /*@__PURE__*/LRLanguage.define({\n name: \"xml\",\n parser: /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/indentNodeProp.add({\n Element(context) {\n let closed = /^\\s*<\\//.test(context.textAfter);\n return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);\n },\n \"OpenTag CloseTag SelfClosingTag\"(context) {\n return context.column(context.node.from) + context.unit;\n }\n }),\n /*@__PURE__*/foldNodeProp.add({\n Element(subtree) {\n let first = subtree.firstChild, last = subtree.lastChild;\n if (!first || first.name != \"OpenTag\")\n return null;\n return { from: first.to, to: last.name == \"CloseTag\" ? last.from : subtree.to };\n }\n }),\n /*@__PURE__*/bracketMatchingHandle.add({\n \"OpenTag CloseTag\": node => node.getChild(\"TagName\")\n })\n ]\n }),\n languageData: {\n commentTokens: { block: { open: \"<!--\", close: \"-->\" } },\n indentOnInput: /^\\s*<\\/$/\n }\n});\n/**\nXML language support. Includes schema-based autocompletion when\nconfigured.\n*/\nfunction xml(conf = {}) {\n return new LanguageSupport(xmlLanguage, xmlLanguage.data.of({\n autocomplete: completeFromSchema(conf.elements || [], conf.attributes || [])\n }));\n}\n\nexport { completeFromSchema, xml, xmlLanguage };\n"],"names":["nameChar","ch","cachedName","cachedInput","cachedPos","tagNameAfter","input","offset","pos","peek","name","next","String","fromCharCode","ElementContext","parent","this","hash","i","length","charCodeAt","elementContext","ContextTracker","start","shift","context","term","stack","reduce","reuse","node","_stack","type","id","strict","startTag","ExternalTokenizer","advance","acceptToken","cx","contextual","scanTo","end","len","first","scan","commentContent","piContent","cdataContent","xmlHighlighting","styleTags","Text","tags","content","angleBracket","TagName","tagName","invalid","AttributeName","attributeName","AttributeValue","attributeValue","Is","definitionOperator","character","Comment","blockComment","ProcessingInst","processingInstruction","DoctypeDecl","documentMeta","Cdata","special","string","parser","LRParser","deserialize","version","states","stateData","goto","nodeNames","maxTerm","nodeProps","propSources","skippedNodes","repeatNodeCount","tokenData","tokenizers","topRules","Document","tokenPrec","doc","tag","getChild","sliceString","from","to","elementName","tree","firstChild","findParentElement","cur","Element","constructor","spec","attrs","attrValues","children","completion","Object","assign","label","openCompletion","closeCompletion","boost","closeNameCompletion","text","textContent","map","s","Identifier","attrCompletion","valueCompletion","test","completeFromSchema","eltSpecs","attrSpecs","allAttrs","globalAttrs","create","push","global","values","allElements","topElements","byName","attrVals","attributes","concat","find","a","elt","top","_a","state","loc","at","syntaxTree","resolveInner","inTag","lastChild","isError","before","childBefore","findLocation","explicit","parentName","options","validFor","attr","getChildren","attrName","closing","last","e","openTag","sliceDoc","xmlLanguage","LRLanguage","define","configure","props","indentNodeProp","add","closed","textAfter","lineIndent","unit","column","foldNodeProp","subtree","bracketMatchingHandle","languageData","commentTokens","block","open","close","indentOnInput","xml","conf","LanguageSupport","data","of","autocomplete","elements"],"mappings":"0GAiBA,SAASA,EAASC,GAChB,OAAa,IAANA,GAAkB,IAANA,GAAkB,IAANA,GAAYA,GAAM,IAAMA,GAAM,IAAY,IAANA,GAAYA,GAAM,IAAMA,GAAM,KAAOA,GAAM,GAChH,CAMA,IAAIC,EAAa,KAAMC,EAAc,KAAMC,EAAY,EACvD,SAASC,EAAaC,EAAOC,GAC3B,IAAIC,EAAMF,EAAME,IAAMD,EACtB,GAAIJ,GAAeG,GAASF,GAAaI,EAAK,OAAON,EACrD,KAPa,IADED,EAQAK,EAAMG,KAAKF,KAPF,IAANN,GAAkB,IAANA,GAAkB,IAANA,GAONM,IARtC,IAAiBN,EASf,IAAIS,EAAO,GACX,OAAS,CACP,IAAIC,EAAOL,EAAMG,KAAKF,GACtB,IAAKP,EAASW,GAAO,MACrBD,GAAQE,OAAOC,aAAaF,GAC5BJ,GACD,CAED,OADAJ,EAAcG,EAAOF,EAAYI,EAC1BN,EAAaQ,GAAQ,IAC9B,CAEA,SAASI,EAAeJ,EAAMK,GAC5BC,KAAKN,KAAOA,E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,KAAMpD,EAAMqD,GAAIA,GAAiB,YAAbmE,EAAK1J,KAAqB0J,EAAKpE,KAAOqF,EAAQpF,IADhE,IAEd,IAEQqF,EAAsBR,IAAI,CACnC,mBAAoBhJ,GAAQA,EAAKgE,SAAS,gBAItDyF,aAAc,CACVC,cAAe,CAAEC,MAAO,CAAEC,KAAM,UAAQC,MAAO,WAC/CC,cAAe,cAOvB,SAASC,EAAIC,EAAO,IAChB,OAAO,IAAIC,EAAgBvB,EAAaA,EAAYwB,KAAKC,GAAG,CACxDC,aAAcrE,EAAmBiE,EAAKK,UAAY,GAAIL,EAAKpD,YAAc,MAEjF"}
@@ -6196,6 +6196,11 @@ interface Completion {
6196
6196
  */
6197
6197
  type?: string;
6198
6198
  /**
6199
+ When this option is selected, and one of these characters is
6200
+ typed, insert the completion before typing the character.
6201
+ */
6202
+ commitCharacters?: readonly string[];
6203
+ /**
6199
6204
  When given, should be a number from -99 to 99 that adjusts how
6200
6205
  this completion is ranked compared to other completions that
6201
6206
  match the input as well as this one. A negative number moves it
@@ -6266,6 +6271,14 @@ declare class CompletionContext {
6266
6271
  */
6267
6272
  readonly explicit: boolean;
6268
6273
  /**
6274
+ The editor view. May be undefined if the context was created
6275
+ in a situation where there is no such view available, such as
6276
+ in synchronous updates via
6277
+ [`CompletionResult.update`](https://codemirror.net/6/docs/ref/#autocomplete.CompletionResult.update)
6278
+ or when called by test code.
6279
+ */
6280
+ readonly view?: EditorView | undefined;
6281
+ /**
6269
6282
  Create a new completion context. (Mostly useful for testing
6270
6283
  completion sources—in the editor, the extension will create
6271
6284
  these for you.)
@@ -6285,7 +6298,15 @@ declare class CompletionContext {
6285
6298
  only return completions when either there is part of a
6286
6299
  completable entity before the cursor, or `explicit` is true.
6287
6300
  */
6288
- explicit: boolean);
6301
+ explicit: boolean,
6302
+ /**
6303
+ The editor view. May be undefined if the context was created
6304
+ in a situation where there is no such view available, such as
6305
+ in synchronous updates via
6306
+ [`CompletionResult.update`](https://codemirror.net/6/docs/ref/#autocomplete.CompletionResult.update)
6307
+ or when called by test code.
6308
+ */
6309
+ view?: EditorView | undefined);
6289
6310
  /**
6290
6311
  Get the extent, content, and (if there is a token) type of the
6291
6312
  token before `this.pos`.
@@ -6314,8 +6335,18 @@ declare class CompletionContext {
6314
6335
  Allows you to register abort handlers, which will be called when
6315
6336
  the query is
6316
6337
  [aborted](https://codemirror.net/6/docs/ref/#autocomplete.CompletionContext.aborted).
6338
+
6339
+ By default, running queries will not be aborted for regular
6340
+ typing or backspacing, on the assumption that they are likely to
6341
+ return a result with a
6342
+ [`validFor`](https://codemirror.net/6/docs/ref/#autocomplete.CompletionResult.validFor) field that
6343
+ allows the result to be used after all. Passing `onDocChange:
6344
+ true` will cause this query to be aborted for any document
6345
+ change.
6317
6346
  */
6318
- addEventListener(type: "abort", listener: () => void): void;
6347
+ addEventListener(type: "abort", listener: () => void, options?: {
6348
+ onDocChange: boolean;
6349
+ }): void;
6319
6350
  }
6320
6351
  /**
6321
6352
  Wrap the given completion source so that it will not fire when the
@@ -6387,6 +6418,20 @@ interface CompletionResult {
6387
6418
  completion still applies in the new state.
6388
6419
  */
6389
6420
  update?: (current: CompletionResult, from: number, to: number, context: CompletionContext) => CompletionResult | null;
6421
+ /**
6422
+ When results contain position-dependent information in, for
6423
+ example, `apply` methods, you can provide this method to update
6424
+ the result for transactions that happen after the query. It is
6425
+ not necessary to update `from` and `to`—those are tracked
6426
+ automatically.
6427
+ */
6428
+ map?: (current: CompletionResult, changes: ChangeDesc) => CompletionResult | null;
6429
+ /**
6430
+ Set a default set of [commit
6431
+ characters](https://codemirror.net/6/docs/ref/#autocomplete.Completion.commitCharacters) for all
6432
+ options in this result.
6433
+ */
6434
+ commitCharacters?: readonly string[];
6390
6435
  }
6391
6436
 
6392
6437
  interface CompletionConfig {
@@ -6396,6 +6441,19 @@ interface CompletionConfig {
6396
6441
  */
6397
6442
  activateOnTyping?: boolean;
6398
6443
  /**
6444
+ When given, if a completion that matches the predicate is
6445
+ picked, reactivate completion again as if it was typed normally.
6446
+ */
6447
+ activateOnCompletion?: (completion: Completion) => boolean;
6448
+ /**
6449
+ The amount of time to wait for further typing before querying
6450
+ completion sources via
6451
+ [`activateOnTyping`](https://codemirror.net/6/docs/ref/#autocomplete.autocompletion^config.activateOnTyping).
6452
+ Defaults to 100, which should be fine unless your completion
6453
+ source is very slow and/or doesn't use `validFor`.
6454
+ */
6455
+ activateOnTypingDelay?: number;
6456
+ /**
6399
6457
  By default, when completion opens, the first option is selected
6400
6458
  and can be confirmed with
6401
6459
  [`acceptCompletion`](https://codemirror.net/6/docs/ref/#autocomplete.acceptCompletion). When this
@@ -6461,7 +6519,7 @@ interface CompletionConfig {
6461
6519
  80.
6462
6520
  */
6463
6521
  addToOptions?: {
6464
- render: (completion: Completion, state: EditorState) => Node | null;
6522
+ render: (completion: Completion, state: EditorState, view: EditorView) => Node | null;
6465
6523
  position: number;
6466
6524
  }[];
6467
6525
  /**
@@ -6484,6 +6542,13 @@ interface CompletionConfig {
6484
6542
  */
6485
6543
  compareCompletions?: (a: Completion, b: Completion) => number;
6486
6544
  /**
6545
+ When set to true (the default is false), turn off fuzzy matching
6546
+ of completions and only show those that start with the text the
6547
+ user typed. Only takes effect for results where
6548
+ [`filter`](https://codemirror.net/6/docs/ref/#autocomplete.CompletionResult.filter) isn't false.
6549
+ */
6550
+ filterStrict?: boolean;
6551
+ /**
6487
6552
  By default, commands relating to an open completion only take
6488
6553
  effect 75 milliseconds after the completion opened, so that key
6489
6554
  presses made before the user is aware of the tooltip don't go to
@@ -1,2 +1,2 @@
1
- export{b5 as Annotation,b6 as AnnotationType,b7 as ChangeDesc,b8 as ChangeSet,b9 as Compartment,C as CompletionContext,bm as Decoration,r as EditorSelection,y as EditorState,V as EditorView,ba as Facet,bp as GutterMarker,aY as HighlightStyle,b as LRParser,o as Language,a as LanguageSupport,bb as Line,bc as MapMode,bu as MatchDecorator,l as NodeProp,m as NodeSet,N as NodeType,P as Parser,v as Prec,bd as Range,be as RangeSet,bf as RangeSetBuilder,bg as SelectionRange,bh as StateEffect,bi as StateEffectType,bj as StateField,a_ as StreamLanguage,a$ as StringStream,bG as StyleModule,T as Tag,bk as Text,bl as Transaction,n as Tree,bE as TreeCursor,bB as ViewPlugin,bC as ViewUpdate,bD as WidgetType,aj as acceptCompletion,Z as angular,ak as autocompletion,aU as bidiIsolates,aS as bracketMatching,_ as clojure,al as closeBrackets,am as closeBracketsKeymap,an as closeCompletion,aT as codeFolding,$ as coffeescript,ao as completeAnyWord,ap as completionStatus,a0 as cpp,a1 as css,af as cssStreamParser,aq as currentCompletions,aw as cursorGroupLeft,ax as cursorGroupRight,av as cursorMatchingBracket,ay as cursorSyntaxLeft,az as cursorSyntaxRight,a2 as dart,bn as drawSelection,aV as ensureSyntaxTree,aW as foldGutter,aX as foldKeymap,b2 as forceParsing,a4 as go,a3 as gss,bo as gutter,bq as gutters,b3 as highlightSelectionMatches,br as highlightSpecialChars,bF as highlightTree,aA as history,aB as historyKeymap,aQ as html,I as ifNotIn,aC as indentLess,aD as indentMore,aZ as indentOnInput,B as indentUnit,bH as indentationMarkers,aE as insertNewlineAndIndent,a5 as java,aR as javascript,w as keymap,a6 as kotlin,a7 as less,bs as lineNumberMarkers,bt as lineNumbers,a8 as markdown,ar as moveCompletionSelection,a9 as php,bv as placeholder,aa as python,aF as redo,aG as redoSelection,bw as repositionTooltips,ab as sass,ac as scala,bx as scrollPastEnd,aI as selectGroupLeft,aJ as selectGroupRight,aH as selectMatchingBracket,b4 as selectNextOccurrence,aK as selectSyntaxLeft,aL as selectSyntaxRight,as as selectedCompletion,at as selectedCompletionIndex,ad as shell,by as showPanel,bz as showTooltip,aM as standardKeymap,au as startCompletion,ae as svelte,b0 as syntaxHighlighting,b1 as syntaxParserRunning,q as syntaxTree,t as tags,aN as toggleComment,bA as tooltips,aO as undo,aP as undoSelection,ag as vue,ah as wast,ai as xml}from"./chunk/codemirror.js";
1
+ export{b5 as Annotation,b6 as AnnotationType,b7 as ChangeDesc,b8 as ChangeSet,b9 as Compartment,C as CompletionContext,bm as Decoration,q as EditorSelection,x as EditorState,V as EditorView,ba as Facet,bp as GutterMarker,aY as HighlightStyle,b as LRParser,y as Language,a as LanguageSupport,bb as Line,bc as MapMode,bu as MatchDecorator,l as NodeProp,m as NodeSet,N as NodeType,P as Parser,u as Prec,bd as Range,be as RangeSet,bf as RangeSetBuilder,bg as SelectionRange,bh as StateEffect,bi as StateEffectType,bj as StateField,a_ as StreamLanguage,a$ as StringStream,bG as StyleModule,T as Tag,bk as Text,bl as Transaction,n as Tree,bE as TreeCursor,bB as ViewPlugin,bC as ViewUpdate,bD as WidgetType,aj as acceptCompletion,Z as angular,ak as autocompletion,aU as bidiIsolates,aS as bracketMatching,_ as clojure,al as closeBrackets,am as closeBracketsKeymap,an as closeCompletion,aT as codeFolding,$ as coffeescript,ao as completeAnyWord,ap as completionStatus,a0 as cpp,a1 as css,af as cssStreamParser,aq as currentCompletions,aw as cursorGroupLeft,ax as cursorGroupRight,av as cursorMatchingBracket,ay as cursorSyntaxLeft,az as cursorSyntaxRight,a2 as dart,bn as drawSelection,aV as ensureSyntaxTree,aW as foldGutter,aX as foldKeymap,b2 as forceParsing,a4 as go,a3 as gss,bo as gutter,bq as gutters,b3 as highlightSelectionMatches,br as highlightSpecialChars,bF as highlightTree,aA as history,aB as historyKeymap,aQ as html,I as ifNotIn,aC as indentLess,aD as indentMore,aZ as indentOnInput,z as indentUnit,bH as indentationMarkers,aE as insertNewlineAndIndent,a5 as java,aR as javascript,v as keymap,a6 as kotlin,a7 as less,bs as lineNumberMarkers,bt as lineNumbers,a8 as markdown,ar as moveCompletionSelection,a9 as php,bv as placeholder,aa as python,aF as redo,aG as redoSelection,bw as repositionTooltips,ab as sass,ac as scala,bx as scrollPastEnd,aI as selectGroupLeft,aJ as selectGroupRight,aH as selectMatchingBracket,b4 as selectNextOccurrence,aK as selectSyntaxLeft,aL as selectSyntaxRight,as as selectedCompletion,at as selectedCompletionIndex,ad as shell,by as showPanel,bz as showTooltip,aM as standardKeymap,au as startCompletion,ae as svelte,b0 as syntaxHighlighting,b1 as syntaxParserRunning,o as syntaxTree,t as tags,aN as toggleComment,bA as tooltips,aO as undo,aP as undoSelection,ag as vue,ah as wast,ai as xml}from"./chunk/codemirror.js";
2
2
  //# sourceMappingURL=codemirror.next.js.map
@@ -4,7 +4,7 @@
4
4
  "version": "0.19.0",
5
5
  "private": true,
6
6
  "dependencies": {
7
- "@codemirror/autocomplete": "6.10.2",
7
+ "@codemirror/autocomplete": "6.18.2",
8
8
  "@codemirror/commands": "6.3.0",
9
9
  "@codemirror/lang-angular": "0.1.3",
10
10
  "@codemirror/lang-cpp": "6.0.2",
@@ -25,6 +25,7 @@
25
25
  "@codemirror/lint": "6.4.2",
26
26
  "@codemirror/search": "6.5.4",
27
27
  "@codemirror/view": "6.23.0",
28
+ "@lezer/common": "1.2.2",
28
29
  "@lezer/css": "1.1.9",
29
30
  "@lezer/highlight": "1.2.1",
30
31
  "@lezer/html": "1.3.10",
@@ -19,4 +19,5 @@ wget -qO- https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-9.8
19
19
 
20
20
  Local Modifications:
21
21
  - Copied package/index.d.ts to package/intl-messageformat.esm.d.ts for type checking.
22
- - Copied .d.ts files of icu-message-parser and adjusted import paths in intl-messasgeformat .d.ts files
22
+ - Copied .d.ts files of icu-message-parser and adjusted import paths in intl-messasgeformat .d.ts files
23
+ - Removed //#sourceMappingUrl from intl-messageformat.esm.js because no source map exists
@@ -1708,4 +1708,3 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1708
1708
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1709
1709
  PERFORMANCE OF THIS SOFTWARE.
1710
1710
  ***************************************************************************** */
1711
- //# sourceMappingURL=intl-messageformat.esm.js.map
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2012-2018 Aseem Kishore, and [others].
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ [others]: https://github.com/json5/json5/contributors
@@ -0,0 +1,17 @@
1
+ Name: json5
2
+ Short Name: json5
3
+ URL: https://github.com/json5/json5
4
+ Version: 2.2.3
5
+ Revision: de344f0
6
+ License: MIT
7
+ License File: LICENSE
8
+ Shipped: yes
9
+ Security Critical: yes
10
+ CPEPrefix: cpe:2.3:a:json5:json5:2.2.3:*:*:*:*:*:*:*
11
+
12
+ Description:
13
+ A JS implementation of JSON5 parsing and serialization.
14
+
15
+ Local Modifications:
16
+ 1. Only copied LICENSE.md and required files from lib/ to package/lib/
17
+ 2. Ran rebuild.sh to convert to esm module format
@@ -0,0 +1,8 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true
4
+ },
5
+ "files": [
6
+ "lib/index.js"
7
+ ]
8
+ }
@@ -0,0 +1,4 @@
1
+ import JSON5 from './lib/index.js';
2
+
3
+ export const parse = JSON5.parse;
4
+ export const stringify = JSON5.stringify;
@@ -0,0 +1,2 @@
1
+ declare const _exports: typeof import("../package/lib/index.js");
2
+ export default _exports;