@patternfly/patternfly-doc-core 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/.astro/collections/dir.schema.json +28 -0
  2. package/.astro/collections/textContent.schema.json +28 -0
  3. package/.astro/content-assets.mjs +1 -0
  4. package/.astro/content-modules.mjs +1 -0
  5. package/.astro/content.d.ts +171 -0
  6. package/.astro/types.d.ts +2 -0
  7. package/.github/workflows/build.yml +61 -0
  8. package/.history/package_20250227163130.json +97 -0
  9. package/.history/package_20250227163527.json +97 -0
  10. package/.history/package_20250227163646.json +97 -0
  11. package/.history/package_20250227163651.json +97 -0
  12. package/.history/package_20250227163654.json +97 -0
  13. package/.history/package_20250227163657.json +97 -0
  14. package/.history/package_20250227163659.json +97 -0
  15. package/.history/package_20250227164608.json +97 -0
  16. package/.history/package_20250227164611.json +97 -0
  17. package/.history/package_20250227164616.json +98 -0
  18. package/.vscode/extensions.json +4 -0
  19. package/.vscode/launch.json +11 -0
  20. package/README.md +49 -0
  21. package/astro.config.mjs +18 -0
  22. package/babel.config.cjs +4 -0
  23. package/cli/cli.ts +81 -0
  24. package/cli/createCollectionContent.ts +31 -0
  25. package/cli/createConfigFile.ts +36 -0
  26. package/cli/getConfig.ts +28 -0
  27. package/cli/setFsRootDir.ts +29 -0
  28. package/cli/templates/package.json +19 -0
  29. package/cli/templates/pf-docs.config.mjs +20 -0
  30. package/cli/testData/good.config.js +12 -0
  31. package/cli/tsconfig.json +9 -0
  32. package/cli/updatePackageFile.ts +55 -0
  33. package/dist/PF-HorizontalLogo-Color.svg +29 -0
  34. package/dist/PF-HorizontalLogo-Reverse.svg +28 -0
  35. package/dist/_astro/ClientRouter.astro_astro_type_script_index_0_lang.BScVxmeO.js +1 -0
  36. package/dist/_astro/Navigation.BoL0fVlO.js +1 -0
  37. package/dist/_astro/PageContext.CGSBAxAd.js +9 -0
  38. package/dist/_astro/PageToggle.jHn9PsTr.js +1 -0
  39. package/dist/_astro/RedHatDisplayVF-Italic.CRpusWc8.woff2 +0 -0
  40. package/dist/_astro/RedHatDisplayVF.CYDHf1NI.woff2 +0 -0
  41. package/dist/_astro/RedHatMonoVF-Italic.DGQo2ogW.woff2 +0 -0
  42. package/dist/_astro/RedHatMonoVF.C4fMH6Vz.woff2 +0 -0
  43. package/dist/_astro/RedHatTextVF-Italic.Dkj_WqbA.woff2 +0 -0
  44. package/dist/_astro/RedHatTextVF.wYvZ7prR.woff2 +0 -0
  45. package/dist/_astro/Toolbar.BI0orElX.js +1 -0
  46. package/dist/_astro/_id_.DZfGTTvw.css +1 -0
  47. package/dist/_astro/_id_.EhyPoRav.css +1 -0
  48. package/dist/_astro/client.DBe4QnD_.js +1 -0
  49. package/dist/_astro/divider.DrQDtXS2.js +1 -0
  50. package/dist/_astro/fa-solid-900.DguXoeIz.woff2 +0 -0
  51. package/dist/_astro/index.IDjx8w0N.js +32 -0
  52. package/dist/_astro/navStore.br_igkhP.js +1 -0
  53. package/dist/_astro/pf-v6-pficon.Dy6oiu9u.woff2 +0 -0
  54. package/dist/avatarImg.svg +18 -0
  55. package/dist/avatarImgDark.svg +16 -0
  56. package/dist/cli/cli.js +57 -0
  57. package/dist/cli/createCollectionContent.js +26 -0
  58. package/dist/cli/createConfigFile.js +22 -0
  59. package/dist/cli/getConfig.js +14 -0
  60. package/dist/cli/setFsRootDir.js +20 -0
  61. package/dist/cli/templates/pf-docs.config.mjs +20 -0
  62. package/dist/cli/tsconfig.tsbuildinfo +1 -0
  63. package/dist/cli/updatePackageFile.js +35 -0
  64. package/dist/content/typography/line-height.png +0 -0
  65. package/dist/design-foundations/typography/index.html +193 -0
  66. package/dist/design-foundations/usage-and-behavior/index.html +342 -0
  67. package/dist/favicon.svg +9 -0
  68. package/dist/get-started/contribute/index.html +89 -0
  69. package/dist/index.html +42 -0
  70. package/eslint.config.mjs +131 -0
  71. package/jest.config.ts +27 -0
  72. package/package.json +98 -0
  73. package/public/PF-HorizontalLogo-Color.svg +29 -0
  74. package/public/PF-HorizontalLogo-Reverse.svg +28 -0
  75. package/public/avatarImg.svg +18 -0
  76. package/public/avatarImgDark.svg +16 -0
  77. package/public/content/typography/line-height.png +0 -0
  78. package/public/favicon.svg +9 -0
  79. package/release.config.mjs +16 -0
  80. package/src/__mocks__/styleMock.ts +2 -0
  81. package/src/components/Breadcrumbs.astro +10 -0
  82. package/src/components/KebabDropdownItems.astro +14 -0
  83. package/src/components/KebabDropdownItems.tsx +15 -0
  84. package/src/components/Masthead.astro +30 -0
  85. package/src/components/NavEntry.tsx +26 -0
  86. package/src/components/NavSection.tsx +38 -0
  87. package/src/components/Navigation.astro +13 -0
  88. package/src/components/Navigation.tsx +58 -0
  89. package/src/components/Page.astro +19 -0
  90. package/src/components/PageToggle.tsx +47 -0
  91. package/src/components/Toolbar.astro +5 -0
  92. package/src/components/Toolbar.tsx +173 -0
  93. package/src/components/UserDropdownItems.astro +9 -0
  94. package/src/components/UserDropdownItems.tsx +10 -0
  95. package/src/content.config.ts +36 -0
  96. package/src/content.ts +1 -0
  97. package/src/env.d.ts +1 -0
  98. package/src/layouts/Main.astro +26 -0
  99. package/src/pages/[section]/[...id].astro +31 -0
  100. package/src/pages/index.astro +17 -0
  101. package/src/stores/navStore.ts +3 -0
  102. package/src/styles/global.scss +1 -0
  103. package/src/utils/capitalize.ts +3 -0
  104. package/src/utils/index.ts +1 -0
  105. package/test.setup.ts +2 -0
  106. package/textContent/contribute.md +71 -0
  107. package/textContent/typography.md +95 -0
  108. package/textContent/usage-and-behavior.md +139 -0
  109. package/tsconfig.jest.json +8 -0
  110. package/tsconfig.json +14 -0
  111. package/tsconfig.vitest.json +6 -0
package/cli/cli.ts ADDED
@@ -0,0 +1,81 @@
1
+ #!/usr/bin/env node
2
+ /* eslint-disable no-console */
3
+ import { Command } from 'commander'
4
+ import { build, dev, preview, sync } from 'astro'
5
+ import { join } from 'path'
6
+ import { createCollectionContent } from './createCollectionContent.js'
7
+ import { setFsRootDir } from './setFsRootDir.js'
8
+ import { createConfigFile } from './createConfigFile.js'
9
+ import { updatePackageFile } from './updatePackageFile.js'
10
+ import { getConfig } from './getConfig.js'
11
+
12
+ function updateContent(program: Command) {
13
+ const { verbose } = program.opts()
14
+
15
+ if (verbose) {
16
+ console.log('Verbose mode enabled')
17
+ }
18
+
19
+ createCollectionContent(
20
+ astroRoot,
21
+ `${process.cwd()}/pf-docs.config.mjs`,
22
+ verbose,
23
+ )
24
+ }
25
+
26
+ const astroRoot = import.meta
27
+ .resolve('patternfly-doc-core')
28
+ .replace('dist/cli/cli.js', '')
29
+ .replace('file://', '')
30
+ const currentDir = process.cwd()
31
+
32
+ const program = new Command()
33
+ program.name('pf-doc-core')
34
+
35
+ program.option('--verbose', 'verbose mode', false)
36
+
37
+ program.command('setup').action(async () => {
38
+ await Promise.all([
39
+ updatePackageFile(astroRoot, currentDir),
40
+ createConfigFile(astroRoot, currentDir),
41
+ ])
42
+
43
+ console.log(
44
+ '\nSetup complete, next install dependencies with your package manager of choice and then run the `init:docs` script',
45
+ )
46
+ })
47
+
48
+ program.command('init').action(async () => {
49
+ await setFsRootDir(astroRoot, currentDir)
50
+ console.log(
51
+ '\nInitialization complete, next update your pf-docs.config.mjs file and then run the `start` script to start the dev server',
52
+ )
53
+ })
54
+
55
+ program.command('start').action(async () => {
56
+ updateContent(program)
57
+ dev({ mode: 'development', root: astroRoot })
58
+ })
59
+
60
+ program.command('build').action(async () => {
61
+ updateContent(program)
62
+ const config = await getConfig(`${currentDir}/pf-docs.config.mjs`)
63
+ if (!config) {
64
+ console.error(
65
+ 'No config found, please run the `setup` command or manually create a pf-docs.config.mjs file',
66
+ )
67
+ return
68
+ }
69
+ build({ root: astroRoot, outDir: join(currentDir, config.outputDir) })
70
+ })
71
+
72
+ program.command('serve').action(async () => {
73
+ updateContent(program)
74
+ preview({ root: astroRoot })
75
+ })
76
+
77
+ program.command('sync').action(async () => {
78
+ sync({ root: astroRoot })
79
+ })
80
+
81
+ program.parse(process.argv)
@@ -0,0 +1,31 @@
1
+ /* eslint-disable no-console */
2
+ import { writeFile } from 'fs/promises'
3
+ import { getConfig } from './getConfig.js'
4
+
5
+ export async function createCollectionContent(rootDir: string, configFile: string, verbose: boolean) {
6
+ const config = await getConfig(configFile)
7
+ if (!config) {
8
+ return
9
+ }
10
+
11
+ const { content } = config
12
+ if (!content) {
13
+ console.error('No content found in config')
14
+ return
15
+ }
16
+
17
+ const contentFile = rootDir + 'src/content.ts'
18
+
19
+ try {
20
+ await writeFile(
21
+ contentFile,
22
+ `export const content = ${JSON.stringify(content)}`,
23
+ )
24
+ } catch (e: any) {
25
+ console.error('Error writing content file', e)
26
+ } finally {
27
+ if (verbose) {
28
+ console.log('Content file created')
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,36 @@
1
+ /* eslint-disable no-console */
2
+ import { copyFile, access } from 'fs/promises'
3
+ import { join } from 'path'
4
+
5
+ export async function createConfigFile(
6
+ astroRootDir: string,
7
+ consumerRootDir: string,
8
+ ) {
9
+ const configFileName = 'pf-docs.config.mjs'
10
+ const configFilePath = join(consumerRootDir, configFileName)
11
+ const templateFilePath = join(
12
+ astroRootDir,
13
+ 'cli',
14
+ 'templates',
15
+ configFileName,
16
+ )
17
+
18
+ const fileExists = await access(configFilePath)
19
+ .then(() => true)
20
+ .catch(() => false)
21
+
22
+ if (fileExists) {
23
+ console.log(
24
+ `${configFileName} already exists, proceeding to next setup step`,
25
+ )
26
+ } else {
27
+ await copyFile(templateFilePath, configFilePath)
28
+ .then(() =>
29
+ console.log(`${configFileName} has been created in ${consumerRootDir}`),
30
+ )
31
+ .catch((error) => {
32
+ console.error(`Error creating ${configFileName} in ${consumerRootDir}.`)
33
+ console.error(error)
34
+ })
35
+ }
36
+ }
@@ -0,0 +1,28 @@
1
+ /* eslint-disable no-console */
2
+ export interface CollectionDefinition {
3
+ base?: string
4
+ packageName?: string
5
+ pattern: string
6
+ name: string
7
+ }
8
+
9
+ export interface DocsConfig {
10
+ content: CollectionDefinition[];
11
+ outputDir: string;
12
+ }
13
+
14
+ export async function getConfig(fileLocation: string): Promise<DocsConfig | undefined> {
15
+ try {
16
+ const { config } = await import(fileLocation)
17
+ return config as DocsConfig
18
+ } catch (e: any) {
19
+ if (['ERR_MODULE_NOT_FOUND', 'MODULE_NOT_FOUND'].includes(e.code)) {
20
+ console.error(
21
+ 'pf-docs.config.mjs not found, have you created it at the root of your package?',
22
+ )
23
+ return
24
+ }
25
+ console.error(e)
26
+ return
27
+ }
28
+ }
@@ -0,0 +1,29 @@
1
+ /* eslint-disable no-console */
2
+ import { readFile, writeFile } from 'fs/promises'
3
+
4
+ export async function setFsRootDir(
5
+ astroRootDir: string,
6
+ consumerRootDir: string,
7
+ ) {
8
+ const astroConfigFile = astroRootDir + 'astro.config.mjs'
9
+ const astroConfigFileContent = await readFile(astroConfigFile, 'utf8')
10
+
11
+ const defaultAllowList = "allow: ['./']"
12
+
13
+ if (!astroConfigFileContent.includes(defaultAllowList)) {
14
+ return
15
+ }
16
+
17
+ const newAstroConfigFileContent = astroConfigFileContent.replace(
18
+ defaultAllowList,
19
+ `allow: ['${consumerRootDir}/']`,
20
+ )
21
+
22
+ try {
23
+ await writeFile(astroConfigFile, newAstroConfigFileContent)
24
+ } catch (e: any) {
25
+ console.error(`Error setting the server allow list in ${astroRootDir}`, e)
26
+ } finally {
27
+ console.log('fs value set created')
28
+ }
29
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "add-package-name",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "type": "module",
6
+ "scripts": {
7
+ "start": "patternfly-doc-core start",
8
+ "build:docs": "patternfly-doc-core build",
9
+ "serve": "patternfly-doc-core serve",
10
+ "sync": "patternfly-doc-core sync",
11
+ "init:docs": "patternfly-doc-core init"
12
+ },
13
+ "author": "",
14
+ "license": "",
15
+ "description": "",
16
+ "devDependencies": {
17
+ "patternfly-doc-core": "latest"
18
+ }
19
+ }
@@ -0,0 +1,20 @@
1
+ export const config = {
2
+ content: [
3
+ // example content entry for local content, this would feed all markdown files in the content directory to the
4
+ // documentation core with a content identifier of 'content':
5
+ // {
6
+ // base: 'content',
7
+ // pattern: "*.md",
8
+ // name: 'content'
9
+ // },
10
+ //
11
+ // example content entry for remote content, this would fetch all markdown files matching the glob in 'pattern'
12
+ // from the specified npm package and serve them with a content identifier of 'react-component-docs':
13
+ // {
14
+ // packageName: "@patternfly/react-core",
15
+ // pattern: "**/components/**/*.md",
16
+ // name: "react-component-docs",
17
+ // },
18
+ ],
19
+ outputDir: "./dist/docs"
20
+ };
@@ -0,0 +1,12 @@
1
+ export const config = {
2
+ config: {
3
+ content: [
4
+ {
5
+ base: 'base-path',
6
+ packageName: 'package-name',
7
+ pattern: 'pattern',
8
+ name: 'name',
9
+ },
10
+ ],
11
+ },
12
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "../dist/cli",
4
+ "skipLibCheck": true,
5
+ "module": "NodeNext",
6
+ "allowJs": true
7
+ },
8
+ "exclude": ["__tests__", "testData"],
9
+ }
@@ -0,0 +1,55 @@
1
+ /* eslint-disable no-console */
2
+ import { copyFile, readFile, writeFile } from 'fs/promises'
3
+ import { join } from 'path'
4
+
5
+ export async function updatePackageFile(
6
+ astroRootDir: string,
7
+ consumerRootDir: string,
8
+ ) {
9
+ const packageFilePath = join(consumerRootDir, 'package.json')
10
+ const templateFilePath = join(
11
+ astroRootDir,
12
+ 'cli',
13
+ 'templates',
14
+ 'package.json',
15
+ )
16
+ const docsCorePackageFilePath = join(astroRootDir, 'package.json')
17
+ const docsCorePackageFileContent = await readFile(
18
+ docsCorePackageFilePath,
19
+ 'utf8',
20
+ )
21
+ const docsCorePackageJson = JSON.parse(docsCorePackageFileContent)
22
+ const docsCorePackageName = docsCorePackageJson.name
23
+ const docsCorePackageVersion = docsCorePackageJson.version
24
+
25
+ const fileContent = await readFile(packageFilePath, 'utf8')
26
+ .then((content) => content)
27
+ .catch(() => false)
28
+
29
+ if (typeof fileContent === 'string') {
30
+ const packageJson = JSON.parse(fileContent)
31
+ const templateContent = await readFile(templateFilePath, 'utf8')
32
+ const templateJson = JSON.parse(templateContent)
33
+
34
+ packageJson.scripts = {
35
+ ...packageJson.scripts,
36
+ ...templateJson.scripts,
37
+ }
38
+
39
+ packageJson.devDependencies = {
40
+ ...packageJson.devDependencies,
41
+ [docsCorePackageName]: `^${docsCorePackageVersion}`,
42
+ }
43
+
44
+ await writeFile(packageFilePath, JSON.stringify(packageJson, null, 2))
45
+ console.log(
46
+ `${packageFilePath} has been updated with new scripts and devDependencies.`,
47
+ )
48
+ } else {
49
+ console.log(
50
+ `${packageFilePath} not found, creating a new one using the template file.`,
51
+ )
52
+ await copyFile(templateFilePath, packageFilePath)
53
+ console.log(`${packageFilePath} has been created using the template file.`)
54
+ }
55
+ }
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="679px" height="158px" viewBox="0 0 679 158" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>PF-HorizontalLogo-Color </title>
4
+ <defs>
5
+ <linearGradient x1="68%" y1="2.25860997e-13%" x2="32%" y2="100%" id="linearGradient-1">
6
+ <stop stop-color="#2B9AF3" offset="0%"></stop>
7
+ <stop stop-color="#73BCF7" stop-opacity="0.502212631" offset="100%"></stop>
8
+ </linearGradient>
9
+ </defs>
10
+ <g id="PF-HorizontalLogo-Color" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
11
+ <g id="PatternFly-Copy-11" transform="translate(206.000000, 45.750000)" fill="#151515" fill-rule="nonzero">
12
+ <path d="M0,65.25 L0,2.25 L33.21,2.25 C37.35,2.25 41.025,3.135 44.235,4.905 C47.445,6.675 49.98,9.09 51.84,12.15 C53.7,15.21 54.63,18.72 54.63,22.68 C54.63,26.46 53.7,29.865 51.84,32.895 C49.98,35.925 47.43,38.31 44.19,40.05 C40.95,41.79 37.29,42.66 33.21,42.66 L15.48,42.66 L15.48,65.25 L0,65.25 Z M15.48,29.88 L31.41,29.88 C33.69,29.88 35.52,29.22 36.9,27.9 C38.28,26.58 38.97,24.87 38.97,22.77 C38.97,20.61 38.28,18.855 36.9,17.505 C35.52,16.155 33.69,15.48 31.41,15.48 L15.48,15.48 L15.48,29.88 Z" id="Shape"></path>
13
+ <path d="M77.04,66.06 C73.68,66.06 70.695,65.43 68.085,64.17 C65.475,62.91 63.435,61.17 61.965,58.95 C60.495,56.73 59.76,54.18 59.76,51.3 C59.76,46.74 61.485,43.215 64.935,40.725 C68.385,38.235 73.2,36.99 79.38,36.99 C83.1,36.99 86.7,37.44 90.18,38.34 L90.18,36 C90.18,31.26 87.15,28.89 81.09,28.89 C77.49,28.89 72.69,30.15 66.69,32.67 L61.47,21.96 C69.15,18.48 76.56,16.74 83.7,16.74 C90.3,16.74 95.43,18.315 99.09,21.465 C102.75,24.615 104.58,29.04 104.58,34.74 L104.58,65.25 L90.18,65.25 L90.18,62.37 C88.26,63.69 86.235,64.635 84.105,65.205 C81.975,65.775 79.62,66.06 77.04,66.06 Z M73.62,51.03 C73.62,52.53 74.28,53.7 75.6,54.54 C76.92,55.38 78.75,55.8 81.09,55.8 C84.69,55.8 87.72,55.05 90.18,53.55 L90.18,47.43 C87.42,46.71 84.54,46.35 81.54,46.35 C79.02,46.35 77.07,46.755 75.69,47.565 C74.31,48.375 73.62,49.53 73.62,51.03 Z" id="Shape"></path>
14
+ <path d="M137.25,65.88 C125.73,65.88 119.97,60.84 119.97,50.76 L119.97,29.79 L110.34,29.79 L110.34,17.64 L119.97,17.64 L119.97,5.4 L134.55,2.25 L134.55,17.64 L147.87,17.64 L147.87,29.79 L134.55,29.79 L134.55,47.88 C134.55,49.98 135.015,51.465 135.945,52.335 C136.875,53.205 138.51,53.64 140.85,53.64 C143.01,53.64 145.2,53.31 147.42,52.65 L147.42,64.44 C146.1,64.86 144.42,65.205 142.38,65.475 C140.34,65.745 138.63,65.88 137.25,65.88 Z" id="Path"></path>
15
+ <path d="M177.57,65.88 C166.05,65.88 160.29,60.84 160.29,50.76 L160.29,29.79 L150.66,29.79 L150.66,17.64 L160.29,17.64 L160.29,5.4 L174.87,2.25 L174.87,17.64 L188.19,17.64 L188.19,29.79 L174.87,29.79 L174.87,47.88 C174.87,49.98 175.335,51.465 176.265,52.335 C177.195,53.205 178.83,53.64 181.17,53.64 C183.33,53.64 185.52,53.31 187.74,52.65 L187.74,64.44 C186.42,64.86 184.74,65.205 182.7,65.475 C180.66,65.745 178.95,65.88 177.57,65.88 Z" id="Path"></path>
16
+ <path d="M217.62,66.15 C212.76,66.15 208.365,65.055 204.435,62.865 C200.505,60.675 197.4,57.72 195.12,54 C192.84,50.28 191.7,46.11 191.7,41.49 C191.7,36.87 192.795,32.7 194.985,28.98 C197.175,25.26 200.16,22.305 203.94,20.115 C207.72,17.925 211.92,16.83 216.54,16.83 C221.22,16.83 225.36,17.955 228.96,20.205 C232.56,22.455 235.395,25.53 237.465,29.43 C239.535,33.33 240.57,37.8 240.57,42.84 L240.57,46.44 L206.64,46.44 C207.6,48.66 209.1,50.475 211.14,51.885 C213.18,53.295 215.58,54 218.34,54 C222.42,54 225.6,52.8 227.88,50.4 L237.51,58.95 C234.51,61.47 231.435,63.3 228.285,64.44 C225.135,65.58 221.58,66.15 217.62,66.15 Z M206.37,36.27 L226.26,36.27 C225.48,33.99 224.205,32.16 222.435,30.78 C220.665,29.4 218.61,28.71 216.27,28.71 C213.87,28.71 211.8,29.37 210.06,30.69 C208.32,32.01 207.09,33.87 206.37,36.27 Z" id="Shape"></path>
17
+ <path d="M247.41,65.25 L247.41,17.64 L261.99,17.64 L261.99,22.41 C265.23,18.51 269.4,16.56 274.5,16.56 C277.08,16.62 278.91,17.01 279.99,17.73 L279.99,30.42 C277.95,29.46 275.64,28.98 273.06,28.98 C270.78,28.98 268.665,29.505 266.715,30.555 C264.765,31.605 263.19,33.09 261.99,35.01 L261.99,65.25 L247.41,65.25 Z" id="Path"></path>
18
+ <path d="M286.29,65.25 L286.29,17.64 L300.87,17.64 L300.87,20.88 C304.47,18.12 308.73,16.74 313.65,16.74 C317.37,16.74 320.655,17.55 323.505,19.17 C326.355,20.79 328.59,23.04 330.21,25.92 C331.83,28.8 332.64,32.13 332.64,35.91 L332.64,65.25 L318.06,65.25 L318.06,37.89 C318.06,35.25 317.28,33.15 315.72,31.59 C314.16,30.03 312.06,29.25 309.42,29.25 C305.76,29.25 302.91,30.51 300.87,33.03 L300.87,65.25 L286.29,65.25 Z" id="Path"></path>
19
+ <polygon id="Path" points="342 65.25 342 2.25 392.04 2.25 392.04 15.66 357.48 15.66 357.48 27.45 380.52 27.45 380.52 40.41 357.48 40.41 357.48 65.25"></polygon>
20
+ <polygon id="Path" points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25"></polygon>
21
+ <path d="M429.21,84.69 C428.07,84.69 426.96,84.645 425.88,84.555 C424.8,84.465 423.9,84.33 423.18,84.15 L423.18,71.73 C424.38,71.97 425.88,72.09 427.68,72.09 C432.36,72.09 435.51,70.05 437.13,65.97 L437.13,65.88 L418.86,17.64 L434.97,17.64 L445.5,47.61 L457.74,17.64 L473.49,17.64 L452.16,67.68 C450.42,71.82 448.5,75.135 446.4,77.625 C444.3,80.115 441.87,81.915 439.11,83.025 C436.35,84.135 433.05,84.69 429.21,84.69 Z" id="Path"></path>
22
+ </g>
23
+ <g id="Logo" transform="translate(0.000000, 0.000000)">
24
+ <path d="M61.826087,0 L158,0 L158,96.173913 L147.695652,96.173913 C100.271201,96.173913 61.826087,57.7287992 61.826087,10.3043478 L61.826087,0 L61.826087,0 Z" id="Rectangle-Copy-17" fill="#0066CC"></path>
25
+ <path d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z" id="Path-2" fill="url(#linearGradient-1)"></path>
26
+ <path d="M123.652174,-30.9130435 L30.9130435,123.652174 L103.652174,123.652174 C114.697869,123.652174 123.652174,114.697869 123.652174,103.652174 L123.652174,-30.9130435 L123.652174,-30.9130435 Z" id="Path-2" fill="url(#linearGradient-1)" transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "></path>
27
+ </g>
28
+ </g>
29
+ </svg>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="679px" height="158px" viewBox="0 0 679 158" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>PF-HorizontalLogo-Reverse </title>
4
+ <defs>
5
+ <linearGradient x1="100%" y1="1.31838984e-13%" x2="40.4021492%" y2="59.4473677%" id="linearGradient-1">
6
+ <stop stop-color="#FFFFFF" offset="0%"></stop>
7
+ <stop stop-color="#FFFFFF" stop-opacity="0.498497596" offset="100%"></stop>
8
+ </linearGradient>
9
+ </defs>
10
+ <g id="PF-HorizontalLogo-Reverse" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
11
+ <g id="Group" transform="translate(-0.000000, 0.000000)">
12
+ <path d="M61.7658863,0 L157.846154,0 L157.846154,96.0802676 C104.782487,96.0802676 61.7658863,53.0636665 61.7658863,0 L61.7658863,0 L61.7658863,0 Z" id="Rectangle-Copy-15" fill="#FFFFFF" opacity="0.401297433"></path>
13
+ <path d="M158,1.84777167 L158,138 C158,149.045695 149.045695,158 138,158 L66.3656919,158 L158,1.84777167 Z M156.152228,3.55271368e-13 L-9.37916411e-13,91.6343081 L-9.37916411e-13,20 C-9.09494702e-13,8.954305 8.954305,3.55271368e-13 20,3.41060513e-13 L156.152228,3.55271368e-13 Z" id="Combined-Shape-Copy-4" fill="url(#linearGradient-1)"></path>
14
+ </g>
15
+ <g id="PatternFly-Copy-11" transform="translate(206.000000, 45.750000)" fill="#FFFFFF" fill-rule="nonzero">
16
+ <path d="M0,65.25 L0,2.25 L33.21,2.25 C37.35,2.25 41.025,3.135 44.235,4.905 C47.445,6.675 49.98,9.09 51.84,12.15 C53.7,15.21 54.63,18.72 54.63,22.68 C54.63,26.46 53.7,29.865 51.84,32.895 C49.98,35.925 47.43,38.31 44.19,40.05 C40.95,41.79 37.29,42.66 33.21,42.66 L15.48,42.66 L15.48,65.25 L0,65.25 Z M15.48,29.88 L31.41,29.88 C33.69,29.88 35.52,29.22 36.9,27.9 C38.28,26.58 38.97,24.87 38.97,22.77 C38.97,20.61 38.28,18.855 36.9,17.505 C35.52,16.155 33.69,15.48 31.41,15.48 L15.48,15.48 L15.48,29.88 Z" id="Shape"></path>
17
+ <path d="M77.04,66.06 C73.68,66.06 70.695,65.43 68.085,64.17 C65.475,62.91 63.435,61.17 61.965,58.95 C60.495,56.73 59.76,54.18 59.76,51.3 C59.76,46.74 61.485,43.215 64.935,40.725 C68.385,38.235 73.2,36.99 79.38,36.99 C83.1,36.99 86.7,37.44 90.18,38.34 L90.18,36 C90.18,31.26 87.15,28.89 81.09,28.89 C77.49,28.89 72.69,30.15 66.69,32.67 L61.47,21.96 C69.15,18.48 76.56,16.74 83.7,16.74 C90.3,16.74 95.43,18.315 99.09,21.465 C102.75,24.615 104.58,29.04 104.58,34.74 L104.58,65.25 L90.18,65.25 L90.18,62.37 C88.26,63.69 86.235,64.635 84.105,65.205 C81.975,65.775 79.62,66.06 77.04,66.06 Z M73.62,51.03 C73.62,52.53 74.28,53.7 75.6,54.54 C76.92,55.38 78.75,55.8 81.09,55.8 C84.69,55.8 87.72,55.05 90.18,53.55 L90.18,47.43 C87.42,46.71 84.54,46.35 81.54,46.35 C79.02,46.35 77.07,46.755 75.69,47.565 C74.31,48.375 73.62,49.53 73.62,51.03 Z" id="Shape"></path>
18
+ <path d="M137.25,65.88 C125.73,65.88 119.97,60.84 119.97,50.76 L119.97,29.79 L110.34,29.79 L110.34,17.64 L119.97,17.64 L119.97,5.4 L134.55,2.25 L134.55,17.64 L147.87,17.64 L147.87,29.79 L134.55,29.79 L134.55,47.88 C134.55,49.98 135.015,51.465 135.945,52.335 C136.875,53.205 138.51,53.64 140.85,53.64 C143.01,53.64 145.2,53.31 147.42,52.65 L147.42,64.44 C146.1,64.86 144.42,65.205 142.38,65.475 C140.34,65.745 138.63,65.88 137.25,65.88 Z" id="Path"></path>
19
+ <path d="M177.57,65.88 C166.05,65.88 160.29,60.84 160.29,50.76 L160.29,29.79 L150.66,29.79 L150.66,17.64 L160.29,17.64 L160.29,5.4 L174.87,2.25 L174.87,17.64 L188.19,17.64 L188.19,29.79 L174.87,29.79 L174.87,47.88 C174.87,49.98 175.335,51.465 176.265,52.335 C177.195,53.205 178.83,53.64 181.17,53.64 C183.33,53.64 185.52,53.31 187.74,52.65 L187.74,64.44 C186.42,64.86 184.74,65.205 182.7,65.475 C180.66,65.745 178.95,65.88 177.57,65.88 Z" id="Path"></path>
20
+ <path d="M217.62,66.15 C212.76,66.15 208.365,65.055 204.435,62.865 C200.505,60.675 197.4,57.72 195.12,54 C192.84,50.28 191.7,46.11 191.7,41.49 C191.7,36.87 192.795,32.7 194.985,28.98 C197.175,25.26 200.16,22.305 203.94,20.115 C207.72,17.925 211.92,16.83 216.54,16.83 C221.22,16.83 225.36,17.955 228.96,20.205 C232.56,22.455 235.395,25.53 237.465,29.43 C239.535,33.33 240.57,37.8 240.57,42.84 L240.57,46.44 L206.64,46.44 C207.6,48.66 209.1,50.475 211.14,51.885 C213.18,53.295 215.58,54 218.34,54 C222.42,54 225.6,52.8 227.88,50.4 L237.51,58.95 C234.51,61.47 231.435,63.3 228.285,64.44 C225.135,65.58 221.58,66.15 217.62,66.15 Z M206.37,36.27 L226.26,36.27 C225.48,33.99 224.205,32.16 222.435,30.78 C220.665,29.4 218.61,28.71 216.27,28.71 C213.87,28.71 211.8,29.37 210.06,30.69 C208.32,32.01 207.09,33.87 206.37,36.27 Z" id="Shape"></path>
21
+ <path d="M247.41,65.25 L247.41,17.64 L261.99,17.64 L261.99,22.41 C265.23,18.51 269.4,16.56 274.5,16.56 C277.08,16.62 278.91,17.01 279.99,17.73 L279.99,30.42 C277.95,29.46 275.64,28.98 273.06,28.98 C270.78,28.98 268.665,29.505 266.715,30.555 C264.765,31.605 263.19,33.09 261.99,35.01 L261.99,65.25 L247.41,65.25 Z" id="Path"></path>
22
+ <path d="M286.29,65.25 L286.29,17.64 L300.87,17.64 L300.87,20.88 C304.47,18.12 308.73,16.74 313.65,16.74 C317.37,16.74 320.655,17.55 323.505,19.17 C326.355,20.79 328.59,23.04 330.21,25.92 C331.83,28.8 332.64,32.13 332.64,35.91 L332.64,65.25 L318.06,65.25 L318.06,37.89 C318.06,35.25 317.28,33.15 315.72,31.59 C314.16,30.03 312.06,29.25 309.42,29.25 C305.76,29.25 302.91,30.51 300.87,33.03 L300.87,65.25 L286.29,65.25 Z" id="Path"></path>
23
+ <polygon id="Path" points="342 65.25 342 2.25 392.04 2.25 392.04 15.66 357.48 15.66 357.48 27.45 380.52 27.45 380.52 40.41 357.48 40.41 357.48 65.25"></polygon>
24
+ <polygon id="Path" points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25"></polygon>
25
+ <path d="M429.21,84.69 C428.07,84.69 426.96,84.645 425.88,84.555 C424.8,84.465 423.9,84.33 423.18,84.15 L423.18,71.73 C424.38,71.97 425.88,72.09 427.68,72.09 C432.36,72.09 435.51,70.05 437.13,65.97 L437.13,65.88 L418.86,17.64 L434.97,17.64 L445.5,47.61 L457.74,17.64 L473.49,17.64 L452.16,67.68 C450.42,71.82 448.5,75.135 446.4,77.625 C444.3,80.115 441.87,81.915 439.11,83.025 C436.35,84.135 433.05,84.69 429.21,84.69 Z" id="Path"></path>
26
+ </g>
27
+ </g>
28
+ </svg>
@@ -0,0 +1 @@
1
+ const b="data-astro-transition-persist";function J(e){for(const t of document.scripts)for(const n of e.scripts)if(!n.hasAttribute("data-astro-rerun")&&(!t.src&&t.textContent===n.textContent||t.src&&t.type===n.type&&t.src===n.src)){n.dataset.astroExec="";break}}function Q(e){const t=document.documentElement,n=[...t.attributes].filter(({name:o})=>(t.removeAttribute(o),o.startsWith("data-astro-")));[...e.documentElement.attributes,...n].forEach(({name:o,value:r})=>t.setAttribute(o,r))}function Z(e){for(const t of Array.from(document.head.children)){const n=ne(t,e);n?n.remove():t.remove()}document.head.append(...e.head.children)}function ee(e,t){t.replaceWith(e);for(const n of t.querySelectorAll(`[${b}]`)){const o=n.getAttribute(b),r=e.querySelector(`[${b}="${o}"]`);r&&(r.replaceWith(n),r.localName==="astro-island"&&oe(n)&&!re(n,r)&&(n.setAttribute("ssr",""),n.setAttribute("props",r.getAttribute("props"))))}}const te=()=>{const e=document.activeElement;if(e?.closest(`[${b}]`)){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){const t=e.selectionStart,n=e.selectionEnd;return()=>R({activeElement:e,start:t,end:n})}return()=>R({activeElement:e})}else return()=>R({activeElement:null})},R=({activeElement:e,start:t,end:n})=>{e&&(e.focus(),(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&(typeof t=="number"&&(e.selectionStart=t),typeof n=="number"&&(e.selectionEnd=n)))},ne=(e,t)=>{const n=e.getAttribute(b),o=n&&t.head.querySelector(`[${b}="${n}"]`);if(o)return o;if(e.matches("link[rel=stylesheet]")){const r=e.getAttribute("href");return t.head.querySelector(`link[rel=stylesheet][href="${r}"]`)}return null},oe=e=>{const t=e.dataset.astroTransitionPersistProps;return t==null||t==="false"},re=(e,t)=>e.getAttribute("props")===t.getAttribute("props"),ie=e=>{J(e),Q(e),Z(e);const t=te();ee(e.body,document.body),t()},se="astro:before-preparation",ae="astro:after-preparation",ce="astro:before-swap",le="astro:after-swap",ue=e=>document.dispatchEvent(new Event(e));class $ extends Event{from;to;direction;navigationType;sourceElement;info;newDocument;signal;constructor(t,n,o,r,s,u,a,l,f,c){super(t,n),this.from=o,this.to=r,this.direction=s,this.navigationType=u,this.sourceElement=a,this.info=l,this.newDocument=f,this.signal=c,Object.defineProperties(this,{from:{enumerable:!0},to:{enumerable:!0,writable:!0},direction:{enumerable:!0,writable:!0},navigationType:{enumerable:!0},sourceElement:{enumerable:!0},info:{enumerable:!0},newDocument:{enumerable:!0,writable:!0},signal:{enumerable:!0}})}}class fe extends ${formData;loader;constructor(t,n,o,r,s,u,a,l,f,c){super(se,{cancelable:!0},t,n,o,r,s,u,a,l),this.formData=f,this.loader=c.bind(this,this),Object.defineProperties(this,{formData:{enumerable:!0},loader:{enumerable:!0,writable:!0}})}}class de extends ${direction;viewTransition;swap;constructor(t,n){super(ce,void 0,t.from,t.to,t.direction,t.navigationType,t.sourceElement,t.info,t.newDocument,t.signal),this.direction=t.direction,this.viewTransition=n,this.swap=()=>ie(this.newDocument),Object.defineProperties(this,{direction:{enumerable:!0},viewTransition:{enumerable:!0},swap:{enumerable:!0,writable:!0}})}}async function me(e,t,n,o,r,s,u,a,l){const f=new fe(e,t,n,o,r,s,window.document,u,a,l);return document.dispatchEvent(f)&&(await f.loader(),f.defaultPrevented||(ue(ae),f.navigationType!=="traverse"&&D({scrollX,scrollY}))),f}function he(e,t){const n=new de(e,t);return document.dispatchEvent(n),n.swap(),n}const pe=history.pushState.bind(history),T=history.replaceState.bind(history),D=e=>{history.state&&(history.scrollRestoration="manual",T({...history.state,...e},""))},x=!!document.startViewTransition,I=()=>!!document.querySelector('[name="astro-view-transitions-enabled"]'),q=(e,t)=>e.pathname===t.pathname&&e.search===t.search;let d,w,A;const B=e=>document.dispatchEvent(new Event(e)),U=()=>B("astro:page-load"),we=()=>{let e=document.createElement("div");e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),e.className="astro-route-announcer",document.body.append(e),setTimeout(()=>{let t=document.title||document.querySelector("h1")?.textContent||location.pathname;e.textContent=t},60)},H="data-astro-transition-persist",M="data-astro-transition",P="data-astro-transition-fallback";let O,y=0;history.state?(y=history.state.index,scrollTo({left:history.state.scrollX,top:history.state.scrollY})):I()&&(T({index:y,scrollX,scrollY},""),history.scrollRestoration="manual");async function ge(e,t){try{const n=await fetch(e,t),r=(n.headers.get("content-type")??"").split(";",1)[0].trim();return r!=="text/html"&&r!=="application/xhtml+xml"?null:{html:await n.text(),redirected:n.redirected?n.url:void 0,mediaType:r}}catch{return null}}function V(){const e=document.querySelector('[name="astro-view-transitions-fallback"]');return e?e.getAttribute("content"):"animate"}function be(){let e=Promise.resolve();for(const t of document.getElementsByTagName("script")){if(t.dataset.astroExec==="")continue;const n=t.getAttribute("type");if(n&&n!=="module"&&n!=="text/javascript")continue;const o=document.createElement("script");o.innerHTML=t.innerHTML;for(const r of t.attributes){if(r.name==="src"){const s=new Promise(u=>{o.onload=o.onerror=u});e=e.then(()=>s)}o.setAttribute(r.name,r.value)}o.dataset.astroExec="",t.replaceWith(o)}return e}const W=(e,t,n,o,r)=>{const s=q(t,e),u=document.title;document.title=o;let a=!1;if(e.href!==location.href&&!r)if(n.history==="replace"){const l=history.state;T({...n.state,index:l.index,scrollX:l.scrollX,scrollY:l.scrollY},"",e.href)}else pe({...n.state,index:++y,scrollX:0,scrollY:0},"",e.href);if(document.title=u,A=e,s||(scrollTo({left:0,top:0,behavior:"instant"}),a=!0),r)scrollTo(r.scrollX,r.scrollY);else{if(e.hash){history.scrollRestoration="auto";const l=history.state;location.href=e.href,history.state||(T(l,""),s&&window.dispatchEvent(new PopStateEvent("popstate")))}else a||scrollTo({left:0,top:0,behavior:"instant"});history.scrollRestoration="manual"}};function ye(e){const t=[];for(const n of e.querySelectorAll("head link[rel=stylesheet]"))if(!document.querySelector(`[${H}="${n.getAttribute(H)}"], link[rel=stylesheet][href="${n.getAttribute("href")}"]`)){const o=document.createElement("link");o.setAttribute("rel","preload"),o.setAttribute("as","style"),o.setAttribute("href",n.getAttribute("href")),t.push(new Promise(r=>{["load","error"].forEach(s=>o.addEventListener(s,r)),document.head.append(o)}))}return t}async function F(e,t,n,o,r){async function s(l){function f(h){const m=h.effect;return!m||!(m instanceof KeyframeEffect)||!m.target?!1:window.getComputedStyle(m.target,m.pseudoElement).animationIterationCount==="infinite"}const c=document.getAnimations();document.documentElement.setAttribute(P,l);const p=document.getAnimations().filter(h=>!c.includes(h)&&!f(h));return Promise.allSettled(p.map(h=>h.finished))}if(r==="animate"&&!n.transitionSkipped&&!e.signal.aborted)try{await s("old")}catch{}const u=document.title,a=he(e,n.viewTransition);W(a.to,a.from,t,u,o),B(le),r==="animate"&&(!n.transitionSkipped&&!a.signal.aborted?s("new").finally(()=>n.viewTransitionFinished()):n.viewTransitionFinished())}function ve(){return d?.controller.abort(),d={controller:new AbortController}}async function j(e,t,n,o,r){const s=ve();if(!I()||location.origin!==n.origin){s===d&&(d=void 0),location.href=n.href;return}const u=r?"traverse":o.history==="replace"?"replace":"push";if(u!=="traverse"&&D({scrollX,scrollY}),q(t,n)&&(e!=="back"&&n.hash||e==="back"&&t.hash)){W(n,t,o,document.title,r),s===d&&(d=void 0);return}const a=await me(t,n,e,u,o.sourceElement,o.info,s.controller.signal,o.formData,l);if(a.defaultPrevented||a.signal.aborted){s===d&&(d=void 0),a.signal.aborted||(location.href=n.href);return}async function l(i){const p=i.to.href,h={signal:i.signal};if(i.formData){h.method="POST";const g=i.sourceElement instanceof HTMLFormElement?i.sourceElement:i.sourceElement instanceof HTMLElement&&"form"in i.sourceElement?i.sourceElement.form:i.sourceElement?.closest("form");h.body=g?.attributes.getNamedItem("enctype")?.value==="application/x-www-form-urlencoded"?new URLSearchParams(i.formData):i.formData}const m=await ge(p,h);if(m===null){i.preventDefault();return}if(m.redirected){const g=new URL(m.redirected);if(g.origin!==i.to.origin){i.preventDefault();return}i.to=g}if(O??=new DOMParser,i.newDocument=O.parseFromString(m.html,m.mediaType),i.newDocument.querySelectorAll("noscript").forEach(g=>g.remove()),!i.newDocument.querySelector('[name="astro-view-transitions-enabled"]')&&!i.formData){i.preventDefault();return}const L=ye(i.newDocument);L.length&&!i.signal.aborted&&await Promise.all(L)}async function f(){if(w&&w.viewTransition){try{w.viewTransition.skipTransition()}catch{}try{await w.viewTransition.updateCallbackDone}catch{}}return w={transitionSkipped:!1}}const c=await f();if(a.signal.aborted){s===d&&(d=void 0);return}if(document.documentElement.setAttribute(M,a.direction),x)c.viewTransition=document.startViewTransition(async()=>await F(a,o,c,r));else{const i=(async()=>{await Promise.resolve(),await F(a,o,c,r,V())})();c.viewTransition={updateCallbackDone:i,ready:i,finished:new Promise(p=>c.viewTransitionFinished=p),skipTransition:()=>{c.transitionSkipped=!0,document.documentElement.removeAttribute(P)}}}c.viewTransition?.updateCallbackDone.finally(async()=>{await be(),U(),we()}),c.viewTransition?.finished.finally(()=>{c.viewTransition=void 0,c===w&&(w=void 0),s===d&&(d=void 0),document.documentElement.removeAttribute(M),document.documentElement.removeAttribute(P)});try{await c.viewTransition?.updateCallbackDone}catch(i){const p=i;console.log("[astro]",p.name,p.message,p.stack)}}async function C(e,t){await j("forward",A,new URL(e,location.href),t??{})}function Te(e){if(!I()&&e.state){location.reload();return}if(e.state===null)return;const t=history.state,n=t.index,o=n>y?"forward":"back";y=n,j(o,A,new URL(location.href),{},t)}const X=()=>{history.state&&(scrollX!==history.state.scrollX||scrollY!==history.state.scrollY)&&D({scrollX,scrollY})};{if(x||V()!=="none")if(A=new URL(location.href),addEventListener("popstate",Te),addEventListener("load",U),"onscrollend"in window)addEventListener("scrollend",X);else{let e,t,n,o;const r=()=>{if(o!==history.state?.index){clearInterval(e),e=void 0;return}if(t===scrollY&&n===scrollX){clearInterval(e),e=void 0,X();return}else t=scrollY,n=scrollX};addEventListener("scroll",()=>{e===void 0&&(o=history.state?.index,t=scrollY,n=scrollX,e=window.setInterval(r,50))},{passive:!0})}for(const e of document.getElementsByTagName("script"))e.dataset.astroExec=""}const K=new Set,E=new WeakSet;let k,G,Y=!1;function Ee(e){Y||(Y=!0,k??=e?.prefetchAll,G??=e?.defaultStrategy??"hover",Ae(),Se(),Le(),Pe())}function Ae(){for(const e of["touchstart","mousedown"])document.body.addEventListener(e,t=>{v(t.target,"tap")&&S(t.target.href,{ignoreSlowConnection:!0})},{passive:!0})}function Se(){let e;document.body.addEventListener("focusin",o=>{v(o.target,"hover")&&t(o)},{passive:!0}),document.body.addEventListener("focusout",n,{passive:!0}),N(()=>{for(const o of document.getElementsByTagName("a"))E.has(o)||v(o,"hover")&&(E.add(o),o.addEventListener("mouseenter",t,{passive:!0}),o.addEventListener("mouseleave",n,{passive:!0}))});function t(o){const r=o.target.href;e&&clearTimeout(e),e=setTimeout(()=>{S(r)},80)}function n(){e&&(clearTimeout(e),e=0)}}function Le(){let e;N(()=>{for(const t of document.getElementsByTagName("a"))E.has(t)||v(t,"viewport")&&(E.add(t),e??=Re(),e.observe(t))})}function Re(){const e=new WeakMap;return new IntersectionObserver((t,n)=>{for(const o of t){const r=o.target,s=e.get(r);o.isIntersecting?(s&&clearTimeout(s),e.set(r,setTimeout(()=>{n.unobserve(r),e.delete(r),S(r.href)},300))):s&&(clearTimeout(s),e.delete(r))}})}function Pe(){N(()=>{for(const e of document.getElementsByTagName("a"))v(e,"load")&&S(e.href)})}function S(e,t){e=e.replace(/#.*/,"");const n=t?.ignoreSlowConnection??!1;if(ke(e,n))if(K.add(e),document.createElement("link").relList?.supports?.("prefetch")&&t?.with!=="fetch"){const o=document.createElement("link");o.rel="prefetch",o.setAttribute("href",e),document.head.append(o)}else fetch(e,{priority:"low"})}function ke(e,t){if(!navigator.onLine||!t&&z())return!1;try{const n=new URL(e,location.href);return location.origin===n.origin&&(location.pathname!==n.pathname||location.search!==n.search)&&!K.has(e)}catch{}return!1}function v(e,t){if(e?.tagName!=="A")return!1;const n=e.dataset.astroPrefetch;return n==="false"?!1:t==="tap"&&(n!=null||k)&&z()?!0:n==null&&k||n===""?t===G:n===t}function z(){if("connection"in navigator){const e=navigator.connection;return e.saveData||/2g/.test(e.effectiveType)}return!1}function N(e){e();let t=!1;document.addEventListener("astro:page-load",()=>{if(!t){t=!0;return}e()})}function De(){const e=document.querySelector('[name="astro-view-transitions-fallback"]');return e?e.getAttribute("content"):"animate"}function _(e){return e.dataset.astroReload!==void 0}(x||De()!=="none")&&(document.addEventListener("click",e=>{let t=e.target;if(e.composed&&(t=e.composedPath()[0]),t instanceof Element&&(t=t.closest("a, area")),!(t instanceof HTMLAnchorElement)&&!(t instanceof SVGAElement)&&!(t instanceof HTMLAreaElement))return;const n=t instanceof HTMLElement?t.target:t.target.baseVal,o=t instanceof HTMLElement?t.href:t.href.baseVal,r=new URL(o,location.href).origin;_(t)||t.hasAttribute("download")||!t.href||n&&n!=="_self"||r!==location.origin||e.button!==0||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||e.defaultPrevented||(e.preventDefault(),C(o,{history:t.dataset.astroHistory==="replace"?"replace":"auto",sourceElement:t}))}),document.addEventListener("submit",e=>{let t=e.target;if(t.tagName!=="FORM"||e.defaultPrevented||_(t))return;const n=t,o=e.submitter,r=new FormData(n,o),s=typeof n.action=="string"?n.action:n.getAttribute("action"),u=typeof n.method=="string"?n.method:n.getAttribute("method");let a=o?.getAttribute("formaction")??s??location.pathname;const l=o?.getAttribute("formmethod")??u??"get";if(l==="dialog"||location.origin!==new URL(a,location.href).origin)return;const f={sourceElement:o??n};if(l==="get"){const c=new URLSearchParams(r),i=new URL(a);i.search=c.toString(),a=i.toString()}else f.formData=r;e.preventDefault(),C(a,f)}),Ee({prefetchAll:!0}));
@@ -0,0 +1 @@
1
+ import{b as be,e as ee,_ as C,d as f,f as te,P as Se,o as M,p as J,B as Q,u as xe,g as Ee,j as E}from"./PageContext.CGSBAxAd.js";import{r as t}from"./index.IDjx8w0N.js";import{u as ye,i as _e}from"./navStore.br_igkhP.js";/* empty css */import{A as Ie,a as V,d as Le,P as Ne,m as we}from"./divider.DrQDtXS2.js";const ke=(o,e,n)=>{let a;if(be){const{ResizeObserver:s}=window;if(o&&s){const i=new s(r=>{window.requestAnimationFrame(()=>{Array.isArray(r)&&r.length>0})});i.observe(o),a=()=>i.unobserve(o)}else window.addEventListener("resize",e),a=()=>window.removeEventListener("resize",e)}return()=>{a&&a()}},c={button:"pf-v6-c-button",dirRtl:"pf-v6-m-dir-rtl",menu:"pf-v6-c-menu",menuList:"pf-v6-c-menu__list",menuListItem:"pf-v6-c-menu__list-item",modifiers:{overflowHidden:"pf-m-overflow-hidden",inset:"pf-m-inset",fill:"pf-m-fill",drilldown:"pf-m-drilldown",expanded:"pf-m-expanded",hover:"pf-m-hover",current:"pf-m-current",flyout:"pf-m-flyout",horizontal:"pf-m-horizontal",subnav:"pf-m-subnav",scrollable:"pf-m-scrollable"},nav:"pf-v6-c-nav",navItem:"pf-v6-c-nav__item",navLink:"pf-v6-c-nav__link",navLinkIcon:"pf-v6-c-nav__link-icon",navList:"pf-v6-c-nav__list",navNav:"pf-v6-c-nav__nav",navScrollButton:"pf-v6-c-nav__scroll-button",navSection:"pf-v6-c-nav__section",navSectionTitle:"pf-v6-c-nav__section-title",navSubnav:"pf-v6-c-nav__subnav",navToggle:"pf-v6-c-nav__toggle",navToggleIcon:"pf-v6-c-nav__toggle-icon"},Oe={},k=t.createContext(Oe);class O extends t.Component{constructor(){super(...arguments),this.state={isScrollable:!1,ouiaStateId:ee(O.displayName,this.props.variant),flyoutRef:null},this.navRef=t.createRef()}onSelect(e,n,a,s,i,r){i&&e.preventDefault(),this.props.onSelect(e,{groupId:n,itemId:a,to:s}),r&&r(e,a,n,s)}onToggle(e,n,a){this.props.onToggle(e,{groupId:n,isExpanded:a})}render(){const e=this.props,{"aria-label":n,children:a,className:s,onSelect:i,onToggle:r,ouiaId:l,ouiaSafe:d,variant:u}=e,_=C(e,["aria-label","children","className","onSelect","onToggle","ouiaId","ouiaSafe","variant"]),S=["horizontal","horizontal-subnav"].includes(u);return t.createElement(k.Provider,{value:{onSelect:(g,I,v,P,N,T)=>this.onSelect(g,I,v,P,N,T),onToggle:(g,I,v)=>this.onToggle(g,I,v),updateIsScrollable:g=>this.setState({isScrollable:g}),isHorizontal:["horizontal","horizontal-subnav"].includes(u),flyoutRef:this.state.flyoutRef,setFlyoutRef:g=>this.setState({flyoutRef:g}),navRef:this.navRef}},t.createElement("nav",Object.assign({className:f(c.nav,S&&c.modifiers.horizontal,u==="horizontal-subnav"&&c.modifiers.subnav,this.state.isScrollable&&c.modifiers.scrollable,s),"aria-label":n||(u==="horizontal-subnav"?"Local":"Global"),ref:this.navRef},te(O.displayName,l!==void 0?l:this.state.ouiaStateId,d),_),a))}}O.displayName="Nav";O.defaultProps={onSelect:()=>{},onToggle:()=>{},ouiaSafe:!0};const y={dirRtl:"pf-v6-m-dir-rtl",masthead:"pf-v6-c-masthead",modifiers:{expanded:"pf-m-expanded",collapsed:"pf-m-collapsed",pageInsets:"pf-m-page-insets",contextSelector:"pf-m-context-selector",insetNone:"pf-m-inset-none",fill:"pf-m-fill",noFill:"pf-m-no-fill",limitWidth:"pf-m-limit-width",alignCenter:"pf-m-align-center",overflowScroll:"pf-m-overflow-scroll",shadowBottom:"pf-m-shadow-bottom",shadowTop:"pf-m-shadow-top",stickyTop:"pf-m-sticky-top",stickyBottom:"pf-m-sticky-bottom",stickyTopOnSmHeight:"pf-m-sticky-top-on-sm-height",stickyBottomOnSmHeight:"pf-m-sticky-bottom-on-sm-height",stickyTopOnMdHeight:"pf-m-sticky-top-on-md-height",stickyBottomOnMdHeight:"pf-m-sticky-bottom-on-md-height",stickyTopOnLgHeight:"pf-m-sticky-top-on-lg-height",stickyBottomOnLgHeight:"pf-m-sticky-bottom-on-lg-height",stickyTopOnXlHeight:"pf-m-sticky-top-on-xl-height",stickyBottomOnXlHeight:"pf-m-sticky-bottom-on-xl-height",stickyTopOn_2xlHeight:"pf-m-sticky-top-on-2xl-height",stickyBottomOn_2xlHeight:"pf-m-sticky-bottom-on-2xl-height",secondary:"pf-m-secondary",padding:"pf-m-padding",noPadding:"pf-m-no-padding",paddingOnSm:"pf-m-padding-on-sm",noPaddingOnSm:"pf-m-no-padding-on-sm",paddingOnMd:"pf-m-padding-on-md",noPaddingOnMd:"pf-m-no-padding-on-md",paddingOnLg:"pf-m-padding-on-lg",noPaddingOnLg:"pf-m-no-padding-on-lg",paddingOnXl:"pf-m-padding-on-xl",noPaddingOnXl:"pf-m-no-padding-on-xl",paddingOn_2xl:"pf-m-padding-on-2xl",noPaddingOn_2xl:"pf-m-no-padding-on-2xl"},page:"pf-v6-c-page",pageDrawer:"pf-v6-c-page__drawer",pageMain:"pf-v6-c-page__main",pageMainBody:"pf-v6-c-page__main-body",pageMainBreadcrumb:"pf-v6-c-page__main-breadcrumb",pageMainContainer:"pf-v6-c-page__main-container",pageMainDrawer:"pf-v6-c-page__main-drawer",pageMainGroup:"pf-v6-c-page__main-group",pageMainSection:"pf-v6-c-page__main-section",pageMainSubnav:"pf-v6-c-page__main-subnav",pageMainTabs:"pf-v6-c-page__main-tabs",pageMainWizard:"pf-v6-c-page__main-wizard",pageSidebar:"pf-v6-c-page__sidebar",pageSidebarBody:"pf-v6-c-page__sidebar-body",pageSidebarHeader:"pf-v6-c-page__sidebar-header",pageSidebarTitle:"pf-v6-c-page__sidebar-title"},Ae={isSidebarOpen:!0},j=t.createContext(Ae),ne=o=>{var{className:e="",children:n,isSidebarOpen:a=!0,id:s="page-sidebar"}=o,i=C(o,["className","children","isSidebarOpen","id"]);return t.createElement(Se,null,({isManagedSidebar:r,isSidebarOpen:l})=>{const d=r?l:a;return t.createElement("div",Object.assign({id:s,className:f(y.pageSidebar,d&&y.modifiers.expanded,!d&&y.modifiers.collapsed,e),"aria-hidden":!d},i),t.createElement(j.Provider,{value:{isSidebarOpen:d}},n))})};ne.displayName="PageSidebar";class z extends t.Component{constructor(){super(...arguments),this.direction="ltr",this.state={scrollViewAtStart:!1,scrollViewAtEnd:!1},this.navList=t.createRef(),this.observer=()=>{},this.handleScrollButtons=()=>{const e=this.navList.current;if(e){const n=M(e,e.firstChild),a=M(e,e.lastChild);this.setState({scrollViewAtStart:n,scrollViewAtEnd:a}),this.context.updateIsScrollable(!n||!a)}},this.scrollBack=()=>{const e=this.navList.current;if(e){const n=Array.from(e.children);let a,s;for(let i=0;i<n.length&&!a;i++)M(e,n[i])&&(a=n[i],s=n[i-1]);s&&(this.direction==="ltr"?e.scrollLeft-=s.scrollWidth:e.scrollLeft+=s.scrollWidth),this.handleScrollButtons()}},this.scrollForward=()=>{const e=this.navList.current;if(e){const n=Array.from(e.children);let a,s;for(let i=n.length-1;i>=0&&!a;i--)M(e,n[i])&&(a=n[i],s=n[i+1]);s&&(this.direction==="ltr"?e.scrollLeft+=s.scrollWidth:e.scrollLeft-=s.scrollWidth),this.handleScrollButtons()}}}componentDidMount(){this.observer=ke(this.navList.current,this.handleScrollButtons),this.direction=J(this.navList.current),this.handleScrollButtons()}componentWillUnmount(){this.observer()}componentDidUpdate(){this.direction=J(this.navList.current)}render(){const e=this.props,{children:n,className:a,backScrollAriaLabel:s,forwardScrollAriaLabel:i}=e,r=C(e,["children","className","backScrollAriaLabel","forwardScrollAriaLabel"]),{scrollViewAtStart:l,scrollViewAtEnd:d}=this.state;return t.createElement(k.Consumer,null,({isHorizontal:u})=>t.createElement(j.Consumer,null,({isSidebarOpen:_})=>t.createElement(t.Fragment,null,u&&(!l||!d)&&t.createElement("div",{className:f(c.navScrollButton)},t.createElement(Q,{variant:"plain","aria-label":s,onClick:this.scrollBack,isDisabled:l,tabIndex:_?null:-1,icon:t.createElement(Ie,null)})),t.createElement("ul",Object.assign({ref:this.navList,className:f(c.navList,a),onScroll:this.handleScrollButtons,role:"list"},r),n),u&&(!l||!d)&&t.createElement("div",{className:f(c.navScrollButton)},t.createElement(Q,{variant:"plain","aria-label":i,onClick:this.scrollForward,isDisabled:d,tabIndex:_?null:-1,icon:t.createElement(V,null)})))))}}z.displayName="NavList";z.contextType=k;z.defaultProps={backScrollAriaLabel:"Scroll back",forwardScrollAriaLabel:"Scroll foward"};const $=o=>{var{children:e,styleChildren:n=!0,className:a,to:s,isActive:i=!1,groupId:r=null,itemId:l=null,preventDefault:d=!1,onClick:u,component:_="a",flyout:S,onShowFlyout:g,ouiaId:I,ouiaSafe:v,zIndex:P=9999,icon:N}=o,T=C(o,["children","styleChildren","className","to","isActive","groupId","itemId","preventDefault","onClick","component","flyout","onShowFlyout","ouiaId","ouiaSafe","zIndex","icon"]);const{flyoutRef:R,setFlyoutRef:B,navRef:U}=t.useContext(k),{isSidebarOpen:ie}=t.useContext(j),[H,oe]=t.useState(null),[le,W]=t.useState(!1),L=t.useRef(),b=L===R,w=t.useRef(),h=S!==void 0,re=h?"button":_;s&&h&&console.error('NavItem cannot have both "to" and "flyout" props.');const D=(p,m)=>{(!b||m)&&p?B(L):(b||m)&&!p&&B(null),g&&p&&g()},ce=p=>{const m=p.target.closest(`.${c.navItem}.pf-m-flyout`);h&&!b?D(!0):R!==null&&!m&&B(null)},X=p=>{p.target.closest(".pf-m-flyout")||(h?D(!1,!0):R!==null&&B(null))},de=p=>{var m,x;const F=p.key,K=p.target;(F===" "||F==="Enter"||F==="ArrowRight")&&h&&(!((m=L?.current)===null||m===void 0)&&m.contains(K))&&(p.stopPropagation(),p.preventDefault(),b||(D(!0),oe(K))),(F==="Escape"||F==="ArrowLeft")&&((x=w?.current)===null||x===void 0?void 0:x.querySelectorAll(`.${we.menu}`).length)===1&&b&&(p.stopPropagation(),p.preventDefault(),D(!1))};t.useEffect(()=>(h&&window.addEventListener("click",X),()=>{h&&window.removeEventListener("click",X)}),[]),t.useEffect(()=>{H&&(b?Array.from(w.current.getElementsByTagName("UL")[0].children).filter(m=>!(m.classList.contains("pf-m-disabled")||m.classList.contains(Le.divider)))[0].firstChild.focus():H.focus())},[b,H]);const q=t.createElement("span",{className:f(c.navToggle)},t.createElement("span",{className:f(c.navToggleIcon)},t.createElement(V,{"aria-hidden":!0}))),pe={"aria-haspopup":"menu","aria-expanded":b},G=ie?null:-1,me=p=>{const m=d||!s;return t.createElement(re,Object.assign({href:s,onClick:x=>p.onSelect(x,r,l,s,m,u),className:f(c.navLink,i&&c.modifiers.current,le&&c.modifiers.hover,a),"aria-current":i?"page":null,tabIndex:G},h&&Object.assign({},pe),T),N&&t.createElement("span",{className:f(c.navLinkIcon)},N),t.createElement("span",{className:f(`${c.nav}__link-text`)},e),S&&q)},fe=(p,m)=>t.cloneElement(m,Object.assign(Object.assign({onClick:x=>p.onSelect(x,r,l,s,d,u),"aria-current":i?"page":null},n&&{className:f(c.navLink,i&&c.modifiers.current,m.props&&m.props.className)}),{tabIndex:m.props.tabIndex||G,children:h?t.createElement(t.Fragment,null,m.props.children,q):m.props.children})),ue=xe($.displayName,I,v),ge=()=>{W(!0)},he=()=>{W(!1)},ve=t.createElement(Ne,{triggerRef:L,popper:t.createElement("div",{ref:w,onMouseEnter:ge,onMouseLeave:he},S),popperRef:w,placement:"right-start",isVisible:b,onDocumentKeyDown:de,zIndex:P,appendTo:U?.current});return t.createElement(t.Fragment,null,t.createElement("li",Object.assign({onMouseOver:ce,className:f(c.navItem,h&&c.modifiers.flyout,a),ref:L},ue),t.createElement(k.Consumer,null,p=>t.isValidElement(e)?fe(p,e):me(p))),S&&ve)};$.displayName="NavItem";class A extends t.Component{constructor(){super(...arguments),this.id=this.props.id||Ee(),this.state={expandedState:this.props.isExpanded,ouiaStateId:ee(A.displayName)},this.onExpand=(e,n)=>{const{expandedState:a}=this.state;if(this.props.onExpand)this.props.onExpand(e,!a);else{this.setState(i=>({expandedState:!i.expandedState}));const{groupId:s}=this.props;n(e,s,!a)}}}componentDidMount(){this.setState({expandedState:this.props.isExpanded})}componentDidUpdate(e){this.props.isExpanded!==e.isExpanded&&this.setState({expandedState:this.props.isExpanded})}render(){const e=this.props,{title:n,srText:a,children:s,className:i,isActive:r,ouiaId:l,groupId:d,id:u,isExpanded:_,buttonProps:S,onExpand:g}=e,I=C(e,["title","srText","children","className","isActive","ouiaId","groupId","id","isExpanded","buttonProps","onExpand"]),{expandedState:v,ouiaStateId:P}=this.state;return t.createElement(k.Consumer,null,N=>t.createElement("li",Object.assign({className:f(c.navItem,v&&c.modifiers.expanded,r&&c.modifiers.current,i)},te(A.displayName,l!==void 0?l:P),I),t.createElement(j.Consumer,null,({isSidebarOpen:T})=>t.createElement("button",Object.assign({className:f(c.navLink),id:a?null:this.id,onClick:R=>this.onExpand(R,N.onToggle),"aria-expanded":v,tabIndex:T?null:-1},S),typeof n!="string"?t.createElement("span",{className:f(`${c.nav}__link-text`)},n):n,t.createElement("span",{className:f(c.navToggle)},t.createElement("span",{className:f(c.navToggleIcon)},t.createElement(V,{"aria-hidden":"true"}))))),t.createElement("section",{className:f(c.navSubnav),"aria-labelledby":this.id,hidden:v?null:!0},a&&t.createElement("h2",{className:"pf-v6-screen-reader",id:this.id},a),t.createElement("ul",{className:f(c.navList),role:"list"},s))))}}A.displayName="NavExpandable";A.defaultProps={srText:"",isExpanded:!1,children:"",className:"",groupId:null,isActive:!1,id:""};const ae=o=>{var{children:e,className:n,usePageInsets:a,isFilled:s,isContextSelector:i}=o,r=C(o,["children","className","usePageInsets","isFilled","isContextSelector"]);return t.createElement("div",Object.assign({className:f(y.pageSidebarBody,a&&y.modifiers.pageInsets,s===!1&&y.modifiers.noFill,s===!0&&y.modifiers.fill,i===!0&&y.modifiers.contextSelector,n)},r),e)};ae.displayName="PageSidebarBody";const Ce=/([\p{Ll}\d])(\p{Lu})/gu,Pe=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,Te=/(\d)\p{Ll}|(\p{L})\d/u,Re=/[^\p{L}\d]+/giu,Y="$1\0$2",Z="";function se(o){let e=o.trim();e=e.replace(Ce,Y).replace(Pe,Y),e=e.replace(Re,"\0");let n=0,a=e.length;for(;e.charAt(n)==="\0";)n++;if(n===a)return[];for(;e.charAt(a-1)==="\0";)a--;return e.slice(n,a).split(/\0/g)}function Fe(o){const e=se(o);for(let n=0;n<e.length;n++){const a=e[n],s=Te.exec(a);if(s){const i=s.index+(s[1]??s[2]).length;e.splice(n,1,a.slice(0,i),a.slice(i))}}return e}function Be(o,e){const[n,a,s]=ze(o,e),i=De(e?.locale),r=Me(e?.locale),l=je(i,r);return n+a.map((d,u)=>u===0?l(d):i(d)).join(" ")+s}function De(o){return e=>e.toLocaleLowerCase(o)}function Me(o){return e=>e.toLocaleUpperCase(o)}function je(o,e){return n=>`${e(n[0])}${o(n.slice(1))}`}function ze(o,e={}){const n=e.split??(e.separateNumbers?Fe:se),a=e.prefixCharacters??Z,s=e.suffixCharacters??Z;let i=0,r=o.length;for(;i<o.length;){const l=o.charAt(i);if(!a.includes(l))break;i++}for(;r>i;){const l=r-1,d=o.charAt(l);if(!s.includes(d))break;r=l}return[o.slice(0,i),n(o.slice(i,r)),o.slice(r)]}const Ue=({entry:o,isActive:e})=>{const{id:n}=o,{id:a,section:s}=o.data;return E.jsx($,{itemId:n,to:`/${s}/${n}`,isActive:e,id:`nav-entry-${n}`,children:a})},He=({entries:o,sectionId:e,activeItem:n})=>{const a=window.location.pathname.includes(e),s=o.sort((l,d)=>l.data.id.localeCompare(d.data.id)),i=s.some(l=>l.id===n),r=s.map(l=>E.jsx(Ue,{entry:l,isActive:n===l.id},l.id));return E.jsx(A,{title:Be(e),isActive:i,isExpanded:a,id:`nav-section-${e}`,children:r})},Ke=({navEntries:o})=>{const e=ye(_e),[n,a]=t.useState("");t.useEffect(()=>{a(window.location.pathname.split("/").reverse()[0])},[]);const s=(l,d)=>{a(d.itemId.toString())},i=new Set(o.map(l=>l.data.section)),r=Array.from(i).map(l=>{const d=o.filter(u=>u.data.section===l);return E.jsx(He,{entries:d,sectionId:l,activeItem:n},l)});return E.jsx(ne,{isSidebarOpen:e,children:E.jsx(ae,{children:E.jsx(O,{onSelect:s,children:E.jsx(z,{children:r})})})})};export{Ke as Navigation};
@@ -0,0 +1,9 @@
1
+ import{a as fe,r as c,b as me}from"./index.IDjx8w0N.js";/* empty css */var B={exports:{}},h={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var z;function be(){if(z)return h;z=1;var e=fe(),n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,t={key:!0,ref:!0,__self:!0,__source:!0};function i(s,o,d){var u,f={},_=null,m=null;d!==void 0&&(_=""+d),o.key!==void 0&&(_=""+o.key),o.ref!==void 0&&(m=o.ref);for(u in o)a.call(o,u)&&!t.hasOwnProperty(u)&&(f[u]=o[u]);if(s&&s.defaultProps)for(u in o=s.defaultProps,o)f[u]===void 0&&(f[u]=o[u]);return{$$typeof:n,type:s,key:_,ref:m,props:f,_owner:l.current}}return h.Fragment=r,h.jsx=i,h.jsxs=i,h}var K;function ge(){return K||(K=1,B.exports=be()),B.exports}var qe=ge();function R(e,n){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)n.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(e,a[l])&&(r[a[l]]=e[a[l]]);return r}function v(...e){const n=[],r={}.hasOwnProperty;return e.filter(Boolean).forEach(a=>{const l=typeof a;if(l==="string"||l==="number")n.push(a);else if(Array.isArray(a)&&a.length){const t=v(...a);t&&n.push(t)}else if(l==="object")for(const t in a)r.call(a,t)&&a[t]&&n.push(t)}),n.join(" ")}const ve={name:"--pf-t--global--breakpoint--sm",value:"36rem",var:"var(--pf-t--global--breakpoint--sm)"},_e={name:"--pf-t--global--breakpoint--md",value:"48rem",var:"var(--pf-t--global--breakpoint--md)"},xe={name:"--pf-t--global--breakpoint--lg",value:"62rem",var:"var(--pf-t--global--breakpoint--lg)"},he={name:"--pf-t--global--breakpoint--xl",value:"75rem",var:"var(--pf-t--global--breakpoint--xl)"},ye={name:"--pf-t--global--breakpoint--2xl",value:"90.625rem",var:"var(--pf-t--global--breakpoint--2xl)"},ke={name:"--pf-t--global--breakpoint--height--sm",value:"0rem",var:"var(--pf-t--global--breakpoint--height--sm)"},Ie={name:"--pf-t--global--breakpoint--height--md",value:"40rem",var:"var(--pf-t--global--breakpoint--height--md)"},we={name:"--pf-t--global--breakpoint--height--lg",value:"48rem",var:"var(--pf-t--global--breakpoint--height--lg)"},Ee={name:"--pf-t--global--breakpoint--height--xl",value:"60rem",var:"var(--pf-t--global--breakpoint--height--xl)"},Oe={name:"--pf-t--global--breakpoint--height--2xl",value:"80rem",var:"var(--pf-t--global--breakpoint--height--2xl)"};let Re=0;function Fe({name:e,xOffset:n=0,yOffset:r=0,width:a,height:l,svgPath:t}){var i;return i=class extends c.Component{constructor(){super(...arguments),this.id=`icon-title-${Re++}`}render(){const o=this.props,{title:d,className:u}=o,f=R(o,["title","className"]),_=u?`pf-v6-svg ${u}`:"pf-v6-svg",m=!!d,$=[n,r,a,l].join(" ");return c.createElement("svg",Object.assign({className:_,viewBox:$,fill:"currentColor","aria-labelledby":m?this.id:null,"aria-hidden":m?null:!0,role:"img",width:"1em",height:"1em"},f),m&&c.createElement("title",{id:this.id},d),c.createElement("path",{d:t}))}},i.displayName=e,i}var G;(function(e){e.success="success",e.error="error",e.warning="warning",e.default="default"})(G||(G={}));const Je={Tab:"Tab",Space:" ",Escape:"Escape",Enter:"Enter",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight"},y={sm:parseInt(ve.value)*16,md:parseInt(_e.value)*16,lg:parseInt(xe.value)*16,xl:parseInt(he.value)*16,"2xl":parseInt(ye.value)*16},k={sm:parseInt(ke.value)*16,md:parseInt(Ie.value)*16,lg:parseInt(we.value)*16,xl:parseInt(Ee.value)*16,"2xl":parseInt(Oe.value)*16};var ze=me();function Ke(e="pf"){const n=new Date().getTime()+Math.random().toString(36).slice(2);return`${e}-${n}`}function Ge(e,n,r,a=!1){if(!e||!n)return!1;const l=e.getBoundingClientRect(),t=n.getBoundingClientRect(),i=Math.ceil(l.left),s=Math.floor(l.right),o=Math.ceil(t.left),d=Math.floor(t.right),u=o>=i&&d<=s,f=!a&&l.width<t.width&&(o<i&&d>i||d>s&&o<s);return u||f}const We=(e,n,r="",a,l)=>{if(!e)return"";if(a&&!l){if(a in e)return n.modifiers[D(`${r}${e[a]}`)];const t=["2xl","xl","lg","md","sm","default"],i=t.indexOf(a);for(let s=i;s<t.length;s++)if(t[s]in e)return n.modifiers[D(`${r}${e[t[s]]}`)];return""}return Object.entries(e||{}).map(([t,i])=>`${r}${i}${t!=="default"?`-on-${t}`:""}`).map(D).map(t=>t.replace(/-?(\dxl)/gi,(i,s)=>`_${s}`)).map(t=>n.modifiers[t]).filter(Boolean).join(" ")},$e=e=>e===null?null:e>=k["2xl"]?"2xl":e>=k.xl?"xl":e>=k.lg?"lg":e>=k.md?"md":e>=k.sm?"sm":"default",Pe=e=>e===null?null:e>=y["2xl"]?"2xl":e>=y.xl?"xl":e>=y.lg?"lg":e>=y.md?"md":e>=y.sm?"sm":"default",Ne=e=>e.toUpperCase().replace("-","").replace("_",""),D=e=>e.replace(/([-_][a-z])/gi,Ne),He=!!(typeof window<"u"&&window.document&&window.document.createElement),Ye=e=>{e.forEach(n=>{n.current&&clearTimeout(n.current)})},Qe=(e,n="ltr")=>{if(!e)return n;const r=getComputedStyle(e).getPropertyValue("direction");return["ltr","rtl"].includes(r)?r:n};let Ae=0;const W="OUIA-Generated-",j={};function Ve(e,n,r=!0){return{"data-ouia-component-type":`PF6/${e}`,"data-ouia-safe":r,"data-ouia-component-id":n}}const Be=(e,n,r=!0,a)=>({"data-ouia-component-type":`PF6/${e}`,"data-ouia-safe":r,"data-ouia-component-id":De(e,n,a)}),De=(e,n,r)=>{const a=c.useMemo(()=>je(e,r),[e,r]);return n??a};function je(e,n){try{let r;return typeof window<"u"?r=`${window.location.href}-${e}-${n||""}`:r=`${e}-${n||""}`,j[r]||(j[r]=0),`${W}${e}-${n?`${n}-`:""}${++j[r]}`}catch{return`${W}${e}-${n?`${n}-`:""}${++Ae}`}}const p={badge:"pf-v6-c-badge",button:"pf-v6-c-button",buttonCount:"pf-v6-c-button__count",buttonIcon:"pf-v6-c-button__icon",buttonProgress:"pf-v6-c-button__progress",modifiers:{primary:"pf-m-primary",unread:"pf-m-unread",secondary:"pf-m-secondary",danger:"pf-m-danger",tertiary:"pf-m-tertiary",link:"pf-m-link",inline:"pf-m-inline",displayLg:"pf-m-display-lg",warning:"pf-m-warning",control:"pf-m-control",stateful:"pf-m-stateful",read:"pf-m-read",attention:"pf-m-attention",plain:"pf-m-plain",noPadding:"pf-m-no-padding",block:"pf-m-block",small:"pf-m-small",clicked:"pf-m-clicked",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",start:"pf-m-start",end:"pf-m-end"},spinner:"pf-v6-c-spinner"},E={modifiers:{inline:"pf-m-inline",sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},spinner:"pf-v6-c-spinner",spinnerPath:"pf-v6-c-spinner__path"},Ce={name:"--pf-v6-c-spinner--diameter",value:"3.5rem",var:"var(--pf-v6-c-spinner--diameter)"};var C;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(C||(C={}));const H=e=>{var{className:n="",size:r="xl","aria-valuetext":a="Loading...",diameter:l,isInline:t=!1,"aria-label":i,"aria-labelledBy":s}=e,o=R(e,["className","size","aria-valuetext","diameter","isInline","aria-label","aria-labelledBy"]);return c.createElement("svg",Object.assign({className:v(E.spinner,t?E.modifiers.inline:E.modifiers[r],n),role:"progressbar","aria-valuetext":a,viewBox:"0 0 100 100"},l&&{style:{[Ce.name]:l}},i&&{"aria-label":i},s&&{"aria-labelledBy":s},!i&&!s&&{"aria-label":"Contents"},o),c.createElement("circle",{className:E.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}))};H.displayName="Spinner";const O={badge:"pf-v6-c-badge",badgeToggleIcon:"pf-v6-c-badge__toggle-icon",modifiers:{read:"pf-m-read",unread:"pf-m-unread",disabled:"pf-m-disabled"}},Y=e=>{var{isRead:n=!1,isDisabled:r=!1,className:a="",children:l="",screenReaderText:t}=e,i=R(e,["isRead","isDisabled","className","children","screenReaderText"]);return c.createElement("span",Object.assign({},i,{className:v(O.badge,n?O.modifiers.read:O.modifiers.unread,r&&O.modifiers.disabled,a)}),l,t&&c.createElement("span",{className:"pf-v6-screen-reader"},t))};Y.displayName="Badge";var b;(function(e){e.primary="primary",e.secondary="secondary",e.tertiary="tertiary",e.danger="danger",e.warning="warning",e.link="link",e.plain="plain",e.control="control",e.stateful="stateful"})(b||(b={}));var L;(function(e){e.button="button",e.submit="submit",e.reset="reset"})(L||(L={}));var I;(function(e){e.default="default",e.sm="sm",e.lg="lg"})(I||(I={}));var S;(function(e){e.read="read",e.unread="unread",e.attention="attention"})(S||(S={}));const Le=e=>{var{children:n=null,className:r="",component:a="button",isClicked:l=!1,isBlock:t=!1,isDisabled:i=!1,isAriaDisabled:s=!1,isLoading:o=null,isDanger:d=!1,spinnerAriaValueText:u,spinnerAriaLabelledBy:f,spinnerAriaLabel:_,size:m=I.default,inoperableEvents:$=["onClick","onKeyPress"],isInline:P=!1,type:X=L.button,variant:g=b.primary,state:Z=S.unread,hasNoPadding:ee=!1,iconPosition:T="start","aria-label":ne=null,icon:U=null,role:ae,ouiaId:re,ouiaSafe:te=!0,tabIndex:q=null,innerRef:le,countOptions:w}=e,ie=R(e,["children","className","component","isClicked","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","spinnerAriaValueText","spinnerAriaLabelledBy","spinnerAriaLabel","size","inoperableEvents","isInline","type","variant","state","hasNoPadding","iconPosition","aria-label","icon","role","ouiaId","ouiaSafe","tabIndex","innerRef","countOptions"]);const se=Be(Q.displayName,re,te,g),N=a,x=N==="button",A=P&&N==="span",M=T==="end"||T==="right",oe=$.reduce((pe,ue)=>Object.assign(Object.assign({},pe),{[ue]:de=>{de.preventDefault()}}),{}),ce=()=>{if(i)return x?null:-1;if(s)return null;if(A)return 0},F=U&&c.createElement("span",{className:v(p.buttonIcon,n&&p.modifiers[M?"end":"start"])},U),J=n&&c.createElement("span",{className:v("pf-v6-c-button__text")},n);return c.createElement(N,Object.assign({},ie,s?oe:null,{"aria-disabled":s||!x&&i,"aria-label":ne,className:v(p.button,p.modifiers[g],t&&p.modifiers.block,i&&!x&&p.modifiers.disabled,s&&p.modifiers.ariaDisabled,l&&p.modifiers.clicked,P&&g===b.link&&p.modifiers.inline,d&&(g===b.secondary||g===b.link)&&p.modifiers.danger,o!==null&&g!==b.plain&&p.modifiers.progress,o&&p.modifiers.inProgress,ee&&g===b.plain&&p.modifiers.noPadding,g===b.stateful&&p.modifiers[Z],m===I.sm&&p.modifiers.small,m===I.lg&&p.modifiers.displayLg,r),disabled:x?i:null,tabIndex:q!==null?q:ce(),type:x||A?X:null,role:A?"button":ae,ref:le},se),o&&c.createElement("span",{className:v(p.buttonProgress)},c.createElement(H,{size:C.md,isInline:P,"aria-valuetext":u,"aria-label":_,"aria-labelledby":f})),M?c.createElement(c.Fragment,null,J,F):c.createElement(c.Fragment,null,F,J),w&&c.createElement("span",{className:v(p.buttonCount,w.className)},c.createElement(Y,{isRead:w.isRead,isDisabled:i},w.count)))},Q=c.forwardRef((e,n)=>c.createElement(Le,Object.assign({innerRef:n},e)));Q.displayName="Button";const Se={isManagedSidebar:!1,isSidebarOpen:!1,onSidebarToggle:()=>null,width:null,height:null,getBreakpoint:Pe,getVerticalBreakpoint:$e},V=c.createContext(Se);V.Provider;const Xe=V.Consumer;export{Q as B,Je as K,Xe as P,R as _,b as a,He as b,Fe as c,v as d,je as e,Ve as f,Ke as g,We as h,xe as i,qe as j,he as k,ye as l,V as m,D as n,Ge as o,Qe as p,Ye as q,ze as r,_e as t,Be as u};
@@ -0,0 +1 @@
1
+ import{_ as u,P as b,B as v,a as x,c as S,j as r}from"./PageContext.CGSBAxAd.js";import{u as h,i as c}from"./navStore.br_igkhP.js";import{r as i}from"./index.IDjx8w0N.js";/* empty css */const l=a=>{var{children:n,isSidebarOpen:t=!0,onSidebarToggle:s=()=>{},id:e="nav-toggle"}=a,d=u(a,["children","isSidebarOpen","onSidebarToggle","id"]);return i.createElement(b,null,({isManagedSidebar:o,onSidebarToggle:g,isSidebarOpen:p})=>{const f=o?g:s,m=o?p:t;return i.createElement(v,Object.assign({id:e,onClick:f,"aria-label":"Side navigation toggle","aria-expanded":m?"true":"false",variant:x.plain},d),n)})};l.displayName="PageToggleButton";const B={name:"BarsIcon",height:512,width:448,svgPath:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z",yOffset:0,xOffset:0},T=S(B),C=()=>{const a=h(c);function n(){const s=typeof window<"u",e=document.getElementById("page-sidebar")?.parentElement;!s||!e||(e.classList.contains("pf-v6-c-page__sidebar")?(e.classList.toggle("pf-m-expanded"),e.classList.toggle("pf-m-collapsed")):e.classList.add("pf-v6-c-page__sidebar","pf-m-expanded"))}function t(){c.set(!a)}return i.useEffect(()=>{n()},[a]),r.jsx(l,{variant:"plain","aria-label":"Global navigation",onSidebarToggle:t,children:r.jsx(T,{})})};export{C as PageToggle};