@techdocs/cli 0.0.0-nightly-20260711031351 → 0.0.0-nightly-20260713031604

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 (21) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/dist/embedded-app/.config-schema.json +55 -55
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/index.html.tmpl +1 -1
  5. package/dist/embedded-app/static/{123.f1fb3fc1fa55.chunk.js → 123.708089b38342.chunk.js} +2 -2
  6. package/dist/embedded-app/static/{123.f1fb3fc1fa55.chunk.js.map → 123.708089b38342.chunk.js.map} +1 -1
  7. package/dist/embedded-app/static/{1659.c89202bfc69d.chunk.js → 1659.53b295ec661d.chunk.js} +2 -2
  8. package/dist/embedded-app/static/{1659.c89202bfc69d.chunk.js.map → 1659.53b295ec661d.chunk.js.map} +1 -1
  9. package/dist/embedded-app/static/{4587.0b6b88c1eee9.chunk.js → 4587.5c8c9854b834.chunk.js} +2 -2
  10. package/dist/embedded-app/static/{4587.0b6b88c1eee9.chunk.js.map → 4587.5c8c9854b834.chunk.js.map} +1 -1
  11. package/dist/embedded-app/static/{main.758c6ca32370.js → main.e5756d374e1c.js} +3 -3
  12. package/dist/embedded-app/static/{main.758c6ca32370.js.map → main.e5756d374e1c.js.map} +1 -1
  13. package/dist/embedded-app/static/module-dompurify.b9b41a29cecf.js +2 -0
  14. package/dist/embedded-app/static/module-dompurify.b9b41a29cecf.js.map +1 -0
  15. package/dist/embedded-app/static/{runtime.3fa15b48745a.js → runtime.a4ccbe9fc51f.js} +2 -2
  16. package/dist/embedded-app/static/{runtime.3fa15b48745a.js.map → runtime.a4ccbe9fc51f.js.map} +1 -1
  17. package/dist/embedded-app/static/{vendor.5415689a71ed.js → vendor.b20c39624bca.js} +5 -5
  18. package/dist/embedded-app/static/vendor.b20c39624bca.js.map +1 -0
  19. package/dist/package.json.cjs.js +1 -1
  20. package/package.json +5 -5
  21. package/dist/embedded-app/static/vendor.5415689a71ed.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20260711031351
3
+ ## 0.0.0-nightly-20260713031604
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-defaults@0.0.0-nightly-20260711031351
9
- - @backstage/cli-common@0.0.0-nightly-20260711031351
8
+ - @backstage/backend-defaults@0.0.0-nightly-20260713031604
9
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20260713031604
10
+ - @backstage/cli-common@0.0.0-nightly-20260713031604
10
11
  - @backstage/catalog-model@1.9.0
11
12
  - @backstage/config@1.3.8
12
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20260711031351
13
13
 
14
14
  ## 1.11.2-next.1
15
15
 
@@ -465,6 +465,37 @@
465
465
  },
466
466
  "packageName": "@backstage/plugin-techdocs"
467
467
  },
468
+ {
469
+ "path": "../../plugins/catalog/config.d.ts",
470
+ "value": {
471
+ "$schema": "http://json-schema.org/draft-07/schema#",
472
+ "type": "object",
473
+ "properties": {
474
+ "catalog": {
475
+ "type": "object",
476
+ "properties": {
477
+ "experimentalPagination": {
478
+ "anyOf": [
479
+ {
480
+ "type": "boolean"
481
+ },
482
+ {
483
+ "type": "object",
484
+ "properties": {
485
+ "limit": {
486
+ "type": "number"
487
+ }
488
+ }
489
+ }
490
+ ],
491
+ "deepVisibility": "frontend"
492
+ }
493
+ }
494
+ }
495
+ }
496
+ },
497
+ "packageName": "@backstage/plugin-catalog"
498
+ },
468
499
  {
469
500
  "path": "../integration/config.d.ts",
470
501
  "value": {
@@ -992,37 +1023,6 @@
992
1023
  },
993
1024
  "packageName": "@backstage/integration"
994
1025
  },
995
- {
996
- "path": "../../plugins/catalog/config.d.ts",
997
- "value": {
998
- "$schema": "http://json-schema.org/draft-07/schema#",
999
- "type": "object",
1000
- "properties": {
1001
- "catalog": {
1002
- "type": "object",
1003
- "properties": {
1004
- "experimentalPagination": {
1005
- "anyOf": [
1006
- {
1007
- "type": "boolean"
1008
- },
1009
- {
1010
- "type": "object",
1011
- "properties": {
1012
- "limit": {
1013
- "type": "number"
1014
- }
1015
- }
1016
- }
1017
- ],
1018
- "deepVisibility": "frontend"
1019
- }
1020
- }
1021
- }
1022
- }
1023
- },
1024
- "packageName": "@backstage/plugin-catalog"
1025
- },
1026
1026
  {
1027
1027
  "path": "../frontend-app-api/config.d.ts",
1028
1028
  "value": {
@@ -4045,30 +4045,6 @@
4045
4045
  },
4046
4046
  "packageName": "@backstage/backend-defaults"
4047
4047
  },
4048
- {
4049
- "path": "../../plugins/events-node/config.d.ts",
4050
- "value": {
4051
- "$schema": "http://json-schema.org/draft-07/schema#",
4052
- "type": "object",
4053
- "properties": {
4054
- "events": {
4055
- "type": "object",
4056
- "properties": {
4057
- "useEventBus": {
4058
- "type": "string",
4059
- "enum": [
4060
- "never",
4061
- "always",
4062
- "auto"
4063
- ],
4064
- "description": "Whether to use the event bus API in the events plugin backend to distribute events across multiple instances when publishing and subscribing to events.\n\nThe default is 'auto', which means means that the event bus API will be used if it's available, but will be disabled if the events backend returns a 404.\n\nIf set to 'never', the events service will only ever publish events locally to the same instance, while if set to 'always', the event bus API will never be disabled, even if the events backend returns a 404."
4065
- }
4066
- }
4067
- }
4068
- }
4069
- },
4070
- "packageName": "@backstage/plugin-events-node"
4071
- },
4072
4048
  {
4073
4049
  "path": "../backend-app-api/config.d.ts",
4074
4050
  "value": {
@@ -4168,6 +4144,30 @@
4168
4144
  },
4169
4145
  "packageName": "@backstage/backend-app-api"
4170
4146
  },
4147
+ {
4148
+ "path": "../../plugins/events-node/config.d.ts",
4149
+ "value": {
4150
+ "$schema": "http://json-schema.org/draft-07/schema#",
4151
+ "type": "object",
4152
+ "properties": {
4153
+ "events": {
4154
+ "type": "object",
4155
+ "properties": {
4156
+ "useEventBus": {
4157
+ "type": "string",
4158
+ "enum": [
4159
+ "never",
4160
+ "always",
4161
+ "auto"
4162
+ ],
4163
+ "description": "Whether to use the event bus API in the events plugin backend to distribute events across multiple instances when publishing and subscribing to events.\n\nThe default is 'auto', which means means that the event bus API will be used if it's available, but will be disabled if the events backend returns a 404.\n\nIf set to 'never', the events service will only ever publish events locally to the same instance, while if set to 'always', the event bus API will never be disabled, even if the events backend returns a 404."
4164
+ }
4165
+ }
4166
+ }
4167
+ }
4168
+ },
4169
+ "packageName": "@backstage/plugin-events-node"
4170
+ },
4171
4171
  {
4172
4172
  "path": "../../plugins/auth-backend-module-google-provider/config.d.ts",
4173
4173
  "value": {
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="color-scheme" content="light dark"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.3fa15b48745a.js"></script><script defer="defer" src="/static/module-react-aria.84a78dd1e874.js"></script><script defer="defer" src="/static/module-material-ui.0bea4977e580.js"></script><script defer="defer" src="/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer="defer" src="/static/module-lodash.abe41c34b13d.js"></script><script defer="defer" src="/static/module-zod.bc4245f82c69.js"></script><script defer="defer" src="/static/module-ajv.1cd135f79aa8.js"></script><script defer="defer" src="/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer="defer" src="/static/module-mui.9c07ad9e010f.js"></script><script defer="defer" src="/static/module-react-stately.3db88231cc18.js"></script><script defer="defer" src="/static/module-react-aria-components.edebf589ec05.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer="defer" src="/static/module-parse5.94980036c2b0.js"></script><script defer="defer" src="/static/module-react-dom.c631e87dd2a2.js"></script><script defer="defer" src="/static/module-react-hook-form.2803e955e58c.js"></script><script defer="defer" src="/static/module-i18next.c154323c180d.js"></script><script defer="defer" src="/static/module-remixicon.4e40b5b6bde1.js"></script><script defer="defer" src="/static/module-remix-run.0c80eb31316a.js"></script><script defer="defer" src="/static/vendor.5415689a71ed.js"></script><script defer="defer" src="/static/main.758c6ca32370.js"></script><link href="/static/main.24d2ac7d6fef.css" rel="stylesheet"><script type="backstage.io/config">[
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="color-scheme" content="light dark"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.a4ccbe9fc51f.js"></script><script defer="defer" src="/static/module-react-aria.84a78dd1e874.js"></script><script defer="defer" src="/static/module-material-ui.0bea4977e580.js"></script><script defer="defer" src="/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer="defer" src="/static/module-lodash.abe41c34b13d.js"></script><script defer="defer" src="/static/module-zod.bc4245f82c69.js"></script><script defer="defer" src="/static/module-ajv.1cd135f79aa8.js"></script><script defer="defer" src="/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer="defer" src="/static/module-mui.9c07ad9e010f.js"></script><script defer="defer" src="/static/module-react-stately.3db88231cc18.js"></script><script defer="defer" src="/static/module-react-aria-components.edebf589ec05.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer="defer" src="/static/module-parse5.94980036c2b0.js"></script><script defer="defer" src="/static/module-react-dom.c631e87dd2a2.js"></script><script defer="defer" src="/static/module-react-hook-form.2803e955e58c.js"></script><script defer="defer" src="/static/module-i18next.c154323c180d.js"></script><script defer="defer" src="/static/module-dompurify.b9b41a29cecf.js"></script><script defer="defer" src="/static/module-remixicon.4e40b5b6bde1.js"></script><script defer="defer" src="/static/module-remix-run.0c80eb31316a.js"></script><script defer="defer" src="/static/vendor.b20c39624bca.js"></script><script defer="defer" src="/static/main.e5756d374e1c.js"></script><link href="/static/main.24d2ac7d6fef.css" rel="stylesheet"><script type="backstage.io/config">[
2
2
  {
3
3
  "context": "app-config.yaml",
4
4
  "data": {
@@ -43,7 +43,7 @@
43
43
  color="#5bbad5"
44
44
  />
45
45
  <title><%= config.getString('app.title') %></title>
46
- <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.3fa15b48745a.js"></script><script defer src="<%= publicPath %>/static/module-react-aria.84a78dd1e874.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.0bea4977e580.js"></script><script defer src="<%= publicPath %>/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer src="<%= publicPath %>/static/module-lodash.abe41c34b13d.js"></script><script defer src="<%= publicPath %>/static/module-zod.bc4245f82c69.js"></script><script defer src="<%= publicPath %>/static/module-ajv.1cd135f79aa8.js"></script><script defer src="<%= publicPath %>/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer src="<%= publicPath %>/static/module-mui.9c07ad9e010f.js"></script><script defer src="<%= publicPath %>/static/module-react-stately.3db88231cc18.js"></script><script defer src="<%= publicPath %>/static/module-react-aria-components.edebf589ec05.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036c2b0.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87dd2a2.js"></script><script defer src="<%= publicPath %>/static/module-react-hook-form.2803e955e58c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c180d.js"></script><script defer src="<%= publicPath %>/static/module-remixicon.4e40b5b6bde1.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.0c80eb31316a.js"></script><script defer src="<%= publicPath %>/static/vendor.5415689a71ed.js"></script><script defer src="<%= publicPath %>/static/main.758c6ca32370.js"></script><link href="<%= publicPath %>/static/main.24d2ac7d6fef.css" rel="stylesheet"></head>
46
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.a4ccbe9fc51f.js"></script><script defer src="<%= publicPath %>/static/module-react-aria.84a78dd1e874.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.0bea4977e580.js"></script><script defer src="<%= publicPath %>/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer src="<%= publicPath %>/static/module-lodash.abe41c34b13d.js"></script><script defer src="<%= publicPath %>/static/module-zod.bc4245f82c69.js"></script><script defer src="<%= publicPath %>/static/module-ajv.1cd135f79aa8.js"></script><script defer src="<%= publicPath %>/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer src="<%= publicPath %>/static/module-mui.9c07ad9e010f.js"></script><script defer src="<%= publicPath %>/static/module-react-stately.3db88231cc18.js"></script><script defer src="<%= publicPath %>/static/module-react-aria-components.edebf589ec05.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036c2b0.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87dd2a2.js"></script><script defer src="<%= publicPath %>/static/module-react-hook-form.2803e955e58c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c180d.js"></script><script defer src="<%= publicPath %>/static/module-dompurify.b9b41a29cecf.js"></script><script defer src="<%= publicPath %>/static/module-remixicon.4e40b5b6bde1.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.0c80eb31316a.js"></script><script defer src="<%= publicPath %>/static/vendor.b20c39624bca.js"></script><script defer src="<%= publicPath %>/static/main.e5756d374e1c.js"></script><link href="<%= publicPath %>/static/main.24d2ac7d6fef.css" rel="stylesheet"></head>
47
47
  <body>
48
48
  <noscript>You need to enable JavaScript to run this app.</noscript>
49
49
  <div id="root"></div>
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["123"],{79894(a){a.exports=JSON.parse('{"name":"@backstage/plugin-catalog","version":"0.0.0-nightly-20260711031351","description":"The Backstage plugin for browsing the Backstage catalog","backstage":{"role":"frontend-plugin","pluginId":"catalog","pluginPackages":["@backstage/plugin-catalog","@backstage/plugin-catalog-backend","@backstage/plugin-catalog-common","@backstage/plugin-catalog-node","@backstage/plugin-catalog-react"]},"publishConfig":{"access":"public"},"keywords":["backstage"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/catalog"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/core-compat-api":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-catalog-common":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/plugin-scaffolder-common":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@mui/utils":"^5.14.15","@remixicon/react":"^4.6.0","classnames":"^2.3.1","csv-stringify":"^5.6.5","dataloader":"^2.0.0","lodash":"^4.17.21","pluralize":"^8.0.0","react-helmet":"6.1.0","react-use":"^17.2.4","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/plugin-permission-common":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/pluralize":"^0.0.33","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2","swr":"^2.2.5"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
- //# sourceMappingURL=123.f1fb3fc1fa55.chunk.js.map
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["123"],{79894(a){a.exports=JSON.parse('{"name":"@backstage/plugin-catalog","version":"0.0.0-nightly-20260713031604","description":"The Backstage plugin for browsing the Backstage catalog","backstage":{"role":"frontend-plugin","pluginId":"catalog","pluginPackages":["@backstage/plugin-catalog","@backstage/plugin-catalog-backend","@backstage/plugin-catalog-common","@backstage/plugin-catalog-node","@backstage/plugin-catalog-react"]},"publishConfig":{"access":"public"},"keywords":["backstage"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/catalog"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/core-compat-api":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-catalog-common":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/plugin-scaffolder-common":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@mui/utils":"^5.14.15","@remixicon/react":"^4.6.0","classnames":"^2.3.1","csv-stringify":"^5.6.5","dataloader":"^2.0.0","lodash":"^4.17.21","pluralize":"^8.0.0","react-helmet":"6.1.0","react-use":"^17.2.4","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/plugin-permission-common":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/pluralize":"^0.0.33","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2","swr":"^2.2.5"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
+ //# sourceMappingURL=123.708089b38342.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/123.f1fb3fc1fa55.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/catalog/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-catalog\",\"version\":\"0.0.0-nightly-20260711031351\",\"description\":\"The Backstage plugin for browsing the Backstage catalog\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"catalog\",\"pluginPackages\":[\"@backstage/plugin-catalog\",\"@backstage/plugin-catalog-backend\",\"@backstage/plugin-catalog-common\",\"@backstage/plugin-catalog-node\",\"@backstage/plugin-catalog-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/catalog\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/core-compat-api\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-catalog-common\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/plugin-scaffolder-common\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@mui/utils\":\"^5.14.15\",\"@remixicon/react\":\"^4.6.0\",\"classnames\":\"^2.3.1\",\"csv-stringify\":\"^5.6.5\",\"dataloader\":\"^2.0.0\",\"lodash\":\"^4.17.21\",\"pluralize\":\"^8.0.0\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/plugin-permission-common\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/pluralize\":\"^0.0.33\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\",\"swr\":\"^2.2.5\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"iIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,imG"}
1
+ {"version":3,"file":"static/123.708089b38342.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/catalog/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-catalog\",\"version\":\"0.0.0-nightly-20260713031604\",\"description\":\"The Backstage plugin for browsing the Backstage catalog\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"catalog\",\"pluginPackages\":[\"@backstage/plugin-catalog\",\"@backstage/plugin-catalog-backend\",\"@backstage/plugin-catalog-common\",\"@backstage/plugin-catalog-node\",\"@backstage/plugin-catalog-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/catalog\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/core-compat-api\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-catalog-common\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/plugin-scaffolder-common\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@mui/utils\":\"^5.14.15\",\"@remixicon/react\":\"^4.6.0\",\"classnames\":\"^2.3.1\",\"csv-stringify\":\"^5.6.5\",\"dataloader\":\"^2.0.0\",\"lodash\":\"^4.17.21\",\"pluralize\":\"^8.0.0\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/plugin-permission-common\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/pluralize\":\"^0.0.33\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\",\"swr\":\"^2.2.5\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"iIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,imG"}
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1659"],{23494(e){e.exports=JSON.parse('{"name":"@backstage/plugin-techdocs","version":"0.0.0-nightly-20260711031351","description":"The Backstage plugin that renders technical documentation for your components","backstage":{"role":"frontend-plugin","pluginId":"techdocs","pluginPackages":["@backstage/plugin-techdocs","@backstage/plugin-techdocs-backend","@backstage/plugin-techdocs-common","@backstage/plugin-techdocs-node","@backstage/plugin-techdocs-react"]},"publishConfig":{"access":"public"},"keywords":["backstage","techdocs"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/techdocs"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.tsx","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.tsx"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/config":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-auth-react":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/ui":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@material-ui/styles":"^4.10.0","@microsoft/fetch-event-source":"^2.0.1","@remixicon/react":">=4.6.0 <4.9.0","dompurify":"^3.3.2","git-url-parse":"^15.0.0","lodash":"^4.17.21","react-helmet":"6.1.0","react-use":"^17.2.4","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/plugin-catalog":"workspace:*","@backstage/plugin-techdocs-module-addons-contrib":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/dompurify":"^3.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
- //# sourceMappingURL=1659.c89202bfc69d.chunk.js.map
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1659"],{23494(e){e.exports=JSON.parse('{"name":"@backstage/plugin-techdocs","version":"0.0.0-nightly-20260713031604","description":"The Backstage plugin that renders technical documentation for your components","backstage":{"role":"frontend-plugin","pluginId":"techdocs","pluginPackages":["@backstage/plugin-techdocs","@backstage/plugin-techdocs-backend","@backstage/plugin-techdocs-common","@backstage/plugin-techdocs-node","@backstage/plugin-techdocs-react"]},"publishConfig":{"access":"public"},"keywords":["backstage","techdocs"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/techdocs"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.tsx","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.tsx"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/config":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-auth-react":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/ui":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@material-ui/styles":"^4.10.0","@microsoft/fetch-event-source":"^2.0.1","@remixicon/react":">=4.6.0 <4.9.0","dompurify":"^3.4.11","git-url-parse":"^15.0.0","lodash":"^4.17.21","react-helmet":"6.1.0","react-use":"^17.2.4","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/plugin-catalog":"workspace:*","@backstage/plugin-techdocs-module-addons-contrib":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/dompurify":"^3.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
+ //# sourceMappingURL=1659.53b295ec661d.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/1659.c89202bfc69d.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/techdocs/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-techdocs\",\"version\":\"0.0.0-nightly-20260711031351\",\"description\":\"The Backstage plugin that renders technical documentation for your components\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"techdocs\",\"pluginPackages\":[\"@backstage/plugin-techdocs\",\"@backstage/plugin-techdocs-backend\",\"@backstage/plugin-techdocs-common\",\"@backstage/plugin-techdocs-node\",\"@backstage/plugin-techdocs-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\",\"techdocs\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/techdocs\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.tsx\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.tsx\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/config\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-auth-react\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@material-ui/styles\":\"^4.10.0\",\"@microsoft/fetch-event-source\":\"^2.0.1\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"dompurify\":\"^3.3.2\",\"git-url-parse\":\"^15.0.0\",\"lodash\":\"^4.17.21\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/plugin-catalog\":\"workspace:*\",\"@backstage/plugin-techdocs-module-addons-contrib\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/dompurify\":\"^3.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,ggG"}
1
+ {"version":3,"file":"static/1659.53b295ec661d.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/techdocs/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-techdocs\",\"version\":\"0.0.0-nightly-20260713031604\",\"description\":\"The Backstage plugin that renders technical documentation for your components\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"techdocs\",\"pluginPackages\":[\"@backstage/plugin-techdocs\",\"@backstage/plugin-techdocs-backend\",\"@backstage/plugin-techdocs-common\",\"@backstage/plugin-techdocs-node\",\"@backstage/plugin-techdocs-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\",\"techdocs\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/techdocs\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.tsx\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.tsx\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/config\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-auth-react\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@material-ui/styles\":\"^4.10.0\",\"@microsoft/fetch-event-source\":\"^2.0.1\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"dompurify\":\"^3.4.11\",\"git-url-parse\":\"^15.0.0\",\"lodash\":\"^4.17.21\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/plugin-catalog\":\"workspace:*\",\"@backstage/plugin-techdocs-module-addons-contrib\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/dompurify\":\"^3.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,igG"}
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["4587"],{20534(e){e.exports=JSON.parse('{"name":"@backstage/plugin-app","version":"0.0.0-nightly-20260711031351","backstage":{"role":"frontend-plugin","pluginId":"app","pluginPackages":["@backstage/plugin-app","@backstage/plugin-app-backend","@backstage/plugin-app-node","@backstage/plugin-app-react"]},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/app"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-app-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.9.13","@material-ui/icons":"^4.9.1","@material-ui/lab":"^4.0.0-alpha.61","@react-hookz/web":"^24.0.0","@remixicon/react":">=4.6.0 <4.9.0","motion":"^12.0.0","react-aria":"~3.48.0","react-stately":"~3.46.0","react-use":"^17.2.4","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-defaults":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}}}')}}]);
2
- //# sourceMappingURL=4587.0b6b88c1eee9.chunk.js.map
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["4587"],{20534(e){e.exports=JSON.parse('{"name":"@backstage/plugin-app","version":"0.0.0-nightly-20260713031604","backstage":{"role":"frontend-plugin","pluginId":"app","pluginPackages":["@backstage/plugin-app","@backstage/plugin-app-backend","@backstage/plugin-app-node","@backstage/plugin-app-react"]},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/app"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-app-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.9.13","@material-ui/icons":"^4.9.1","@material-ui/lab":"^4.0.0-alpha.61","@react-hookz/web":"^24.0.0","@remixicon/react":">=4.6.0 <4.9.0","motion":"^12.0.0","react-aria":"~3.48.0","react-stately":"~3.46.0","react-use":"^17.2.4","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-defaults":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}}}')}}]);
2
+ //# sourceMappingURL=4587.5c8c9854b834.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/4587.0b6b88c1eee9.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/app/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-app\",\"version\":\"0.0.0-nightly-20260711031351\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"app\",\"pluginPackages\":[\"@backstage/plugin-app\",\"@backstage/plugin-app-backend\",\"@backstage/plugin-app-node\",\"@backstage/plugin-app-react\"]},\"publishConfig\":{\"access\":\"public\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/app\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-app-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.9.13\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"^4.0.0-alpha.61\",\"@react-hookz/web\":\"^24.0.0\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"motion\":\"^12.0.0\",\"react-aria\":\"~3.48.0\",\"react-stately\":\"~3.46.0\",\"react-use\":\"^17.2.4\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-defaults\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}}}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,w0E"}
1
+ {"version":3,"file":"static/4587.5c8c9854b834.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/app/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-app\",\"version\":\"0.0.0-nightly-20260713031604\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"app\",\"pluginPackages\":[\"@backstage/plugin-app\",\"@backstage/plugin-app-backend\",\"@backstage/plugin-app-node\",\"@backstage/plugin-app-react\"]},\"publishConfig\":{\"access\":\"public\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/app\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-app-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.9.13\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"^4.0.0-alpha.61\",\"@react-hookz/web\":\"^24.0.0\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"motion\":\"^12.0.0\",\"react-aria\":\"~3.48.0\",\"react-stately\":\"~3.46.0\",\"react-use\":\"^17.2.4\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-defaults\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}}}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,w0E"}
@@ -516,8 +516,8 @@ ${T.reduce((t,r)=>{let i=e.typography.htmlFontSize??16,{lineHeight:n,fontFamily:
516
516
  ${$[e.palette.type].map(e=>`img[src$="${e}"]`).join(", ")} {
517
517
  display: none;
518
518
  }
519
- `],O=async(e,t)=>{let r;if("string"==typeof e)r=new DOMParser().parseFromString(e,"text/html").documentElement;else if(e instanceof Element)r=e;else throw Error("dom is not a recognized type");for(let e of t)r=await e(r);return r},L=(e,t,r)=>{let i=new URL(t,"https://ignored.com").pathname,n="src"===e&&i.endsWith(".svg"),a=!t.match(/^([a-z]*:)?\/\//i),o=t.startsWith(r);return n&&(a||o)};function P(e){let t=new URL(e);return t.pathname.endsWith("/")||t.pathname.endsWith(".html")||(t.pathname+="/"),t.toString()}var B=r(27326);function U(e,t){i.then(r=>{"createRoot"in r?r.createRoot(t).render(e):r.render(e,t)})}i=Promise.resolve().then(r.t.bind(r,25873,19));var z=r(87393),M=r(90292),F=r(52536),D=r.n(F),_=r(31085),q=r(58837),H=r(38097),W=r(64947),V=r(89595),K=r(64009);let G=(0,q.A)(e=>({button:{color:e.palette.primary.light,textDecoration:"underline"}})),Y=({message:e,handleButtonClick:t,autoHideDuration:r})=>{let i=G(),[a,o]=(0,n.useState)(!0),{t:s}=(0,V.i)(K.M),l=()=>o(!1);return(0,_.jsx)(H.A,{open:a,anchorOrigin:{vertical:"top",horizontal:"right"},autoHideDuration:r,color:"primary",onClose:l,message:e,action:(0,_.jsx)(W.A,{classes:{root:i.button},size:"small",onClick:()=>{l(),t()},children:s("redirectNotification.redirectNow")})})};var X=r(50868),J=r(10437),Z=r(71677),Q=r(7031),ee=r(29365),et=r(11688);let er=(0,Q.A)(e=>({tooltip:{fontSize:"inherit",color:e.palette.text.primary,margin:0,padding:e.spacing(.5),backgroundColor:"transparent",boxShadow:"none"}}))(Z.Ay),ei=()=>(0,_.jsx)(J.A,{children:(0,_.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})}),en=({text:e})=>{let[t,r]=(0,n.useState)(!1),[,i]=(0,et.A)(),a=(0,n.useCallback)(()=>{i(e),r(!0)},[e,i]),o=(0,n.useCallback)(()=>{r(!1)},[r]);return(0,_.jsx)(er,{title:"Copied to clipboard",placement:"left",open:t,onClose:o,leaveDelay:1e3,children:(0,_.jsx)(ee.A,{style:{position:"absolute",top:"0.5rem",right:"0.5rem"},className:"md-clipboard md-icon",onClick:a,"aria-label":"Copy to clipboard",children:(0,_.jsx)(ei,{})})})},ea=({onLoading:e,onLoaded:t})=>r=>(e(),r.addEventListener(s.K$,function e(){t(),r.removeEventListener(s.K$,e)}),r);function eo(e){let{defaultPath:t,onReady:r}=e,{entityMetadata:{value:i,loading:v},entityRef:w,setShadowRoot:x}=(0,o.V)(),{state:E}=(0,y.wz)(),I=((e,t)=>{let r,i,o,l,c,v,w,x=(r=(0,n.useRef)((0,a.useNavigate)()),i=(0,h.gf)(g.U).getOptionalString("app.baseUrl"),(0,n.useCallback)(e=>{let t=e;if(i)try{let r,n,a,o;r=new URL(i),n=`${r.origin}${r.pathname.replace(/\/$/,"")}`,a=e.replace(n,"").replace(/^\/+/,""),o=new URL(`http://localhost/${a}`),t=`${o.pathname}${o.search}${o.hash}`}catch(e){}r.current(t)},[i])),E=(0,u.A)(),I=(0,d.A)("screen and (max-width: 76.1875em)"),T=(o=(0,h.gf)(g.U),l=(0,n.useMemo)(()=>o.getOptionalConfig("techdocs.sanitizer"),[o]),(0,n.useCallback)(async e=>{let t=l?.getOptionalStringArray("allowedIframeHosts");b.A.addHook("beforeSanitizeElements",A);let r=["link","meta"];t&&(r.push("iframe"),b.A.addHook("beforeSanitizeElements",e=>{e.nodeType===Node.ELEMENT_NODE&&("IFRAME"!==e.nodeName||((e,t)=>{let r=e.getAttribute("src")||"";try{let{host:e}=new URL(r);return t.includes(e)}catch{return!1}})(e,t)||e.remove())}));b.A.addHook("uponSanitizeElement",k),b.A.addHook("uponSanitizeAttribute",j);let i=l?.getOptionalString("allowedCustomElementTagNameRegExp"),n=l?.getOptionalString("allowedCustomElementAttributeNameRegExp"),a=["callto","cid","ftp","ftps","http","https","mailto","matrix","sms","tel","xmpp",...l?.getOptionalStringArray("additionalAllowedURIProtocols")||[]].filter(Boolean),o=RegExp(`^(?:${a.join("|")}:|[^a-z]|[a-z+.-]+(?:[^a-z+.\\-:]|$))`,"i");return b.A.sanitize(e.outerHTML,{ADD_TAGS:r,FORBID_TAGS:["style"],ADD_ATTR:["http-equiv","content","dominant-baseline"],WHOLE_DOCUMENT:!0,RETURN_DOM:!0,ALLOWED_URI_REGEXP:o,CUSTOM_ELEMENT_HANDLING:{tagNameCheck:i?new RegExp(i):void 0,attributeNameCheck:n?new RegExp(n):void 0}})},[l])),C=(c=(0,S.Ut)(),v=(0,u.A)(),w=(0,n.useMemo)(()=>{let e={theme:v,sidebar:c};return N.reduce((t,r)=>t+r(e),"")},[v,c]),(0,n.useCallback)(e=>(e.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",`<style>${w}</style>`),e),[w])),R=(0,p.s)(),$=(0,h.gf)(m.s),F=(0,h.gf)(f.Y),q=(0,h.gf)(g.U),{state:H,path:W,content:V}=(0,y.wz)(),{"*":K=""}=(0,a.useParams)(),[G,J]=(0,n.useState)(null),Z=(0,s._$)(G);(e=>{let t=(0,a.useLocation)(),r=(0,a.useNavigate)(),{"*":i=""}=(0,a.useParams)();(0,n.useLayoutEffect)(()=>{""===i&&e&&r(`${t.pathname}${e}`,{replace:!0})},[])})(t);let Q=(0,n.useCallback)(()=>{G&&G.querySelectorAll(".md-sidebar").forEach(e=>{if(I)e.style.top="0px";else{let t=document?.querySelector(".techdocs-reader-page"),r=t?.getBoundingClientRect().top??0,i=G.getBoundingClientRect().top??0,n=G.querySelector(".md-container > .md-tabs"),a=n?.getBoundingClientRect().height??0;i<r&&(i=r);let o=Math.max(i,0)+a;e.style.top=`${o}px`;let s=G.querySelector(".md-container > .md-footer"),l=s?.getBoundingClientRect().top??window.innerHeight;e.style.height=`${l-o}px`}e.style.setProperty("opacity","1")})},[G,I]);(0,n.useEffect)(()=>(window.addEventListener("resize",Q),window.addEventListener("scroll",Q,!0),()=>{window.removeEventListener("resize",Q),window.removeEventListener("scroll",Q,!0)}),[G,Q]);let ee=(0,n.useCallback)(()=>{if(!G)return;let e=G.querySelector(".md-footer");e&&(e.style.width=`${G.getBoundingClientRect().width}px`)},[G]);(0,n.useEffect)(()=>(window.addEventListener("resize",ee),()=>{window.removeEventListener("resize",ee)}),[G,ee]),(0,n.useEffect)(()=>{Z||(ee(),Q())},[H,Z,ee,Q]);let et=(0,n.useCallback)((t,r)=>O(t,[T,(({techdocsStorageApi:e,entityId:t,path:r})=>async i=>{let n=await e.getApiOrigin(),a=async(i,a)=>{for(let o of i)if(o.hasAttribute(a)){let i=o.getAttribute(a);if(!i)return;let s=await e.getBaseUrl(i,t,r);if(L(a,i,n))try{let e=await fetch(s,{credentials:"include"}),t=await e.text();o.setAttribute(a,`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(t)))}`)}catch(e){o.setAttribute("alt",`Error: ${i}`)}else o.setAttribute(a,s)}};return await Promise.all([a(i.querySelectorAll("img"),"src"),a(i.querySelectorAll("script"),"src"),a(i.querySelectorAll("source"),"src"),a(i.querySelectorAll("link"),"href"),a(i.querySelectorAll("a[download]"),"href")]),i})({techdocsStorageApi:$,entityId:e,path:r}),e=>{var t,r;return t=Array.from(e.getElementsByTagName("a")),r="href",Array.from(t).filter(e=>e.hasAttribute(r)).forEach(e=>{let t=e.getAttribute(r);if(t){t.match(/^https?:\/\//i)&&e.setAttribute("target","_blank");try{let i=P(window.location.href);e.setAttribute(r,new URL(t,i).toString())}catch(r){e.replaceWith(e.textContent||t)}}}),e},e=>{let t=e.querySelector('.md-header label[for="__drawer"]'),r=e.querySelector("article");if(!t||!r)return e;let i=t.cloneNode();return U((0,n.createElement)(B.default),i),i.id="toggle-sidebar",i.title="Toggle Sidebar",i.classList.add("md-content__button"),i.style.setProperty("padding","0 0 0 5px"),i.style.setProperty("margin","0.4rem 0 0.4rem 0.4rem"),r?.prepend(i),e},e=>(e.querySelector(".md-header")?.remove(),e),e=>(e.querySelector(".md-footer .md-copyright")?.remove(),e.querySelector(".md-footer-copyright")?.remove(),e),e=>{let t=e.querySelector('[title="Edit this page"]');if(!t||!t.href)return e;let r=new URL(t.href),i=F.byUrl(r);if(i?.type!=="github"&&i?.type!=="gitlab")return e;let a=e.querySelector("article>h1")?.childNodes[0].textContent||"",o=encodeURIComponent(`Documentation Feedback: ${a}`),s=encodeURIComponent(`Page source:
519
+ `],O=async(e,t)=>{let r;if("string"==typeof e)r=new DOMParser().parseFromString(e,"text/html").documentElement;else if(e instanceof Element)r=e;else throw Error("dom is not a recognized type");for(let e of t)r=await e(r);return r},L=(e,t,r)=>{let i=new URL(t,"https://ignored.com").pathname,n="src"===e&&i.endsWith(".svg"),a=!t.match(/^([a-z]*:)?\/\//i),o=t.startsWith(r);return n&&(a||o)};function P(e){let t=new URL(e);return t.pathname.endsWith("/")||t.pathname.endsWith(".html")||(t.pathname+="/"),t.toString()}var B=r(27326);function U(e,t){i.then(r=>{"createRoot"in r?r.createRoot(t).render(e):r.render(e,t)})}i=Promise.resolve().then(r.t.bind(r,25873,19));var z=r(87393),M=r(90292),F=r(52536),D=r.n(F),_=r(31085),q=r(58837),H=r(38097),W=r(64947),V=r(89595),K=r(64009);let G=(0,q.A)(e=>({button:{color:e.palette.primary.light,textDecoration:"underline"}})),Y=({message:e,handleButtonClick:t,autoHideDuration:r})=>{let i=G(),[a,o]=(0,n.useState)(!0),{t:s}=(0,V.i)(K.M),l=()=>o(!1);return(0,_.jsx)(H.A,{open:a,anchorOrigin:{vertical:"top",horizontal:"right"},autoHideDuration:r,color:"primary",onClose:l,message:e,action:(0,_.jsx)(W.A,{classes:{root:i.button},size:"small",onClick:()=>{l(),t()},children:s("redirectNotification.redirectNow")})})};var X=r(50868),J=r(10437),Z=r(71677),Q=r(7031),ee=r(29365),et=r(11688);let er=(0,Q.A)(e=>({tooltip:{fontSize:"inherit",color:e.palette.text.primary,margin:0,padding:e.spacing(.5),backgroundColor:"transparent",boxShadow:"none"}}))(Z.Ay),ei=()=>(0,_.jsx)(J.A,{children:(0,_.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})}),en=({text:e})=>{let[t,r]=(0,n.useState)(!1),[,i]=(0,et.A)(),a=(0,n.useCallback)(()=>{i(e),r(!0)},[e,i]),o=(0,n.useCallback)(()=>{r(!1)},[r]);return(0,_.jsx)(er,{title:"Copied to clipboard",placement:"left",open:t,onClose:o,leaveDelay:1e3,children:(0,_.jsx)(ee.A,{style:{position:"absolute",top:"0.5rem",right:"0.5rem"},className:"md-clipboard md-icon",onClick:a,"aria-label":"Copy to clipboard",children:(0,_.jsx)(ei,{})})})},ea=({onLoading:e,onLoaded:t})=>r=>(e(),r.addEventListener(s.K$,function e(){t(),r.removeEventListener(s.K$,e)}),r);function eo(e){let{defaultPath:t,onReady:r}=e,{entityMetadata:{value:i,loading:v},entityRef:w,setShadowRoot:x}=(0,o.V)(),{state:E}=(0,y.wz)(),I=((e,t)=>{let r,i,o,l,c,v,w,x,E=(r=(0,n.useRef)((0,a.useNavigate)()),i=(0,h.gf)(g.U).getOptionalString("app.baseUrl"),(0,n.useCallback)(e=>{let t=e;if(i)try{let r,n,a,o;r=new URL(i),n=`${r.origin}${r.pathname.replace(/\/$/,"")}`,a=e.replace(n,"").replace(/^\/+/,""),o=new URL(`http://localhost/${a}`),t=`${o.pathname}${o.search}${o.hash}`}catch(e){}r.current(t)},[i])),I=(0,u.A)(),T=(0,d.A)("screen and (max-width: 76.1875em)"),C=(o=(0,h.gf)(g.U),l=(0,n.useMemo)(()=>o.getOptionalConfig("techdocs.sanitizer"),[o]),c=(0,n.useMemo)(()=>{let e=(0,b.A)();e.addHook("beforeSanitizeElements",A);let t=l?.getOptionalStringArray("allowedIframeHosts");return t&&e.addHook("beforeSanitizeElements",e=>{e.nodeType===Node.ELEMENT_NODE&&("IFRAME"!==e.nodeName||((e,t)=>{let r=e.getAttribute("src")||"";try{let{host:e}=new URL(r);return t.includes(e)}catch{return!1}})(e,t)||e.remove())}),e.addHook("uponSanitizeElement",k),e.addHook("uponSanitizeAttribute",j),e},[l]),(0,n.useCallback)(async e=>{let t=l?.getOptionalStringArray("allowedIframeHosts"),r=["link","meta"];t&&r.push("iframe");let i=l?.getOptionalString("allowedCustomElementTagNameRegExp"),n=l?.getOptionalString("allowedCustomElementAttributeNameRegExp"),a=["callto","cid","ftp","ftps","http","https","mailto","matrix","sms","tel","xmpp",...l?.getOptionalStringArray("additionalAllowedURIProtocols")||[]].filter(Boolean),o=RegExp(`^(?:${a.join("|")}:|[^a-z]|[a-z+.-]+(?:[^a-z+.\\-:]|$))`,"i");return c.sanitize(e.outerHTML,{ADD_TAGS:r,FORBID_TAGS:["style"],ADD_ATTR:["http-equiv","content","dominant-baseline"],WHOLE_DOCUMENT:!0,RETURN_DOM:!0,ALLOWED_URI_REGEXP:o,CUSTOM_ELEMENT_HANDLING:{tagNameCheck:i?new RegExp(i):void 0,attributeNameCheck:n?new RegExp(n):void 0}})},[l,c])),R=(v=(0,S.Ut)(),w=(0,u.A)(),x=(0,n.useMemo)(()=>{let e={theme:w,sidebar:v};return N.reduce((t,r)=>t+r(e),"")},[w,v]),(0,n.useCallback)(e=>(e.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",`<style>${x}</style>`),e),[x])),$=(0,p.s)(),F=(0,h.gf)(m.s),q=(0,h.gf)(f.Y),H=(0,h.gf)(g.U),{state:W,path:V,content:K}=(0,y.wz)(),{"*":G=""}=(0,a.useParams)(),[J,Z]=(0,n.useState)(null),Q=(0,s._$)(J);(e=>{let t=(0,a.useLocation)(),r=(0,a.useNavigate)(),{"*":i=""}=(0,a.useParams)();(0,n.useLayoutEffect)(()=>{""===i&&e&&r(`${t.pathname}${e}`,{replace:!0})},[])})(t);let ee=(0,n.useCallback)(()=>{J&&J.querySelectorAll(".md-sidebar").forEach(e=>{if(T)e.style.top="0px";else{let t=document?.querySelector(".techdocs-reader-page"),r=t?.getBoundingClientRect().top??0,i=J.getBoundingClientRect().top??0,n=J.querySelector(".md-container > .md-tabs"),a=n?.getBoundingClientRect().height??0;i<r&&(i=r);let o=Math.max(i,0)+a;e.style.top=`${o}px`;let s=J.querySelector(".md-container > .md-footer"),l=s?.getBoundingClientRect().top??window.innerHeight;e.style.height=`${l-o}px`}e.style.setProperty("opacity","1")})},[J,T]);(0,n.useEffect)(()=>(window.addEventListener("resize",ee),window.addEventListener("scroll",ee,!0),()=>{window.removeEventListener("resize",ee),window.removeEventListener("scroll",ee,!0)}),[J,ee]);let et=(0,n.useCallback)(()=>{if(!J)return;let e=J.querySelector(".md-footer");e&&(e.style.width=`${J.getBoundingClientRect().width}px`)},[J]);(0,n.useEffect)(()=>(window.addEventListener("resize",et),()=>{window.removeEventListener("resize",et)}),[J,et]),(0,n.useEffect)(()=>{Q||(et(),ee())},[W,Q,et,ee]);let er=(0,n.useCallback)((t,r)=>O(t,[C,(({techdocsStorageApi:e,entityId:t,path:r})=>async i=>{let n=await e.getApiOrigin(),a=async(i,a)=>{for(let o of i)if(o.hasAttribute(a)){let i=o.getAttribute(a);if(!i)return;let s=await e.getBaseUrl(i,t,r);if(L(a,i,n))try{let e=await fetch(s,{credentials:"include"}),t=await e.text();o.setAttribute(a,`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(t)))}`)}catch(e){o.setAttribute("alt",`Error: ${i}`)}else o.setAttribute(a,s)}};return await Promise.all([a(i.querySelectorAll("img"),"src"),a(i.querySelectorAll("script"),"src"),a(i.querySelectorAll("source"),"src"),a(i.querySelectorAll("link"),"href"),a(i.querySelectorAll("a[download]"),"href")]),i})({techdocsStorageApi:F,entityId:e,path:r}),e=>{var t,r;return t=Array.from(e.getElementsByTagName("a")),r="href",Array.from(t).filter(e=>e.hasAttribute(r)).forEach(e=>{let t=e.getAttribute(r);if(t){t.match(/^https?:\/\//i)&&e.setAttribute("target","_blank");try{let i=P(window.location.href);e.setAttribute(r,new URL(t,i).toString())}catch(r){e.replaceWith(e.textContent||t)}}}),e},e=>{let t=e.querySelector('.md-header label[for="__drawer"]'),r=e.querySelector("article");if(!t||!r)return e;let i=t.cloneNode();return U((0,n.createElement)(B.default),i),i.id="toggle-sidebar",i.title="Toggle Sidebar",i.classList.add("md-content__button"),i.style.setProperty("padding","0 0 0 5px"),i.style.setProperty("margin","0.4rem 0 0.4rem 0.4rem"),r?.prepend(i),e},e=>(e.querySelector(".md-header")?.remove(),e),e=>(e.querySelector(".md-footer .md-copyright")?.remove(),e.querySelector(".md-footer-copyright")?.remove(),e),e=>{let t=e.querySelector('[title="Edit this page"]');if(!t||!t.href)return e;let r=new URL(t.href),i=q.byUrl(r);if(i?.type!=="github"&&i?.type!=="gitlab")return e;let a=e.querySelector("article>h1")?.childNodes[0].textContent||"",o=encodeURIComponent(`Documentation Feedback: ${a}`),s=encodeURIComponent(`Page source:
520
520
  ${t.href}
521
521
 
522
- Feedback:`),l=i?.type==="github"?(0,z.F)(r.href,"blob"):r.href,c=D()(l),d=`/${c.organization}/${c.name}`,u=t.cloneNode();switch(i?.type){case"gitlab":u.href=`${r.origin}${d}/issues/new?issue[title]=${o}&issue[description]=${s}`;break;case"github":u.href=`${r.origin}${d}/issues/new?title=${o}&body=${s}`;break;default:return e}return U((0,n.createElement)(M.default),u),u.style.paddingLeft="5px",u.title="Leave feedback for this page",u.id="git-feedback-link",t?.insertAdjacentElement("beforebegin",u),e},C]),[e,F,$,T,C]),er=(0,n.useCallback)(async t=>{var r;let i;return O(t,[(r=e.name,i=e=>{let t=P(window.location.href),i=new URL(e,t);if(i.hostname!==window.location.hostname){let e=window.location.pathname,i=e.indexOf(r);return new URL(e.slice(0,i+r.length),t).href}return i.href},e=>{for(let t of Array.from(e.querySelectorAll("meta")))if("refresh"===t.getAttribute("http-equiv")){let r=t.getAttribute("content")?.split("url=");if(!r||r.length<2)return e;let n=i(r[1]);if(window.location.href===n)return e;let a=document.createElement("div");U((0,_.jsx)(Y,{message:"This TechDocs page is no longer maintained. Will automatically redirect to the designated replacement.",handleButtonClick:()=>x(n),autoHideDuration:3e3}),a),document.body.appendChild(a),setTimeout(()=>{x(n)},3e3);break}return e}),e=>(setTimeout(()=>{let t=e?.querySelectorAll("li.md-nav__item--active");0!==t.length&&(t.forEach(e=>{let t=e?.querySelector("input");t?.checked||t?.click()}),t[t.length-1].scrollIntoView())},200),e),e=>{for(let t of e.querySelectorAll("pre > code")){let e=t.textContent||"",r=document.createElement("div");t?.parentElement?.prepend(r),U((0,_.jsx)(X.A,{theme:E,children:(0,_.jsx)(en,{text:e})}),r)}return e},(({baseUrl:e,onClick:t})=>r=>(Array.from(r.getElementsByTagName("a")).forEach(r=>{r.addEventListener("click",i=>{let n=r.getAttribute("href");n&&n.startsWith(e)&&!r.hasAttribute("download")&&(i.preventDefault(),t(i,n))})}),r))({baseUrl:q.getOptionalString("app.baseUrl")||window.location.origin,onClick:(e,r)=>{let i=e.ctrlKey||e.metaKey,n=new URL(r),a=e.target?.innerText||r,o=r.replace(window.location.origin,"");R.captureEvent("click",a,{attributes:{to:o}}),n.hash?i?window.open(r,"_blank"):(window.location.pathname!==n.pathname?x(r):window.history.pushState(null,document.title,n.hash),t?.querySelector(`[id="${n.hash.slice(1)}"]`)?.scrollIntoView(),t?.querySelector(`[id="${n.hash.slice(1)}"]`)?.querySelector("a, button, [tabindex]")?.focus()):i?window.open(r,"_blank"):x(r)}}),ea({onLoading:()=>{},onLoaded:()=>{t.querySelector(".md-nav__title")?.removeAttribute("for")}}),ea({onLoading:()=>{Array.from(t.querySelectorAll(".md-sidebar")).forEach(e=>{e.style.setProperty("opacity","0")})},onLoaded:()=>{}}),e=>(e.querySelectorAll("label.md-nav__link[for]").forEach(t=>{t.setAttribute("tabIndex","0"),t.addEventListener("keydown",r=>{if("Enter"===r.key||" "===r.key){let i=t.getAttribute("for");if(!i)return;let n=e.querySelector(`#${i}`);n&&"checkbox"===n.type&&(n.checked=!n.checked,n.dispatchEvent(new Event("change",{bubbles:!0})),r.preventDefault(),r.stopPropagation())}})}),e)])},[E,x,R,e.name,q]);return(0,n.useEffect)(()=>{if(!V)return()=>{};let e=!0;return et(V,W).then(async t=>{t?.innerHTML&&e&&K===W&&(window.scroll({top:0}),J(await er(t)))}),()=>{e=!1}},[V,K,W,et,er]),G})(w,t),T=(0,a.useLocation)(),C=T.pathname,R=T.hash,$=(0,s._$)(I),[F]=(0,l.$r)([`[id="${R.slice(1)}"]`]),{NotFoundErrorPage:q}=(0,c.n)().getComponents();(0,n.useEffect)(()=>{if(!$)if(R){if(F){F.scrollIntoView();let e=F.querySelector("a.headerlink");e&&e.focus()}}else document?.querySelector("header")?.scrollIntoView()},[C,R,F,$]);let H=(0,n.useCallback)(e=>{x(e),r instanceof Function&&r()},[x,r]),W=!!I;return{entityRef:w,entityMetadata:i,dom:I,handleAppend:H,isNotFound:!1===v&&!i,isDomReady:W,showProgress:"CHECKING"===E||$,NotFoundErrorPage:q}}},59535(e,t,r){"use strict";r.d(t,{f:()=>h});var i=r(14041),n=r(18690),a=r(58077),o=r(50509),s=r(19735),l=r(90479),c=r(63401),d=r(87623),u=r(56005),p=r.n(u);function h(){let e=(0,l.YR)(),t=(0,o.gf)(s.U),r=(0,o.gf)(d.n),{"*":u=""}=(0,n.useParams)(),{title:h,setTitle:g,subtitle:f,setSubtitle:m,entityRef:y,metadata:{value:b,loading:v},entityMetadata:{value:w,loading:x}}=(0,c.V)();(0,i.useEffect)(()=>{b&&(g(b.site_name),m(()=>{let{site_description:e}=b;return e&&"None"!==e||(e=""),e}))},[b,g,m]);let A=t.getOptionalString("app.title")||"Backstage",k=w?.locationMetadata,j=!!k&&"dir"!==k.type&&"file"!==k.type,S=!v&&void 0===b,E=!x&&void 0===w||S,I=A;if(!E){let e=(0,a.U2)(y),t=r.forEntity(e).snapshot.primaryTitle,i=[];""!==u&&(i=u.replace(/\/$/,"").split("/").map(e=>e.replace(/[-_]/g," ").split(" ").map(p()).join(" "))),I=[t,...i,A].join(" | ")}return{title:h,subtitle:f,entityRef:y,entityMetadata:w,tabTitle:I,hidden:E,showSourceLink:j,sourceLink:k?.target,addons:e}}},36985(e,t,r){"use strict";r.d(t,{F:()=>a});var i=r(14041),n=r(63489);function a(e){let{setFilters:t,setTerm:r,term:a,result:{loading:o,value:s}}=(0,n.SQ)(),[l,c]=(0,i.useState)([]),[d,u]=(0,i.useState)(!1),p=(0,i.useRef)();(0,i.useEffect)(()=>{s&&c(s.results.slice(0,10))},[o,s]),(0,i.useEffect)(()=>(clearTimeout(p.current),u(!1),o&&(p.current=setTimeout(()=>u(!0),200)),()=>clearTimeout(p.current)),[a,o]);let{kind:h,name:g,namespace:f}=e;return(0,i.useEffect)(()=>{t(e=>({...e,kind:h,namespace:f,name:g}))},[h,f,g,t]),{results:l,term:a,setTerm:r,loading:o,deferredLoading:d}}},73455(e,t,r){"use strict";r.d(t,{k:()=>l});var i=r(31085),n=r(41883),a=r(90479),o=r(63401),s=r(10337);let l=()=>{let e=(0,a.YR)(),{shadowRoot:t}=(0,o.V)(),r=t?.querySelector('[data-md-component="content"]'),l=t?.querySelector('div[data-md-component="sidebar"][data-md-type="navigation"], div[data-md-component="navigation"]'),c=l?.querySelector('[data-techdocs-addons-location="primary sidebar"]');c||((c=document.createElement("div")).setAttribute("data-techdocs-addons-location","primary sidebar"),l?.prepend(c));let d=t?.querySelector('div[data-md-component="sidebar"][data-md-type="toc"], div[data-md-component="toc"]'),u=d?.querySelector('[data-techdocs-addons-location="secondary sidebar"]');return u||((u=document.createElement("div")).setAttribute("data-techdocs-addons-location","secondary sidebar"),d?.prepend(u)),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.A,{container:c,children:e.renderComponentsByLocation(s.e.PrimarySidebar)}),(0,i.jsx)(n.A,{container:r,children:e.renderComponentsByLocation(s.e.Content)}),(0,i.jsx)(n.A,{container:u,children:e.renderComponentsByLocation(s.e.SecondarySidebar)})]})}},4518(e,t,r){"use strict";r.d(t,{Z:()=>b});var i=r(31085),n=r(14041),a=r(58837),o=r(29365),s=r(75173),l=r(71677),c=r(37757),d=r(77125),u=r(9684),p=r(63401),h=r(90479),g=r(10337),f=r(89595),m=r(64009);let y=(0,a.A)(e=>({root:{gridArea:"pageSubheader",flexDirection:"column",minHeight:"auto",padding:e.spacing(3,3,0),"@media print":{display:"none"}}})),b=e=>{let t=y(),{t:r}=(0,f.i)(m.M),[a,b]=(0,n.useState)(null),v=(0,n.useCallback)(e=>{b(e.currentTarget)},[]),w=(0,n.useCallback)(()=>{b(null)},[]),{entityMetadata:{value:x,loading:A}}=(0,p.V)(),k=(0,h.YR)(),j=k.renderComponentsByLocation(g.e.Subheader),S=k.renderComponentsByLocation(g.e.Settings);return(j||S)&&(!1!==A||x)?(0,i.jsx)(s.A,{classes:t,...e.toolbarProps,children:(0,i.jsxs)(d.A,{display:"flex",justifyContent:"flex-end",width:"100%",flexWrap:"wrap",children:[j,S?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Ay,{title:r("reader.settings"),children:(0,i.jsx)(o.A,{"aria-controls":"tech-docs-reader-page-settings","aria-haspopup":"true",onClick:v,children:(0,i.jsx)(u.default,{})})}),(0,i.jsx)(c.A,{id:"tech-docs-reader-page-settings",getContentAnchorEl:null,anchorEl:a,anchorOrigin:{vertical:"bottom",horizontal:"right"},open:!!a,onClose:w,keepMounted:!0,children:(0,i.jsx)("div",{children:S})})]}):null]})}):null}},4723(e,t,r){"use strict";r.d(t,{sh:()=>f,wz:()=>h});var i=r(31085),n=r(14041),a=r(18690),o=r(63401),s=r(50509),l=r(73466),c=r(28966),d=r(18288);function u(e,t){let r={...e};switch(t.type){case"sync":"CHECKING"===t.state&&(r.buildLog=[]),r.activeSyncState=t.state,r.syncError=t.syncError;break;case"contentLoading":r.contentLoading=!0,r.contentError=void 0;break;case"content":"string"==typeof t.path&&(r.path=t.path),r.contentLoading=!1,r.content=t.content,r.contentError=t.contentError;break;case"buildLog":r.buildLog=r.buildLog.concat(t.log);break;default:throw Error()}return["BUILD_READY","BUILD_READY_RELOAD"].includes(r.activeSyncState)&&["contentLoading","content"].includes(t.type)&&(r.activeSyncState="UP_TO_DATE",r.buildLog=[]),r}let p=(0,n.createContext)({}),h=()=>(0,n.useContext)(p),g=e=>{let{children:t}=e,{"*":r=""}=(0,a.useParams)(),{entityRef:h}=(0,o.V)(),{kind:g,namespace:f,name:m}=h,y=function(e,t,r,i){let[a,o]=(0,n.useReducer)(u,{activeSyncState:"CHECKING",path:i,contentLoading:!0,buildLog:[]}),p=(0,s.gf)(d.s),{retry:h}=(0,c.A)(async()=>{o({type:"contentLoading"});try{let n=await p.getEntityDocs({kind:e,namespace:t,name:r},i);return o({type:"content",content:n,path:i}),n}catch(e){o({type:"content",contentError:e,path:i})}},[p,e,t,r,i]),g=(0,n.useRef)({content:void 0,reload:()=>{}});g.current={content:a.content,reload:h},(0,l.A)(async()=>{o({type:"sync",state:"CHECKING"});let i=setTimeout(()=>{o({type:"sync",state:"BUILDING"})},1e3);try{switch(await p.syncEntityDocs({kind:e,namespace:t,name:r},e=>{o({type:"buildLog",log:e})})){case"updated":g.current.content?o({type:"sync",state:"BUILD_READY"}):(g.current.reload(),o({type:"sync",state:"BUILD_READY_RELOAD"}));break;case"cached":o({type:"sync",state:"UP_TO_DATE"});break;default:o({type:"sync",state:"ERROR",syncError:Error("Unexpected return state")})}}catch(e){o({type:"sync",state:"ERROR",syncError:e})}finally{clearTimeout(i)}},[e,r,t,p,o,g]);let f=(0,n.useMemo)(()=>(function({contentLoading:e,content:t,activeSyncState:r}){return e||"BUILD_READY_RELOAD"===r||!t&&"CHECKING"===r?"CHECKING":t||"BUILDING"!==r?t?"BUILDING"===r?"CONTENT_STALE_REFRESHING":"BUILD_READY"===r?"CONTENT_STALE_READY":"ERROR"===r?"CONTENT_STALE_ERROR":"CONTENT_FRESH":"CONTENT_NOT_FOUND":"INITIAL_BUILD"})({activeSyncState:a.activeSyncState,contentLoading:a.contentLoading,content:a.content}),[a.activeSyncState,a.content,a.contentLoading]);return(0,n.useMemo)(()=>({state:f,contentReload:h,path:a.path,content:a.content,contentErrorMessage:a.contentError?.toString(),syncErrorMessage:a.syncError?.toString(),buildLog:a.buildLog}),[f,h,a.path,a.content,a.contentError,a.syncError,a.buildLog])}(g,f,m,r);return(0,i.jsx)(p.Provider,{value:y,children:t instanceof Function?t(y):t})},f=e=>t=>(0,i.jsx)(g,{children:(0,i.jsx)(e,{...t})})},3905(e,t,r){"use strict";r.d(t,{W:()=>N});var i=r(31085),n=r(78467),a=r(64947),o=r(58837),s=r(48209),l=r(89595),c=r(14041),d=r(91189);let u=(0,c.lazy)(()=>Promise.all([r.e("4400"),r.e("4591")]).then(r.bind(r,69890)).then(e=>({default:e.RealLogViewer})));function p(e){let{Progress:t}=(0,d.n)().getComponents();return(0,i.jsx)(c.Suspense,{fallback:(0,i.jsx)(t,{}),children:(0,i.jsx)(u,{...e})})}var h=r(73845),g=r(42899),f=r(29365),m=r(72501),y=r(99703),b=r(32881),v=r(64009);let w=(0,o.A)(e=>(0,y.A)({paper:{width:"100%",[e.breakpoints.up("sm")]:{width:"75%"},[e.breakpoints.up("md")]:{width:"50%"},padding:e.spacing(2.5)},root:{height:"100%",overflow:"hidden"},logs:{background:e.palette.background.default}})),x=({buildLog:e,onClose:t})=>{let r=w(),{t:n}=(0,l.i)(v.M),a=0===e.length?n("buildLogs.waitingForLogs"):e.join("\n");return(0,i.jsxs)(g.A,{container:!0,direction:"column",className:r.root,spacing:0,wrap:"nowrap",children:[(0,i.jsxs)(g.A,{item:!0,container:!0,justifyContent:"space-between",alignItems:"center",spacing:0,wrap:"nowrap",children:[(0,i.jsx)(m.A,{variant:"h5",children:n("buildLogs.title")}),(0,i.jsx)(f.A,{title:n("buildLogs.closeDrawer"),onClick:t,color:"inherit",children:(0,i.jsx)(b.default,{})},"dismiss")]}),(0,i.jsx)(g.A,{item:!0,xs:!0,children:(0,i.jsx)(p,{text:a,classes:{root:r.logs}})})]})},A=({buildLog:e})=>{let t=w(),[r,n]=(0,c.useState)(!1),{t:o}=(0,l.i)(v.M);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.A,{color:"inherit",onClick:()=>n(!0),children:o("buildLogs.showBuildLogs")}),(0,i.jsx)(h.Ay,{classes:{paper:t.paper},anchor:"right",open:r,onClose:()=>n(!1),children:(0,i.jsx)(x,{buildLog:e,onClose:()=>n(!1)})})]})};var k=r(50509),j=r(19735),S=r(53996),E=r(73462),I=r(63401),T=r(18690);let C=({errorMessage:e})=>{let t=(0,k.gf)(j.U).getOptionalString("techdocs.builder"),r=(0,S.s)(),{entityRef:n}=(0,I.V)(),a=(0,T.useLocation)(),{t:o}=(0,l.i)(v.M);(0,c.useEffect)(()=>{let{pathname:e,search:t,hash:i}=a;r.captureEvent("not-found",`${e}${t}${i}`,{attributes:n})},[r,n,a]);let s="";return[void 0,"local"].includes(t)||(s=o("notFound.builderNote")),(0,i.jsx)(E.M,{status:"404",statusMessage:e||o("notFound.title"),additionalInfo:s})};var R=r(4723);let $=(0,o.A)(e=>({root:{marginBottom:e.spacing(2)},message:{wordBreak:"break-word",overflowWrap:"anywhere"}})),N=()=>{let e=null,t=$(),{t:r}=(0,l.i)(v.M),{state:o,contentReload:c,contentErrorMessage:d,syncErrorMessage:u,buildLog:p}=(0,R.wz)();return"INITIAL_BUILD"===o&&(e=(0,i.jsx)(s.A,{classes:{root:t.root},variant:"outlined",severity:"info",icon:(0,i.jsx)(n.A,{size:"24px"}),action:(0,i.jsx)(A,{buildLog:p}),children:r("stateIndicator.initialBuild.message")})),"CONTENT_STALE_REFRESHING"===o&&(e=(0,i.jsx)(s.A,{variant:"outlined",severity:"info",icon:(0,i.jsx)(n.A,{size:"24px"}),action:(0,i.jsx)(A,{buildLog:p}),classes:{root:t.root},children:r("stateIndicator.contentStaleRefreshing.message")})),"CONTENT_STALE_READY"===o&&(e=(0,i.jsx)(s.A,{variant:"outlined",severity:"success",action:(0,i.jsx)(a.A,{color:"inherit",onClick:()=>c(),children:r("stateIndicator.contentStaleReady.refreshButton")}),classes:{root:t.root},children:r("stateIndicator.contentStaleReady.message")})),"CONTENT_STALE_ERROR"===o&&(e=(0,i.jsxs)(s.A,{variant:"outlined",severity:"error",action:(0,i.jsx)(A,{buildLog:p}),classes:{root:t.root,message:t.message},children:[r("stateIndicator.contentStaleError.message")," ",u]})),"CONTENT_NOT_FOUND"===o&&(e=(0,i.jsxs)(i.Fragment,{children:[u&&(0,i.jsxs)(s.A,{variant:"outlined",severity:"error",action:(0,i.jsx)(A,{buildLog:p}),classes:{root:t.root,message:t.message},children:[r("stateIndicator.contentStaleError.message")," ",u]}),(0,i.jsx)(C,{errorMessage:d})]})),e}},90898(e,t,r){"use strict";r.d(t,{Oc:()=>a,Ri:()=>o,rQ:()=>n});var i=r(96296);let n=(0,i.H)({id:"techdocs:index-page"}),a=(0,i.H)({id:"techdocs:reader-page",params:["namespace","kind","name"]}),o=(0,i.H)({id:"techdocs:catalog-reader-view"})},64009(e,t,r){"use strict";r.d(t,{M:()=>i});let i=(0,r(97386).h)({id:"techdocs",messages:{aboutCard:{viewTechdocs:"View TechDocs"},notFound:{title:"Documentation not found",builderNote:"Note that techdocs.builder is not set to 'local' in your config, which means this Backstage app will not generate docs if they are not found. Make sure the project's docs are generated and published by some external process (e.g. CI/CD pipeline). Or change techdocs.builder to 'local' to generate docs from this Backstage instance."},buildLogs:{title:"Build Details",closeDrawer:"Close the drawer",showBuildLogs:"Show Build Logs",waitingForLogs:"Waiting for logs..."},stateIndicator:{initialBuild:{message:"Documentation is accessed for the first time and is being prepared. The subsequent loads are much faster."},contentStaleRefreshing:{message:"A newer version of this documentation is being prepared and will be available shortly."},contentStaleReady:{message:"A newer version of this documentation is now available, please refresh to view.",refreshButton:"Refresh"},contentStaleError:{message:"Building a newer version of this documentation failed."}},redirectNotification:{redirectNow:"Redirect now"},search:{noResults:"No results found",placeholder:"Search {{entityTitle}} docs"},readerPageHeader:{owner:"Owner",lifecycle:"Lifecycle",source:"Source"},home:{supportButton:"Discover documentation in your ecosystem."},pageWrapper:{title:"Documentation",subtitle:"Documentation available in {{orgName}}"},table:{columns:{document:"Document",owner:"Owner",kind:"Kind",type:"Type"},header:{actions:"Actions"},toolbar:{searchPlaceholder:"Filter"},pagination:{labelRowsSelect:"rows"},body:{emptyDataSourceMessage:"No records to display"},actions:{copyDocsUrl:"Click to copy documentation link to clipboard",addToFavorites:"Add to favorites",removeFromFavorites:"Remove from favorites"},emptyState:{title:"No documents to show",description:"Create your own document. Check out our Getting Started Information",docsButton:"DOCS"},title:{all:"All"}},error:{couldNotLoad:"Could not load available documentation."},nav:{title:"Docs"},entityContent:{title:"TechDocs"},reader:{settings:"Settings"}}})},80549(e,t,r){let i=document.querySelector('meta[name="backstage-public-path"]'),n=i?.getAttribute("content");n&&(r.p=n)},33783(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["131","1477","183","2284","2328","2659","3714","4736","488","5331","6417","6992","7364","7762","7769","9178","9343","9474"],function(){return t(80549),t(51993),t(41406)}),e.O()}]);
523
- //# sourceMappingURL=main.758c6ca32370.js.map
522
+ Feedback:`),l=i?.type==="github"?(0,z.F)(r.href,"blob"):r.href,c=D()(l),d=`/${c.organization}/${c.name}`,u=t.cloneNode();switch(i?.type){case"gitlab":u.href=`${r.origin}${d}/issues/new?issue[title]=${o}&issue[description]=${s}`;break;case"github":u.href=`${r.origin}${d}/issues/new?title=${o}&body=${s}`;break;default:return e}return U((0,n.createElement)(M.default),u),u.style.paddingLeft="5px",u.title="Leave feedback for this page",u.id="git-feedback-link",t?.insertAdjacentElement("beforebegin",u),e},R]),[e,q,F,C,R]),ei=(0,n.useCallback)(async t=>{var r;let i;return O(t,[(r=e.name,i=e=>{let t=P(window.location.href),i=new URL(e,t);if(i.hostname!==window.location.hostname){let e=window.location.pathname,i=e.indexOf(r);return new URL(e.slice(0,i+r.length),t).href}return i.href},e=>{for(let t of Array.from(e.querySelectorAll("meta")))if("refresh"===t.getAttribute("http-equiv")){let r=t.getAttribute("content")?.split("url=");if(!r||r.length<2)return e;let n=i(r[1]);if(window.location.href===n)return e;let a=document.createElement("div");U((0,_.jsx)(Y,{message:"This TechDocs page is no longer maintained. Will automatically redirect to the designated replacement.",handleButtonClick:()=>E(n),autoHideDuration:3e3}),a),document.body.appendChild(a),setTimeout(()=>{E(n)},3e3);break}return e}),e=>(setTimeout(()=>{let t=e?.querySelectorAll("li.md-nav__item--active");0!==t.length&&(t.forEach(e=>{let t=e?.querySelector("input");t?.checked||t?.click()}),t[t.length-1].scrollIntoView())},200),e),e=>{for(let t of e.querySelectorAll("pre > code")){let e=t.textContent||"",r=document.createElement("div");t?.parentElement?.prepend(r),U((0,_.jsx)(X.A,{theme:I,children:(0,_.jsx)(en,{text:e})}),r)}return e},(({baseUrl:e,onClick:t})=>r=>(Array.from(r.getElementsByTagName("a")).forEach(r=>{r.addEventListener("click",i=>{let n=r.getAttribute("href");n&&n.startsWith(e)&&!r.hasAttribute("download")&&(i.preventDefault(),t(i,n))})}),r))({baseUrl:H.getOptionalString("app.baseUrl")||window.location.origin,onClick:(e,r)=>{let i=e.ctrlKey||e.metaKey,n=new URL(r),a=e.target?.innerText||r,o=r.replace(window.location.origin,"");$.captureEvent("click",a,{attributes:{to:o}}),n.hash?i?window.open(r,"_blank"):(window.location.pathname!==n.pathname?E(r):window.history.pushState(null,document.title,n.hash),t?.querySelector(`[id="${n.hash.slice(1)}"]`)?.scrollIntoView(),t?.querySelector(`[id="${n.hash.slice(1)}"]`)?.querySelector("a, button, [tabindex]")?.focus()):i?window.open(r,"_blank"):E(r)}}),ea({onLoading:()=>{},onLoaded:()=>{t.querySelector(".md-nav__title")?.removeAttribute("for")}}),ea({onLoading:()=>{Array.from(t.querySelectorAll(".md-sidebar")).forEach(e=>{e.style.setProperty("opacity","0")})},onLoaded:()=>{}}),e=>(e.querySelectorAll("label.md-nav__link[for]").forEach(t=>{t.setAttribute("tabIndex","0"),t.addEventListener("keydown",r=>{if("Enter"===r.key||" "===r.key){let i=t.getAttribute("for");if(!i)return;let n=e.querySelector(`#${i}`);n&&"checkbox"===n.type&&(n.checked=!n.checked,n.dispatchEvent(new Event("change",{bubbles:!0})),r.preventDefault(),r.stopPropagation())}})}),e)])},[I,E,$,e.name,H]);return(0,n.useEffect)(()=>{if(!K)return()=>{};let e=!0;return er(K,V).then(async t=>{t?.innerHTML&&e&&G===V&&(window.scroll({top:0}),Z(await ei(t)))}),()=>{e=!1}},[K,G,V,er,ei]),J})(w,t),T=(0,a.useLocation)(),C=T.pathname,R=T.hash,$=(0,s._$)(I),[F]=(0,l.$r)([`[id="${R.slice(1)}"]`]),{NotFoundErrorPage:q}=(0,c.n)().getComponents();(0,n.useEffect)(()=>{if(!$)if(R){if(F){F.scrollIntoView();let e=F.querySelector("a.headerlink");e&&e.focus()}}else document?.querySelector("header")?.scrollIntoView()},[C,R,F,$]);let H=(0,n.useCallback)(e=>{x(e),r instanceof Function&&r()},[x,r]),W=!!I;return{entityRef:w,entityMetadata:i,dom:I,handleAppend:H,isNotFound:!1===v&&!i,isDomReady:W,showProgress:"CHECKING"===E||$,NotFoundErrorPage:q}}},59535(e,t,r){"use strict";r.d(t,{f:()=>h});var i=r(14041),n=r(18690),a=r(58077),o=r(50509),s=r(19735),l=r(90479),c=r(63401),d=r(87623),u=r(56005),p=r.n(u);function h(){let e=(0,l.YR)(),t=(0,o.gf)(s.U),r=(0,o.gf)(d.n),{"*":u=""}=(0,n.useParams)(),{title:h,setTitle:g,subtitle:f,setSubtitle:m,entityRef:y,metadata:{value:b,loading:v},entityMetadata:{value:w,loading:x}}=(0,c.V)();(0,i.useEffect)(()=>{b&&(g(b.site_name),m(()=>{let{site_description:e}=b;return e&&"None"!==e||(e=""),e}))},[b,g,m]);let A=t.getOptionalString("app.title")||"Backstage",k=w?.locationMetadata,j=!!k&&"dir"!==k.type&&"file"!==k.type,S=!v&&void 0===b,E=!x&&void 0===w||S,I=A;if(!E){let e=(0,a.U2)(y),t=r.forEntity(e).snapshot.primaryTitle,i=[];""!==u&&(i=u.replace(/\/$/,"").split("/").map(e=>e.replace(/[-_]/g," ").split(" ").map(p()).join(" "))),I=[t,...i,A].join(" | ")}return{title:h,subtitle:f,entityRef:y,entityMetadata:w,tabTitle:I,hidden:E,showSourceLink:j,sourceLink:k?.target,addons:e}}},36985(e,t,r){"use strict";r.d(t,{F:()=>a});var i=r(14041),n=r(63489);function a(e){let{setFilters:t,setTerm:r,term:a,result:{loading:o,value:s}}=(0,n.SQ)(),[l,c]=(0,i.useState)([]),[d,u]=(0,i.useState)(!1),p=(0,i.useRef)();(0,i.useEffect)(()=>{s&&c(s.results.slice(0,10))},[o,s]),(0,i.useEffect)(()=>(clearTimeout(p.current),u(!1),o&&(p.current=setTimeout(()=>u(!0),200)),()=>clearTimeout(p.current)),[a,o]);let{kind:h,name:g,namespace:f}=e;return(0,i.useEffect)(()=>{t(e=>({...e,kind:h,namespace:f,name:g}))},[h,f,g,t]),{results:l,term:a,setTerm:r,loading:o,deferredLoading:d}}},73455(e,t,r){"use strict";r.d(t,{k:()=>l});var i=r(31085),n=r(41883),a=r(90479),o=r(63401),s=r(10337);let l=()=>{let e=(0,a.YR)(),{shadowRoot:t}=(0,o.V)(),r=t?.querySelector('[data-md-component="content"]'),l=t?.querySelector('div[data-md-component="sidebar"][data-md-type="navigation"], div[data-md-component="navigation"]'),c=l?.querySelector('[data-techdocs-addons-location="primary sidebar"]');c||((c=document.createElement("div")).setAttribute("data-techdocs-addons-location","primary sidebar"),l?.prepend(c));let d=t?.querySelector('div[data-md-component="sidebar"][data-md-type="toc"], div[data-md-component="toc"]'),u=d?.querySelector('[data-techdocs-addons-location="secondary sidebar"]');return u||((u=document.createElement("div")).setAttribute("data-techdocs-addons-location","secondary sidebar"),d?.prepend(u)),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.A,{container:c,children:e.renderComponentsByLocation(s.e.PrimarySidebar)}),(0,i.jsx)(n.A,{container:r,children:e.renderComponentsByLocation(s.e.Content)}),(0,i.jsx)(n.A,{container:u,children:e.renderComponentsByLocation(s.e.SecondarySidebar)})]})}},4518(e,t,r){"use strict";r.d(t,{Z:()=>b});var i=r(31085),n=r(14041),a=r(58837),o=r(29365),s=r(75173),l=r(71677),c=r(37757),d=r(77125),u=r(9684),p=r(63401),h=r(90479),g=r(10337),f=r(89595),m=r(64009);let y=(0,a.A)(e=>({root:{gridArea:"pageSubheader",flexDirection:"column",minHeight:"auto",padding:e.spacing(3,3,0),"@media print":{display:"none"}}})),b=e=>{let t=y(),{t:r}=(0,f.i)(m.M),[a,b]=(0,n.useState)(null),v=(0,n.useCallback)(e=>{b(e.currentTarget)},[]),w=(0,n.useCallback)(()=>{b(null)},[]),{entityMetadata:{value:x,loading:A}}=(0,p.V)(),k=(0,h.YR)(),j=k.renderComponentsByLocation(g.e.Subheader),S=k.renderComponentsByLocation(g.e.Settings);return(j||S)&&(!1!==A||x)?(0,i.jsx)(s.A,{classes:t,...e.toolbarProps,children:(0,i.jsxs)(d.A,{display:"flex",justifyContent:"flex-end",width:"100%",flexWrap:"wrap",children:[j,S?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Ay,{title:r("reader.settings"),children:(0,i.jsx)(o.A,{"aria-controls":"tech-docs-reader-page-settings","aria-haspopup":"true",onClick:v,children:(0,i.jsx)(u.default,{})})}),(0,i.jsx)(c.A,{id:"tech-docs-reader-page-settings",getContentAnchorEl:null,anchorEl:a,anchorOrigin:{vertical:"bottom",horizontal:"right"},open:!!a,onClose:w,keepMounted:!0,children:(0,i.jsx)("div",{children:S})})]}):null]})}):null}},4723(e,t,r){"use strict";r.d(t,{sh:()=>f,wz:()=>h});var i=r(31085),n=r(14041),a=r(18690),o=r(63401),s=r(50509),l=r(73466),c=r(28966),d=r(18288);function u(e,t){let r={...e};switch(t.type){case"sync":"CHECKING"===t.state&&(r.buildLog=[]),r.activeSyncState=t.state,r.syncError=t.syncError;break;case"contentLoading":r.contentLoading=!0,r.contentError=void 0;break;case"content":"string"==typeof t.path&&(r.path=t.path),r.contentLoading=!1,r.content=t.content,r.contentError=t.contentError;break;case"buildLog":r.buildLog=r.buildLog.concat(t.log);break;default:throw Error()}return["BUILD_READY","BUILD_READY_RELOAD"].includes(r.activeSyncState)&&["contentLoading","content"].includes(t.type)&&(r.activeSyncState="UP_TO_DATE",r.buildLog=[]),r}let p=(0,n.createContext)({}),h=()=>(0,n.useContext)(p),g=e=>{let{children:t}=e,{"*":r=""}=(0,a.useParams)(),{entityRef:h}=(0,o.V)(),{kind:g,namespace:f,name:m}=h,y=function(e,t,r,i){let[a,o]=(0,n.useReducer)(u,{activeSyncState:"CHECKING",path:i,contentLoading:!0,buildLog:[]}),p=(0,s.gf)(d.s),{retry:h}=(0,c.A)(async()=>{o({type:"contentLoading"});try{let n=await p.getEntityDocs({kind:e,namespace:t,name:r},i);return o({type:"content",content:n,path:i}),n}catch(e){o({type:"content",contentError:e,path:i})}},[p,e,t,r,i]),g=(0,n.useRef)({content:void 0,reload:()=>{}});g.current={content:a.content,reload:h},(0,l.A)(async()=>{o({type:"sync",state:"CHECKING"});let i=setTimeout(()=>{o({type:"sync",state:"BUILDING"})},1e3);try{switch(await p.syncEntityDocs({kind:e,namespace:t,name:r},e=>{o({type:"buildLog",log:e})})){case"updated":g.current.content?o({type:"sync",state:"BUILD_READY"}):(g.current.reload(),o({type:"sync",state:"BUILD_READY_RELOAD"}));break;case"cached":o({type:"sync",state:"UP_TO_DATE"});break;default:o({type:"sync",state:"ERROR",syncError:Error("Unexpected return state")})}}catch(e){o({type:"sync",state:"ERROR",syncError:e})}finally{clearTimeout(i)}},[e,r,t,p,o,g]);let f=(0,n.useMemo)(()=>(function({contentLoading:e,content:t,activeSyncState:r}){return e||"BUILD_READY_RELOAD"===r||!t&&"CHECKING"===r?"CHECKING":t||"BUILDING"!==r?t?"BUILDING"===r?"CONTENT_STALE_REFRESHING":"BUILD_READY"===r?"CONTENT_STALE_READY":"ERROR"===r?"CONTENT_STALE_ERROR":"CONTENT_FRESH":"CONTENT_NOT_FOUND":"INITIAL_BUILD"})({activeSyncState:a.activeSyncState,contentLoading:a.contentLoading,content:a.content}),[a.activeSyncState,a.content,a.contentLoading]);return(0,n.useMemo)(()=>({state:f,contentReload:h,path:a.path,content:a.content,contentErrorMessage:a.contentError?.toString(),syncErrorMessage:a.syncError?.toString(),buildLog:a.buildLog}),[f,h,a.path,a.content,a.contentError,a.syncError,a.buildLog])}(g,f,m,r);return(0,i.jsx)(p.Provider,{value:y,children:t instanceof Function?t(y):t})},f=e=>t=>(0,i.jsx)(g,{children:(0,i.jsx)(e,{...t})})},3905(e,t,r){"use strict";r.d(t,{W:()=>N});var i=r(31085),n=r(78467),a=r(64947),o=r(58837),s=r(48209),l=r(89595),c=r(14041),d=r(91189);let u=(0,c.lazy)(()=>Promise.all([r.e("4400"),r.e("4591")]).then(r.bind(r,69890)).then(e=>({default:e.RealLogViewer})));function p(e){let{Progress:t}=(0,d.n)().getComponents();return(0,i.jsx)(c.Suspense,{fallback:(0,i.jsx)(t,{}),children:(0,i.jsx)(u,{...e})})}var h=r(73845),g=r(42899),f=r(29365),m=r(72501),y=r(99703),b=r(32881),v=r(64009);let w=(0,o.A)(e=>(0,y.A)({paper:{width:"100%",[e.breakpoints.up("sm")]:{width:"75%"},[e.breakpoints.up("md")]:{width:"50%"},padding:e.spacing(2.5)},root:{height:"100%",overflow:"hidden"},logs:{background:e.palette.background.default}})),x=({buildLog:e,onClose:t})=>{let r=w(),{t:n}=(0,l.i)(v.M),a=0===e.length?n("buildLogs.waitingForLogs"):e.join("\n");return(0,i.jsxs)(g.A,{container:!0,direction:"column",className:r.root,spacing:0,wrap:"nowrap",children:[(0,i.jsxs)(g.A,{item:!0,container:!0,justifyContent:"space-between",alignItems:"center",spacing:0,wrap:"nowrap",children:[(0,i.jsx)(m.A,{variant:"h5",children:n("buildLogs.title")}),(0,i.jsx)(f.A,{title:n("buildLogs.closeDrawer"),onClick:t,color:"inherit",children:(0,i.jsx)(b.default,{})},"dismiss")]}),(0,i.jsx)(g.A,{item:!0,xs:!0,children:(0,i.jsx)(p,{text:a,classes:{root:r.logs}})})]})},A=({buildLog:e})=>{let t=w(),[r,n]=(0,c.useState)(!1),{t:o}=(0,l.i)(v.M);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.A,{color:"inherit",onClick:()=>n(!0),children:o("buildLogs.showBuildLogs")}),(0,i.jsx)(h.Ay,{classes:{paper:t.paper},anchor:"right",open:r,onClose:()=>n(!1),children:(0,i.jsx)(x,{buildLog:e,onClose:()=>n(!1)})})]})};var k=r(50509),j=r(19735),S=r(53996),E=r(73462),I=r(63401),T=r(18690);let C=({errorMessage:e})=>{let t=(0,k.gf)(j.U).getOptionalString("techdocs.builder"),r=(0,S.s)(),{entityRef:n}=(0,I.V)(),a=(0,T.useLocation)(),{t:o}=(0,l.i)(v.M);(0,c.useEffect)(()=>{let{pathname:e,search:t,hash:i}=a;r.captureEvent("not-found",`${e}${t}${i}`,{attributes:n})},[r,n,a]);let s="";return[void 0,"local"].includes(t)||(s=o("notFound.builderNote")),(0,i.jsx)(E.M,{status:"404",statusMessage:e||o("notFound.title"),additionalInfo:s})};var R=r(4723);let $=(0,o.A)(e=>({root:{marginBottom:e.spacing(2)},message:{wordBreak:"break-word",overflowWrap:"anywhere"}})),N=()=>{let e=null,t=$(),{t:r}=(0,l.i)(v.M),{state:o,contentReload:c,contentErrorMessage:d,syncErrorMessage:u,buildLog:p}=(0,R.wz)();return"INITIAL_BUILD"===o&&(e=(0,i.jsx)(s.A,{classes:{root:t.root},variant:"outlined",severity:"info",icon:(0,i.jsx)(n.A,{size:"24px"}),action:(0,i.jsx)(A,{buildLog:p}),children:r("stateIndicator.initialBuild.message")})),"CONTENT_STALE_REFRESHING"===o&&(e=(0,i.jsx)(s.A,{variant:"outlined",severity:"info",icon:(0,i.jsx)(n.A,{size:"24px"}),action:(0,i.jsx)(A,{buildLog:p}),classes:{root:t.root},children:r("stateIndicator.contentStaleRefreshing.message")})),"CONTENT_STALE_READY"===o&&(e=(0,i.jsx)(s.A,{variant:"outlined",severity:"success",action:(0,i.jsx)(a.A,{color:"inherit",onClick:()=>c(),children:r("stateIndicator.contentStaleReady.refreshButton")}),classes:{root:t.root},children:r("stateIndicator.contentStaleReady.message")})),"CONTENT_STALE_ERROR"===o&&(e=(0,i.jsxs)(s.A,{variant:"outlined",severity:"error",action:(0,i.jsx)(A,{buildLog:p}),classes:{root:t.root,message:t.message},children:[r("stateIndicator.contentStaleError.message")," ",u]})),"CONTENT_NOT_FOUND"===o&&(e=(0,i.jsxs)(i.Fragment,{children:[u&&(0,i.jsxs)(s.A,{variant:"outlined",severity:"error",action:(0,i.jsx)(A,{buildLog:p}),classes:{root:t.root,message:t.message},children:[r("stateIndicator.contentStaleError.message")," ",u]}),(0,i.jsx)(C,{errorMessage:d})]})),e}},90898(e,t,r){"use strict";r.d(t,{Oc:()=>a,Ri:()=>o,rQ:()=>n});var i=r(96296);let n=(0,i.H)({id:"techdocs:index-page"}),a=(0,i.H)({id:"techdocs:reader-page",params:["namespace","kind","name"]}),o=(0,i.H)({id:"techdocs:catalog-reader-view"})},64009(e,t,r){"use strict";r.d(t,{M:()=>i});let i=(0,r(97386).h)({id:"techdocs",messages:{aboutCard:{viewTechdocs:"View TechDocs"},notFound:{title:"Documentation not found",builderNote:"Note that techdocs.builder is not set to 'local' in your config, which means this Backstage app will not generate docs if they are not found. Make sure the project's docs are generated and published by some external process (e.g. CI/CD pipeline). Or change techdocs.builder to 'local' to generate docs from this Backstage instance."},buildLogs:{title:"Build Details",closeDrawer:"Close the drawer",showBuildLogs:"Show Build Logs",waitingForLogs:"Waiting for logs..."},stateIndicator:{initialBuild:{message:"Documentation is accessed for the first time and is being prepared. The subsequent loads are much faster."},contentStaleRefreshing:{message:"A newer version of this documentation is being prepared and will be available shortly."},contentStaleReady:{message:"A newer version of this documentation is now available, please refresh to view.",refreshButton:"Refresh"},contentStaleError:{message:"Building a newer version of this documentation failed."}},redirectNotification:{redirectNow:"Redirect now"},search:{noResults:"No results found",placeholder:"Search {{entityTitle}} docs"},readerPageHeader:{owner:"Owner",lifecycle:"Lifecycle",source:"Source"},home:{supportButton:"Discover documentation in your ecosystem."},pageWrapper:{title:"Documentation",subtitle:"Documentation available in {{orgName}}"},table:{columns:{document:"Document",owner:"Owner",kind:"Kind",type:"Type"},header:{actions:"Actions"},toolbar:{searchPlaceholder:"Filter"},pagination:{labelRowsSelect:"rows"},body:{emptyDataSourceMessage:"No records to display"},actions:{copyDocsUrl:"Click to copy documentation link to clipboard",addToFavorites:"Add to favorites",removeFromFavorites:"Remove from favorites"},emptyState:{title:"No documents to show",description:"Create your own document. Check out our Getting Started Information",docsButton:"DOCS"},title:{all:"All"}},error:{couldNotLoad:"Could not load available documentation."},nav:{title:"Docs"},entityContent:{title:"TechDocs"},reader:{settings:"Settings"}}})},80549(e,t,r){let i=document.querySelector('meta[name="backstage-public-path"]'),n=i?.getAttribute("content");n&&(r.p=n)},33783(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["131","1477","183","2284","2328","2659","3589","3714","4736","488","5331","6417","6992","7364","7762","7769","9178","9343","9474"],function(){return t(80549),t(51993),t(41406)}),e.O()}]);
523
+ //# sourceMappingURL=main.e5756d374e1c.js.map