@64mb/freelens-power 1.6.1 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -35
- package/THIRD_PARTY_LICENSES +74 -0
- package/dist/ai-codex-api-CHt-EMIE.js +4403 -0
- package/dist/ai-codex-api-CHt-EMIE.js.map +1 -0
- package/dist/ai-codex-api.js +1 -0
- package/{out/main/dashboard-preload.js → dist/dashboard-preload.cjs} +6 -6
- package/dist/dashboard-preload.cjs.map +1 -0
- package/dist/main.js +14935 -0
- package/dist/main.js.map +1 -0
- package/dist/power-logs-D2eUB0f0.js +32 -0
- package/dist/power-logs-D2eUB0f0.js.map +1 -0
- package/{out/main → dist}/power-logs-child.js +13 -12
- package/dist/power-logs-child.js.map +1 -0
- package/dist/power-logs-database.js +384 -0
- package/dist/power-logs-database.js.map +1 -0
- package/{out/renderer/src/common/power-logs-limits.js → dist/power-logs-limits-CdzRcMHg.js} +7 -10
- package/{out/renderer/src/common/power-logs-limits.js.map → dist/power-logs-limits-CdzRcMHg.js.map} +1 -1
- package/dist/power-logs-query-child.js +22 -0
- package/dist/power-logs-query-child.js.map +1 -0
- package/{out/main → dist}/power-logs-query.js +17 -16
- package/dist/power-logs-query.js.map +1 -0
- package/dist/renderer.js +43781 -0
- package/dist/renderer.js.map +1 -0
- package/package.json +43 -31
- package/out/main/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js +0 -9
- package/out/main/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorateMetadata.js +0 -6
- package/out/main/_virtual/_global-external_@freelensapp/extensions.js +0 -9
- package/out/main/_virtual/_global-external_mobx.js +0 -77
- package/out/main/ai-claude-policy.js +0 -141
- package/out/main/ai-claude-policy.js.map +0 -1
- package/out/main/ai-discovery.js +0 -61
- package/out/main/ai-discovery.js.map +0 -1
- package/out/main/ai-ipc.js +0 -144
- package/out/main/ai-ipc.js.map +0 -1
- package/out/main/ai-logs.js +0 -52
- package/out/main/ai-logs.js.map +0 -1
- package/out/main/ai-models.js +0 -82
- package/out/main/ai-models.js.map +0 -1
- package/out/main/ai-references.js +0 -20
- package/out/main/ai-references.js.map +0 -1
- package/out/main/ai-resources.js +0 -418
- package/out/main/ai-resources.js.map +0 -1
- package/out/main/ai.js +0 -527
- package/out/main/ai.js.map +0 -1
- package/out/main/cluster-icons-catalog.js +0 -28
- package/out/main/cluster-icons-catalog.js.map +0 -1
- package/out/main/cluster-icons.js +0 -125
- package/out/main/cluster-icons.js.map +0 -1
- package/out/main/common/ai-extras.js +0 -68
- package/out/main/common/ai-extras.js.map +0 -1
- package/out/main/common/ai-models.js +0 -6
- package/out/main/common/ai-models.js.map +0 -1
- package/out/main/common/ai-prompts.js +0 -16
- package/out/main/common/ai-prompts.js.map +0 -1
- package/out/main/common/ai-shortcuts.js +0 -69
- package/out/main/common/ai-shortcuts.js.map +0 -1
- package/out/main/common/ai-terminal-context.js +0 -51
- package/out/main/common/ai-terminal-context.js.map +0 -1
- package/out/main/common/ai.js +0 -12
- package/out/main/common/ai.js.map +0 -1
- package/out/main/common/cluster-icon-ipc.js +0 -6
- package/out/main/common/cluster-icon-ipc.js.map +0 -1
- package/out/main/common/cluster-icons.js +0 -121
- package/out/main/common/cluster-icons.js.map +0 -1
- package/out/main/common/dashboard-picker.js +0 -133
- package/out/main/common/dashboard-picker.js.map +0 -1
- package/out/main/common/dashboard-readiness.js +0 -58
- package/out/main/common/dashboard-readiness.js.map +0 -1
- package/out/main/common/dashboard-selector.js +0 -124
- package/out/main/common/dashboard-selector.js.map +0 -1
- package/out/main/common/dashboard-views.js +0 -12
- package/out/main/common/dashboard-views.js.map +0 -1
- package/out/main/common/dashboard.js +0 -39
- package/out/main/common/dashboard.js.map +0 -1
- package/out/main/common/extension-info.js +0 -8
- package/out/main/common/extension-info.js.map +0 -1
- package/out/main/common/monitoring-history.js +0 -52
- package/out/main/common/monitoring-history.js.map +0 -1
- package/out/main/common/power-logs-limits.js +0 -227
- package/out/main/common/power-logs-limits.js.map +0 -1
- package/out/main/common/power-logs.js +0 -32
- package/out/main/common/power-logs.js.map +0 -1
- package/out/main/common/resource-search.js +0 -61
- package/out/main/common/resource-search.js.map +0 -1
- package/out/main/common/settings-export.js +0 -83
- package/out/main/common/settings-export.js.map +0 -1
- package/out/main/common/store/ai-preferences-store.js +0 -101
- package/out/main/common/store/ai-preferences-store.js.map +0 -1
- package/out/main/common/store/ai-shortcuts-store.js +0 -40
- package/out/main/common/store/ai-shortcuts-store.js.map +0 -1
- package/out/main/common/store/appearance-preferences-store.js +0 -94
- package/out/main/common/store/appearance-preferences-store.js.map +0 -1
- package/out/main/common/store/cluster-icons-store.js +0 -32
- package/out/main/common/store/cluster-icons-store.js.map +0 -1
- package/out/main/common/store/dashboard-preferences-store.js +0 -56
- package/out/main/common/store/dashboard-preferences-store.js.map +0 -1
- package/out/main/common/store/logs-preferences-store.js +0 -45
- package/out/main/common/store/logs-preferences-store.js.map +0 -1
- package/out/main/common/store/monitoring-preferences-store.js +0 -69
- package/out/main/common/store/monitoring-preferences-store.js.map +0 -1
- package/out/main/common/store/node-shell-preferences-store.js +0 -40
- package/out/main/common/store/node-shell-preferences-store.js.map +0 -1
- package/out/main/common/store/power-preferences-store.js +0 -23
- package/out/main/common/store/power-preferences-store.js.map +0 -1
- package/out/main/common/store/read-only-preferences-store.js +0 -26
- package/out/main/common/store/read-only-preferences-store.js.map +0 -1
- package/out/main/dashboard-catalog.js +0 -29
- package/out/main/dashboard-catalog.js.map +0 -1
- package/out/main/dashboard-icon-cache.js +0 -63
- package/out/main/dashboard-icon-cache.js.map +0 -1
- package/out/main/dashboard-network.js +0 -104
- package/out/main/dashboard-network.js.map +0 -1
- package/out/main/dashboard-picker.js +0 -133
- package/out/main/dashboard-picker.js.map +0 -1
- package/out/main/dashboard-preload.js.map +0 -1
- package/out/main/dashboard-views.js +0 -810
- package/out/main/dashboard-views.js.map +0 -1
- package/out/main/diagnostics-menu-order.js +0 -57
- package/out/main/diagnostics-menu-order.js.map +0 -1
- package/out/main/dock-icon.js +0 -121
- package/out/main/dock-icon.js.map +0 -1
- package/out/main/index.js +0 -92
- package/out/main/index.js.map +0 -1
- package/out/main/monitoring-history-database.js +0 -103
- package/out/main/monitoring-history-database.js.map +0 -1
- package/out/main/monitoring-history-worker.js +0 -61
- package/out/main/monitoring-history-worker.js.map +0 -1
- package/out/main/monitoring-history.js +0 -110
- package/out/main/monitoring-history.js.map +0 -1
- package/out/main/power-logs-budget.js +0 -126
- package/out/main/power-logs-budget.js.map +0 -1
- package/out/main/power-logs-child.js.map +0 -1
- package/out/main/power-logs-database.js +0 -179
- package/out/main/power-logs-database.js.map +0 -1
- package/out/main/power-logs-ipc.js +0 -275
- package/out/main/power-logs-ipc.js.map +0 -1
- package/out/main/power-logs-query-child.js +0 -23
- package/out/main/power-logs-query-child.js.map +0 -1
- package/out/main/power-logs-query.js.map +0 -1
- package/out/main/power-logs-worker.js +0 -215
- package/out/main/power-logs-worker.js.map +0 -1
- package/out/main/resource-search-database.js +0 -209
- package/out/main/resource-search-database.js.map +0 -1
- package/out/main/resource-search-worker.js +0 -56
- package/out/main/resource-search-worker.js.map +0 -1
- package/out/main/resource-search.js +0 -155
- package/out/main/resource-search.js.map +0 -1
- package/out/main/settings-export.js +0 -68
- package/out/main/settings-export.js.map +0 -1
- package/out/main/settings-import.js +0 -89
- package/out/main/settings-import.js.map +0 -1
- package/out/main/splash-accent.js +0 -84
- package/out/main/splash-accent.js.map +0 -1
- package/out/renderer/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js +0 -9
- package/out/renderer/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorateMetadata.js +0 -6
- package/out/renderer/_virtual/_global-external_@freelensapp/extensions.js +0 -9
- package/out/renderer/_virtual/_global-external_mobx-react.js +0 -20
- package/out/renderer/_virtual/_global-external_mobx.js +0 -78
- package/out/renderer/_virtual/_global-external_react/jsx-runtime.js +0 -10
- package/out/renderer/_virtual/_global-external_react-dom.js +0 -16
- package/out/renderer/_virtual/_global-external_react.js +0 -44
- package/out/renderer/_virtual/_rolldown/runtime.js +0 -35
- package/out/renderer/ai-copy-answer.js +0 -35
- package/out/renderer/ai-copy-answer.js.map +0 -1
- package/out/renderer/ai-diagnostic-handoff.js +0 -52
- package/out/renderer/ai-diagnostic-handoff.js.map +0 -1
- package/out/renderer/ai-extras.js +0 -155
- package/out/renderer/ai-extras.js.map +0 -1
- package/out/renderer/ai-icon.js +0 -20
- package/out/renderer/ai-icon.js.map +0 -1
- package/out/renderer/ai-logs-sql.js +0 -27
- package/out/renderer/ai-logs-sql.js.map +0 -1
- package/out/renderer/ai-message.js +0 -281
- package/out/renderer/ai-message.js.map +0 -1
- package/out/renderer/ai-provider-icon.js +0 -44
- package/out/renderer/ai-provider-icon.js.map +0 -1
- package/out/renderer/ai-resize.js +0 -87
- package/out/renderer/ai-resize.js.map +0 -1
- package/out/renderer/ai-shortcuts.js +0 -38
- package/out/renderer/ai-shortcuts.js.map +0 -1
- package/out/renderer/ai-terminal-context.js +0 -210
- package/out/renderer/ai-terminal-context.js.map +0 -1
- package/out/renderer/ai.js +0 -955
- package/out/renderer/ai.js.map +0 -1
- package/out/renderer/appearance.js +0 -41
- package/out/renderer/appearance.js.map +0 -1
- package/out/renderer/assets/claude.js +0 -6
- package/out/renderer/assets/claude.js.map +0 -1
- package/out/renderer/button-styles.js +0 -20
- package/out/renderer/button-styles.js.map +0 -1
- package/out/renderer/cluster-icon-colors.js +0 -188
- package/out/renderer/cluster-icon-colors.js.map +0 -1
- package/out/renderer/cluster-icons.js +0 -304
- package/out/renderer/cluster-icons.js.map +0 -1
- package/out/renderer/dashboard.js +0 -530
- package/out/renderer/dashboard.js.map +0 -1
- package/out/renderer/details/hpa-diagnostics-details.js +0 -46
- package/out/renderer/details/hpa-diagnostics-details.js.map +0 -1
- package/out/renderer/details/namespace-health-details.js +0 -91
- package/out/renderer/details/namespace-health-details.js.map +0 -1
- package/out/renderer/details/resource-health-details.js +0 -135
- package/out/renderer/details/resource-health-details.js.map +0 -1
- package/out/renderer/details/secret-certificate-details.js +0 -68
- package/out/renderer/details/secret-certificate-details.js.map +0 -1
- package/out/renderer/details/service-diagnostics-details.js +0 -163
- package/out/renderer/details/service-diagnostics-details.js.map +0 -1
- package/out/renderer/diagnostic-explain-button.js +0 -16
- package/out/renderer/diagnostic-explain-button.js.map +0 -1
- package/out/renderer/diagnostics-state.js +0 -53
- package/out/renderer/diagnostics-state.js.map +0 -1
- package/out/renderer/diagnostics.css.js +0 -48
- package/out/renderer/diagnostics.css.js.map +0 -1
- package/out/renderer/diagnostics.js +0 -1472
- package/out/renderer/diagnostics.js.map +0 -1
- package/out/renderer/gateway-relationships-client.js +0 -107
- package/out/renderer/gateway-relationships-client.js.map +0 -1
- package/out/renderer/incident-copy-button.js +0 -50
- package/out/renderer/incident-copy-button.js.map +0 -1
- package/out/renderer/index.js +0 -263
- package/out/renderer/index.js.map +0 -1
- package/out/renderer/menus/secure-node-shell-menu.js +0 -44
- package/out/renderer/menus/secure-node-shell-menu.js.map +0 -1
- package/out/renderer/monitoring-collector.js +0 -202
- package/out/renderer/monitoring-collector.js.map +0 -1
- package/out/renderer/monitoring-details-chart.js +0 -42
- package/out/renderer/monitoring-details-chart.js.map +0 -1
- package/out/renderer/monitoring-history-collection.js +0 -168
- package/out/renderer/monitoring-history-collection.js.map +0 -1
- package/out/renderer/monitoring-history-view.js +0 -227
- package/out/renderer/monitoring-history-view.js.map +0 -1
- package/out/renderer/monitoring-history.js +0 -19
- package/out/renderer/monitoring-history.js.map +0 -1
- package/out/renderer/monitoring.js +0 -858
- package/out/renderer/monitoring.js.map +0 -1
- package/out/renderer/node-monitoring.js +0 -127
- package/out/renderer/node-monitoring.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -10
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -9
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -9
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js +0 -19
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -18
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -26
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -12
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -12
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -12
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -16
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -11
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -18
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -13
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -237
- package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -25
- package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -12
- package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -58
- package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -54
- package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-react.browser.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -133
- package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -65
- package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -54
- package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_use-insertion-effect-with-fallbacks@1.2.0_react@17.0.2/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -12
- package/out/renderer/node_modules/.pnpm/@emotion_use-insertion-effect-with-fallbacks@1.2.0_react@17.0.2/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -30
- package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -211
- package/out/renderer/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -97
- package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -31
- package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js +0 -45
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js +0 -392
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js +0 -7
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js +0 -27
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js +0 -21
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -93
- package/out/renderer/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js +0 -534
- package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js +0 -3774
- package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js +0 -25
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js +0 -74
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js +0 -57
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js +0 -18
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js +0 -175
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js +0 -38
- package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -307
- package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -159
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -103
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -18
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2200
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/Select-ef7c0426.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -992
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/index-641ee5b8.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/react-select.esm.js +0 -14
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/react-select.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -56
- package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js +0 -22
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js +0 -30
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js +0 -164
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js +0 -37
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js +0 -245
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js +0 -120
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js +0 -30
- package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@17.0.93_react@17.0.2/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -6
- package/out/renderer/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@17.0.93_react@17.0.2/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js.map +0 -1
- package/out/renderer/pod-monitoring.js +0 -309
- package/out/renderer/pod-monitoring.js.map +0 -1
- package/out/renderer/power-log-json.js +0 -29
- package/out/renderer/power-log-json.js.map +0 -1
- package/out/renderer/power-logs-client.js +0 -35
- package/out/renderer/power-logs-client.js.map +0 -1
- package/out/renderer/power-logs-collector.js +0 -316
- package/out/renderer/power-logs-collector.js.map +0 -1
- package/out/renderer/power-logs-entrypoints.js +0 -201
- package/out/renderer/power-logs-entrypoints.js.map +0 -1
- package/out/renderer/power-logs-sql-row.js +0 -52
- package/out/renderer/power-logs-sql-row.js.map +0 -1
- package/out/renderer/power-logs-transport.js +0 -122
- package/out/renderer/power-logs-transport.js.map +0 -1
- package/out/renderer/power-logs.css.js +0 -117
- package/out/renderer/power-logs.css.js.map +0 -1
- package/out/renderer/power-logs.js +0 -1385
- package/out/renderer/power-logs.js.map +0 -1
- package/out/renderer/preferences/ai-preferences.js +0 -249
- package/out/renderer/preferences/ai-preferences.js.map +0 -1
- package/out/renderer/preferences/ai-shortcuts-preferences.js +0 -175
- package/out/renderer/preferences/ai-shortcuts-preferences.js.map +0 -1
- package/out/renderer/preferences/appearance-preferences.js +0 -97
- package/out/renderer/preferences/appearance-preferences.js.map +0 -1
- package/out/renderer/preferences/dashboard-preferences.js +0 -423
- package/out/renderer/preferences/dashboard-preferences.js.map +0 -1
- package/out/renderer/preferences/logs-preferences.js +0 -93
- package/out/renderer/preferences/logs-preferences.js.map +0 -1
- package/out/renderer/preferences/monitoring-preferences.js +0 -174
- package/out/renderer/preferences/monitoring-preferences.js.map +0 -1
- package/out/renderer/preferences/node-shell-preferences.js +0 -73
- package/out/renderer/preferences/node-shell-preferences.js.map +0 -1
- package/out/renderer/preferences/power-preferences.js +0 -22
- package/out/renderer/preferences/power-preferences.js.map +0 -1
- package/out/renderer/preferences/preferences.js +0 -263
- package/out/renderer/preferences/preferences.js.map +0 -1
- package/out/renderer/preferences/read-only-preferences.js +0 -23
- package/out/renderer/preferences/read-only-preferences.js.map +0 -1
- package/out/renderer/preferences/settings-export.js +0 -91
- package/out/renderer/preferences/settings-export.js.map +0 -1
- package/out/renderer/preferences/settings-icon-action.js +0 -23
- package/out/renderer/preferences/settings-icon-action.js.map +0 -1
- package/out/renderer/preferences/settings-modal.js +0 -82
- package/out/renderer/preferences/settings-modal.js.map +0 -1
- package/out/renderer/read-only.js +0 -103
- package/out/renderer/read-only.js.map +0 -1
- package/out/renderer/resource-relationships.css.js +0 -7
- package/out/renderer/resource-relationships.css.js.map +0 -1
- package/out/renderer/resource-relationships.js +0 -609
- package/out/renderer/resource-relationships.js.map +0 -1
- package/out/renderer/resource-search-client.js +0 -116
- package/out/renderer/resource-search-client.js.map +0 -1
- package/out/renderer/resource-search-discovery.js +0 -79
- package/out/renderer/resource-search-discovery.js.map +0 -1
- package/out/renderer/resource-search-distance.js +0 -24
- package/out/renderer/resource-search-distance.js.map +0 -1
- package/out/renderer/resource-search-fields.js +0 -55
- package/out/renderer/resource-search-fields.js.map +0 -1
- package/out/renderer/resource-search-model.js +0 -194
- package/out/renderer/resource-search-model.js.map +0 -1
- package/out/renderer/resource-search-routing.js +0 -78
- package/out/renderer/resource-search-routing.js.map +0 -1
- package/out/renderer/resource-search-sync.js +0 -199
- package/out/renderer/resource-search-sync.js.map +0 -1
- package/out/renderer/resource-search.js +0 -590
- package/out/renderer/resource-search.js.map +0 -1
- package/out/renderer/src/common/ai-extras.js +0 -68
- package/out/renderer/src/common/ai-extras.js.map +0 -1
- package/out/renderer/src/common/ai-models.js +0 -6
- package/out/renderer/src/common/ai-models.js.map +0 -1
- package/out/renderer/src/common/ai-prompts.js +0 -16
- package/out/renderer/src/common/ai-prompts.js.map +0 -1
- package/out/renderer/src/common/ai-shortcuts.js +0 -78
- package/out/renderer/src/common/ai-shortcuts.js.map +0 -1
- package/out/renderer/src/common/ai-terminal-context.js +0 -51
- package/out/renderer/src/common/ai-terminal-context.js.map +0 -1
- package/out/renderer/src/common/ai.js +0 -8
- package/out/renderer/src/common/ai.js.map +0 -1
- package/out/renderer/src/common/cluster-icon-ipc.js +0 -6
- package/out/renderer/src/common/cluster-icon-ipc.js.map +0 -1
- package/out/renderer/src/common/cluster-icons.js +0 -133
- package/out/renderer/src/common/cluster-icons.js.map +0 -1
- package/out/renderer/src/common/dashboard-picker.js +0 -6
- package/out/renderer/src/common/dashboard-picker.js.map +0 -1
- package/out/renderer/src/common/dashboard-selector.js +0 -9
- package/out/renderer/src/common/dashboard-selector.js.map +0 -1
- package/out/renderer/src/common/dashboard-views.js +0 -18
- package/out/renderer/src/common/dashboard-views.js.map +0 -1
- package/out/renderer/src/common/dashboard.js +0 -39
- package/out/renderer/src/common/dashboard.js.map +0 -1
- package/out/renderer/src/common/date-time.js +0 -11
- package/out/renderer/src/common/date-time.js.map +0 -1
- package/out/renderer/src/common/extension-info.js +0 -8
- package/out/renderer/src/common/extension-info.js.map +0 -1
- package/out/renderer/src/common/gateway-relationships.js +0 -122
- package/out/renderer/src/common/gateway-relationships.js.map +0 -1
- package/out/renderer/src/common/hpa-diagnostics.js +0 -24
- package/out/renderer/src/common/hpa-diagnostics.js.map +0 -1
- package/out/renderer/src/common/incident-summary.js +0 -73
- package/out/renderer/src/common/incident-summary.js.map +0 -1
- package/out/renderer/src/common/monitoring-history.js +0 -17
- package/out/renderer/src/common/monitoring-history.js.map +0 -1
- package/out/renderer/src/common/monitoring-math.js +0 -98
- package/out/renderer/src/common/monitoring-math.js.map +0 -1
- package/out/renderer/src/common/node-shell.js +0 -22
- package/out/renderer/src/common/node-shell.js.map +0 -1
- package/out/renderer/src/common/power-log-parser.js +0 -114
- package/out/renderer/src/common/power-log-parser.js.map +0 -1
- package/out/renderer/src/common/power-logs-ai.js +0 -56
- package/out/renderer/src/common/power-logs-ai.js.map +0 -1
- package/out/renderer/src/common/power-logs.js +0 -32
- package/out/renderer/src/common/power-logs.js.map +0 -1
- package/out/renderer/src/common/resource-diagnostics.js +0 -227
- package/out/renderer/src/common/resource-diagnostics.js.map +0 -1
- package/out/renderer/src/common/resource-health.js +0 -92
- package/out/renderer/src/common/resource-health.js.map +0 -1
- package/out/renderer/src/common/resource-relationships.js +0 -163
- package/out/renderer/src/common/resource-relationships.js.map +0 -1
- package/out/renderer/src/common/resource-search.js +0 -6
- package/out/renderer/src/common/resource-search.js.map +0 -1
- package/out/renderer/src/common/secret-certificates.js +0 -34
- package/out/renderer/src/common/secret-certificates.js.map +0 -1
- package/out/renderer/src/common/service-diagnostics.js +0 -50
- package/out/renderer/src/common/service-diagnostics.js.map +0 -1
- package/out/renderer/src/common/settings-export.js +0 -8
- package/out/renderer/src/common/settings-export.js.map +0 -1
- package/out/renderer/src/common/store/ai-preferences-store.js +0 -101
- package/out/renderer/src/common/store/ai-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/ai-shortcuts-store.js +0 -40
- package/out/renderer/src/common/store/ai-shortcuts-store.js.map +0 -1
- package/out/renderer/src/common/store/appearance-preferences-store.js +0 -94
- package/out/renderer/src/common/store/appearance-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/dashboard-preferences-store.js +0 -56
- package/out/renderer/src/common/store/dashboard-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/logs-preferences-store.js +0 -45
- package/out/renderer/src/common/store/logs-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/monitoring-preferences-store.js +0 -69
- package/out/renderer/src/common/store/monitoring-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/node-shell-preferences-store.js +0 -40
- package/out/renderer/src/common/store/node-shell-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/power-preferences-store.js +0 -23
- package/out/renderer/src/common/store/power-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/read-only-preferences-store.js +0 -26
- package/out/renderer/src/common/store/read-only-preferences-store.js.map +0 -1
- package/out/renderer/src/common/timeline-groups.js +0 -36
- package/out/renderer/src/common/timeline-groups.js.map +0 -1
- package/out/renderer/welcome.js +0 -120
- package/out/renderer/welcome.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decode.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.mjs"],"sourcesContent":["/* eslint-disable no-bitwise */\n\nconst decodeCache = {}\n\nfunction getDecodeCache (exclude) {\n let cache = decodeCache[exclude]\n if (cache) { return cache }\n\n cache = decodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n cache.push(ch)\n }\n\n for (let i = 0; i < exclude.length; i++) {\n const ch = exclude.charCodeAt(i)\n cache[ch] = '%' + ('0' + ch.toString(16).toUpperCase()).slice(-2)\n }\n\n return cache\n}\n\n// Decode percent-encoded string.\n//\nfunction decode (string, exclude) {\n if (typeof exclude !== 'string') {\n exclude = decode.defaultChars\n }\n\n const cache = getDecodeCache(exclude)\n\n return string.replace(/(%[a-f0-9]{2})+/gi, function (seq) {\n let result = ''\n\n for (let i = 0, l = seq.length; i < l; i += 3) {\n const b1 = parseInt(seq.slice(i + 1, i + 3), 16)\n\n if (b1 < 0x80) {\n result += cache[b1]\n continue\n }\n\n if ((b1 & 0xE0) === 0xC0 && (i + 3 < l)) {\n // 110xxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n\n if ((b2 & 0xC0) === 0x80) {\n const chr = ((b1 << 6) & 0x7C0) | (b2 & 0x3F)\n\n if (chr < 0x80) {\n result += '\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 3\n continue\n }\n }\n\n if ((b1 & 0xF0) === 0xE0 && (i + 6 < l)) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80) {\n const chr = ((b1 << 12) & 0xF000) | ((b2 << 6) & 0xFC0) | (b3 & 0x3F)\n\n if (chr < 0x800 || (chr >= 0xD800 && chr <= 0xDFFF)) {\n result += '\\ufffd\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 6\n continue\n }\n }\n\n if ((b1 & 0xF8) === 0xF0 && (i + 9 < l)) {\n // 111110xx 10xxxxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n const b4 = parseInt(seq.slice(i + 10, i + 12), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80 && (b4 & 0xC0) === 0x80) {\n let chr = ((b1 << 18) & 0x1C0000) | ((b2 << 12) & 0x3F000) | ((b3 << 6) & 0xFC0) | (b4 & 0x3F)\n\n if (chr < 0x10000 || chr > 0x10FFFF) {\n result += '\\ufffd\\ufffd\\ufffd\\ufffd'\n } else {\n chr -= 0x10000\n result += String.fromCharCode(0xD800 + (chr >> 10), 0xDC00 + (chr & 0x3FF))\n }\n\n i += 9\n continue\n }\n }\n\n result += '\\ufffd'\n }\n\n return result\n })\n}\n\ndecode.defaultChars = ';/?:@&=+$,#'\ndecode.componentChars = ''\n\nexport default decode\n"],"x_google_ignoreList":[0],"mappings":";AAEA,IAAM,cAAc,CAAC;AAErB,SAAS,eAAgB,SAAS;CAChC,IAAI,QAAQ,YAAY;CACxB,IAAI,OAAS,OAAO;CAEpB,QAAQ,YAAY,WAAW,CAAC;CAEhC,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK,KAAK;EAC5B,MAAM,KAAK,OAAO,aAAa,CAAC;EAChC,MAAM,KAAK,EAAE;CACf;CAEA,KAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;EACvC,MAAM,KAAK,QAAQ,WAAW,CAAC;EAC/B,MAAM,MAAM,OAAO,MAAM,GAAG,SAAS,EAAE,CAAC,CAAC,YAAY,EAAA,CAAG,MAAM,EAAE;CAClE;CAEA,OAAO;AACT;AAIA,SAAS,OAAQ,QAAQ,SAAS;CAChC,IAAI,OAAO,YAAY,UACrB,UAAU,OAAO;CAGnB,MAAM,QAAQ,eAAe,OAAO;CAEpC,OAAO,OAAO,QAAQ,qBAAqB,SAAU,KAAK;EACxD,IAAI,SAAS;EAEb,KAAK,IAAI,IAAI,GAAG,IAAI,IAAI,QAAQ,IAAI,GAAG,KAAK,GAAG;GAC7C,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE;GAE/C,IAAI,KAAK,KAAM;IACb,UAAU,MAAM;IAChB;GACF;GAEA,KAAK,KAAK,SAAU,OAAS,IAAI,IAAI,GAAI;IAEvC,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE;IAE/C,KAAK,KAAK,SAAU,KAAM;KACxB,MAAM,MAAQ,MAAM,IAAK,OAAU,KAAK;KAExC,IAAI,MAAM,KACR,UAAU;UAEV,UAAU,OAAO,aAAa,GAAG;KAGnC,KAAK;KACL;IACF;GACF;GAEA,KAAK,KAAK,SAAU,OAAS,IAAI,IAAI,GAAI;IAEvC,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE;IAC/C,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE;IAE/C,KAAK,KAAK,SAAU,QAAS,KAAK,SAAU,KAAM;KAChD,MAAM,MAAQ,MAAM,KAAM,QAAY,MAAM,IAAK,OAAU,KAAK;KAEhE,IAAI,MAAM,QAAU,OAAO,SAAU,OAAO,OAC1C,UAAU;UAEV,UAAU,OAAO,aAAa,GAAG;KAGnC,KAAK;KACL;IACF;GACF;GAEA,KAAK,KAAK,SAAU,OAAS,IAAI,IAAI,GAAI;IAEvC,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE;IAC/C,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE;IAC/C,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,IAAI,IAAI,EAAE,GAAG,EAAE;IAEjD,KAAK,KAAK,SAAU,QAAS,KAAK,SAAU,QAAS,KAAK,SAAU,KAAM;KACxE,IAAI,MAAQ,MAAM,KAAM,UAAc,MAAM,KAAM,SAAa,MAAM,IAAK,OAAU,KAAK;KAEzF,IAAI,MAAM,SAAW,MAAM,SACzB,UAAU;UACL;MACL,OAAO;MACP,UAAU,OAAO,aAAa,SAAU,OAAO,KAAK,SAAU,MAAM,KAAM;KAC5E;KAEA,KAAK;KACL;IACF;GACF;GAEA,UAAU;EACZ;EAEA,OAAO;CACT,CAAC;AACH;AAEA,OAAO,eAAe;AACtB,OAAO,iBAAiB"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs
|
|
2
|
-
var encodeCache = {};
|
|
3
|
-
function getEncodeCache(exclude) {
|
|
4
|
-
let cache = encodeCache[exclude];
|
|
5
|
-
if (cache) return cache;
|
|
6
|
-
cache = encodeCache[exclude] = [];
|
|
7
|
-
for (let i = 0; i < 128; i++) {
|
|
8
|
-
const ch = String.fromCharCode(i);
|
|
9
|
-
if (/^[0-9a-z]$/i.test(ch)) cache.push(ch);
|
|
10
|
-
else cache.push("%" + ("0" + i.toString(16).toUpperCase()).slice(-2));
|
|
11
|
-
}
|
|
12
|
-
for (let i = 0; i < exclude.length; i++) cache[exclude.charCodeAt(i)] = exclude[i];
|
|
13
|
-
return cache;
|
|
14
|
-
}
|
|
15
|
-
function encode(string, exclude, keepEscaped) {
|
|
16
|
-
if (typeof exclude !== "string") {
|
|
17
|
-
keepEscaped = exclude;
|
|
18
|
-
exclude = encode.defaultChars;
|
|
19
|
-
}
|
|
20
|
-
if (typeof keepEscaped === "undefined") keepEscaped = true;
|
|
21
|
-
const cache = getEncodeCache(exclude);
|
|
22
|
-
let result = "";
|
|
23
|
-
for (let i = 0, l = string.length; i < l; i++) {
|
|
24
|
-
const code = string.charCodeAt(i);
|
|
25
|
-
if (keepEscaped && code === 37 && i + 2 < l) {
|
|
26
|
-
if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {
|
|
27
|
-
result += string.slice(i, i + 3);
|
|
28
|
-
i += 2;
|
|
29
|
-
continue;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
if (code < 128) {
|
|
33
|
-
result += cache[code];
|
|
34
|
-
continue;
|
|
35
|
-
}
|
|
36
|
-
if (code >= 55296 && code <= 57343) {
|
|
37
|
-
if (code >= 55296 && code <= 56319 && i + 1 < l) {
|
|
38
|
-
const nextCode = string.charCodeAt(i + 1);
|
|
39
|
-
if (nextCode >= 56320 && nextCode <= 57343) {
|
|
40
|
-
result += encodeURIComponent(string[i] + string[i + 1]);
|
|
41
|
-
i++;
|
|
42
|
-
continue;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
result += "%EF%BF%BD";
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
result += encodeURIComponent(string[i]);
|
|
49
|
-
}
|
|
50
|
-
return result;
|
|
51
|
-
}
|
|
52
|
-
encode.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
53
|
-
encode.componentChars = "-_.!~*'()";
|
|
54
|
-
//#endregion
|
|
55
|
-
exports.default = encode;
|
|
56
|
-
|
|
57
|
-
//# sourceMappingURL=encode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encode.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs"],"sourcesContent":["const encodeCache = {}\n\n// Create a lookup array where anything but characters in `chars` string\n// and alphanumeric chars is percent-encoded.\n//\nfunction getEncodeCache (exclude) {\n let cache = encodeCache[exclude]\n if (cache) { return cache }\n\n cache = encodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n\n if (/^[0-9a-z]$/i.test(ch)) {\n // always allow unencoded alphanumeric characters\n cache.push(ch)\n } else {\n cache.push('%' + ('0' + i.toString(16).toUpperCase()).slice(-2))\n }\n }\n\n for (let i = 0; i < exclude.length; i++) {\n cache[exclude.charCodeAt(i)] = exclude[i]\n }\n\n return cache\n}\n\n// Encode unsafe characters with percent-encoding, skipping already\n// encoded sequences.\n//\n// - string - string to encode\n// - exclude - list of characters to ignore (in addition to a-zA-Z0-9)\n// - keepEscaped - don't encode '%' in a correct escape sequence (default: true)\n//\nfunction encode (string, exclude, keepEscaped) {\n if (typeof exclude !== 'string') {\n // encode(string, keepEscaped)\n keepEscaped = exclude\n exclude = encode.defaultChars\n }\n\n if (typeof keepEscaped === 'undefined') {\n keepEscaped = true\n }\n\n const cache = getEncodeCache(exclude)\n let result = ''\n\n for (let i = 0, l = string.length; i < l; i++) {\n const code = string.charCodeAt(i)\n\n if (keepEscaped && code === 0x25 /* % */ && i + 2 < l) {\n if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {\n result += string.slice(i, i + 3)\n i += 2\n continue\n }\n }\n\n if (code < 128) {\n result += cache[code]\n continue\n }\n\n if (code >= 0xD800 && code <= 0xDFFF) {\n if (code >= 0xD800 && code <= 0xDBFF && i + 1 < l) {\n const nextCode = string.charCodeAt(i + 1)\n if (nextCode >= 0xDC00 && nextCode <= 0xDFFF) {\n result += encodeURIComponent(string[i] + string[i + 1])\n i++\n continue\n }\n }\n result += '%EF%BF%BD'\n continue\n }\n\n result += encodeURIComponent(string[i])\n }\n\n return result\n}\n\nencode.defaultChars = \";/?:@&=+$,-_.!~*'()#\"\nencode.componentChars = \"-_.!~*'()\"\n\nexport default encode\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,cAAc,CAAC;AAKrB,SAAS,eAAgB,SAAS;CAChC,IAAI,QAAQ,YAAY;CACxB,IAAI,OAAS,OAAO;CAEpB,QAAQ,YAAY,WAAW,CAAC;CAEhC,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK,KAAK;EAC5B,MAAM,KAAK,OAAO,aAAa,CAAC;EAEhC,IAAI,cAAc,KAAK,EAAE,GAEvB,MAAM,KAAK,EAAE;OAEb,MAAM,KAAK,OAAO,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC,YAAY,EAAA,CAAG,MAAM,EAAE,CAAC;CAEnE;CAEA,KAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAClC,MAAM,QAAQ,WAAW,CAAC,KAAK,QAAQ;CAGzC,OAAO;AACT;AASA,SAAS,OAAQ,QAAQ,SAAS,aAAa;CAC7C,IAAI,OAAO,YAAY,UAAU;EAE/B,cAAc;EACd,UAAU,OAAO;CACnB;CAEA,IAAI,OAAO,gBAAgB,aACzB,cAAc;CAGhB,MAAM,QAAQ,eAAe,OAAO;CACpC,IAAI,SAAS;CAEb,KAAK,IAAI,IAAI,GAAG,IAAI,OAAO,QAAQ,IAAI,GAAG,KAAK;EAC7C,MAAM,OAAO,OAAO,WAAW,CAAC;EAEhC,IAAI,eAAe,SAAS,MAAgB,IAAI,IAAI;OAC9C,iBAAiB,KAAK,OAAO,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,GAAG;IACrD,UAAU,OAAO,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK;IACL;GACF;;EAGF,IAAI,OAAO,KAAK;GACd,UAAU,MAAM;GAChB;EACF;EAEA,IAAI,QAAQ,SAAU,QAAQ,OAAQ;GACpC,IAAI,QAAQ,SAAU,QAAQ,SAAU,IAAI,IAAI,GAAG;IACjD,MAAM,WAAW,OAAO,WAAW,IAAI,CAAC;IACxC,IAAI,YAAY,SAAU,YAAY,OAAQ;KAC5C,UAAU,mBAAmB,OAAO,KAAK,OAAO,IAAI,EAAE;KACtD;KACA;IACF;GACF;GACA,UAAU;GACV;EACF;EAEA,UAAU,mBAAmB,OAAO,EAAE;CACxC;CAEA,OAAO;AACT;AAEA,OAAO,eAAe;AACtB,OAAO,iBAAiB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.mjs
|
|
2
|
-
function format(url) {
|
|
3
|
-
let result = "";
|
|
4
|
-
result += url.protocol || "";
|
|
5
|
-
result += url.slashes ? "//" : "";
|
|
6
|
-
result += url.auth ? url.auth + "@" : "";
|
|
7
|
-
if (url.hostname && url.hostname.indexOf(":") !== -1) result += "[" + url.hostname + "]";
|
|
8
|
-
else result += url.hostname || "";
|
|
9
|
-
result += url.port ? ":" + url.port : "";
|
|
10
|
-
result += url.pathname || "";
|
|
11
|
-
result += url.search || "";
|
|
12
|
-
result += url.hash || "";
|
|
13
|
-
return result;
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
exports.default = format;
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=format.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.mjs"],"sourcesContent":["export default function format (url) {\n let result = ''\n\n result += url.protocol || ''\n result += url.slashes ? '//' : ''\n result += url.auth ? url.auth + '@' : ''\n\n if (url.hostname && url.hostname.indexOf(':') !== -1) {\n // ipv6 address\n result += '[' + url.hostname + ']'\n } else {\n result += url.hostname || ''\n }\n\n result += url.port ? ':' + url.port : ''\n result += url.pathname || ''\n result += url.search || ''\n result += url.hash || ''\n\n return result\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,OAAQ,KAAK;CACnC,IAAI,SAAS;CAEb,UAAU,IAAI,YAAY;CAC1B,UAAU,IAAI,UAAU,OAAO;CAC/B,UAAU,IAAI,OAAO,IAAI,OAAO,MAAM;CAEtC,IAAI,IAAI,YAAY,IAAI,SAAS,QAAQ,GAAG,MAAM,IAEhD,UAAU,MAAM,IAAI,WAAW;MAE/B,UAAU,IAAI,YAAY;CAG5B,UAAU,IAAI,OAAO,MAAM,IAAI,OAAO;CACtC,UAAU,IAAI,YAAY;CAC1B,UAAU,IAAI,UAAU;CACxB,UAAU,IAAI,QAAQ;CAEtB,OAAO;AACT"}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.mjs
|
|
2
|
-
function Url() {
|
|
3
|
-
this.protocol = null;
|
|
4
|
-
this.slashes = null;
|
|
5
|
-
this.auth = null;
|
|
6
|
-
this.port = null;
|
|
7
|
-
this.hostname = null;
|
|
8
|
-
this.hash = null;
|
|
9
|
-
this.search = null;
|
|
10
|
-
this.pathname = null;
|
|
11
|
-
}
|
|
12
|
-
var protocolPattern = /^([a-z0-9.+-]+:)/i;
|
|
13
|
-
var portPattern = /:[0-9]*$/;
|
|
14
|
-
var simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/;
|
|
15
|
-
var unwise = [
|
|
16
|
-
"{",
|
|
17
|
-
"}",
|
|
18
|
-
"|",
|
|
19
|
-
"\\",
|
|
20
|
-
"^",
|
|
21
|
-
"`"
|
|
22
|
-
].concat([
|
|
23
|
-
"<",
|
|
24
|
-
">",
|
|
25
|
-
"\"",
|
|
26
|
-
"`",
|
|
27
|
-
" ",
|
|
28
|
-
"\r",
|
|
29
|
-
"\n",
|
|
30
|
-
" "
|
|
31
|
-
]);
|
|
32
|
-
var autoEscape = ["'"].concat(unwise);
|
|
33
|
-
var nonHostChars = [
|
|
34
|
-
"%",
|
|
35
|
-
"/",
|
|
36
|
-
"?",
|
|
37
|
-
";",
|
|
38
|
-
"#"
|
|
39
|
-
].concat(autoEscape);
|
|
40
|
-
var hostEndingChars = [
|
|
41
|
-
"/",
|
|
42
|
-
"?",
|
|
43
|
-
"#"
|
|
44
|
-
];
|
|
45
|
-
var hostnameMaxLen = 255;
|
|
46
|
-
var hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/;
|
|
47
|
-
var hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/;
|
|
48
|
-
var hostlessProtocol = {
|
|
49
|
-
javascript: true,
|
|
50
|
-
"javascript:": true
|
|
51
|
-
};
|
|
52
|
-
var slashedProtocol = {
|
|
53
|
-
http: true,
|
|
54
|
-
https: true,
|
|
55
|
-
ftp: true,
|
|
56
|
-
gopher: true,
|
|
57
|
-
file: true,
|
|
58
|
-
"http:": true,
|
|
59
|
-
"https:": true,
|
|
60
|
-
"ftp:": true,
|
|
61
|
-
"gopher:": true,
|
|
62
|
-
"file:": true
|
|
63
|
-
};
|
|
64
|
-
function urlParse(url, slashesDenoteHost) {
|
|
65
|
-
if (url && url instanceof Url) return url;
|
|
66
|
-
const u = new Url();
|
|
67
|
-
u.parse(url, slashesDenoteHost);
|
|
68
|
-
return u;
|
|
69
|
-
}
|
|
70
|
-
Url.prototype.parse = function(url, slashesDenoteHost) {
|
|
71
|
-
let lowerProto, hec, slashes;
|
|
72
|
-
let rest = url;
|
|
73
|
-
rest = rest.trim();
|
|
74
|
-
if (!slashesDenoteHost && url.split("#").length === 1) {
|
|
75
|
-
const simplePath = simplePathPattern.exec(rest);
|
|
76
|
-
if (simplePath) {
|
|
77
|
-
this.pathname = simplePath[1];
|
|
78
|
-
if (simplePath[2]) this.search = simplePath[2];
|
|
79
|
-
return this;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
let proto = protocolPattern.exec(rest);
|
|
83
|
-
if (proto) {
|
|
84
|
-
proto = proto[0];
|
|
85
|
-
lowerProto = proto.toLowerCase();
|
|
86
|
-
this.protocol = proto;
|
|
87
|
-
rest = rest.substr(proto.length);
|
|
88
|
-
}
|
|
89
|
-
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
|
|
90
|
-
slashes = rest.substr(0, 2) === "//";
|
|
91
|
-
if (slashes && !(proto && hostlessProtocol[proto])) {
|
|
92
|
-
rest = rest.substr(2);
|
|
93
|
-
this.slashes = true;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
if (!hostlessProtocol[proto] && (slashes || proto && !slashedProtocol[proto])) {
|
|
97
|
-
let hostEnd = -1;
|
|
98
|
-
for (let i = 0; i < hostEndingChars.length; i++) {
|
|
99
|
-
hec = rest.indexOf(hostEndingChars[i]);
|
|
100
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;
|
|
101
|
-
}
|
|
102
|
-
let auth, atSign;
|
|
103
|
-
if (hostEnd === -1) atSign = rest.lastIndexOf("@");
|
|
104
|
-
else atSign = rest.lastIndexOf("@", hostEnd);
|
|
105
|
-
if (atSign !== -1) {
|
|
106
|
-
auth = rest.slice(0, atSign);
|
|
107
|
-
rest = rest.slice(atSign + 1);
|
|
108
|
-
this.auth = auth;
|
|
109
|
-
}
|
|
110
|
-
hostEnd = -1;
|
|
111
|
-
for (let i = 0; i < nonHostChars.length; i++) {
|
|
112
|
-
hec = rest.indexOf(nonHostChars[i]);
|
|
113
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;
|
|
114
|
-
}
|
|
115
|
-
if (hostEnd === -1) hostEnd = rest.length;
|
|
116
|
-
if (rest[hostEnd - 1] === ":") hostEnd--;
|
|
117
|
-
const host = rest.slice(0, hostEnd);
|
|
118
|
-
rest = rest.slice(hostEnd);
|
|
119
|
-
this.parseHost(host);
|
|
120
|
-
this.hostname = this.hostname || "";
|
|
121
|
-
const ipv6Hostname = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
122
|
-
if (!ipv6Hostname) {
|
|
123
|
-
const hostparts = this.hostname.split(/\./);
|
|
124
|
-
for (let i = 0, l = hostparts.length; i < l; i++) {
|
|
125
|
-
const part = hostparts[i];
|
|
126
|
-
if (!part) continue;
|
|
127
|
-
if (!part.match(hostnamePartPattern)) {
|
|
128
|
-
let newpart = "";
|
|
129
|
-
for (let j = 0, k = part.length; j < k; j++) if (part.charCodeAt(j) > 127) newpart += "x";
|
|
130
|
-
else newpart += part[j];
|
|
131
|
-
if (!newpart.match(hostnamePartPattern)) {
|
|
132
|
-
const validParts = hostparts.slice(0, i);
|
|
133
|
-
const notHost = hostparts.slice(i + 1);
|
|
134
|
-
const bit = part.match(hostnamePartStart);
|
|
135
|
-
if (bit) {
|
|
136
|
-
validParts.push(bit[1]);
|
|
137
|
-
notHost.unshift(bit[2]);
|
|
138
|
-
}
|
|
139
|
-
if (notHost.length) rest = notHost.join(".") + rest;
|
|
140
|
-
this.hostname = validParts.join(".");
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
if (this.hostname.length > hostnameMaxLen) this.hostname = "";
|
|
147
|
-
if (ipv6Hostname) this.hostname = this.hostname.substr(1, this.hostname.length - 2);
|
|
148
|
-
}
|
|
149
|
-
const hash = rest.indexOf("#");
|
|
150
|
-
if (hash !== -1) {
|
|
151
|
-
this.hash = rest.substr(hash);
|
|
152
|
-
rest = rest.slice(0, hash);
|
|
153
|
-
}
|
|
154
|
-
const qm = rest.indexOf("?");
|
|
155
|
-
if (qm !== -1) {
|
|
156
|
-
this.search = rest.substr(qm);
|
|
157
|
-
rest = rest.slice(0, qm);
|
|
158
|
-
}
|
|
159
|
-
if (rest) this.pathname = rest;
|
|
160
|
-
if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) this.pathname = "";
|
|
161
|
-
return this;
|
|
162
|
-
};
|
|
163
|
-
Url.prototype.parseHost = function(host) {
|
|
164
|
-
let port = portPattern.exec(host);
|
|
165
|
-
if (port) {
|
|
166
|
-
port = port[0];
|
|
167
|
-
if (port !== ":") this.port = port.substr(1);
|
|
168
|
-
host = host.substr(0, host.length - port.length);
|
|
169
|
-
}
|
|
170
|
-
if (host) this.hostname = host;
|
|
171
|
-
};
|
|
172
|
-
//#endregion
|
|
173
|
-
exports.default = urlParse;
|
|
174
|
-
|
|
175
|
-
//# sourceMappingURL=parse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.mjs"],"sourcesContent":["// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n//\n// Changes from joyent/node:\n//\n// 1. No leading slash in paths,\n// e.g. in `url.parse('http://foo?bar')` pathname is ``, not `/`\n//\n// 2. Backslashes are not replaced with slashes,\n// so `http:\\\\example.org\\` is treated like a relative path\n//\n// 3. Trailing colon is treated like a part of the path,\n// i.e. in `http://example.org:foo` pathname is `:foo`\n//\n// 4. Nothing is URL-encoded in the resulting object,\n// (in joyent/node some chars in auth and paths are encoded)\n//\n// 5. `url.parse()` does not have `parseQueryString` argument\n//\n// 6. Removed extraneous result properties: `host`, `path`, `query`, etc.,\n// which can be constructed using other parts of the url.\n//\n\nfunction Url () {\n this.protocol = null\n this.slashes = null\n this.auth = null\n this.port = null\n this.hostname = null\n this.hash = null\n this.search = null\n this.pathname = null\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nconst protocolPattern = /^([a-z0-9.+-]+:)/i\nconst portPattern = /:[0-9]*$/\n\n// Special case for a simple path URL\n/* eslint-disable-next-line no-useless-escape */\nconst simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/\n\n// RFC 2396: characters reserved for delimiting URLs.\n// We actually just auto-escape these.\nconst delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t']\n\n// RFC 2396: characters not allowed for various reasons.\nconst unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims)\n\n// Allowed by RFCs, but cause of XSS attacks. Always escape these.\nconst autoEscape = ['\\''].concat(unwise)\n// Characters that are never ever allowed in a hostname.\n// Note that any invalid chars are also handled, but these\n// are the ones that are *expected* to be seen, so we fast-path\n// them.\nconst nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape)\nconst hostEndingChars = ['/', '?', '#']\nconst hostnameMaxLen = 255\nconst hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/\nconst hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/\n// protocols that can allow \"unsafe\" and \"unwise\" chars.\n// protocols that never have a hostname.\nconst hostlessProtocol = {\n javascript: true,\n 'javascript:': true\n}\n// protocols that always contain a // bit.\nconst slashedProtocol = {\n http: true,\n https: true,\n ftp: true,\n gopher: true,\n file: true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n}\n\nfunction urlParse (url, slashesDenoteHost) {\n if (url && url instanceof Url) return url\n\n const u = new Url()\n u.parse(url, slashesDenoteHost)\n return u\n}\n\nUrl.prototype.parse = function (url, slashesDenoteHost) {\n let lowerProto, hec, slashes\n let rest = url\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim()\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n const simplePath = simplePathPattern.exec(rest)\n if (simplePath) {\n this.pathname = simplePath[1]\n if (simplePath[2]) {\n this.search = simplePath[2]\n }\n return this\n }\n }\n\n let proto = protocolPattern.exec(rest)\n if (proto) {\n proto = proto[0]\n lowerProto = proto.toLowerCase()\n this.protocol = proto\n rest = rest.substr(proto.length)\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n /* eslint-disable-next-line no-useless-escape */\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n slashes = rest.substr(0, 2) === '//'\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2)\n this.slashes = true\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n let hostEnd = -1\n for (let i = 0; i < hostEndingChars.length; i++) {\n hec = rest.indexOf(hostEndingChars[i])\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec\n }\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n let auth, atSign\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@')\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd)\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign)\n rest = rest.slice(atSign + 1)\n this.auth = auth\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1\n for (let i = 0; i < nonHostChars.length; i++) {\n hec = rest.indexOf(nonHostChars[i])\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec\n }\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1) {\n hostEnd = rest.length\n }\n\n if (rest[hostEnd - 1] === ':') { hostEnd-- }\n const host = rest.slice(0, hostEnd)\n rest = rest.slice(hostEnd)\n\n // pull out port.\n this.parseHost(host)\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || ''\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n const ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']'\n\n // validate a little.\n if (!ipv6Hostname) {\n const hostparts = this.hostname.split(/\\./)\n for (let i = 0, l = hostparts.length; i < l; i++) {\n const part = hostparts[i]\n if (!part) { continue }\n if (!part.match(hostnamePartPattern)) {\n let newpart = ''\n for (let j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x'\n } else {\n newpart += part[j]\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n const validParts = hostparts.slice(0, i)\n const notHost = hostparts.slice(i + 1)\n const bit = part.match(hostnamePartStart)\n if (bit) {\n validParts.push(bit[1])\n notHost.unshift(bit[2])\n }\n if (notHost.length) {\n rest = notHost.join('.') + rest\n }\n this.hostname = validParts.join('.')\n break\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = ''\n }\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2)\n }\n }\n\n // chop off from the tail first.\n const hash = rest.indexOf('#')\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash)\n rest = rest.slice(0, hash)\n }\n const qm = rest.indexOf('?')\n if (qm !== -1) {\n this.search = rest.substr(qm)\n rest = rest.slice(0, qm)\n }\n if (rest) { this.pathname = rest }\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = ''\n }\n\n return this\n}\n\nUrl.prototype.parseHost = function (host) {\n let port = portPattern.exec(host)\n if (port) {\n port = port[0]\n if (port !== ':') {\n this.port = port.substr(1)\n }\n host = host.substr(0, host.length - port.length)\n }\n if (host) { this.hostname = host }\n}\n\nexport default urlParse\n"],"x_google_ignoreList":[0],"mappings":";AA0CA,SAAS,MAAO;CACd,KAAK,WAAW;CAChB,KAAK,UAAU;CACf,KAAK,OAAO;CACZ,KAAK,OAAO;CACZ,KAAK,WAAW;CAChB,KAAK,OAAO;CACZ,KAAK,SAAS;CACd,KAAK,WAAW;AAClB;AAMA,IAAM,kBAAkB;AACxB,IAAM,cAAc;AAIpB,IAAM,oBAAoB;AAO1B,IAAM,SAAS;CAAC;CAAK;CAAK;CAAK;CAAM;CAAK;AAAG,CAAC,CAAC,OAAO;CAHtC;CAAK;CAAK;CAAK;CAAK;CAAK;CAAM;CAAM;AAGM,CAAC;AAG5D,IAAM,aAAa,CAAC,GAAI,CAAC,CAAC,OAAO,MAAM;AAKvC,IAAM,eAAe;CAAC;CAAK;CAAK;CAAK;CAAK;AAAG,CAAC,CAAC,OAAO,UAAU;AAChE,IAAM,kBAAkB;CAAC;CAAK;CAAK;AAAG;AACtC,IAAM,iBAAiB;AACvB,IAAM,sBAAsB;AAC5B,IAAM,oBAAoB;AAG1B,IAAM,mBAAmB;CACvB,YAAY;CACZ,eAAe;AACjB;AAEA,IAAM,kBAAkB;CACtB,MAAM;CACN,OAAO;CACP,KAAK;CACL,QAAQ;CACR,MAAM;CACN,SAAS;CACT,UAAU;CACV,QAAQ;CACR,WAAW;CACX,SAAS;AACX;AAEA,SAAS,SAAU,KAAK,mBAAmB;CACzC,IAAI,OAAO,eAAe,KAAK,OAAO;CAEtC,MAAM,IAAI,IAAI,IAAI;CAClB,EAAE,MAAM,KAAK,iBAAiB;CAC9B,OAAO;AACT;AAEA,IAAI,UAAU,QAAQ,SAAU,KAAK,mBAAmB;CACtD,IAAI,YAAY,KAAK;CACrB,IAAI,OAAO;CAIX,OAAO,KAAK,KAAK;CAEjB,IAAI,CAAC,qBAAqB,IAAI,MAAM,GAAG,CAAC,CAAC,WAAW,GAAG;EAErD,MAAM,aAAa,kBAAkB,KAAK,IAAI;EAC9C,IAAI,YAAY;GACd,KAAK,WAAW,WAAW;GAC3B,IAAI,WAAW,IACb,KAAK,SAAS,WAAW;GAE3B,OAAO;EACT;CACF;CAEA,IAAI,QAAQ,gBAAgB,KAAK,IAAI;CACrC,IAAI,OAAO;EACT,QAAQ,MAAM;EACd,aAAa,MAAM,YAAY;EAC/B,KAAK,WAAW;EAChB,OAAO,KAAK,OAAO,MAAM,MAAM;CACjC;CAOA,IAAI,qBAAqB,SAAS,KAAK,MAAM,sBAAsB,GAAG;EACpE,UAAU,KAAK,OAAO,GAAG,CAAC,MAAM;EAChC,IAAI,WAAW,EAAE,SAAS,iBAAiB,SAAS;GAClD,OAAO,KAAK,OAAO,CAAC;GACpB,KAAK,UAAU;EACjB;CACF;CAEA,IAAI,CAAC,iBAAiB,WACjB,WAAY,SAAS,CAAC,gBAAgB,SAAU;EAiBnD,IAAI,UAAU;EACd,KAAK,IAAI,IAAI,GAAG,IAAI,gBAAgB,QAAQ,KAAK;GAC/C,MAAM,KAAK,QAAQ,gBAAgB,EAAE;GACrC,IAAI,QAAQ,OAAO,YAAY,MAAM,MAAM,UACzC,UAAU;EAEd;EAIA,IAAI,MAAM;EACV,IAAI,YAAY,IAEd,SAAS,KAAK,YAAY,GAAG;OAI7B,SAAS,KAAK,YAAY,KAAK,OAAO;EAKxC,IAAI,WAAW,IAAI;GACjB,OAAO,KAAK,MAAM,GAAG,MAAM;GAC3B,OAAO,KAAK,MAAM,SAAS,CAAC;GAC5B,KAAK,OAAO;EACd;EAGA,UAAU;EACV,KAAK,IAAI,IAAI,GAAG,IAAI,aAAa,QAAQ,KAAK;GAC5C,MAAM,KAAK,QAAQ,aAAa,EAAE;GAClC,IAAI,QAAQ,OAAO,YAAY,MAAM,MAAM,UACzC,UAAU;EAEd;EAEA,IAAI,YAAY,IACd,UAAU,KAAK;EAGjB,IAAI,KAAK,UAAU,OAAO,KAAO;EACjC,MAAM,OAAO,KAAK,MAAM,GAAG,OAAO;EAClC,OAAO,KAAK,MAAM,OAAO;EAGzB,KAAK,UAAU,IAAI;EAInB,KAAK,WAAW,KAAK,YAAY;EAIjC,MAAM,eAAe,KAAK,SAAS,OAAO,OACtC,KAAK,SAAS,KAAK,SAAS,SAAS,OAAO;EAGhD,IAAI,CAAC,cAAc;GACjB,MAAM,YAAY,KAAK,SAAS,MAAM,IAAI;GAC1C,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,IAAI,GAAG,KAAK;IAChD,MAAM,OAAO,UAAU;IACvB,IAAI,CAAC,MAAQ;IACb,IAAI,CAAC,KAAK,MAAM,mBAAmB,GAAG;KACpC,IAAI,UAAU;KACd,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,IAAI,GAAG,KACtC,IAAI,KAAK,WAAW,CAAC,IAAI,KAIvB,WAAW;UAEX,WAAW,KAAK;KAIpB,IAAI,CAAC,QAAQ,MAAM,mBAAmB,GAAG;MACvC,MAAM,aAAa,UAAU,MAAM,GAAG,CAAC;MACvC,MAAM,UAAU,UAAU,MAAM,IAAI,CAAC;MACrC,MAAM,MAAM,KAAK,MAAM,iBAAiB;MACxC,IAAI,KAAK;OACP,WAAW,KAAK,IAAI,EAAE;OACtB,QAAQ,QAAQ,IAAI,EAAE;MACxB;MACA,IAAI,QAAQ,QACV,OAAO,QAAQ,KAAK,GAAG,IAAI;MAE7B,KAAK,WAAW,WAAW,KAAK,GAAG;MACnC;KACF;IACF;GACF;EACF;EAEA,IAAI,KAAK,SAAS,SAAS,gBACzB,KAAK,WAAW;EAKlB,IAAI,cACF,KAAK,WAAW,KAAK,SAAS,OAAO,GAAG,KAAK,SAAS,SAAS,CAAC;CAEpE;CAGA,MAAM,OAAO,KAAK,QAAQ,GAAG;CAC7B,IAAI,SAAS,IAAI;EAEf,KAAK,OAAO,KAAK,OAAO,IAAI;EAC5B,OAAO,KAAK,MAAM,GAAG,IAAI;CAC3B;CACA,MAAM,KAAK,KAAK,QAAQ,GAAG;CAC3B,IAAI,OAAO,IAAI;EACb,KAAK,SAAS,KAAK,OAAO,EAAE;EAC5B,OAAO,KAAK,MAAM,GAAG,EAAE;CACzB;CACA,IAAI,MAAQ,KAAK,WAAW;CAC5B,IAAI,gBAAgB,eAChB,KAAK,YAAY,CAAC,KAAK,UACzB,KAAK,WAAW;CAGlB,OAAO;AACT;AAEA,IAAI,UAAU,YAAY,SAAU,MAAM;CACxC,IAAI,OAAO,YAAY,KAAK,IAAI;CAChC,IAAI,MAAM;EACR,OAAO,KAAK;EACZ,IAAI,SAAS,KACX,KAAK,OAAO,KAAK,OAAO,CAAC;EAE3B,OAAO,KAAK,OAAO,GAAG,KAAK,SAAS,KAAK,MAAM;CACjD;CACA,IAAI,MAAQ,KAAK,WAAW;AAC9B"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js
|
|
2
|
-
var safeIsNaN = Number.isNaN || function ponyfill(value) {
|
|
3
|
-
return typeof value === "number" && value !== value;
|
|
4
|
-
};
|
|
5
|
-
function isEqual(first, second) {
|
|
6
|
-
if (first === second) return true;
|
|
7
|
-
if (safeIsNaN(first) && safeIsNaN(second)) return true;
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
function areInputsEqual(newInputs, lastInputs) {
|
|
11
|
-
if (newInputs.length !== lastInputs.length) return false;
|
|
12
|
-
for (var i = 0; i < newInputs.length; i++) if (!isEqual(newInputs[i], lastInputs[i])) return false;
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
function memoizeOne(resultFn, isEqual) {
|
|
16
|
-
if (isEqual === void 0) isEqual = areInputsEqual;
|
|
17
|
-
var cache = null;
|
|
18
|
-
function memoized() {
|
|
19
|
-
var newArgs = [];
|
|
20
|
-
for (var _i = 0; _i < arguments.length; _i++) newArgs[_i] = arguments[_i];
|
|
21
|
-
if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) return cache.lastResult;
|
|
22
|
-
var lastResult = resultFn.apply(this, newArgs);
|
|
23
|
-
cache = {
|
|
24
|
-
lastResult,
|
|
25
|
-
lastArgs: newArgs,
|
|
26
|
-
lastThis: this
|
|
27
|
-
};
|
|
28
|
-
return lastResult;
|
|
29
|
-
}
|
|
30
|
-
memoized.clear = function clear() {
|
|
31
|
-
cache = null;
|
|
32
|
-
};
|
|
33
|
-
return memoized;
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
exports.default = memoizeOne;
|
|
37
|
-
|
|
38
|
-
//# sourceMappingURL=memoize-one.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memoize-one.esm.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js"],"sourcesContent":["var safeIsNaN = Number.isNaN ||\n function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n };\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n return false;\n}\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var cache = null;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) {\n return cache.lastResult;\n }\n var lastResult = resultFn.apply(this, newArgs);\n cache = {\n lastResult: lastResult,\n lastArgs: newArgs,\n lastThis: this,\n };\n return lastResult;\n }\n memoized.clear = function clear() {\n cache = null;\n };\n return memoized;\n}\n\nexport { memoizeOne as default };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI,YAAY,OAAO,SACnB,SAAS,SAAS,OAAO;CACrB,OAAO,OAAO,UAAU,YAAY,UAAU;AAClD;AACJ,SAAS,QAAQ,OAAO,QAAQ;CAC5B,IAAI,UAAU,QACV,OAAO;CAEX,IAAI,UAAU,KAAK,KAAK,UAAU,MAAM,GACpC,OAAO;CAEX,OAAO;AACX;AACA,SAAS,eAAe,WAAW,YAAY;CAC3C,IAAI,UAAU,WAAW,WAAW,QAChC,OAAO;CAEX,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAClC,IAAI,CAAC,QAAQ,UAAU,IAAI,WAAW,EAAE,GACpC,OAAO;CAGf,OAAO;AACX;AAEA,SAAS,WAAW,UAAU,SAAS;CACnC,IAAI,YAAY,KAAK,GAAK,UAAU;CACpC,IAAI,QAAQ;CACZ,SAAS,WAAW;EAChB,IAAI,UAAU,CAAC;EACf,KAAK,IAAI,KAAK,GAAG,KAAK,UAAU,QAAQ,MACpC,QAAQ,MAAM,UAAU;EAE5B,IAAI,SAAS,MAAM,aAAa,QAAQ,QAAQ,SAAS,MAAM,QAAQ,GACnE,OAAO,MAAM;EAEjB,IAAI,aAAa,SAAS,MAAM,MAAM,OAAO;EAC7C,QAAQ;GACQ;GACZ,UAAU;GACV,UAAU;EACd;EACA,OAAO;CACX;CACA,SAAS,QAAQ,SAAS,QAAQ;EAC9B,QAAQ;CACZ;CACA,OAAO;AACX"}
|
package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js
DELETED
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//#region node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js
|
|
3
|
-
/** Highest positive signed 32-bit float value */
|
|
4
|
-
var maxInt = 2147483647;
|
|
5
|
-
/** Bootstring parameters */
|
|
6
|
-
var base = 36;
|
|
7
|
-
var tMin = 1;
|
|
8
|
-
var tMax = 26;
|
|
9
|
-
var skew = 38;
|
|
10
|
-
var damp = 700;
|
|
11
|
-
var initialBias = 72;
|
|
12
|
-
var initialN = 128;
|
|
13
|
-
var delimiter = "-";
|
|
14
|
-
/** Regular expressions */
|
|
15
|
-
var regexPunycode = /^xn--/;
|
|
16
|
-
var regexNonASCII = /[^\0-\x7F]/;
|
|
17
|
-
var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g;
|
|
18
|
-
/** Error messages */
|
|
19
|
-
var errors = {
|
|
20
|
-
"overflow": "Overflow: input needs wider integers to process",
|
|
21
|
-
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
22
|
-
"invalid-input": "Invalid input"
|
|
23
|
-
};
|
|
24
|
-
/** Convenience shortcuts */
|
|
25
|
-
var baseMinusTMin = base - tMin;
|
|
26
|
-
var floor = Math.floor;
|
|
27
|
-
var stringFromCharCode = String.fromCharCode;
|
|
28
|
-
/**
|
|
29
|
-
* A generic error utility function.
|
|
30
|
-
* @private
|
|
31
|
-
* @param {String} type The error type.
|
|
32
|
-
* @returns {Error} Throws a `RangeError` with the applicable error message.
|
|
33
|
-
*/
|
|
34
|
-
function error(type) {
|
|
35
|
-
throw new RangeError(errors[type]);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* A generic `Array#map` utility function.
|
|
39
|
-
* @private
|
|
40
|
-
* @param {Array} array The array to iterate over.
|
|
41
|
-
* @param {Function} callback The function that gets called for every array
|
|
42
|
-
* item.
|
|
43
|
-
* @returns {Array} A new array of values returned by the callback function.
|
|
44
|
-
*/
|
|
45
|
-
function map(array, callback) {
|
|
46
|
-
const result = [];
|
|
47
|
-
let length = array.length;
|
|
48
|
-
while (length--) result[length] = callback(array[length]);
|
|
49
|
-
return result;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* A simple `Array#map`-like wrapper to work with domain name strings or email
|
|
53
|
-
* addresses.
|
|
54
|
-
* @private
|
|
55
|
-
* @param {String} domain The domain name or email address.
|
|
56
|
-
* @param {Function} callback The function that gets called for every
|
|
57
|
-
* character.
|
|
58
|
-
* @returns {String} A new string of characters returned by the callback
|
|
59
|
-
* function.
|
|
60
|
-
*/
|
|
61
|
-
function mapDomain(domain, callback) {
|
|
62
|
-
const parts = domain.split("@");
|
|
63
|
-
let result = "";
|
|
64
|
-
if (parts.length > 1) {
|
|
65
|
-
result = parts[0] + "@";
|
|
66
|
-
domain = parts[1];
|
|
67
|
-
}
|
|
68
|
-
domain = domain.replace(regexSeparators, ".");
|
|
69
|
-
const encoded = map(domain.split("."), callback).join(".");
|
|
70
|
-
return result + encoded;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Creates an array containing the numeric code points of each Unicode
|
|
74
|
-
* character in the string. While JavaScript uses UCS-2 internally,
|
|
75
|
-
* this function will convert a pair of surrogate halves (each of which
|
|
76
|
-
* UCS-2 exposes as separate characters) into a single code point,
|
|
77
|
-
* matching UTF-16.
|
|
78
|
-
* @see `punycode.ucs2.encode`
|
|
79
|
-
* @see <https://mathiasbynens.be/notes/javascript-encoding>
|
|
80
|
-
* @memberOf punycode.ucs2
|
|
81
|
-
* @name decode
|
|
82
|
-
* @param {String} string The Unicode input string (UCS-2).
|
|
83
|
-
* @returns {Array} The new array of code points.
|
|
84
|
-
*/
|
|
85
|
-
function ucs2decode(string) {
|
|
86
|
-
const output = [];
|
|
87
|
-
let counter = 0;
|
|
88
|
-
const length = string.length;
|
|
89
|
-
while (counter < length) {
|
|
90
|
-
const value = string.charCodeAt(counter++);
|
|
91
|
-
if (value >= 55296 && value <= 56319 && counter < length) {
|
|
92
|
-
const extra = string.charCodeAt(counter++);
|
|
93
|
-
if ((extra & 64512) == 56320) output.push(((value & 1023) << 10) + (extra & 1023) + 65536);
|
|
94
|
-
else {
|
|
95
|
-
output.push(value);
|
|
96
|
-
counter--;
|
|
97
|
-
}
|
|
98
|
-
} else output.push(value);
|
|
99
|
-
}
|
|
100
|
-
return output;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Creates a string based on an array of numeric code points.
|
|
104
|
-
* @see `punycode.ucs2.decode`
|
|
105
|
-
* @memberOf punycode.ucs2
|
|
106
|
-
* @name encode
|
|
107
|
-
* @param {Array} codePoints The array of numeric code points.
|
|
108
|
-
* @returns {String} The new Unicode string (UCS-2).
|
|
109
|
-
*/
|
|
110
|
-
var ucs2encode = (codePoints) => String.fromCodePoint(...codePoints);
|
|
111
|
-
/**
|
|
112
|
-
* Converts a basic code point into a digit/integer.
|
|
113
|
-
* @see `digitToBasic()`
|
|
114
|
-
* @private
|
|
115
|
-
* @param {Number} codePoint The basic numeric code point value.
|
|
116
|
-
* @returns {Number} The numeric value of a basic code point (for use in
|
|
117
|
-
* representing integers) in the range `0` to `base - 1`, or `base` if
|
|
118
|
-
* the code point does not represent a value.
|
|
119
|
-
*/
|
|
120
|
-
var basicToDigit = function(codePoint) {
|
|
121
|
-
if (codePoint >= 48 && codePoint < 58) return 26 + (codePoint - 48);
|
|
122
|
-
if (codePoint >= 65 && codePoint < 91) return codePoint - 65;
|
|
123
|
-
if (codePoint >= 97 && codePoint < 123) return codePoint - 97;
|
|
124
|
-
return base;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Converts a digit/integer into a basic code point.
|
|
128
|
-
* @see `basicToDigit()`
|
|
129
|
-
* @private
|
|
130
|
-
* @param {Number} digit The numeric value of a basic code point.
|
|
131
|
-
* @returns {Number} The basic code point whose value (when used for
|
|
132
|
-
* representing integers) is `digit`, which needs to be in the range
|
|
133
|
-
* `0` to `base - 1`. If `flag` is non-zero, the uppercase form is
|
|
134
|
-
* used; else, the lowercase form is used. The behavior is undefined
|
|
135
|
-
* if `flag` is non-zero and `digit` has no uppercase form.
|
|
136
|
-
*/
|
|
137
|
-
var digitToBasic = function(digit, flag) {
|
|
138
|
-
return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Bias adaptation function as per section 3.4 of RFC 3492.
|
|
142
|
-
* https://tools.ietf.org/html/rfc3492#section-3.4
|
|
143
|
-
* @private
|
|
144
|
-
*/
|
|
145
|
-
var adapt = function(delta, numPoints, firstTime) {
|
|
146
|
-
let k = 0;
|
|
147
|
-
delta = firstTime ? floor(delta / damp) : delta >> 1;
|
|
148
|
-
delta += floor(delta / numPoints);
|
|
149
|
-
for (; delta > 455; k += base) delta = floor(delta / baseMinusTMin);
|
|
150
|
-
return floor(k + 36 * delta / (delta + skew));
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* Converts a Punycode string of ASCII-only symbols to a string of Unicode
|
|
154
|
-
* symbols.
|
|
155
|
-
* @memberOf punycode
|
|
156
|
-
* @param {String} input The Punycode string of ASCII-only symbols.
|
|
157
|
-
* @returns {String} The resulting string of Unicode symbols.
|
|
158
|
-
*/
|
|
159
|
-
var decode = function(input) {
|
|
160
|
-
const output = [];
|
|
161
|
-
const inputLength = input.length;
|
|
162
|
-
let i = 0;
|
|
163
|
-
let n = initialN;
|
|
164
|
-
let bias = initialBias;
|
|
165
|
-
let basic = input.lastIndexOf(delimiter);
|
|
166
|
-
if (basic < 0) basic = 0;
|
|
167
|
-
for (let j = 0; j < basic; ++j) {
|
|
168
|
-
if (input.charCodeAt(j) >= 128) error("not-basic");
|
|
169
|
-
output.push(input.charCodeAt(j));
|
|
170
|
-
}
|
|
171
|
-
for (let index = basic > 0 ? basic + 1 : 0; index < inputLength;) {
|
|
172
|
-
const oldi = i;
|
|
173
|
-
for (let w = 1, k = base;; k += base) {
|
|
174
|
-
if (index >= inputLength) error("invalid-input");
|
|
175
|
-
const digit = basicToDigit(input.charCodeAt(index++));
|
|
176
|
-
if (digit >= base) error("invalid-input");
|
|
177
|
-
if (digit > floor((maxInt - i) / w)) error("overflow");
|
|
178
|
-
i += digit * w;
|
|
179
|
-
const t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
|
|
180
|
-
if (digit < t) break;
|
|
181
|
-
const baseMinusT = base - t;
|
|
182
|
-
if (w > floor(maxInt / baseMinusT)) error("overflow");
|
|
183
|
-
w *= baseMinusT;
|
|
184
|
-
}
|
|
185
|
-
const out = output.length + 1;
|
|
186
|
-
bias = adapt(i - oldi, out, oldi == 0);
|
|
187
|
-
if (floor(i / out) > maxInt - n) error("overflow");
|
|
188
|
-
n += floor(i / out);
|
|
189
|
-
i %= out;
|
|
190
|
-
output.splice(i++, 0, n);
|
|
191
|
-
}
|
|
192
|
-
return String.fromCodePoint(...output);
|
|
193
|
-
};
|
|
194
|
-
/**
|
|
195
|
-
* Converts a string of Unicode symbols (e.g. a domain name label) to a
|
|
196
|
-
* Punycode string of ASCII-only symbols.
|
|
197
|
-
* @memberOf punycode
|
|
198
|
-
* @param {String} input The string of Unicode symbols.
|
|
199
|
-
* @returns {String} The resulting Punycode string of ASCII-only symbols.
|
|
200
|
-
*/
|
|
201
|
-
var encode = function(input) {
|
|
202
|
-
const output = [];
|
|
203
|
-
input = ucs2decode(input);
|
|
204
|
-
const inputLength = input.length;
|
|
205
|
-
let n = initialN;
|
|
206
|
-
let delta = 0;
|
|
207
|
-
let bias = initialBias;
|
|
208
|
-
for (const currentValue of input) if (currentValue < 128) output.push(stringFromCharCode(currentValue));
|
|
209
|
-
const basicLength = output.length;
|
|
210
|
-
let handledCPCount = basicLength;
|
|
211
|
-
if (basicLength) output.push(delimiter);
|
|
212
|
-
while (handledCPCount < inputLength) {
|
|
213
|
-
let m = maxInt;
|
|
214
|
-
for (const currentValue of input) if (currentValue >= n && currentValue < m) m = currentValue;
|
|
215
|
-
const handledCPCountPlusOne = handledCPCount + 1;
|
|
216
|
-
if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) error("overflow");
|
|
217
|
-
delta += (m - n) * handledCPCountPlusOne;
|
|
218
|
-
n = m;
|
|
219
|
-
for (const currentValue of input) {
|
|
220
|
-
if (currentValue < n && ++delta > maxInt) error("overflow");
|
|
221
|
-
if (currentValue === n) {
|
|
222
|
-
let q = delta;
|
|
223
|
-
for (let k = base;; k += base) {
|
|
224
|
-
const t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
|
|
225
|
-
if (q < t) break;
|
|
226
|
-
const qMinusT = q - t;
|
|
227
|
-
const baseMinusT = base - t;
|
|
228
|
-
output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)));
|
|
229
|
-
q = floor(qMinusT / baseMinusT);
|
|
230
|
-
}
|
|
231
|
-
output.push(stringFromCharCode(digitToBasic(q, 0)));
|
|
232
|
-
bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
|
|
233
|
-
delta = 0;
|
|
234
|
-
++handledCPCount;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
++delta;
|
|
238
|
-
++n;
|
|
239
|
-
}
|
|
240
|
-
return output.join("");
|
|
241
|
-
};
|
|
242
|
-
/**
|
|
243
|
-
* Converts a Punycode string representing a domain name or an email address
|
|
244
|
-
* to Unicode. Only the Punycoded parts of the input will be converted, i.e.
|
|
245
|
-
* it doesn't matter if you call it on a string that has already been
|
|
246
|
-
* converted to Unicode.
|
|
247
|
-
* @memberOf punycode
|
|
248
|
-
* @param {String} input The Punycoded domain name or email address to
|
|
249
|
-
* convert to Unicode.
|
|
250
|
-
* @returns {String} The Unicode representation of the given Punycode
|
|
251
|
-
* string.
|
|
252
|
-
*/
|
|
253
|
-
var toUnicode = function(input) {
|
|
254
|
-
return mapDomain(input, function(string) {
|
|
255
|
-
return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string;
|
|
256
|
-
});
|
|
257
|
-
};
|
|
258
|
-
/**
|
|
259
|
-
* Converts a Unicode string representing a domain name or an email address to
|
|
260
|
-
* Punycode. Only the non-ASCII parts of the domain name will be converted,
|
|
261
|
-
* i.e. it doesn't matter if you call it with a domain that's already in
|
|
262
|
-
* ASCII.
|
|
263
|
-
* @memberOf punycode
|
|
264
|
-
* @param {String} input The domain name or email address to convert, as a
|
|
265
|
-
* Unicode string.
|
|
266
|
-
* @returns {String} The Punycode representation of the given domain name or
|
|
267
|
-
* email address.
|
|
268
|
-
*/
|
|
269
|
-
var toASCII = function(input) {
|
|
270
|
-
return mapDomain(input, function(string) {
|
|
271
|
-
return regexNonASCII.test(string) ? "xn--" + encode(string) : string;
|
|
272
|
-
});
|
|
273
|
-
};
|
|
274
|
-
/** Define the public API */
|
|
275
|
-
var punycode = {
|
|
276
|
-
/**
|
|
277
|
-
* A string representing the current Punycode.js version number.
|
|
278
|
-
* @memberOf punycode
|
|
279
|
-
* @type String
|
|
280
|
-
*/
|
|
281
|
-
"version": "2.3.1",
|
|
282
|
-
/**
|
|
283
|
-
* An object of methods to convert from JavaScript's internal character
|
|
284
|
-
* representation (UCS-2) to Unicode code points, and back.
|
|
285
|
-
* @see <https://mathiasbynens.be/notes/javascript-encoding>
|
|
286
|
-
* @memberOf punycode
|
|
287
|
-
* @type Object
|
|
288
|
-
*/
|
|
289
|
-
"ucs2": {
|
|
290
|
-
"decode": ucs2decode,
|
|
291
|
-
"encode": ucs2encode
|
|
292
|
-
},
|
|
293
|
-
"decode": decode,
|
|
294
|
-
"encode": encode,
|
|
295
|
-
"toASCII": toASCII,
|
|
296
|
-
"toUnicode": toUnicode
|
|
297
|
-
};
|
|
298
|
-
//#endregion
|
|
299
|
-
exports.decode = decode;
|
|
300
|
-
exports.default = punycode;
|
|
301
|
-
exports.encode = encode;
|
|
302
|
-
exports.toASCII = toASCII;
|
|
303
|
-
exports.toUnicode = toUnicode;
|
|
304
|
-
exports.ucs2decode = ucs2decode;
|
|
305
|
-
exports.ucs2encode = ucs2encode;
|
|
306
|
-
|
|
307
|
-
//# sourceMappingURL=punycode.es6.js.map
|