@patternfly/patternfly-doc-core 1.10.0 → 1.11.1

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 (117) hide show
  1. package/astro.config.mjs +3 -4
  2. package/cli/cli.ts +60 -19
  3. package/dist/.assetsignore +2 -0
  4. package/dist/{client/_astro/Button.BQCwQ5pE.js → _astro/Button.BVfR1y85.js} +1 -1
  5. package/dist/_astro/CSSTable.E6iSHjec.js +1 -0
  6. package/dist/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js +1 -0
  7. package/dist/{client/_astro/Content.B4M2qzJY.js → _astro/Content.CYLxURqU.js} +1 -1
  8. package/dist/{client/_astro/DropdownList.cxp03sS4.js → _astro/DropdownList.-xE7qrND.js} +1 -1
  9. package/dist/{client/_astro/LiveExample.DjPiO80i.js → _astro/LiveExample.CVVccYEB.js} +3 -3
  10. package/dist/{client/_astro/Navigation.kbLxctIo.js → _astro/Navigation.CONcolRR.js} +1 -1
  11. package/dist/{client/_astro/PageContext.miTsIqVo.js → _astro/PageContext.BUbWpNW2.js} +1 -1
  12. package/dist/{client/_astro/PageSidebarBody.B0AJe8Hg.js → _astro/PageSidebarBody.CDWZuFeK.js} +1 -1
  13. package/dist/{client/_astro/PageToggle.CMZ3C1v1.js → _astro/PageToggle.Dnbvoa7R.js} +1 -1
  14. package/dist/{client/_astro/SearchInput.DhHo7yPx.js → _astro/SearchInput.BNt7BTX_.js} +1 -1
  15. package/dist/{client/_astro/SectionGallery.3ABpQwE4.js → _astro/SectionGallery.Dwb-QA5z.js} +1 -1
  16. package/dist/{client/_astro/Toolbar.CroDQcyv.js → _astro/Toolbar.DNd68Ck-.js} +1 -1
  17. package/dist/{client/_astro/ToolbarContent.UH3ZRlHp.js → _astro/ToolbarContent.C58gpKLu.js} +1 -1
  18. package/dist/{client/_astro/angle-left-icon.teo8GC0v.js → _astro/angle-left-icon.CfKwuSCS.js} +1 -1
  19. package/dist/{client/_astro/bars-icon.Dk6ua1rr.js → _astro/bars-icon.wdJgEs3A.js} +1 -1
  20. package/dist/_astro/client.DN8ES6L5.js +1 -0
  21. package/dist/{client/_astro/divider.tlrBPkzg.js → _astro/divider.BLVh3KnH.js} +1 -1
  22. package/dist/{client/_astro/github-icon.ByC5XEPt.js → _astro/github-icon.DzpohUp_.js} +1 -1
  23. package/dist/{client/_astro/index.DYVB4vTo.js → _astro/index.jm6QVFFy.js} +1 -1
  24. package/dist/{client/_astro/link-icon.BNHnRn73.js → _astro/patternfly_charts.Dp3KzAU6.js} +24 -24
  25. package/dist/_routes.json +20 -0
  26. package/dist/_worker.js/_@astrojs-ssr-adapter.mjs +2 -0
  27. package/dist/_worker.js/_astro-internal_middleware.mjs +21 -0
  28. package/dist/_worker.js/_noop-actions.mjs +4 -0
  29. package/dist/{server/chunks/AutoLinkHeader_C2GD0g-K.mjs → _worker.js/chunks/AutoLinkHeader_DLgn_YRm.mjs} +13 -14
  30. package/dist/{server/chunks/Button_BKhHR-ak.mjs → _worker.js/chunks/Button_CBcC0ViE.mjs} +83 -13
  31. package/dist/{server/chunks/CSSTable_B8tlH3gz.mjs → _worker.js/chunks/CSSTable_C1dV02qV.mjs} +3 -3
  32. package/dist/_worker.js/chunks/DocsTables_Br4g5x5_.mjs +20 -0
  33. package/dist/_worker.js/chunks/PropsTables_Dcd7znAq.mjs +6628 -0
  34. package/dist/_worker.js/chunks/_@astrojs-ssr-adapter_IMtcR503.mjs +1082 -0
  35. package/dist/_worker.js/chunks/angle-down-icon_VyCXUC7F.mjs +3686 -0
  36. package/dist/_worker.js/chunks/astro/server_YsSSp7Ny.mjs +7278 -0
  37. package/dist/_worker.js/chunks/astro-designed-error-pages_MEt0E9xn.mjs +928 -0
  38. package/dist/_worker.js/chunks/cloudflare-kv-binding_DMly_2Gl.mjs +107 -0
  39. package/dist/{server/chunks/_@astrojs-ssr-adapter_CbICuCdt.mjs → _worker.js/chunks/index_BE2AHcwI.mjs} +1295 -1817
  40. package/dist/_worker.js/chunks/index_CBCp_CJ0.mjs +57 -0
  41. package/dist/_worker.js/chunks/noop-middleware_CMUpAQ6F.mjs +10 -0
  42. package/dist/_worker.js/chunks/parse_EttCPxrw.mjs +271 -0
  43. package/dist/{server/chunks/path_Cvt6sEOY.mjs → _worker.js/chunks/path_C-ZOwaTP.mjs} +2 -1
  44. package/dist/{server/entry.mjs → _worker.js/index.js} +13 -19
  45. package/dist/_worker.js/manifest_0KWZohUX.mjs +100 -0
  46. package/dist/_worker.js/pages/_image.astro.mjs +24 -0
  47. package/dist/_worker.js/pages/_section_/_page_/_---tab_.astro.mjs +1 -0
  48. package/dist/_worker.js/pages/index.astro.mjs +1 -0
  49. package/dist/{server → _worker.js}/pages/props.astro.mjs +3 -2
  50. package/dist/_worker.js/renderers.mjs +484 -0
  51. package/dist/cli/cli.js +46 -12
  52. package/dist/{client/components/accordion/react → components/accordion}/index.html +14 -64
  53. package/dist/{client/components/accordion → components/accordion/react}/index.html +14 -64
  54. package/dist/components/all-components/index.html +47 -0
  55. package/dist/design-foundations/typography/index.html +198 -0
  56. package/dist/{client/design-foundations → design-foundations}/usage-and-behavior/index.html +4 -54
  57. package/dist/get-started/contribute/index.html +94 -0
  58. package/dist/index.html +43 -0
  59. package/package.json +12 -8
  60. package/public/.assetsignore +2 -0
  61. package/src/components/DocsTables.astro +28 -0
  62. package/src/pages/[section]/[...page].astro +7 -11
  63. package/src/pages/[section]/[page]/[...tab].astro +3 -11
  64. package/src/pages/props.ts +2 -2
  65. package/wrangler.jsonc +14 -0
  66. package/dist/client/_astro/CSSTable.DC79W1Ct.js +0 -1
  67. package/dist/client/_astro/ClientRouter.astro_astro_type_script_index_0_lang.Cainpjm5.js +0 -1
  68. package/dist/client/_astro/client.zs76E0tG.js +0 -1
  69. package/dist/client/components/all-components/index.html +0 -97
  70. package/dist/client/design-foundations/typography/index.html +0 -248
  71. package/dist/client/get-started/contribute/index.html +0 -144
  72. package/dist/client/index.html +0 -43
  73. package/dist/server/_@astrojs-ssr-adapter.mjs +0 -1
  74. package/dist/server/_noop-middleware.mjs +0 -3
  75. package/dist/server/chunks/PropsTables_PVzRHJNB.mjs +0 -1750
  76. package/dist/server/chunks/_astro_assets_DaYumpRZ.mjs +0 -1507
  77. package/dist/server/chunks/angle-down-icon_BO1Ed-9Z.mjs +0 -3288
  78. package/dist/server/chunks/astro/server_Cl9jPh4p.mjs +0 -2859
  79. package/dist/server/chunks/astro-designed-error-pages_BFveJFnQ.mjs +0 -282
  80. package/dist/server/chunks/consts_BmVDRGlB.mjs +0 -32
  81. package/dist/server/chunks/sharp_CbOL3WDk.mjs +0 -88
  82. package/dist/server/manifest_DsbMfV1U.mjs +0 -102
  83. package/dist/server/pages/_image.astro.mjs +0 -132
  84. package/dist/server/renderers.mjs +0 -308
  85. /package/dist/{client/PF-HorizontalLogo-Color.svg → PF-HorizontalLogo-Color.svg} +0 -0
  86. /package/dist/{client/PF-HorizontalLogo-Reverse.svg → PF-HorizontalLogo-Reverse.svg} +0 -0
  87. /package/dist/{client/_astro → _astro}/LiveExample.CxJsMvEq.css +0 -0
  88. /package/dist/{client/_astro → _astro}/RedHatDisplayVF-Italic.CRpusWc8.woff2 +0 -0
  89. /package/dist/{client/_astro → _astro}/RedHatDisplayVF.CYDHf1NI.woff2 +0 -0
  90. /package/dist/{client/_astro → _astro}/RedHatMonoVF-Italic.DGQo2ogW.woff2 +0 -0
  91. /package/dist/{client/_astro → _astro}/RedHatMonoVF.C4fMH6Vz.woff2 +0 -0
  92. /package/dist/{client/_astro → _astro}/RedHatTextVF-Italic.Dkj_WqbA.woff2 +0 -0
  93. /package/dist/{client/_astro → _astro}/RedHatTextVF.wYvZ7prR.woff2 +0 -0
  94. /package/dist/{client/_astro → _astro}/_page_.Chv_bGyU.css +0 -0
  95. /package/dist/{client/_astro → _astro}/_page_.CtheD08_.css +0 -0
  96. /package/dist/{client/_astro → _astro}/_page_.D1z73Byz.css +0 -0
  97. /package/dist/{client/_astro → _astro}/_page_.DxJDkZPc.css +0 -0
  98. /package/dist/{client/_astro → _astro}/fa-solid-900.DguXoeIz.woff2 +0 -0
  99. /package/dist/{client/_astro → _astro}/index.BQFV5hT1.js +0 -0
  100. /package/dist/{client/_astro → _astro}/index.CAChmxYj.js +0 -0
  101. /package/dist/{client/_astro → _astro}/index.eCxJ45ll.js +0 -0
  102. /package/dist/{client/_astro → _astro}/page.BTC3Kf3x.js +0 -0
  103. /package/dist/{client/_astro → _astro}/pf-v6-pficon.Dy6oiu9u.woff2 +0 -0
  104. /package/dist/{server/chunks/Accordion_BJka4Qvb.mjs → _worker.js/chunks/Accordion_CQUal4ef.mjs} +0 -0
  105. /package/dist/{server/chunks/Accordion_BQIphkaZ.mjs → _worker.js/chunks/Accordion_R7bP3pwr.mjs} +0 -0
  106. /package/dist/{server/chunks/AllComponents_CRhgTsiT.mjs → _worker.js/chunks/AllComponents_BDKlE-WJ.mjs} +0 -0
  107. /package/dist/{server/chunks/AllComponents_CjOtwUH6.mjs → _worker.js/chunks/AllComponents_DWDph25H.mjs} +0 -0
  108. /package/dist/{server/chunks/_astro_data-layer-content_D4Ib_RjR.mjs → _worker.js/chunks/_astro_assets_CfTVyruF.mjs} +0 -0
  109. /package/dist/{server/chunks/content-assets_DleWbedO.mjs → _worker.js/chunks/_astro_data-layer-content_CgXoS6Mm.mjs} +0 -0
  110. /package/dist/{server/chunks/content-modules_fX1c2JRG.mjs → _worker.js/chunks/content-assets_XqCgPAV2.mjs} +0 -0
  111. /package/dist/{server/pages/_section_/_---page_.astro.mjs → _worker.js/chunks/content-modules_BbCqcGJp.mjs} +0 -0
  112. /package/dist/{server/pages/_section_/_page_/_---tab_.astro.mjs → _worker.js/chunks/sharp_MEdXG7Td.mjs} +0 -0
  113. /package/dist/{server/pages/index.astro.mjs → _worker.js/pages/_section_/_---page_.astro.mjs} +0 -0
  114. /package/dist/{client/avatarImg.svg → avatarImg.svg} +0 -0
  115. /package/dist/{client/avatarImgDark.svg → avatarImgDark.svg} +0 -0
  116. /package/dist/{client/content → content}/typography/line-height.png +0 -0
  117. /package/dist/{client/favicon.svg → favicon.svg} +0 -0
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html><html lang="en"> <head><meta charset="utf-8"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><meta name="viewport" content="width=device-width"><meta name="generator" content="Astro v5.9.3"><title>PatternFly</title><link rel="stylesheet" href="/_astro/_page_.D1z73Byz.css">
2
+ <link rel="stylesheet" href="/_astro/_page_.DxJDkZPc.css">
3
+ <link rel="stylesheet" href="/_astro/LiveExample.CxJsMvEq.css"><style>[data-astro-transition-scope="astro-iidcp2e2-1"] { view-transition-name: astro-iidcp2e2-1; }@layer astro { ::view-transition-old(astro-iidcp2e2-1) { animation: none; opacity: 0; mix-blend-mode: normal; }::view-transition-new(astro-iidcp2e2-1) { animation: none; mix-blend-mode: normal; }::view-transition-group(astro-iidcp2e2-1) { animation: none } }[data-astro-transition-fallback="old"] [data-astro-transition-scope="astro-iidcp2e2-1"],
4
+ [data-astro-transition-fallback="old"][data-astro-transition-scope="astro-iidcp2e2-1"] { animation: none; mix-blend-mode: normal; }[data-astro-transition-fallback="new"] [data-astro-transition-scope="astro-iidcp2e2-1"],
5
+ [data-astro-transition-fallback="new"][data-astro-transition-scope="astro-iidcp2e2-1"] { animation: none; mix-blend-mode: normal; }</style><style>[data-astro-transition-scope="astro-xikxfxwm-3"] { view-transition-name: astro-xikxfxwm-3; }@layer astro { ::view-transition-old(astro-xikxfxwm-3) {
6
+ animation-duration: 180ms;
7
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
8
+ animation-fill-mode: both;
9
+ animation-name: astroFadeOut; }::view-transition-new(astro-xikxfxwm-3) {
10
+ animation-duration: 180ms;
11
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
12
+ animation-fill-mode: both;
13
+ animation-name: astroFadeIn; }[data-astro-transition=back]::view-transition-old(astro-xikxfxwm-3) {
14
+ animation-duration: 180ms;
15
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
16
+ animation-fill-mode: both;
17
+ animation-name: astroFadeOut; }[data-astro-transition=back]::view-transition-new(astro-xikxfxwm-3) {
18
+ animation-duration: 180ms;
19
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
20
+ animation-fill-mode: both;
21
+ animation-name: astroFadeIn; } }[data-astro-transition-fallback="old"] [data-astro-transition-scope="astro-xikxfxwm-3"],
22
+ [data-astro-transition-fallback="old"][data-astro-transition-scope="astro-xikxfxwm-3"] {
23
+ animation-duration: 180ms;
24
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
25
+ animation-fill-mode: both;
26
+ animation-name: astroFadeOut; }[data-astro-transition-fallback="new"] [data-astro-transition-scope="astro-xikxfxwm-3"],
27
+ [data-astro-transition-fallback="new"][data-astro-transition-scope="astro-xikxfxwm-3"] {
28
+ animation-duration: 180ms;
29
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
30
+ animation-fill-mode: both;
31
+ animation-name: astroFadeIn; }[data-astro-transition=back][data-astro-transition-fallback="old"] [data-astro-transition-scope="astro-xikxfxwm-3"],
32
+ [data-astro-transition=back][data-astro-transition-fallback="old"][data-astro-transition-scope="astro-xikxfxwm-3"] {
33
+ animation-duration: 180ms;
34
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
35
+ animation-fill-mode: both;
36
+ animation-name: astroFadeOut; }[data-astro-transition=back][data-astro-transition-fallback="new"] [data-astro-transition-scope="astro-xikxfxwm-3"],
37
+ [data-astro-transition=back][data-astro-transition-fallback="new"][data-astro-transition-scope="astro-xikxfxwm-3"] {
38
+ animation-duration: 180ms;
39
+ animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
40
+ animation-fill-mode: both;
41
+ animation-name: astroFadeIn; }</style><style>[data-astro-transition-scope="astro-2e6ke2uy-4"] { view-transition-name: astro-2e6ke2uy-4; }@layer astro { ::view-transition-old(astro-2e6ke2uy-4) { animation: none; opacity: 0; mix-blend-mode: normal; }::view-transition-new(astro-2e6ke2uy-4) { animation: none; mix-blend-mode: normal; }::view-transition-group(astro-2e6ke2uy-4) { animation: none } }[data-astro-transition-fallback="old"] [data-astro-transition-scope="astro-2e6ke2uy-4"],
42
+ [data-astro-transition-fallback="old"][data-astro-transition-scope="astro-2e6ke2uy-4"] { animation: none; mix-blend-mode: normal; }[data-astro-transition-fallback="new"] [data-astro-transition-scope="astro-2e6ke2uy-4"],
43
+ [data-astro-transition-fallback="new"][data-astro-transition-scope="astro-2e6ke2uy-4"] { animation: none; mix-blend-mode: normal; }</style></head> <body> <html lang="en" data-astro-transition-scope="astro-iidcp2e2-1"> <head><script type="module">const n=e=>{requestAnimationFrame(()=>{document.documentElement.classList.toggle("pf-v6-theme-dark",e==="dark")})};document.addEventListener("astro:before-swap",()=>{const e=localStorage.getItem("theme-preference");n(e||"light")});const o=e=>{const t=document.querySelector(e);t&&t.scrollIntoView({behavior:"smooth"})};document.addEventListener("DOMContentLoaded",()=>{if(window.location.hash){const e=window.location.hash;history.replaceState(null,""," "),setTimeout(()=>{o(e),history.replaceState(null,"",e)},500)}});window.addEventListener("hashchange",()=>{window.location.hash&&o(window.location.hash)});</script><meta charset="utf-8"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><meta name="viewport" content="width=device-width"><meta name="generator" content="Astro v5.9.3"><title>Astro</title><meta name="astro-view-transitions-enabled" content="true"><meta name="astro-view-transitions-fallback" content="animate"><script type="module" src="/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js"></script></head> <body> <div class="pf-v6-c-page"> <style>astro-island,astro-slot,astro-static-slot{display:contents}</style><script>(()=>{var l=(n,t)=>{let i=async()=>{await(await n())()},e=typeof t.value=="object"?t.value:void 0,s={timeout:e==null?void 0:e.timeout};"requestIdleCallback"in window?window.requestIdleCallback(i,s):setTimeout(i,s.timeout||200)};(self.Astro||(self.Astro={})).idle=l;window.dispatchEvent(new Event("astro:idle"));})();</script><script>(()=>{var A=Object.defineProperty;var g=(i,o,a)=>o in i?A(i,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[o]=a;var d=(i,o,a)=>g(i,typeof o!="symbol"?o+"":o,a);{let i={0:t=>m(t),1:t=>a(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(a(t)),5:t=>new Set(a(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t),11:t=>1/0*t},o=t=>{let[l,e]=t;return l in i?i[l](e):void 0},a=t=>t.map(o),m=t=>typeof t!="object"||t===null?t:Object.fromEntries(Object.entries(t).map(([l,e])=>[l,o(e)]));class y extends HTMLElement{constructor(){super(...arguments);d(this,"Component");d(this,"hydrator");d(this,"hydrate",async()=>{var b;if(!this.hydrator||!this.isConnected)return;let e=(b=this.parentElement)==null?void 0:b.closest("astro-island[ssr]");if(e){e.addEventListener("astro:hydrate",this.hydrate,{once:!0});return}let c=this.querySelectorAll("astro-slot"),n={},h=this.querySelectorAll("template[data-astro-template]");for(let r of h){let s=r.closest(this.tagName);s!=null&&s.isSameNode(this)&&(n[r.getAttribute("data-astro-template")||"default"]=r.innerHTML,r.remove())}for(let r of c){let s=r.closest(this.tagName);s!=null&&s.isSameNode(this)&&(n[r.getAttribute("name")||"default"]=r.innerHTML)}let p;try{p=this.hasAttribute("props")?m(JSON.parse(this.getAttribute("props"))):{}}catch(r){let s=this.getAttribute("component-url")||"<unknown>",v=this.getAttribute("component-export");throw v&&(s+=` (export ${v})`),console.error(`[hydrate] Error parsing props for component ${s}`,this.getAttribute("props"),r),r}let u;await this.hydrator(this)(this.Component,p,n,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),this.dispatchEvent(new CustomEvent("astro:hydrate"))});d(this,"unmount",()=>{this.isConnected||this.dispatchEvent(new CustomEvent("astro:unmount"))})}disconnectedCallback(){document.removeEventListener("astro:after-swap",this.unmount),document.addEventListener("astro:after-swap",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute("await-children")||document.readyState==="interactive"||document.readyState==="complete")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener("DOMContentLoaded",e),c.disconnect(),this.childrenConnectedCallback()},c=new MutationObserver(()=>{var n;((n=this.lastChild)==null?void 0:n.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue==="astro:end"&&(this.lastChild.remove(),e())});c.observe(this,{childList:!0}),document.addEventListener("DOMContentLoaded",e)}}async childrenConnectedCallback(){let e=this.getAttribute("before-hydration-url");e&&await import(e),this.start()}async start(){let e=JSON.parse(this.getAttribute("opts")),c=this.getAttribute("client");if(Astro[c]===void 0){window.addEventListener(`astro:${c}`,()=>this.start(),{once:!0});return}try{await Astro[c](async()=>{let n=this.getAttribute("renderer-url"),[h,{default:p}]=await Promise.all([import(this.getAttribute("component-url")),n?import(n):()=>()=>{}]),u=this.getAttribute("component-export")||"default";if(!u.includes("."))this.Component=h[u];else{this.Component=h;for(let f of u.split("."))this.Component=this.Component[f]}return this.hydrator=p,this.hydrate},e,this)}catch(n){console.error(`[astro-island] Error hydrating ${this.getAttribute("component-url")}`,n)}}attributeChangedCallback(){this.hydrate()}}d(y,"observedAttributes",["props"]),customElements.get("astro-island")||customElements.define("astro-island",y)}})();</script><header class="pf-v6-c-masthead pf-m-display-inline-on-md"> <div class="pf-v6-c-masthead__main"> <span class="pf-v6-c-masthead__toggle"> <astro-island uid="ZTskbR" prefix="r3" component-url="/_astro/PageToggle.Dnbvoa7R.js" component-export="PageToggle" renderer-url="/_astro/client.DN8ES6L5.js" props="{&quot;data-astro-transition-persist&quot;:[0,&quot;astro-u5p5alki-2&quot;]}" ssr client="idle" opts="{&quot;name&quot;:&quot;PageToggle&quot;,&quot;value&quot;:true}" data-astro-transition-persist="astro-u5p5alki-2" await-children><button id="nav-toggle" aria-expanded="true" aria-label="Global navigation" class="pf-v6-c-button pf-m-plain" type="button" data-ouia-component-type="PF6/Button" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-Button-plain-19"><span class="pf-v6-c-button__text"><svg class="pf-v6-svg" viewBox="0 0 448 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em"><path d="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"></path></svg></span></button><!--astro:end--></astro-island> </span> <div class="pf-v6-c-masthead__brand"> <a class="pf-v6-c-masthead__logo" tabindex="0" href="/"> <img class="pf-v6-c-brand" style="--pf-v6-c-brand--Height:36px" src="/PF-HorizontalLogo-Color.svg" alt="PatternFly"/> </a> </div> </div> <div class="pf-v6-c-masthead__content"> <astro-island uid="ZfjWXm" prefix="r5" component-url="/_astro/Toolbar.DNd68Ck-.js" component-export="Toolbar" renderer-url="/_astro/client.DN8ES6L5.js" props="{}" ssr client="idle" opts="{&quot;name&quot;:&quot;ReactToolbar&quot;,&quot;value&quot;:true}" await-children><div class="pf-v6-c-toolbar pf-m-static" id="toolbar" data-ouia-component-type="PF6/Toolbar" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-Toolbar-7"><div class="pf-v6-c-toolbar__content"><div class="pf-v6-c-toolbar__content-section"><div class="pf-v6-c-toolbar__group pf-m-action-group-plain pf-m-align-end pf-m-gap-none pf-m-gap-md-on-md"><div class="pf-v6-c-toolbar__item"></div><div class="pf-v6-c-toolbar__item"><div class="pf-v6-c-input-group ws-global-search"><div class="pf-v6-c-input-group__item"><button aria-expanded="false" aria-label="Expandable search input toggle" class="pf-v6-c-button pf-m-plain" type="button" data-ouia-component-type="PF6/Button" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-Button-plain-20"><span class="pf-v6-c-button__icon"><svg class="pf-v6-svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"></path></svg></span></button></div></div></div><div class="pf-v6-c-toolbar__item"><a href="//github.com/patternfly" target="top" aria-label="PatternFly GitHub page" class="pf-v6-c-button pf-m-plain" data-ouia-component-type="PF6/Button" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-Button-plain-21"><span class="pf-v6-c-button__text"><svg class="pf-v6-svg" viewBox="0 0 496 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a></div><div class="pf-v6-c-toolbar__item"><button class="pf-v6-c-menu-toggle" type="button" aria-expanded="false" data-ouia-component-type="PF6/MenuToggle" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-MenuToggle-7"><span class="pf-v6-c-menu-toggle__text">Release 6.1.0</span><span class="pf-v6-c-menu-toggle__controls"><span class="pf-v6-c-menu-toggle__toggle-icon"><svg class="pf-v6-svg" viewBox="0 0 320 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"></path></svg></span></span></button></div></div></div></div><div class="pf-v6-c-toolbar__content pf-m-hidden" hidden=""><div class="pf-v6-c-toolbar__group"></div></div></div><!--astro:end--></astro-island> </div> </header> <script>(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event("astro:only"));})();</script><astro-island uid="1EjclH" component-url="/_astro/Navigation.CONcolRR.js" component-export="Navigation" renderer-url="/_astro/client.DN8ES6L5.js" props="{&quot;navData&quot;:[1,[[1,[[0,{&quot;id&quot;:[0,&quot;contribute&quot;],&quot;data&quot;:[0,{&quot;id&quot;:[0,&quot;Contribute&quot;],&quot;section&quot;:[0,&quot;get-started&quot;],&quot;sortValue&quot;:[0]}]}]]],[1,[[0,{&quot;id&quot;:[0,&quot;typography&quot;],&quot;data&quot;:[0,{&quot;id&quot;:[0,&quot;Typography&quot;],&quot;section&quot;:[0,&quot;design-foundations&quot;],&quot;sortValue&quot;:[0]}]}],[0,{&quot;id&quot;:[0,&quot;usage-and-behavior&quot;],&quot;data&quot;:[0,{&quot;id&quot;:[0,&quot;Usage and behavior&quot;],&quot;section&quot;:[0,&quot;design-foundations&quot;],&quot;sortValue&quot;:[0]}]}]]],[1,[[0,{&quot;id&quot;:[0,&quot;allcomponents&quot;],&quot;data&quot;:[0,{&quot;id&quot;:[0,&quot;All components&quot;],&quot;section&quot;:[0,&quot;components&quot;],&quot;sortValue&quot;:[0,1]}]}],[0,{&quot;id&quot;:[0,&quot;examples/accordion/accordion&quot;],&quot;data&quot;:[0,{&quot;id&quot;:[0,&quot;Accordion&quot;],&quot;section&quot;:[0,&quot;components&quot;],&quot;sortValue&quot;:[0]}]}]]]]],&quot;data-astro-transition-scope&quot;:[0,&quot;astro-xikxfxwm-3&quot;]}" ssr client="only" opts="{&quot;name&quot;:&quot;ReactNav&quot;,&quot;value&quot;:&quot;react&quot;}" data-astro-transition-scope="astro-xikxfxwm-3"></astro-island> <div class="pf-v6-c-page__main-container"> <main class="pf-v6-c-page__main"> <section class="pf-v6-c-page__main-section"><div class="pf-v6-c-page__main-body"> Page content </div></section> </main> </div> </div> <script type="module">try{localStorage.getItem("theme-preference")==="dark"&&document.documentElement.classList.add("pf-v6-theme-dark")}catch(e){console.error("Failed to set initial theme:",e)}</script></body></html> </body></html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly-doc-core",
3
3
  "type": "module",
4
- "version": "1.10.0",
4
+ "version": "1.11.1",
5
5
  "description": "PatternFly Core Documentation",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -13,13 +13,15 @@
13
13
  "build:cli": "tsc --build ./cli/tsconfig.json",
14
14
  "build:cli:watch": "tsc --build --watch ./cli/tsconfig.json",
15
15
  "build:props": "npm run build:cli && node ./dist/cli/cli.js generate-props",
16
- "preview": "astro preview",
16
+ "preview": "astro build && wrangler pages dev",
17
17
  "astro": "astro",
18
+ "deploy": "npm run build && wrangler pages deploy",
18
19
  "prettier": "prettier --write ./src",
19
20
  "lint": "eslint . --cache --cache-strategy content",
20
21
  "test": "jest",
21
22
  "test:watch": "jest --watch",
22
- "semantic-release": "semantic-release"
23
+ "semantic-release": "semantic-release",
24
+ "cf-typegen": "wrangler types"
23
25
  },
24
26
  "main": "dist/cli/cli.js",
25
27
  "bin": "./dist/cli/cli.js",
@@ -41,9 +43,10 @@
41
43
  },
42
44
  "dependencies": {
43
45
  "@astrojs/check": "^0.9.4",
44
- "@astrojs/mdx": "^4.2.6",
45
- "@astrojs/node": "^9.1.3",
46
- "@astrojs/react": "^4.2.1",
46
+ "@astrojs/cloudflare": "^12.5.4",
47
+ "@astrojs/mdx": "^4.3.0",
48
+ "@astrojs/node": "^9.2.2",
49
+ "@astrojs/react": "^4.3.0",
47
50
  "@nanostores/react": "^0.8.0",
48
51
  "@patternfly/ast-helpers": "1.4.0-alpha.190",
49
52
  "@patternfly/patternfly": "^6.0.0",
@@ -55,7 +58,7 @@
55
58
  "@patternfly/react-tokens": "^6.0.0",
56
59
  "@types/react": "^18.3.12",
57
60
  "@types/react-dom": "^18.3.1",
58
- "astro": "^5.4.1",
61
+ "astro": "^5.9.3",
59
62
  "change-case": "5.4.4",
60
63
  "commander": "^13.1.0",
61
64
  "glob": "^11.0.1",
@@ -99,7 +102,8 @@
99
102
  "semantic-release": "^24.2.3",
100
103
  "ts-jest": "^29.2.5",
101
104
  "ts-node": "^10.9.2",
102
- "typescript-eslint": "^8.15.0"
105
+ "typescript-eslint": "^8.15.0",
106
+ "wrangler": "^4.20.0"
103
107
  },
104
108
  "config": {
105
109
  "commitizen": {
@@ -0,0 +1,2 @@
1
+ _worker.js
2
+ _routes.json
@@ -0,0 +1,28 @@
1
+ ---
2
+ import { Stack, StackItem } from '@patternfly/react-core'
3
+ import PropsTables from './PropsTables.astro'
4
+ import CSSTable from './CSSTable.astro'
5
+
6
+ const { propComponents, cssPrefix } = Astro.props
7
+
8
+ const hasTables = !!propComponents || !!cssPrefix
9
+ ---
10
+
11
+ <>
12
+ {
13
+ hasTables && (
14
+ <Stack hasGutter>
15
+ {propComponents && (
16
+ <StackItem>
17
+ <PropsTables propComponents={propComponents} server:defer />
18
+ </StackItem>
19
+ )}
20
+ {cssPrefix && (
21
+ <StackItem>
22
+ <CSSTable cssPrefix={cssPrefix} server:defer />
23
+ </StackItem>
24
+ )}
25
+ </Stack>
26
+ )
27
+ }
28
+ </>
@@ -1,12 +1,10 @@
1
1
  ---
2
2
  import { getCollection, render } from 'astro:content'
3
- import { Title, PageSection, Stack, StackItem } from '@patternfly/react-core'
3
+ import { Title, PageSection } from '@patternfly/react-core'
4
4
  import MainLayout from '../../layouts/Main.astro'
5
5
  import { content } from '../../content'
6
6
  import { kebabCase } from '../../utils/case'
7
7
  import { componentTabs } from '../../globals'
8
- import PropsTables from '../../components/PropsTables.astro'
9
- import CSSTable from '../../components/CSSTable.astro'
10
8
  import SectionGallery from '../../components/section-gallery/SectionGallery.astro'
11
9
  import LiveExample from '../../components/LiveExample.astro'
12
10
  import {
@@ -29,6 +27,7 @@ import {
29
27
  dt,
30
28
  dd,
31
29
  } from '../../components/Content'
30
+ import DocsTables from '../../components/DocsTables.astro'
32
31
 
33
32
  export async function getStaticPaths() {
34
33
  const collections = await Promise.all(
@@ -91,13 +90,10 @@ if (section === 'components' && componentTabs[id]) {
91
90
  LiveExample,
92
91
  }}
93
92
  />
94
- <Stack hasGutter>
95
- <StackItem>
96
- <PropsTables propComponents={propComponents} server:defer />
97
- </StackItem>
98
- <StackItem>
99
- <CSSTable cssPrefix={cssPrefix} server:defer />
100
- </StackItem>
101
- </Stack>
93
+ <DocsTables
94
+ propComponents={propComponents}
95
+ cssPrefix={cssPrefix}
96
+ server:defer
97
+ />
102
98
  </PageSection>
103
99
  </MainLayout>
@@ -1,11 +1,10 @@
1
1
  ---
2
2
  import { getCollection, render } from 'astro:content'
3
- import { Title, PageSection, Stack, StackItem } from '@patternfly/react-core'
3
+ import { Title, PageSection } from '@patternfly/react-core'
4
4
  import MainLayout from '../../../layouts/Main.astro'
5
5
  import { content } from '../../../content'
6
6
  import { kebabCase } from '../../../utils/case'
7
7
  import { componentTabs, tabNames, buildTab, sortTabs } from '../../../globals'
8
- import PropsTables from '../../../components/PropsTables.astro'
9
8
  import {
10
9
  h1,
11
10
  h2,
@@ -27,7 +26,7 @@ import {
27
26
  dd,
28
27
  } from '../../../components/Content'
29
28
  import LiveExample from '../../../components/LiveExample.astro'
30
- import CSSTable from '../../../components/CSSTable.astro'
29
+ import DocsTables from '../../../components/DocsTables.astro'
31
30
 
32
31
  export async function getStaticPaths() {
33
32
  const collections = await Promise.all(
@@ -126,13 +125,6 @@ const currentPath = Astro.url.pathname
126
125
  LiveExample,
127
126
  }}
128
127
  />
129
- <Stack hasGutter>
130
- <StackItem>
131
- <PropsTables propComponents={propComponents} server:defer />
132
- </StackItem>
133
- <StackItem>
134
- <CSSTable cssPrefix={cssPrefix} server:defer />
135
- </StackItem>
136
- </Stack>
128
+ <DocsTables propComponents={propComponents} cssPrefix={cssPrefix} server:defer />
137
129
  </PageSection>
138
130
  </MainLayout>
@@ -1,5 +1,5 @@
1
- import { readFileSync } from 'fs'
2
- import { join } from 'path'
1
+ import { readFileSync } from 'node:fs'
2
+ import { join } from 'node:path'
3
3
 
4
4
  const propsFilePath = join(process.cwd(), 'dist', 'props.json')
5
5
  const propsData = readFileSync(propsFilePath)
package/wrangler.jsonc ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "node_modules/wrangler/config-schema.json",
3
+ "name": "patternfly-org",
4
+ "main": "./dist/_worker.js/index.js",
5
+ "compatibility_date": "2025-06-17",
6
+ "compatibility_flags": ["nodejs_compat"],
7
+ "assets": {
8
+ "binding": "ASSETS",
9
+ "directory": "./dist"
10
+ },
11
+ "observability": {
12
+ "enabled": true
13
+ }
14
+ }
@@ -1 +0,0 @@
1
- import{j as l,_ as A,B,c as S,u as xn,K as yt,d as ni}from"./Button.BQCwQ5pE.js";import{r as C,c as fe,g as ii,R as yn}from"./index.eCxJ45ll.js";import{E as si,G as oi,H as jt,P as li,L as ci,a as di,A as ui,b as Ct,c as fi,d as pi,e as jn,f as Cn,g as On,h as hi,i as bi,j as vi,k as _i,l as gi,m as mi,n as xi,o as yi,p as ji,q as Ci,r as Oi,s as Ri,t as Ti,u as Si,v as wi,w as qi,x as Ii,y as Pi,z as Ai,B as ki,C as Ni,D as Ei,F as Li,I as Mi,J as Di,K as Bi,M as Fi,N as Vi,O as Hi,Q as Gi,R as $i,S as Wi,T as Ui,U as Ki,V as zi,W as Xi,X as Ji,Y as Zi,Z as Qi,_ as Yi,$ as es,a0 as rs,a1 as ts,a2 as as,a3 as ns,a4 as is,a5 as ss,a6 as os,a7 as ls,a8 as cs,a9 as ds,aa as us,ab as fs,ac as ps,ad as hs,ae as bs,af as vs,ag as _s,ah as gs,ai as ms,aj as xs,ak as ys,al as js,am as Cs,an as Os,ao as Rs,ap as Ts,aq as Ss,ar as ws,as as qs,at as Is,au as Ps,av as As,aw as ks,ax as Ns,ay as Es,az as Ls,aA as Ms,aB as Ds,aC as Bs,aD as Fs,aE as Vs,aF as Hs,aG as Gs,aH as $s,aI as Ws,aJ as Us,aK as Ks,aL as zs,aM as Xs,aN as Js,aO as Zs,aP as Qs,aQ as Ot,aR as Ys,aS as eo,aT as ro,aU as Rt,aV as to}from"./link-icon.BNHnRn73.js";import{D as ao,T as Z,A as Rn,c as no,C as io,S as so}from"./SearchInput.DhHo7yPx.js";import{C as oo}from"./Content.B4M2qzJY.js";/* empty css */import{D as lo,M as co,a as uo,b as fo,S as ft,s as po,h as ho}from"./DropdownList.cxp03sS4.js";/* empty css */import"./divider.tlrBPkzg.js";import"./index.BQFV5hT1.js";import"./angle-left-icon.teo8GC0v.js";const bo=e=>{var{items:r,isDisabled:t,rowData:a,extraData:n,actionsToggle:i,popperProps:s={position:"end",direction:"down"},innerRef:o,firstActionItemRef:c,isOnOpenChangeDisabled:d=!1}=e,f=A(e,["items","isDisabled","rowData","extraData","actionsToggle","popperProps","innerRef","firstActionItemRef","isOnOpenChangeDisabled"]);const[p,u]=C.useState(!1),m=()=>{u(!p)},x=(_,g)=>{g&&(_.preventDefault(),g(_,n&&n.rowIndex,a,n))};return l.jsxs(C.Fragment,{children:[r.filter(_=>_.isOutsideDropdown).map((_,g)=>{var{title:b,itemKey:h,onClick:R,isOutsideDropdown:I}=_,w=A(_,["title","itemKey","onClick","isOutsideDropdown"]);return typeof b=="string"?C.createElement(B,Object.assign({onClick:q=>x(q,R)},w,{isDisabled:t,key:h||`outside_dropdown_${g}`,"data-key":h||`outside_dropdown_${g}`}),b):C.cloneElement(b,Object.assign({onClick:R,isDisabled:t},w))}),l.jsx(lo,Object.assign({isOpen:p,onOpenChange:d?void 0:_=>u(_),toggle:_=>i?i({onToggle:m,isOpen:p,isDisabled:t,toggleRef:_}):l.jsx(co,{"aria-label":"Kebab toggle",ref:_,onClick:m,isExpanded:p,isDisabled:t,variant:"plain",icon:l.jsx(si,{})})},a&&a.actionProps,{ref:o},f,{popperProps:s,children:l.jsx(uo,{children:r.filter(_=>!_.isOutsideDropdown).map((_,g)=>{var{title:b,itemKey:h,onClick:R,tooltipProps:I,isSeparator:w,shouldCloseOnClick:q=!0}=_,j=A(_,["title","itemKey","onClick","tooltipProps","isSeparator","shouldCloseOnClick"]);if(w)return l.jsx(ao,{"data-key":h||g},h||g);const O=C.createElement(fo,Object.assign({onClick:k=>{x(k,R),q&&m()}},j,{key:h||g,"data-key":h||g,ref:g===0?c:void 0}),b);return I?.content?l.jsx(Z,Object.assign({},I,{children:O}),h||g):O})})}))]})},Tn=C.forwardRef((e,r)=>l.jsx(bo,Object.assign({},e,{innerRef:r})));Tn.displayName="ActionsColumn";const v={modifiers:{fixed:"pf-m-fixed",stickyHeader:"pf-m-sticky-header",nestedColumnHeader:"pf-m-nested-column-header",striped:"pf-m-striped",expandable:"pf-m-expandable",stripedEven:"pf-m-striped-even",ghostRow:"pf-m-ghost-row",hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",center:"pf-m-center",help:"pf-m-help",favorite:"pf-m-favorite",borderRight:"pf-m-border-right",borderLeft:"pf-m-border-left",noBorderRows:"pf-m-no-border-rows",expanded:"pf-m-expanded",clickable:"pf-m-clickable",selected:"pf-m-selected",firstCellOffsetReset:"pf-m-first-cell-offset-reset",dragOver:"pf-m-drag-over",truncate:"pf-m-truncate",wrap:"pf-m-wrap",nowrap:"pf-m-nowrap",fitContent:"pf-m-fit-content",breakWord:"pf-m-break-word",standalone:"pf-m-standalone",favorited:"pf-m-favorited",noPadding:"pf-m-no-padding",compact:"pf-m-compact",borderRow:"pf-m-border-row",width_10:"pf-m-width-10",width_15:"pf-m-width-15",width_20:"pf-m-width-20",width_25:"pf-m-width-25",width_30:"pf-m-width-30",width_35:"pf-m-width-35",width_40:"pf-m-width-40",width_45:"pf-m-width-45",width_50:"pf-m-width-50",width_60:"pf-m-width-60",width_70:"pf-m-width-70",width_80:"pf-m-width-80",width_90:"pf-m-width-90",width_100:"pf-m-width-100"},table:"pf-v6-c-table",tableAction:"pf-v6-c-table__action",tableButton:"pf-v6-c-table__button",tableButtonContent:"pf-v6-c-table__button-content",tableCheck:"pf-v6-c-table__check",tableColumnHelp:"pf-v6-c-table__column-help",tableColumnHelpAction:"pf-v6-c-table__column-help-action",tableCompoundExpansionToggle:"pf-v6-c-table__compound-expansion-toggle",tableControlRow:"pf-v6-c-table__control-row",tableDraggable:"pf-v6-c-table__draggable",tableExpandableRow:"pf-v6-c-table__expandable-row",tableFavorite:"pf-v6-c-table__favorite",tableSort:"pf-v6-c-table__sort",tableSortIndicator:"pf-v6-c-table__sort-indicator",tableSubhead:"pf-v6-c-table__subhead",tableTbody:"pf-v6-c-table__tbody",tableTd:"pf-v6-c-table__td",tableText:"pf-v6-c-table__text",tableTh:"pf-v6-c-table__th",tableThead:"pf-v6-c-table__thead",tableToggle:"pf-v6-c-table__toggle",tableToggleIcon:"pf-v6-c-table__toggle-icon",tableTr:"pf-v6-c-table__tr"},Sn=e=>{var{className:r="",children:t=null,isOpen:a,onToggle:n}=e,i=A(e,["className","children","isOpen","onToggle"]);return l.jsxs(C.Fragment,{children:[a!==void 0&&l.jsx(B,Object.assign({className:S(r,a&&v.modifiers.expanded)},i,{variant:"plain","aria-label":i["aria-label"]||"Details",onClick:n,"aria-expanded":a,icon:l.jsx("div",{className:S(v.tableToggleIcon),children:l.jsx(Rn,{})})})),t]})};Sn.displayName="CollapseColumn";const wn=e=>{var{className:r,onClick:t,"aria-label":a,id:n}=e,i=A(e,["className","onClick","aria-label","id"]);return l.jsx(B,Object.assign({id:n,variant:"plain",className:r,type:"button","aria-label":a||"Draggable row draggable button",onClick:t},i,{icon:l.jsx(oi,{})}))};wn.displayName="DraggableCell";const vo={modifiers:{inlineEditable:"pf-m-inline-editable"}};var Tt;(function(e){e.div="div",e.nav="nav"})(Tt||(Tt={}));var St;(function(e){e.wrap="wrap",e.nowrap="nowrap",e.truncate="truncate",e.breakWord="breakWord",e.fitContent="fitContent"})(St||(St={}));const pe=e=>{var{children:r=null,className:t="",variant:a="span",wrapModifier:n=null,tooltip:i="",tooltipProps:s={},onMouseEnter:o=()=>{},focused:c=!1,tooltipHasDefaultBehavior:d=!1}=e,f=A(e,["children","className","variant","wrapModifier","tooltip","tooltipProps","onMouseEnter","focused","tooltipHasDefaultBehavior"]);const p=a,u=C.createRef(),[m,x]=C.useState(i),_=h=>{h.target.offsetWidth<h.target.scrollWidth?x(i||h.target.innerText):x(""),o(h)},g=h=>{h.offsetWidth<h.scrollWidth?x(i||h.innerText):x("")},b=l.jsx(p,Object.assign({ref:u,onMouseEnter:d?void 0:_,className:S(t,n&&v.modifiers[n],v.tableText)},f,{children:r}));return C.useEffect(()=>{d||(c?g(u.current):x(""))},[c,d]),m!==""?l.jsx(Z,Object.assign({triggerRef:u,content:m},!d&&{isVisible:!0},s,{children:b})):b};pe.displayName="TableText";const lt=({children:e,info:r,className:t,variant:a="tooltip",popoverProps:n,tooltipProps:i,ariaLabel:s})=>l.jsxs("div",{className:S(v.tableColumnHelp,t),children:[typeof e=="string"?l.jsx(pe,{children:e}):e,l.jsx("span",{className:S(v.tableColumnHelpAction),children:a==="tooltip"?l.jsx(Z,Object.assign({content:r},i,{children:l.jsx(B,{variant:"plain",hasNoPadding:!0,"aria-label":s||typeof r=="string"&&r||"More info",icon:l.jsx(jt,{})})})):l.jsx(li,Object.assign({bodyContent:r},n,{children:l.jsx(B,{variant:"plain",hasNoPadding:!0,"aria-label":s||typeof r=="string"&&r||"More info",icon:l.jsx(jt,{})})}))})]});lt.displayName="HeaderCellInfoWrapper";const _o={modifiers:{grid:"pf-m-grid",expandable:"pf-m-expandable",expanded:"pf-m-expanded",selected:"pf-m-selected",compact:"pf-m-compact",noPadding:"pf-m-no-padding",hoverable:"pf-m-hoverable",nowrap:"pf-m-nowrap",fitContent:"pf-m-fit-content",truncate:"pf-m-truncate",gridMd:"pf-m-grid-md",gridLg:"pf-m-grid-lg",gridXl:"pf-m-grid-xl",grid_2xl:"pf-m-grid-2xl"}},E={modifiers:{treeView:"pf-m-tree-view",noInset:"pf-m-no-inset",treeViewGrid:"pf-m-tree-view-grid",borderRight:"pf-m-border-right",treeViewDetailsExpanded:"pf-m-tree-view-details-expanded",treeViewGridMd:"pf-m-tree-view-grid-md",treeViewGridLg:"pf-m-tree-view-grid-lg",treeViewGridXl:"pf-m-tree-view-grid-xl",treeViewGrid_2xl:"pf-m-tree-view-grid-2xl"},tableCheck:"pf-v6-c-table__check",tableToggle:"pf-v6-c-table__toggle",tableToggleIcon:"pf-v6-c-table__toggle-icon",tableTreeViewDetailsToggle:"pf-v6-c-table__tree-view-details-toggle",tableTreeViewIcon:"pf-v6-c-table__tree-view-icon",tableTreeViewMain:"pf-v6-c-table__tree-view-main",tableTreeViewText:"pf-v6-c-table__tree-view-text",tableTreeViewTitleCell:"pf-v6-c-table__tree-view-title-cell"};var ct;(function(e){e.radio="radio",e.checkbox="checkbox"})(ct||(ct={}));const qn=e=>{var{children:r=null,className:t,onSelect:a=null,selectVariant:n,tooltip:i,tooltipProps:s}=e,o=A(e,["children","className","onSelect","selectVariant","tooltip","tooltipProps"]);const c=C.createRef(),d=l.jsxs(C.Fragment,{children:[l.jsx("label",{children:l.jsx("input",Object.assign({},o,{ref:c,type:n,onChange:a}))}),r]});return i?l.jsx(Z,Object.assign({triggerRef:c,content:i},s,{children:d})):d};qn.displayName="SelectColumn";const In=(e,{rowIndex:r,columnIndex:t,rowData:a,column:n,property:i,tooltip:s})=>{const{extraParams:{onSelect:o,selectVariant:c,allRowsSelected:d,isHeaderSelectDisabled:f}}=n,p={rowIndex:r,columnIndex:t,column:n,property:i};if(a&&a.hasOwnProperty("parent")&&!a.showSelect&&!a.fullWidth)return{component:"td",isVisible:!0};const u=r!==void 0?r:-1;function m(g){const b=r===void 0?g.currentTarget.checked:a&&!a.selected;o&&o(g,b,u,a,p)}const x=Object.assign(Object.assign(Object.assign({},u!==-1?{checked:a&&!!a.selected,"aria-label":`Select row ${r}`}:{checked:d,"aria-label":"Select all rows"}),a&&(a.disableCheckbox||a.disableSelection)&&{disabled:!0,className:no.checkInput}),!a&&f&&{disabled:!0});let _="check-all";return u!==-1&&c===ct.checkbox?_=`checkrow${r}`:u!==-1&&(_="radioGroup"),{className:S(v.tableCheck),component:u!==-1?"td":"th",isVisible:!a||!a.fullWidth,children:l.jsx(qn,Object.assign({},x,{selectVariant:c,onSelect:m,name:_,tooltip:s,children:e}))}};var K;(function(e){e.asc="asc",e.desc="desc"})(K||(K={}));const Pn=e=>{var{children:r=null,className:t="",isSortedBy:a=!1,onSort:n=null,sortDirection:i="",type:s="button",tooltip:o,tooltipProps:c,tooltipHasDefaultBehavior:d,favoriteButtonProps:f}=e,p=A(e,["children","className","isSortedBy","onSort","sortDirection","type","tooltip","tooltipProps","tooltipHasDefaultBehavior","favoriteButtonProps"]);let u;const[m,x]=C.useState(!1);return a?u=i===K.asc?ci:di:u=fi,f?l.jsxs(ui,{isIconList:!0,children:[l.jsx(Ct,{children:l.jsx(B,Object.assign({variant:"plain",icon:l.jsx(ft,{})},f))}),l.jsx(Ct,{children:l.jsx(B,Object.assign({variant:"plain",icon:l.jsx("span",{className:S(v.tableSortIndicator),children:l.jsx(u,{})}),onClick:_=>n&&n(_)},p))})]}):l.jsx("button",Object.assign({},p,{type:s,className:S(t,v.tableButton),onClick:_=>n&&n(_),onFocus:()=>x(!0),onBlur:()=>x(!1),children:l.jsxs("div",{className:S(t,v.tableButtonContent),children:[l.jsx(pe,{tooltip:o,tooltipProps:c,tooltipHasDefaultBehavior:d,focused:m,children:r}),l.jsx("span",{className:S(v.tableSortIndicator),children:l.jsx(u,{})})]})}))};Pn.displayName="SortColumn";const go=e=>()=>{var r;return An(l.jsx(ft,{}),{columnIndex:e.columnIndex,className:v.tableFavorite,ariaLabel:(r=e.ariaLabel)!==null&&r!==void 0?r:"Sort favorites",column:{extraParams:{sortBy:e.sortBy,onSort:e.onSort,favoriteButtonProps:e.favoriteButtonProps}},tooltip:e.tooltip,tooltipProps:e.tooltipProps,tooltipHasDefaultBehavior:!0})},An=(e,{columnIndex:r,column:t,property:a,className:n,ariaLabel:i,tooltip:s,tooltipProps:o,tooltipHasDefaultBehavior:c})=>{const{extraParams:{sortBy:d,onSort:f,favoriteButtonProps:p}}=t,u={columnIndex:r,column:t,property:a},m=d&&r===d.index;function x(_){let g;m?g=d.direction===K.asc?K.desc:K.asc:g=d.defaultDirection?d.defaultDirection:K.asc,f&&f(_,r,g,u)}return Object.assign(Object.assign({className:S(v.tableSort,m&&v.modifiers.selected,n)},m&&{"aria-sort":`${d.direction}ending`}),{children:l.jsx(Pn,{isSortedBy:m,sortDirection:m?d.direction:"",onSort:x,"aria-label":i,tooltip:s,tooltipProps:o,tooltipHasDefaultBehavior:c,favoriteButtonProps:p,children:e})})},wt=(e,r,t,a)=>r,mo=(e,r,t)=>(a,{rowData:n,column:i,rowIndex:s,columnIndex:o,column:{extraParams:{actionsToggle:c,actionsPopperProps:d}},property:f})=>{const p={rowIndex:s,columnIndex:o,column:i,property:f},u=wt(r,e),m=wt(t,n&&n.disableActions),x=u&&u.length>0?{children:l.jsx(Tn,{items:u,isDisabled:m,rowData:n,extraData:p,actionsToggle:c,popperProps:d,children:a})}:{};return Object.assign({className:S(v.tableAction),style:{paddingRight:0},isVisible:!0},x)},xo=e=>e.toUpperCase().replace("-","").replace("_",""),qt=e=>e.replace(/([-_][a-z])/gi,xo);function yo(e){return e[0].toUpperCase()+e.substring(1)}const kn=e=>()=>({className:S(v.modifiers[typeof e=="number"?`width_${e}`:`width${yo(e)}`])}),Nn=(e,{rowIndex:r,columnIndex:t,rowData:a,column:n,property:i})=>{const{extraParams:{onCollapse:s,rowLabeledBy:o="simple-node",expandId:c="expand-toggle",allRowsExpanded:d,collapseAllAriaLabel:f}}=n,p={rowIndex:r,columnIndex:t,column:n,property:i},u=r!==void 0?r:-1,m=Object.assign({},u!==-1?{isOpen:a?.isOpen,"aria-labelledby":`${o}${u} ${c}${u}`}:{isOpen:d,"aria-label":f||"Expand all rows"});function x(_){const g=a?!a.isOpen:!d;s&&s(_,r,g,a,p)}return{className:(a?.isOpen!==void 0||u===-1)&&S(v.tableToggle),isVisible:!a?.fullWidth,children:l.jsx(Sn,Object.assign({"aria-labelledby":`${o}${u} ${c}${u}`,onToggle:x,id:c+u},m,{children:e}))}},jo=(e,{rowIndex:r,columnIndex:t,rowData:a,column:n,property:i})=>{if(!e)return null;const{title:s,props:o}=e,{extraParams:{onExpand:c,expandId:d="expand-toggle"}}=n,f={rowIndex:r,columnIndex:t,column:n,property:i};function p(u){c&&c(u,r,t,o.isOpen,a,f)}return{className:S(v.tableCompoundExpansionToggle,o.isOpen&&v.modifiers.expanded),children:o.isOpen!==void 0&&l.jsx("button",{type:"button",className:S(v.tableButton),onClick:p,"aria-expanded":o.isOpen,"aria-controls":o.ariaControls,id:`${d}-${r}-${t}`,children:l.jsx(pe,{children:s})})}},Co=["hidden","hiddenOnSm","hiddenOnMd","hiddenOnLg","hiddenOnXl","hiddenOn_2xl","visibleOnSm","visibleOnMd","visibleOnLg","visibleOnXl","visibleOn_2xl"],En=Co.filter(e=>v.modifiers[e]).reduce((e,r)=>{const t=r.replace("_2xl","2Xl");return e[t]=v.modifiers[r],e},{}),Ln=(...e)=>()=>({className:S(...e)}),Oo=({tooltip:e,tooltipProps:r,popover:t,popoverProps:a,className:n,ariaLabel:i})=>o=>({className:v.modifiers.help,children:e?l.jsx(lt,{variant:"tooltip",info:e,tooltipProps:r,ariaLabel:i,className:n,children:o}):l.jsx(lt,{variant:"popover",info:t,popoverProps:a,ariaLabel:i,className:n,children:o})}),Mn=e=>{var{className:r="",onFavorite:t,isFavorited:a,rowIndex:n}=e,i=A(e,["className","onFavorite","isFavorited","rowIndex"]);const s=n===void 0?{}:{id:`favorites-button-${n}`,"aria-labelledby":`favorites-button-${n}`};return l.jsx(B,Object.assign({variant:"plain",className:r,type:"button","aria-label":a?"Starred":"Not starred",onClick:t},s,i,{icon:l.jsx(ft,{})}))};Mn.displayName="FavoritesCell";const Ro=(e,{rowIndex:r,columnIndex:t,rowData:a,column:n,property:i})=>{const{extraParams:{onFavorite:s}}=n,o={rowIndex:r,columnIndex:t,column:n,property:i};if(a&&a.hasOwnProperty("parent")&&!a.fullWidth)return{component:"td",isVisible:!0};function c(f){s&&s(f,a&&!a.favorited,r,a,o)}const d=a.favoritesProps||{};return{className:S(v.tableFavorite,a&&a.favorited&&v.modifiers.favorited),isVisible:!a||!a.fullWidth,children:l.jsx(Mn,Object.assign({rowIndex:r,onFavorite:c,isFavorited:a&&a.favorited},d))}},To=(e,r,t)=>(a,{rowIndex:n,rowData:i})=>{const{isExpanded:s,isDetailsExpanded:o,"aria-level":c,"aria-setsize":d,toggleAriaLabel:f,checkAriaLabel:p,showDetailsAriaLabel:u,isChecked:m,checkboxId:x,icon:_}=i.props,g=a.title||a,b=l.jsxs("div",{className:S(E.tableTreeViewText),children:[_&&l.jsx("span",{className:S(E.tableTreeViewIcon),children:_},"tree-view-text-icon"),l.jsx("span",{className:v.tableText,children:g},"table-text")]},"tree-view-text"),h=(R,I)=>{r(I,R,n,g,i)};return{component:"th",className:E.tableTreeViewTitleCell,children:c!==void 0?l.jsxs("div",{className:S(E.tableTreeViewMain),children:[d>0&&l.jsx("span",{className:S(E.tableToggle),children:l.jsx(B,{variant:"plain",onClick:R=>e&&e(R,n,g,i),className:S(s&&v.modifiers.expanded),"aria-expanded":s,"aria-label":f||`${s?"Collapse":"Expand"} row ${n}`,icon:l.jsx("div",{className:S(E.tableToggleIcon),children:l.jsx(Rn,{})})})},"table-toggle"),!!r&&l.jsx("span",{className:S(E.tableCheck),children:l.jsx("label",{htmlFor:x||`checkbox_${n}`,children:l.jsx(io,{id:x||`checkbox_${n}`,"aria-label":p||`Row ${n} checkbox`,isChecked:m,onChange:(R,I)=>h(I,R)})})},"table-check"),b,!!t&&l.jsx("span",{className:S(E.tableTreeViewDetailsToggle),children:l.jsx(B,{variant:"plain","aria-expanded":o,"aria-label":u||"Show row details",onClick:R=>t&&t(R,n,g,i),icon:l.jsx("span",{className:`${v.table}__details-toggle-icon`,children:l.jsx(pi,{})})})},"view-details-toggle")]}):b}};var dt;(function(e){e.none="",e.grid="grid",e.gridMd="grid-md",e.gridLg="grid-lg",e.gridXl="grid-xl",e.grid2xl="grid-2xl"})(dt||(dt={}));var It;(function(e){e.compact="compact"})(It||(It={}));const Dn=C.createContext({registerSelectableRow:()=>{}}),So=e=>{var r,t,{children:a,className:n,variant:i,borders:s=!0,isStickyHeader:o=!1,gridBreakPoint:c=dt.gridMd,"aria-label":d,role:f="grid",innerRef:p,ouiaId:u,ouiaSafe:m=!0,isTreeTable:x=!1,isNested:_=!1,isStriped:g=!1,isExpandable:b=!1,hasNoInset:h=!1,nestedHeaderColumnSpans:R,selectableRowCaptionText:I}=e,w=A(e,["children","className","variant","borders","isStickyHeader","gridBreakPoint","aria-label","role","innerRef","ouiaId","ouiaSafe","isTreeTable","isNested","isStriped","isExpandable","hasNoInset","nestedHeaderColumnSpans","selectableRowCaptionText"]);const q=C.useRef(null),j=p||q,[O,k]=C.useState(!1),[T,y]=C.useState();C.useEffect(()=>{if(document.addEventListener("keydown",V),j&&j.current&&j.current.classList.contains("pf-m-tree-view")){const L=j.current.querySelector("tbody");L&&po(Array.from(L.querySelectorAll("button, a, input")))}return function(){document.removeEventListener("keydown",V)}},[j,j.current]),C.useEffect(()=>{y(I?l.jsxs("caption",{children:[I,l.jsx("div",{className:"pf-v6-screen-reader",children:"This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter."})]}):l.jsx("caption",{className:"pf-v6-screen-reader",children:"This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter."}))},[I]);const N=xn("Table",u,m),P=(r=_o.modifiers)===null||r===void 0?void 0:r[qt(c||"").replace(/-?2xl/,"_2xl")],F=`treeView${c.charAt(0).toUpperCase()+c.slice(1)}`,Y=(t=E.modifiers)===null||t===void 0?void 0:t[qt(F||"").replace(/-?2xl/,"_2xl")],V=L=>{if(_||!(j&&j.current&&j.current.classList.contains(E.modifiers.treeView))||j&&j.current!==L.target.closest(`.${v.table}:not(.pf-m-nested)`))return;const M=document.activeElement,D=L.key,$=Array.from(j.current.querySelectorAll("tbody tr")).filter(G=>!G.classList.contains("pf-m-disabled")&&!G.hidden);(D===yt.Space||D===yt.Enter)&&(M.click(),L.preventDefault()),ho(L,$,G=>G===M.closest("tr"),G=>G.querySelectorAll("button:not(:disabled), input:not(:disabled), a:not(:disabled)")[0],["button","input","a"],void 0,!1,!0,!1)},H=()=>{!O&&k(!0)};return l.jsx(Dn.Provider,{value:{registerSelectableRow:H},children:l.jsxs("table",Object.assign({"aria-label":d,role:f,className:S(n,v.table,x?Y:P,v.modifiers[i],!s&&v.modifiers.noBorderRows,o&&v.modifiers.stickyHeader,x&&E.modifiers.treeView,g&&v.modifiers.striped,b&&v.modifiers.expandable,h&&E.modifiers.noInset,_&&"pf-m-nested"),ref:j},x&&{role:"treegrid"},N,w,{children:[O&&T,a]}))})},Bn=C.forwardRef((e,r)=>l.jsx(So,Object.assign({},e,{innerRef:r})));Bn.displayName="Table";const wo=e=>{var{children:r,className:t,isExpanded:a,isEditable:n,isHidden:i=!1,isClickable:s=!1,isRowSelected:o=!1,isStriped:c=!1,isBorderRow:d=!1,isControlRow:f=!1,innerRef:p,ouiaId:u,ouiaSafe:m=!0,resetOffset:x=!1,onRowClick:_,isSelectable:g,"aria-label":b}=e,h=A(e,["children","className","isExpanded","isEditable","isHidden","isClickable","isRowSelected","isStriped","isBorderRow","isControlRow","innerRef","ouiaId","ouiaSafe","resetOffset","onRowClick","isSelectable","aria-label"]);const R=xn("TableRow",u,m),[I,w]=C.useState("");let q=null;_&&(q=T=>{(T.key==="Enter"||T.key===" ")&&(_(T),T.preventDefault())});const j=i||a!==void 0&&!a,{registerSelectableRow:O}=C.useContext(Dn);C.useEffect(()=>{g&&!j?(w(`${o?"Row selected":""}`),O()):w(void 0)},[o,g,O,j]);const k=b||I;return l.jsx(l.Fragment,{children:l.jsx("tr",Object.assign({className:S(v.tableTr,t,a!==void 0&&v.tableExpandableRow,a&&v.modifiers.expanded,n&&vo.modifiers.inlineEditable,s&&v.modifiers.clickable,o&&v.modifiers.selected,c&&v.modifiers.striped,d&&v.modifiers.borderRow,f&&v.tableControlRow,x&&v.modifiers.firstCellOffsetReset),hidden:j},s&&{tabIndex:0},{"aria-label":k,ref:p},_&&{onClick:_,onKeyDown:q},R,h,{children:r}))})},ae=C.forwardRef((e,r)=>l.jsx(wo,Object.assign({},e,{innerRef:r})));ae.displayName="Tr";const qo=e=>{var{children:r,className:t,noWrap:a=!1,innerRef:n,hasNestedHeader:i}=e,s=A(e,["children","className","noWrap","innerRef","hasNestedHeader"]);return l.jsx("thead",Object.assign({className:S(v.tableThead,t,a&&v.modifiers.nowrap,i&&v.modifiers.nestedColumnHeader),ref:n},s,{children:r}))},Fn=C.forwardRef((e,r)=>l.jsx(qo,Object.assign({},e,{innerRef:r})));Fn.displayName="Thead";const Io=e=>{var{children:r,className:t,isExpanded:a,innerRef:n,isEvenStriped:i=!1,isOddStriped:s=!1}=e,o=A(e,["children","className","isExpanded","innerRef","isEvenStriped","isOddStriped"]);return l.jsx("tbody",Object.assign({role:"rowgroup",className:S(v.tableTbody,t,a&&v.modifiers.expanded,s&&v.modifiers.striped,i&&v.modifiers.stripedEven),ref:n},o,{children:r}))},ut=C.forwardRef((e,r)=>l.jsx(Io,Object.assign({},e,{innerRef:r})));ut.displayName="Tbody";const J={modifiers:{borderRight:"pf-m-border-right",borderLeft:"pf-m-border-left"},tableStickyCell:"pf-v6-c-table__sticky-cell"},Po={screenReader:"pf-v6-u-screen-reader"};var je,Pt;function Ao(){if(Pt)return je;Pt=1;function e(){this.__data__=[],this.size=0}return je=e,je}var Ce,At;function he(){if(At)return Ce;At=1;function e(r,t){return r===t||r!==r&&t!==t}return Ce=e,Ce}var Oe,kt;function be(){if(kt)return Oe;kt=1;var e=he();function r(t,a){for(var n=t.length;n--;)if(e(t[n][0],a))return n;return-1}return Oe=r,Oe}var Re,Nt;function ko(){if(Nt)return Re;Nt=1;var e=be(),r=Array.prototype,t=r.splice;function a(n){var i=this.__data__,s=e(i,n);if(s<0)return!1;var o=i.length-1;return s==o?i.pop():t.call(i,s,1),--this.size,!0}return Re=a,Re}var Te,Et;function No(){if(Et)return Te;Et=1;var e=be();function r(t){var a=this.__data__,n=e(a,t);return n<0?void 0:a[n][1]}return Te=r,Te}var Se,Lt;function Eo(){if(Lt)return Se;Lt=1;var e=be();function r(t){return e(this.__data__,t)>-1}return Se=r,Se}var we,Mt;function Lo(){if(Mt)return we;Mt=1;var e=be();function r(t,a){var n=this.__data__,i=e(n,t);return i<0?(++this.size,n.push([t,a])):n[i][1]=a,this}return we=r,we}var qe,Dt;function ve(){if(Dt)return qe;Dt=1;var e=Ao(),r=ko(),t=No(),a=Eo(),n=Lo();function i(s){var o=-1,c=s==null?0:s.length;for(this.clear();++o<c;){var d=s[o];this.set(d[0],d[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=a,i.prototype.set=n,qe=i,qe}var Ie,Bt;function Mo(){if(Bt)return Ie;Bt=1;var e=ve();function r(){this.__data__=new e,this.size=0}return Ie=r,Ie}var Pe,Ft;function Do(){if(Ft)return Pe;Ft=1;function e(r){var t=this.__data__,a=t.delete(r);return this.size=t.size,a}return Pe=e,Pe}var Ae,Vt;function Bo(){if(Vt)return Ae;Vt=1;function e(r){return this.__data__.get(r)}return Ae=e,Ae}var ke,Ht;function Fo(){if(Ht)return ke;Ht=1;function e(r){return this.__data__.has(r)}return ke=e,ke}var Ne,Gt;function Vn(){if(Gt)return Ne;Gt=1;var e=typeof fe=="object"&&fe&&fe.Object===Object&&fe;return Ne=e,Ne}var Ee,$t;function Q(){if($t)return Ee;$t=1;var e=Vn(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return Ee=t,Ee}var Le,Wt;function Hn(){if(Wt)return Le;Wt=1;var e=Q(),r=e.Symbol;return Le=r,Le}var Me,Ut;function Vo(){if(Ut)return Me;Ut=1;var e=Hn(),r=Object.prototype,t=r.hasOwnProperty,a=r.toString,n=e?e.toStringTag:void 0;function i(s){var o=t.call(s,n),c=s[n];try{s[n]=void 0;var d=!0}catch{}var f=a.call(s);return d&&(o?s[n]=c:delete s[n]),f}return Me=i,Me}var De,Kt;function Ho(){if(Kt)return De;Kt=1;var e=Object.prototype,r=e.toString;function t(a){return r.call(a)}return De=t,De}var Be,zt;function _e(){if(zt)return Be;zt=1;var e=Hn(),r=Vo(),t=Ho(),a="[object Null]",n="[object Undefined]",i=e?e.toStringTag:void 0;function s(o){return o==null?o===void 0?n:a:i&&i in Object(o)?r(o):t(o)}return Be=s,Be}var Fe,Xt;function z(){if(Xt)return Fe;Xt=1;function e(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}return Fe=e,Fe}var Ve,Jt;function pt(){if(Jt)return Ve;Jt=1;var e=_e(),r=z(),t="[object AsyncFunction]",a="[object Function]",n="[object GeneratorFunction]",i="[object Proxy]";function s(o){if(!r(o))return!1;var c=e(o);return c==a||c==n||c==t||c==i}return Ve=s,Ve}var He,Zt;function Go(){if(Zt)return He;Zt=1;var e=Q(),r=e["__core-js_shared__"];return He=r,He}var Ge,Qt;function $o(){if(Qt)return Ge;Qt=1;var e=Go(),r=function(){var a=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function t(a){return!!r&&r in a}return Ge=t,Ge}var $e,Yt;function Wo(){if(Yt)return $e;Yt=1;var e=Function.prototype,r=e.toString;function t(a){if(a!=null){try{return r.call(a)}catch{}try{return a+""}catch{}}return""}return $e=t,$e}var We,ea;function Uo(){if(ea)return We;ea=1;var e=pt(),r=$o(),t=z(),a=Wo(),n=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,s=Function.prototype,o=Object.prototype,c=s.toString,d=o.hasOwnProperty,f=RegExp("^"+c.call(d).replace(n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(u){if(!t(u)||r(u))return!1;var m=e(u)?f:i;return m.test(a(u))}return We=p,We}var Ue,ra;function Ko(){if(ra)return Ue;ra=1;function e(r,t){return r?.[t]}return Ue=e,Ue}var Ke,ta;function ht(){if(ta)return Ke;ta=1;var e=Uo(),r=Ko();function t(a,n){var i=r(a,n);return e(i)?i:void 0}return Ke=t,Ke}var ze,aa;function Gn(){if(aa)return ze;aa=1;var e=ht(),r=Q(),t=e(r,"Map");return ze=t,ze}var Xe,na;function ge(){if(na)return Xe;na=1;var e=ht(),r=e(Object,"create");return Xe=r,Xe}var Je,ia;function zo(){if(ia)return Je;ia=1;var e=ge();function r(){this.__data__=e?e(null):{},this.size=0}return Je=r,Je}var Ze,sa;function Xo(){if(sa)return Ze;sa=1;function e(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}return Ze=e,Ze}var Qe,oa;function Jo(){if(oa)return Qe;oa=1;var e=ge(),r="__lodash_hash_undefined__",t=Object.prototype,a=t.hasOwnProperty;function n(i){var s=this.__data__;if(e){var o=s[i];return o===r?void 0:o}return a.call(s,i)?s[i]:void 0}return Qe=n,Qe}var Ye,la;function Zo(){if(la)return Ye;la=1;var e=ge(),r=Object.prototype,t=r.hasOwnProperty;function a(n){var i=this.__data__;return e?i[n]!==void 0:t.call(i,n)}return Ye=a,Ye}var er,ca;function Qo(){if(ca)return er;ca=1;var e=ge(),r="__lodash_hash_undefined__";function t(a,n){var i=this.__data__;return this.size+=this.has(a)?0:1,i[a]=e&&n===void 0?r:n,this}return er=t,er}var rr,da;function Yo(){if(da)return rr;da=1;var e=zo(),r=Xo(),t=Jo(),a=Zo(),n=Qo();function i(s){var o=-1,c=s==null?0:s.length;for(this.clear();++o<c;){var d=s[o];this.set(d[0],d[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=a,i.prototype.set=n,rr=i,rr}var tr,ua;function el(){if(ua)return tr;ua=1;var e=Yo(),r=ve(),t=Gn();function a(){this.size=0,this.__data__={hash:new e,map:new(t||r),string:new e}}return tr=a,tr}var ar,fa;function rl(){if(fa)return ar;fa=1;function e(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}return ar=e,ar}var nr,pa;function me(){if(pa)return nr;pa=1;var e=rl();function r(t,a){var n=t.__data__;return e(a)?n[typeof a=="string"?"string":"hash"]:n.map}return nr=r,nr}var ir,ha;function tl(){if(ha)return ir;ha=1;var e=me();function r(t){var a=e(this,t).delete(t);return this.size-=a?1:0,a}return ir=r,ir}var sr,ba;function al(){if(ba)return sr;ba=1;var e=me();function r(t){return e(this,t).get(t)}return sr=r,sr}var or,va;function nl(){if(va)return or;va=1;var e=me();function r(t){return e(this,t).has(t)}return or=r,or}var lr,_a;function il(){if(_a)return lr;_a=1;var e=me();function r(t,a){var n=e(this,t),i=n.size;return n.set(t,a),this.size+=n.size==i?0:1,this}return lr=r,lr}var cr,ga;function sl(){if(ga)return cr;ga=1;var e=el(),r=tl(),t=al(),a=nl(),n=il();function i(s){var o=-1,c=s==null?0:s.length;for(this.clear();++o<c;){var d=s[o];this.set(d[0],d[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=a,i.prototype.set=n,cr=i,cr}var dr,ma;function ol(){if(ma)return dr;ma=1;var e=ve(),r=Gn(),t=sl(),a=200;function n(i,s){var o=this.__data__;if(o instanceof e){var c=o.__data__;if(!r||c.length<a-1)return c.push([i,s]),this.size=++o.size,this;o=this.__data__=new t(c)}return o.set(i,s),this.size=o.size,this}return dr=n,dr}var ur,xa;function ll(){if(xa)return ur;xa=1;var e=ve(),r=Mo(),t=Do(),a=Bo(),n=Fo(),i=ol();function s(o){var c=this.__data__=new e(o);this.size=c.size}return s.prototype.clear=r,s.prototype.delete=t,s.prototype.get=a,s.prototype.has=n,s.prototype.set=i,ur=s,ur}var fr,ya;function $n(){if(ya)return fr;ya=1;var e=ht(),r=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch{}}();return fr=r,fr}var pr,ja;function bt(){if(ja)return pr;ja=1;var e=$n();function r(t,a,n){a=="__proto__"&&e?e(t,a,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[a]=n}return pr=r,pr}var hr,Ca;function Wn(){if(Ca)return hr;Ca=1;var e=bt(),r=he();function t(a,n,i){(i!==void 0&&!r(a[n],i)||i===void 0&&!(n in a))&&e(a,n,i)}return hr=t,hr}var br,Oa;function cl(){if(Oa)return br;Oa=1;function e(r){return function(t,a,n){for(var i=-1,s=Object(t),o=n(t),c=o.length;c--;){var d=o[r?c:++i];if(a(s[d],d,s)===!1)break}return t}}return br=e,br}var vr,Ra;function dl(){if(Ra)return vr;Ra=1;var e=cl(),r=e();return vr=r,vr}var ne={exports:{}};ne.exports;var Ta;function ul(){return Ta||(Ta=1,function(e,r){var t=Q(),a=r&&!r.nodeType&&r,n=a&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===a,s=i?t.Buffer:void 0,o=s?s.allocUnsafe:void 0;function c(d,f){if(f)return d.slice();var p=d.length,u=o?o(p):new d.constructor(p);return d.copy(u),u}e.exports=c}(ne,ne.exports)),ne.exports}var _r,Sa;function fl(){if(Sa)return _r;Sa=1;var e=Q(),r=e.Uint8Array;return _r=r,_r}var gr,wa;function pl(){if(wa)return gr;wa=1;var e=fl();function r(t){var a=new t.constructor(t.byteLength);return new e(a).set(new e(t)),a}return gr=r,gr}var mr,qa;function hl(){if(qa)return mr;qa=1;var e=pl();function r(t,a){var n=a?e(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}return mr=r,mr}var xr,Ia;function bl(){if(Ia)return xr;Ia=1;function e(r,t){var a=-1,n=r.length;for(t||(t=Array(n));++a<n;)t[a]=r[a];return t}return xr=e,xr}var yr,Pa;function vl(){if(Pa)return yr;Pa=1;var e=z(),r=Object.create,t=function(){function a(){}return function(n){if(!e(n))return{};if(r)return r(n);a.prototype=n;var i=new a;return a.prototype=void 0,i}}();return yr=t,yr}var jr,Aa;function _l(){if(Aa)return jr;Aa=1;function e(r,t){return function(a){return r(t(a))}}return jr=e,jr}var Cr,ka;function Un(){if(ka)return Cr;ka=1;var e=_l(),r=e(Object.getPrototypeOf,Object);return Cr=r,Cr}var Or,Na;function Kn(){if(Na)return Or;Na=1;var e=Object.prototype;function r(t){var a=t&&t.constructor,n=typeof a=="function"&&a.prototype||e;return t===n}return Or=r,Or}var Rr,Ea;function gl(){if(Ea)return Rr;Ea=1;var e=vl(),r=Un(),t=Kn();function a(n){return typeof n.constructor=="function"&&!t(n)?e(r(n)):{}}return Rr=a,Rr}var Tr,La;function le(){if(La)return Tr;La=1;function e(r){return r!=null&&typeof r=="object"}return Tr=e,Tr}var Sr,Ma;function ml(){if(Ma)return Sr;Ma=1;var e=_e(),r=le(),t="[object Arguments]";function a(n){return r(n)&&e(n)==t}return Sr=a,Sr}var wr,Da;function zn(){if(Da)return wr;Da=1;var e=ml(),r=le(),t=Object.prototype,a=t.hasOwnProperty,n=t.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(s){return r(s)&&a.call(s,"callee")&&!n.call(s,"callee")};return wr=i,wr}var qr,Ba;function Xn(){if(Ba)return qr;Ba=1;var e=Array.isArray;return qr=e,qr}var Ir,Fa;function Jn(){if(Fa)return Ir;Fa=1;var e=9007199254740991;function r(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=e}return Ir=r,Ir}var Pr,Va;function vt(){if(Va)return Pr;Va=1;var e=pt(),r=Jn();function t(a){return a!=null&&r(a.length)&&!e(a)}return Pr=t,Pr}var Ar,Ha;function xl(){if(Ha)return Ar;Ha=1;var e=vt(),r=le();function t(a){return r(a)&&e(a)}return Ar=t,Ar}var ie={exports:{}},kr,Ga;function yl(){if(Ga)return kr;Ga=1;function e(){return!1}return kr=e,kr}ie.exports;var $a;function Zn(){return $a||($a=1,function(e,r){var t=Q(),a=yl(),n=r&&!r.nodeType&&r,i=n&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===n,o=s?t.Buffer:void 0,c=o?o.isBuffer:void 0,d=c||a;e.exports=d}(ie,ie.exports)),ie.exports}var Nr,Wa;function jl(){if(Wa)return Nr;Wa=1;var e=_e(),r=Un(),t=le(),a="[object Object]",n=Function.prototype,i=Object.prototype,s=n.toString,o=i.hasOwnProperty,c=s.call(Object);function d(f){if(!t(f)||e(f)!=a)return!1;var p=r(f);if(p===null)return!0;var u=o.call(p,"constructor")&&p.constructor;return typeof u=="function"&&u instanceof u&&s.call(u)==c}return Nr=d,Nr}var Er,Ua;function Cl(){if(Ua)return Er;Ua=1;var e=_e(),r=Jn(),t=le(),a="[object Arguments]",n="[object Array]",i="[object Boolean]",s="[object Date]",o="[object Error]",c="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",u="[object RegExp]",m="[object Set]",x="[object String]",_="[object WeakMap]",g="[object ArrayBuffer]",b="[object DataView]",h="[object Float32Array]",R="[object Float64Array]",I="[object Int8Array]",w="[object Int16Array]",q="[object Int32Array]",j="[object Uint8Array]",O="[object Uint8ClampedArray]",k="[object Uint16Array]",T="[object Uint32Array]",y={};y[h]=y[R]=y[I]=y[w]=y[q]=y[j]=y[O]=y[k]=y[T]=!0,y[a]=y[n]=y[g]=y[i]=y[b]=y[s]=y[o]=y[c]=y[d]=y[f]=y[p]=y[u]=y[m]=y[x]=y[_]=!1;function N(P){return t(P)&&r(P.length)&&!!y[e(P)]}return Er=N,Er}var Lr,Ka;function Ol(){if(Ka)return Lr;Ka=1;function e(r){return function(t){return r(t)}}return Lr=e,Lr}var se={exports:{}};se.exports;var za;function Rl(){return za||(za=1,function(e,r){var t=Vn(),a=r&&!r.nodeType&&r,n=a&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===a,s=i&&t.process,o=function(){try{var c=n&&n.require&&n.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=o}(se,se.exports)),se.exports}var Mr,Xa;function Qn(){if(Xa)return Mr;Xa=1;var e=Cl(),r=Ol(),t=Rl(),a=t&&t.isTypedArray,n=a?r(a):e;return Mr=n,Mr}var Dr,Ja;function Yn(){if(Ja)return Dr;Ja=1;function e(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}return Dr=e,Dr}var Br,Za;function Tl(){if(Za)return Br;Za=1;var e=bt(),r=he(),t=Object.prototype,a=t.hasOwnProperty;function n(i,s,o){var c=i[s];(!(a.call(i,s)&&r(c,o))||o===void 0&&!(s in i))&&e(i,s,o)}return Br=n,Br}var Fr,Qa;function Sl(){if(Qa)return Fr;Qa=1;var e=Tl(),r=bt();function t(a,n,i,s){var o=!i;i||(i={});for(var c=-1,d=n.length;++c<d;){var f=n[c],p=s?s(i[f],a[f],f,i,a):void 0;p===void 0&&(p=a[f]),o?r(i,f,p):e(i,f,p)}return i}return Fr=t,Fr}var Vr,Ya;function wl(){if(Ya)return Vr;Ya=1;function e(r,t){for(var a=-1,n=Array(r);++a<r;)n[a]=t(a);return n}return Vr=e,Vr}var Hr,en;function ei(){if(en)return Hr;en=1;var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(a,n){var i=typeof a;return n=n??e,!!n&&(i=="number"||i!="symbol"&&r.test(a))&&a>-1&&a%1==0&&a<n}return Hr=t,Hr}var Gr,rn;function ql(){if(rn)return Gr;rn=1;var e=wl(),r=zn(),t=Xn(),a=Zn(),n=ei(),i=Qn(),s=Object.prototype,o=s.hasOwnProperty;function c(d,f){var p=t(d),u=!p&&r(d),m=!p&&!u&&a(d),x=!p&&!u&&!m&&i(d),_=p||u||m||x,g=_?e(d.length,String):[],b=g.length;for(var h in d)(f||o.call(d,h))&&!(_&&(h=="length"||m&&(h=="offset"||h=="parent")||x&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||n(h,b)))&&g.push(h);return g}return Gr=c,Gr}var $r,tn;function Il(){if(tn)return $r;tn=1;function e(r){var t=[];if(r!=null)for(var a in Object(r))t.push(a);return t}return $r=e,$r}var Wr,an;function Pl(){if(an)return Wr;an=1;var e=z(),r=Kn(),t=Il(),a=Object.prototype,n=a.hasOwnProperty;function i(s){if(!e(s))return t(s);var o=r(s),c=[];for(var d in s)d=="constructor"&&(o||!n.call(s,d))||c.push(d);return c}return Wr=i,Wr}var Ur,nn;function ri(){if(nn)return Ur;nn=1;var e=ql(),r=Pl(),t=vt();function a(n){return t(n)?e(n,!0):r(n)}return Ur=a,Ur}var Kr,sn;function Al(){if(sn)return Kr;sn=1;var e=Sl(),r=ri();function t(a){return e(a,r(a))}return Kr=t,Kr}var zr,on;function kl(){if(on)return zr;on=1;var e=Wn(),r=ul(),t=hl(),a=bl(),n=gl(),i=zn(),s=Xn(),o=xl(),c=Zn(),d=pt(),f=z(),p=jl(),u=Qn(),m=Yn(),x=Al();function _(g,b,h,R,I,w,q){var j=m(g,h),O=m(b,h),k=q.get(O);if(k){e(g,h,k);return}var T=w?w(j,O,h+"",g,b,q):void 0,y=T===void 0;if(y){var N=s(O),P=!N&&c(O),F=!N&&!P&&u(O);T=O,N||P||F?s(j)?T=j:o(j)?T=a(j):P?(y=!1,T=r(O,!0)):F?(y=!1,T=t(O,!0)):T=[]:p(O)||i(O)?(T=j,i(j)?T=x(j):(!f(j)||d(j))&&(T=n(O))):y=!1}y&&(q.set(O,T),I(T,O,R,w,q),q.delete(O)),e(g,h,T)}return zr=_,zr}var Xr,ln;function Nl(){if(ln)return Xr;ln=1;var e=ll(),r=Wn(),t=dl(),a=kl(),n=z(),i=ri(),s=Yn();function o(c,d,f,p,u){c!==d&&t(d,function(m,x){if(u||(u=new e),n(m))a(c,d,x,f,o,p,u);else{var _=p?p(s(c,x),m,x+"",c,d,u):void 0;_===void 0&&(_=m),r(c,x,_)}},i)}return Xr=o,Xr}var Jr,cn;function ti(){if(cn)return Jr;cn=1;function e(r){return r}return Jr=e,Jr}var Zr,dn;function El(){if(dn)return Zr;dn=1;function e(r,t,a){switch(a.length){case 0:return r.call(t);case 1:return r.call(t,a[0]);case 2:return r.call(t,a[0],a[1]);case 3:return r.call(t,a[0],a[1],a[2])}return r.apply(t,a)}return Zr=e,Zr}var Qr,un;function Ll(){if(un)return Qr;un=1;var e=El(),r=Math.max;function t(a,n,i){return n=r(n===void 0?a.length-1:n,0),function(){for(var s=arguments,o=-1,c=r(s.length-n,0),d=Array(c);++o<c;)d[o]=s[n+o];o=-1;for(var f=Array(n+1);++o<n;)f[o]=s[o];return f[n]=i(d),e(a,this,f)}}return Qr=t,Qr}var Yr,fn;function Ml(){if(fn)return Yr;fn=1;function e(r){return function(){return r}}return Yr=e,Yr}var et,pn;function Dl(){if(pn)return et;pn=1;var e=Ml(),r=$n(),t=ti(),a=r?function(n,i){return r(n,"toString",{configurable:!0,enumerable:!1,value:e(i),writable:!0})}:t;return et=a,et}var rt,hn;function Bl(){if(hn)return rt;hn=1;var e=800,r=16,t=Date.now;function a(n){var i=0,s=0;return function(){var o=t(),c=r-(o-s);if(s=o,c>0){if(++i>=e)return arguments[0]}else i=0;return n.apply(void 0,arguments)}}return rt=a,rt}var tt,bn;function Fl(){if(bn)return tt;bn=1;var e=Dl(),r=Bl(),t=r(e);return tt=t,tt}var at,vn;function Vl(){if(vn)return at;vn=1;var e=ti(),r=Ll(),t=Fl();function a(n,i){return t(r(n,i,e),n+"")}return at=a,at}var nt,_n;function Hl(){if(_n)return nt;_n=1;var e=he(),r=vt(),t=ei(),a=z();function n(i,s,o){if(!a(o))return!1;var c=typeof s;return(c=="number"?r(o)&&t(s,o.length):c=="string"&&s in o)?e(o[s],i):!1}return nt=n,nt}var it,gn;function Gl(){if(gn)return it;gn=1;var e=Vl(),r=Hl();function t(a){return e(function(n,i){var s=-1,o=i.length,c=o>1?i[o-1]:void 0,d=o>2?i[2]:void 0;for(c=a.length>3&&typeof c=="function"?(o--,c):void 0,d&&r(i[0],i[1],d)&&(c=o<3?void 0:c,o=1),n=Object(n);++s<o;){var f=i[s];f&&a(n,f,s,c)}return n})}return it=t,it}var st,mn;function $l(){if(mn)return st;mn=1;var e=Nl(),r=Gl(),t=r(function(a,n,i,s){e(a,n,i,s)});return st=t,st}var Wl=$l();const ot=ii(Wl);function ai(...e){const r=e[0],t=e.slice(1);return t.length?ot(ot({},r),...t,(a,n,i)=>{if(i==="children")return a&&n?C.cloneElement(a,{children:n}):Object.assign(Object.assign({},n),a);if(i==="className")return S(a,n)}):ot({},r)}const Ul=e=>{var r,{children:t,className:a,component:n="th",dataLabel:i,scope:s="col",textCenter:o=!1,sort:c=null,modifier:d,select:f=null,expand:p=null,tooltip:u="",tooltipProps:m,onMouseEnter:x=()=>{},width:_,visibility:g,innerRef:b,info:h,isStickyColumn:R=!1,hasRightBorder:I=!1,hasLeftBorder:w=!1,stickyMinWidth:q="120px",stickyLeftOffset:j,stickyRightOffset:O,isSubheader:k=!1,screenReaderText:T,"aria-label":y}=e,N=A(e,["children","className","component","dataLabel","scope","textCenter","sort","modifier","select","expand","tooltip","tooltipProps","onMouseEnter","width","visibility","innerRef","info","isStickyColumn","hasRightBorder","hasLeftBorder","stickyMinWidth","stickyLeftOffset","stickyRightOffset","isSubheader","screenReaderText","aria-label"]);!t&&!T&&!y&&console.warn("Th: Table headers must have an accessible name. If the Th is intended to be visually empty, pass in screenReaderText. If the Th contains only non-text, interactive content such as a checkbox or expand toggle, pass in an aria-label.");const[P,F]=C.useState(!1),[Y,V]=C.useState(!1),H=b||C.createRef(),L=U=>{U.target.offsetWidth<U.target.scrollWidth?!P&&F(!0):P&&F(!1),x(U)};let M=null;c&&(c.isFavorites?M=go({onSort:c.onSort,columnIndex:c.columnIndex,sortBy:c.sortBy,tooltip:u,tooltipProps:m,ariaLabel:c["aria-label"],favoriteButtonProps:c.favoriteButtonProps})():M=An(t,{columnIndex:c.columnIndex,column:{extraParams:{sortBy:c.sortBy,onSort:c?.onSort}},tooltip:u,tooltipProps:m}));const D=f?In(t,{rowData:{selected:f.isSelected,disableSelection:f?.isDisabled,props:f?.props},column:{extraParams:{onSelect:f?.onSelect,selectVariant:"checkbox",allRowsSelected:f.isSelected,isHeaderSelectDisabled:!!f.isHeaderSelectDisabled}},tooltip:u}):null,$=p?Nn(t,{column:{extraParams:{onCollapse:p?.onToggle,allRowsExpanded:!p.areAllExpanded,collapseAllAriaLabel:""}}}):null,ce=_?kn(_)():null,G=g?Ln(...g.map(U=>En[U]))():null;let X=M?.children||D?.children||$?.children||t,ee=null;h&&(ee=Oo(h)(X),X=ee.children);const de=ai(M,D,$,ce,G,ee),{children:_t=null,isVisible:xe=null,className:gt="",component:ye=n}=de,re=A(de,["children","isVisible","className","component"]);C.useEffect(()=>{V(H.current.offsetWidth<H.current.scrollWidth)},[H]);const ue=l.jsx(ye,Object.assign({tabIndex:c||f||!Y?-1:0,onFocus:u!==null?L:x,onBlur:()=>F(!1),"data-label":i,onMouseEnter:u!==null?L:x,scope:n==="th"?s:null,ref:H,"aria-label":y,className:S(v.tableTh,a,o&&v.modifiers.center,k&&v.tableSubhead,R&&J.tableStickyCell,I&&J.modifiers.borderRight,w&&J.modifiers.borderLeft,d&&v.modifiers[d],((r=c?.favoriteButtonProps)===null||r===void 0?void 0:r.favorited)&&v.modifiers.favorited,gt)},re,N,R&&{style:Object.assign({[On.name]:q||void 0,[Cn.name]:j||0,[jn.name]:O||0},N.style)},{children:X||T&&l.jsx("span",{className:Po.screenReader,children:T})}));return u!==null&&(u===""?typeof X=="string":!0)&&!(M||D)&&P?l.jsxs(l.Fragment,{children:[ue,l.jsx(Z,Object.assign({triggerRef:H,content:u||u===""&&t,isVisible:!0},m))]}):ue},oe=C.forwardRef((e,r)=>l.jsx(Ul,Object.assign({},e,{innerRef:r})));oe.displayName="Th";const Kl=(e,{rowData:r})=>{const{id:t}=r;return{className:"",children:l.jsx(wn,{id:t})}},zl=e=>{var{children:r,className:t,isActionCell:a=!1,component:n="td",dataLabel:i,textCenter:s=!1,modifier:o,select:c=null,actions:d=null,expand:f=null,treeRow:p=null,compoundExpand:u=null,noPadding:m,width:x,visibility:_,innerRef:g,favorites:b=null,draggableRow:h=null,tooltip:R="",onMouseEnter:I=()=>{},isStickyColumn:w=!1,hasRightBorder:q=!1,hasLeftBorder:j=!1,stickyMinWidth:O="120px",stickyLeftOffset:k,stickyRightOffset:T}=e,y=A(e,["children","className","isActionCell","component","dataLabel","textCenter","modifier","select","actions","expand","treeRow","compoundExpand","noPadding","width","visibility","innerRef","favorites","draggableRow","tooltip","onMouseEnter","isStickyColumn","hasRightBorder","hasLeftBorder","stickyMinWidth","stickyLeftOffset","stickyRightOffset"]);const[N,P]=C.useState(!1),[F,Y]=C.useState(!1),V=g||C.createRef(),H=te=>{te.target.offsetWidth<te.target.scrollWidth?!N&&P(!0):N&&P(!1),I(te)},L=c?In(r,{rowIndex:c.rowIndex,rowData:{selected:c.isSelected,disableSelection:c?.isDisabled,props:c?.props},column:{extraParams:{onSelect:c?.onSelect,selectVariant:c.variant||"checkbox"}}}):null,M=b?Ro(null,{rowIndex:b?.rowIndex,rowData:{favorited:b.isFavorited,favoritesProps:b?.props},column:{extraParams:{onFavorite:b?.onFavorite}}}):null,D=h!==null?Kl(null,{rowData:{id:h.id}}):null,$=d?mo(d.items,null,null):null,ce=$?$(null,{rowIndex:d?.rowIndex,rowData:{disableActions:d?.isDisabled},column:{extraParams:{dropdownPosition:d?.dropdownPosition,dropdownDirection:d?.dropdownDirection,menuAppendTo:d?.menuAppendTo,actionsToggle:d?.actionsToggle}}}):null,G=f!==null?Nn(null,{rowIndex:f.rowIndex,columnIndex:f?.columnIndex,rowData:{isOpen:f.isExpanded},column:{extraParams:{onCollapse:f?.onToggle,expandId:f?.expandId}}}):null,X=u!==null?jo({title:r,props:{isOpen:u.isExpanded}},{rowIndex:u?.rowIndex,columnIndex:u?.columnIndex,column:{extraParams:{onExpand:u?.onToggle,expandId:u?.expandId}}}):null,ee=x?kn(x)():null,de=_?Ln(..._.map(te=>En[te]))():null,_t=p!==null?To(p.onCollapse,p.onCheckChange,p.onToggleRowDetails)({title:r},{rowIndex:p.rowIndex,rowData:{props:p.props}}):null,xe=ai(L,ce,G,X,ee,de,M,_t,D),{isVisible:gt=null,children:ye=null,className:re="",component:ue=n}=xe,mt=A(xe,["isVisible","children","className","component"]),xt=t&&t.includes(E.tableTreeViewTitleCell)||re&&re.includes(E.tableTreeViewTitleCell);C.useEffect(()=>{Y(V.current.offsetWidth<V.current.scrollWidth)},[V]);const U=l.jsx(ue,Object.assign({tabIndex:(c||!F)&&o!=="truncate"?-1:0},!xt&&{"data-label":i},{onFocus:R!==null?H:I,onBlur:()=>P(!1),onMouseEnter:R!==null?H:I,className:S(v.tableTd,t,a&&v.tableAction,s&&v.modifiers.center,m&&v.modifiers.noPadding,w&&J.tableStickyCell,q&&J.modifiers.borderRight,j&&J.modifiers.borderLeft,v.modifiers[o],D&&v.tableDraggable,re),ref:V},mt,y,w&&{style:Object.assign({[On.name]:O||void 0,[Cn.name]:k||0,[jn.name]:T||0},y.style)},{children:ye||r}));return R!==null&&(R===""?typeof r=="string":!0)&&N?l.jsxs(l.Fragment,{children:[U,l.jsx(Z,{triggerRef:V,content:R||R===""&&r,isVisible:!0})]}):U},W=C.forwardRef((e,r)=>l.jsx(zl,Object.assign({},e,{innerRef:r})));W.displayName="Td";const Xl=Object.freeze(Object.defineProperty({__proto__:null,c_DragDrop:hi,c_about_modal_box:bi,c_accordion:vi,c_action_list:_i,c_alert:gi,c_alert_group:mi,c_avatar:xi,c_back_to_top:yi,c_backdrop:ji,c_background_image:Ci,c_badge:Oi,c_banner:Ri,c_brand:Ti,c_breadcrumb:Si,c_button:wi,c_calendar_month:qi,c_card:Ii,c_check:Pi,c_clipboard_copy:Ai,c_code_block:ki,c_code_editor:Ni,c_content:Ei,c_data_list:Li,c_date_picker:Mi,c_description_list:Di,c_divider:Bi,c_drag_drop:Fi,c_drawer:Vi,c_dual_list_selector:Hi,c_empty_state:Gi,c_expandable_section:$i,c_file_upload:Wi,c_form:Ui,c_form_control:Ki,c_helper_text:zi,c_hint:Xi,c_icon:Ji,c_inline_edit:Zi,c_input_group:Qi,c_jump_links:Yi,c_label:es,c_label_group:rs,c_list:ts,c_login:as,c_masthead:ns,c_menu:is,c_menu_toggle:ss,c_modal_box:os,c_multiple_file_upload:ls,c_nav:cs,c_notification_drawer:ds,c_number_input:us,c_overflow_menu:fs,c_page:ps,c_pagination:hs,c_panel:bs,c_popover:vs,c_progress:_s,c_progress_stepper:gs,c_radio:ms,c_sidebar:xs,c_simple_list:ys,c_skeleton:js,c_skip_to_content:Cs,c_slider:Os,c_spinner:Rs,c_switch:Ts,c_tab_content:Ss,c_table:ws,c_table_grid:qs,c_table_scrollable:Is,c_table_tree_view:Ps,c_tabs:As,c_text_input_group:ks,c_tile:Ns,c_timestamp:Es,c_title:Ls,c_toggle_group:Ms,c_toolbar:Ds,c_tooltip:Bs,c_tree_view:Fs,c_truncate:Vs,c_wizard:Hs,l_bullseye:Gs,l_flex:$s,l_gallery:Ws,l_grid:Us,l_level:Ks,l_split:zs,l_stack:Xs,patternfly_charts:Js,patternfly_variables:Zs},Symbol.toStringTag,{value:"Module"})),Jl=({getDebouncedFilteredRows:e,"aria-label":r="Filter CSS Variables",placeholder:t="Filter CSS Variables"})=>{const[a,n]=C.useState(""),i=(s,o)=>{n(o),e(o)};return l.jsx(so,{"aria-label":r,placeholder:t,value:a,onChange:i})},Zl=e=>yn.Children.toArray(e).filter(t=>typeof t=="string"||typeof t=="number").join("").toLowerCase().trim().replace(/index$/,"").replace(/\s/g,"-").replace(/[^A-Za-z0-9.\-~]/g,""),Ql=({id:e,headingLevel:r,children:t,metaText:a,className:n})=>{const i=e||Zl(t);return l.jsxs(Qs,{alignItems:{default:"alignItemsCenter"},spaceItems:{default:"spaceItemsSm"},children:[l.jsx(Ot,{children:l.jsxs(oo,{id:i,component:r,className:S("ws-heading",n),tabIndex:-1,isEditorial:!0,children:[l.jsx(B,{href:`#${i}`,component:"a",className:"ws-heading-anchor",tabIndex:-1,"aria-hidden":!0,variant:"plain",isInline:!0,children:l.jsx(Ys,{className:"ws-heading-anchor-icon",style:{verticalAlign:"middle"}})}),t]})}),a&&l.jsx(Ot,{children:a})]})},Yl=/^(#|rgb)/,ec=(e,r)=>l.jsxs(ro,{isPlain:!0,children:[l.jsx(Rt,{children:e}),r.map(t=>l.jsx(Rt,{icon:l.jsx(to,{className:"rotate-90-deg"}),children:t},t))]}),rc=e=>{const r=[];return e.forEach(t=>{Object.entries(t).forEach(([a,n])=>{n!==void 0&&Object.entries(n).forEach(([i,s])=>{if(typeof s=="object"&&s!==null&&"name"in s){const o=s;r.push({selector:a,property:o.name,token:i,value:o.value,values:o.values})}})})}),r},hc=({cssPrefix:e,hideSelectorColumn:r=!1,selector:t,debounceLength:a=500,autoLinkHeader:n})=>{const i=e.replace("pf-v6-","").replace(/-+/g,"_"),s=Object.entries(Xl).filter(([b,h])=>i===b).sort(([b],[h])=>b.localeCompare(h)).map(([b,h])=>t?{selector:h[t]}:h),o=rc(s),c=b=>{const h=[];let R=-1;return o.forEach(I=>{const{selector:w,property:q,value:j,values:O}=I;if(!b||b.test(w)||b.test(q)||b.test(j)||O&&b.test(JSON.stringify(O))){const T=`${w}_${q}`,y=Yl.test(j),N=[r?[]:[w],q,l.jsx("div",{children:l.jsxs("div",{className:"pf-v6-l-flex pf-m-space-items-sm",children:[y&&l.jsx("div",{className:"pf-v6-l-flex pf-m-column pf-m-align-self-center",children:l.jsx("span",{className:"circle",style:{backgroundColor:`${j}`}})},`${T}_2`),l.jsxs("div",{className:"pf-v6-l-flex pf-m-column pf-m-align-self-center ws-td-text",children:[y&&"(In light theme)"," ",j]},`${T}_3`)]},`${T}_1`)},T)];h.push({isOpen:O?!1:void 0,cells:N,details:O?{parent:R,fullWidth:!0,data:ec(q,O)}:void 0}),R+=1,O&&(R+=1)}}),h},d=/.*/,[f,p]=C.useState(d),[u,m]=C.useState(c(f)),x=!(typeof e>"u"),_=(b,h,R)=>{const I=h===void 0;let w=Array.from(u);I?w=w.map(q=>q.isOpen===void 0?q:{...q,isOpen:R}):w[h]={...w[h],isOpen:R},m(w)},g=ni(b=>{const h=new RegExp(b,"i");p(h),m(c(h))},a);return l.jsx(eo,{hasGutter:!0,children:x&&l.jsxs(l.Fragment,{children:[n&&l.jsx(Ql,{headingLevel:"h3",className:"pf-v6-u-mt-lg pf-v6-u-mb-md",children:`Prefixed with '${e}'`}),l.jsx(Jl,{getDebouncedFilteredRows:g}),l.jsxs(Bn,{variant:"compact","aria-label":`CSS Variables prefixed with ${e}`,children:[l.jsx(Fn,{children:l.jsxs(ae,{children:[!r&&l.jsxs(yn.Fragment,{children:[l.jsx(oe,{screenReaderText:"Expand or collapse column"}),l.jsx(oe,{children:"Selector"})]}),l.jsx(oe,{children:"Variable"}),l.jsx(oe,{children:"Value"})]})}),r?l.jsx(ut,{children:u.map((b,h)=>l.jsxs(ae,{children:[l.jsx(W,{dataLabel:"Variable",children:b.cells[0]}),l.jsx(W,{dataLabel:"Value",children:b.cells[1]})]},h))}):u.map((b,h)=>l.jsxs(ut,{isExpanded:b.isOpen,children:[l.jsxs(ae,{children:[l.jsx(W,{expand:b.details?{rowIndex:h,isExpanded:b.isOpen||!1,onToggle:_,expandId:`css-vars-expandable-toggle-${e}`}:void 0}),l.jsx(W,{dataLabel:"Selector",children:b.cells[0]}),l.jsx(W,{dataLabel:"Variable",children:b.cells[1]}),l.jsx(W,{dataLabel:"Value",children:b.cells[2]})]}),b.details?l.jsxs(ae,{isExpanded:b.isOpen,children:[b.details.fullWidth?null:l.jsx(W,{}),l.jsx(W,{dataLabel:"Selector",colSpan:5,children:b.details.data})]}):null]},h))]})]})})};export{hc as CSSTable};
@@ -1 +0,0 @@
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,g,A;const B=e=>document.dispatchEvent(new Event(e)),U=()=>B("astro:page-load"),ge=()=>{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 we(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 w=i.sourceElement instanceof HTMLFormElement?i.sourceElement:i.sourceElement instanceof HTMLElement&&"form"in i.sourceElement?i.sourceElement.form:i.sourceElement?.closest("form");h.body=t!==void 0&&Reflect.get(HTMLFormElement.prototype,"attributes",w).getNamedItem("enctype")?.value==="application/x-www-form-urlencoded"?new URLSearchParams(i.formData):i.formData}const m=await we(p,h);if(m===null){i.preventDefault();return}if(m.redirected){const w=new URL(m.redirected);if(w.origin!==i.to.origin){i.preventDefault();return}i.to=w}if(O??=new DOMParser,i.newDocument=O.parseFromString(m.html,m.mediaType),i.newDocument.querySelectorAll("noscript").forEach(w=>w.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(g&&g.viewTransition){try{g.viewTransition.skipTransition()}catch{}try{await g.viewTransition.updateCallbackDone}catch{}}return g={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(),ge()}),c.viewTransition?.finished.finally(()=>{c.viewTransition=void 0,c===g&&(g=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}));
@@ -1 +0,0 @@
1
- import{r as o}from"./index.eCxJ45ll.js";import{r as g}from"./index.BQFV5hT1.js";var s={},p;function v(){if(p)return s;p=1;var t=g();return s.createRoot=t.createRoot,s.hydrateRoot=t.hydrateRoot,s}var y=v();const d=({value:t,name:r,hydrate:e=!0})=>{if(!t)return null;const a=e?"astro-slot":"astro-static-slot";return o.createElement(a,{name:r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}})};d.shouldComponentUpdate=()=>!1;function C(t){for(const r in t)if(r.startsWith("__reactContainer"))return r}function R(t){let r={};for(const e of t.attributes)r[e.name]=e.value;return t.firstChild===null?o.createElement(t.localName,r):o.createElement(t.localName,r,Array.from(t.childNodes).map(e=>e.nodeType===Node.TEXT_NODE?e.data:e.nodeType===Node.ELEMENT_NODE?R(e):void 0).filter(e=>!!e))}function O(t,r){if(r&&t){let e=[],a=document.createElement("template");a.innerHTML=t;for(let u of a.content.children)e.push(R(u));return e}else return t?o.createElement(d,{value:t}):void 0}let h=new WeakMap;const N=(t,r)=>{let e=h.get(t);return e||(e=r(),h.set(t,e)),e},x=t=>(r,e,{default:a,...u},{client:A})=>{if(!t.hasAttribute("ssr"))return;const f=t.getAttribute("data-action-key"),l=t.getAttribute("data-action-name"),E=t.getAttribute("data-action-result"),T=f&&l&&E?[JSON.parse(E),f,l]:void 0,b={identifierPrefix:t.getAttribute("prefix"),formState:T};for(const[i,n]of Object.entries(u))e[i]=o.createElement(d,{value:n,name:i});const c=o.createElement(r,e,O(a,t.hasAttribute("data-react-children"))),m=C(t);if(m&&delete t[m],A==="only")return o.startTransition(()=>{N(t,()=>{const n=y.createRoot(t);return t.addEventListener("astro:unmount",()=>n.unmount(),{once:!0}),n}).render(c)});o.startTransition(()=>{N(t,()=>{const n=y.hydrateRoot(t,c,b);return t.addEventListener("astro:unmount",()=>n.unmount(),{once:!0}),n}).render(c)})};export{x as default};