@patternfly/elements 4.0.0 → 4.0.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 (53) hide show
  1. package/package.json +2 -2
  2. package/pf-accordion/pf-accordion-header.js +1 -1
  3. package/pf-accordion/pf-accordion-panel.js +1 -1
  4. package/pf-accordion/pf-accordion.js +1 -1
  5. package/pf-avatar/pf-avatar.js +1 -1
  6. package/pf-back-to-top/pf-back-to-top.js +1 -1
  7. package/pf-background-image/pf-background-image.js +1 -1
  8. package/pf-badge/pf-badge.js +1 -1
  9. package/pf-banner/pf-banner.js +1 -1
  10. package/pf-button/pf-button.js +1 -1
  11. package/pf-card/pf-card.js +1 -1
  12. package/pf-chip/pf-chip-group.js +1 -1
  13. package/pf-chip/pf-chip.js +1 -1
  14. package/pf-clipboard-copy/pf-clipboard-copy.js +1 -1
  15. package/pf-code-block/pf-code-block.js +1 -1
  16. package/pf-dropdown/pf-dropdown-group.js +1 -1
  17. package/pf-dropdown/pf-dropdown-item.js +1 -1
  18. package/pf-dropdown/pf-dropdown-menu.js +1 -1
  19. package/pf-dropdown/pf-dropdown.js +1 -1
  20. package/pf-icon/pf-icon.js +2 -2
  21. package/pf-icon/pf-icon.js.map +1 -1
  22. package/pf-jump-links/pf-jump-links-item.js +1 -1
  23. package/pf-jump-links/pf-jump-links-list.js +1 -1
  24. package/pf-jump-links/pf-jump-links.js +1 -1
  25. package/pf-label/pf-label.js +1 -1
  26. package/pf-modal/pf-modal.js +1 -1
  27. package/pf-panel/pf-panel.js +1 -1
  28. package/pf-popover/pf-popover.js +1 -1
  29. package/pf-progress/pf-progress.js +1 -1
  30. package/pf-progress-stepper/pf-progress-step.js +1 -1
  31. package/pf-progress-stepper/pf-progress-stepper.js +1 -1
  32. package/pf-select/pf-option-group.js +1 -1
  33. package/pf-select/pf-option.js +1 -1
  34. package/pf-select/pf-select.js +1 -1
  35. package/pf-spinner/pf-spinner.js +1 -1
  36. package/pf-switch/pf-switch.js +1 -1
  37. package/pf-table/pf-caption.js +1 -1
  38. package/pf-table/pf-table.js +1 -1
  39. package/pf-table/pf-tbody.js +1 -1
  40. package/pf-table/pf-td.js +1 -1
  41. package/pf-table/pf-th.js +1 -1
  42. package/pf-table/pf-thead.js +1 -1
  43. package/pf-table/pf-tr.js +1 -1
  44. package/pf-tabs/pf-tab-panel.js +1 -1
  45. package/pf-tabs/pf-tab.js +1 -1
  46. package/pf-tabs/pf-tabs.js +1 -1
  47. package/pf-text-area/pf-text-area.js +1 -1
  48. package/pf-text-input/pf-text-input.js +1 -1
  49. package/pf-tile/pf-tile.js +1 -1
  50. package/pf-timestamp/pf-timestamp.js +1 -1
  51. package/pf-tooltip/pf-tooltip.js +1 -1
  52. package/pfe.min.js +170 -170
  53. package/pfe.min.js.map +2 -2
package/pfe.min.js CHANGED
@@ -1,4 +1,4 @@
1
- var tp=Object.defineProperty;var Pm=Object.getOwnPropertyDescriptor;var qo=(l,t)=>()=>(l&&(t=l(l=0)),t);var Zn=(l,t)=>{for(var o in t)tp(l,o,{get:t[o],enumerable:!0})};var r=(l,t,o,e)=>{for(var a=e>1?void 0:e?Pm(t,o):t,c=l.length-1,p;c>=0;c--)(p=l[c])&&(a=(e?p(t,o,a):p(a))||a);return e&&a&&tp(t,o,a),a};var Qn=(l,t,o)=>{if(!t.has(l))throw TypeError("Cannot "+o)};var i=(l,t,o)=>(Qn(l,t,"read from private field"),o?o.call(l):t.get(l)),n=(l,t,o)=>{if(t.has(l))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(l):t.set(l,o)},v=(l,t,o,e)=>(Qn(l,t,"write to private field"),e?e.call(l,o):t.set(l,o),o);var s=(l,t,o)=>(Qn(l,t,"access private method"),o);import{__classPrivateFieldGet as I,__classPrivateFieldSet as Vo}from"tslib";import{autoUpdate as Im,computePosition as Hm,offset as $m,shift as Am,flip as Om,arrow as Dm}from"@floating-ui/dom";var rt,br,he,ue,gl,bl,hl,hr,Ut,Jn,oc,ep,tc,Yo,ur=qo(()=>{"use strict";Yo=class{get alignment(){return I(this,bl,"f")??"center"}get anchor(){return I(this,gl,"f")??""}get open(){return I(this,br,"f")}get placement(){return I(this,hr,"f")??"top"}get styles(){return I(this,hl,"f")??{}}constructor(t,o){rt.add(this),this.host=t,br.set(this,!1),he.set(this,!1),ue.set(this,void 0),gl.set(this,void 0),bl.set(this,void 0),hl.set(this,void 0),hr.set(this,void 0),Ut.set(this,void 0),t.addController(this),Vo(this,Ut,{invoker:()=>t,shift:!0,...o},"f")}hostDisconnected(){I(this,ue,"f")?.call(this)}async show({offset:t,placement:o,flip:e,fallbackPlacements:a}={}){let c=I(this,rt,"a",Jn),p=I(this,rt,"a",oc);if(!(!c||!p)){if(!I(this,he,"f")){Vo(this,he,!0,"f");let f=I(this,rt,"m",tc).call(this,o,t,e,a);Vo(this,ue,I(this,ue,"f")??Im(c,p,()=>I(this,rt,"m",tc).call(this,o,t,e,a)),"f"),await f,Vo(this,he,!1,"f")}Vo(this,br,!0,"f"),this.host.requestUpdate()}}async hide(){for(await this.host.updateComplete;I(this,he,"f")&&!this.open;)await new Promise(requestAnimationFrame);Vo(this,br,!1,"f"),I(this,ue,"f")?.call(this),this.host.requestUpdate(),await this.host.updateComplete}};br=new WeakMap,he=new WeakMap,ue=new WeakMap,gl=new WeakMap,bl=new WeakMap,hl=new WeakMap,hr=new WeakMap,Ut=new WeakMap,rt=new WeakSet,Jn=function(){let{invoker:t}=I(this,Ut,"f");return typeof t=="function"?t():t},oc=function(){let{content:t}=I(this,Ut,"f");return typeof t=="function"?t():t},ep=function(){let{arrow:t}=I(this,Ut,"f");return typeof t=="function"?t():t},tc=async function(t="top",o,e=!0,a){var c,p;let{padding:f,shift:b}=I(this,Ut,"f"),x=I(this,rt,"a",Jn),S=I(this,rt,"a",oc),E=I(this,rt,"a",ep);if(!x||!S)return;let{x:Y,y:U,placement:jo,middlewareData:Gn}=await Hm(x,S,{strategy:"absolute",placement:t,middleware:[$m(o),b&&Am({padding:f}),E&&Dm({element:E,padding:E.offsetHeight/2}),e&&Om({padding:f,fallbackPlacements:a})].filter(Boolean)});if(E){let{x:zt,y:fl}=Gn.arrow||{},ml={top:"bottom",right:"left",bottom:"top",left:"right"}[jo.split("-")[0]]||"";Object.assign(E.style,{left:zt!=null?`${zt}px`:"",top:fl!=null&&!["top"].includes(jo)?`${fl}px`:"",right:"",bottom:"",[ml]:`-${E.offsetHeight/2}px`})}Vo(this,hr,jo,"f"),c=this,p=this,[{set value(zt){Vo(c,gl,zt,"f")}}.value,{set value(zt){Vo(p,bl,zt,"f")}}.value]=I(this,hr,"f").split("-")??[],Vo(this,hl,{"--_floating-content-translate":`${Y}px ${U}px`},"f"),this.host.requestUpdate()}});function A(l,t,o){if(typeof o?.value!="function")throw new TypeError(`Only methods can be decorated with @bound. <${t??l.name}> is not a method!`);return{configurable:!0,get(){let e=o.value.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}var Wt=qo(()=>{"use strict"});function rp(l){return{fromAttribute(t){return typeof t!="string"?null:t.split(",").map(l)},toAttribute(t){return t.join(",")}}}var ap,ul,Wo,vr=qo(()=>{"use strict";ap=rp(l=>parseInt(l?.trim(),10)),ul=rp(l=>l.trim()),Wo=class extends Event{constructor(t,o){super(t,{bubbles:!0,composed:!0,...o})}}});import{css as Um}from"lit";var Nm,lp,ip=qo(()=>{"use strict";Nm=Um`:host {
1
+ var ep=Object.defineProperty;var Pm=Object.getOwnPropertyDescriptor;var qo=(l,t)=>()=>(l&&(t=l(l=0)),t);var Qn=(l,t)=>{for(var o in t)ep(l,o,{get:t[o],enumerable:!0})};var r=(l,t,o,e)=>{for(var a=e>1?void 0:e?Pm(t,o):t,c=l.length-1,p;c>=0;c--)(p=l[c])&&(a=(e?p(t,o,a):p(a))||a);return e&&a&&ep(t,o,a),a};var Jn=(l,t,o)=>{if(!t.has(l))throw TypeError("Cannot "+o)};var i=(l,t,o)=>(Jn(l,t,"read from private field"),o?o.call(l):t.get(l)),n=(l,t,o)=>{if(t.has(l))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(l):t.set(l,o)},v=(l,t,o,e)=>(Jn(l,t,"write to private field"),e?e.call(l,o):t.set(l,o),o);var s=(l,t,o)=>(Jn(l,t,"access private method"),o);import{__classPrivateFieldGet as I,__classPrivateFieldSet as Vo}from"tslib";import{autoUpdate as Im,computePosition as Hm,offset as $m,shift as Am,flip as Om,arrow as Dm}from"@floating-ui/dom";var rt,hr,he,ue,gl,bl,hl,ur,Ut,oc,tc,rp,ec,Yo,vr=qo(()=>{"use strict";Yo=class{get alignment(){return I(this,bl,"f")??"center"}get anchor(){return I(this,gl,"f")??""}get open(){return I(this,hr,"f")}get placement(){return I(this,ur,"f")??"top"}get styles(){return I(this,hl,"f")??{}}constructor(t,o){rt.add(this),this.host=t,hr.set(this,!1),he.set(this,!1),ue.set(this,void 0),gl.set(this,void 0),bl.set(this,void 0),hl.set(this,void 0),ur.set(this,void 0),Ut.set(this,void 0),t.addController(this),Vo(this,Ut,{invoker:()=>t,shift:!0,...o},"f")}hostDisconnected(){I(this,ue,"f")?.call(this)}async show({offset:t,placement:o,flip:e,fallbackPlacements:a}={}){let c=I(this,rt,"a",oc),p=I(this,rt,"a",tc);if(!(!c||!p)){if(!I(this,he,"f")){Vo(this,he,!0,"f");let f=I(this,rt,"m",ec).call(this,o,t,e,a);Vo(this,ue,I(this,ue,"f")??Im(c,p,()=>I(this,rt,"m",ec).call(this,o,t,e,a)),"f"),await f,Vo(this,he,!1,"f")}Vo(this,hr,!0,"f"),this.host.requestUpdate()}}async hide(){for(await this.host.updateComplete;I(this,he,"f")&&!this.open;)await new Promise(requestAnimationFrame);Vo(this,hr,!1,"f"),I(this,ue,"f")?.call(this),this.host.requestUpdate(),await this.host.updateComplete}};hr=new WeakMap,he=new WeakMap,ue=new WeakMap,gl=new WeakMap,bl=new WeakMap,hl=new WeakMap,ur=new WeakMap,Ut=new WeakMap,rt=new WeakSet,oc=function(){let{invoker:t}=I(this,Ut,"f");return typeof t=="function"?t():t},tc=function(){let{content:t}=I(this,Ut,"f");return typeof t=="function"?t():t},rp=function(){let{arrow:t}=I(this,Ut,"f");return typeof t=="function"?t():t},ec=async function(t="top",o,e=!0,a){var c,p;let{padding:f,shift:b}=I(this,Ut,"f"),x=I(this,rt,"a",oc),S=I(this,rt,"a",tc),E=I(this,rt,"a",rp);if(!x||!S)return;let{x:Y,y:U,placement:jo,middlewareData:Zn}=await Hm(x,S,{strategy:"absolute",placement:t,middleware:[$m(o),b&&Am({padding:f}),E&&Dm({element:E,padding:E.offsetHeight/2}),e&&Om({padding:f,fallbackPlacements:a})].filter(Boolean)});if(E){let{x:zt,y:fl}=Zn.arrow||{},ml={top:"bottom",right:"left",bottom:"top",left:"right"}[jo.split("-")[0]]||"";Object.assign(E.style,{left:zt!=null?`${zt}px`:"",top:fl!=null&&!["top"].includes(jo)?`${fl}px`:"",right:"",bottom:"",[ml]:`-${E.offsetHeight/2}px`})}Vo(this,ur,jo,"f"),c=this,p=this,[{set value(zt){Vo(c,gl,zt,"f")}}.value,{set value(zt){Vo(p,bl,zt,"f")}}.value]=I(this,ur,"f").split("-")??[],Vo(this,hl,{"--_floating-content-translate":`${Y}px ${U}px`},"f"),this.host.requestUpdate()}});function A(l,t,o){if(typeof o?.value!="function")throw new TypeError(`Only methods can be decorated with @bound. <${t??l.name}> is not a method!`);return{configurable:!0,get(){let e=o.value.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}var Wt=qo(()=>{"use strict"});function ap(l){return{fromAttribute(t){return typeof t!="string"?null:t.split(",").map(l)},toAttribute(t){return t.join(",")}}}var lp,ul,Wo,_r=qo(()=>{"use strict";lp=ap(l=>parseInt(l?.trim(),10)),ul=ap(l=>l.trim()),Wo=class extends Event{constructor(t,o){super(t,{bubbles:!0,composed:!0,...o})}}});import{css as Um}from"lit";var Nm,ip,np=qo(()=>{"use strict";Nm=Um`:host {
2
2
  --_timestamp-text-decoration: underline dashed 1px;
3
3
  --_timestamp-text-underline-offset: 4px;
4
4
  display: inline;
@@ -96,20 +96,20 @@ var tp=Object.defineProperty;var Pm=Object.getOwnPropertyDescriptor;var qo=(l,t)
96
96
  .bottom.start #tooltip::after { left: var(--_floating-arrow-size); }
97
97
  .bottom.end #tooltip::after { right: var(--_floating-arrow-size); }
98
98
 
99
- `,lp=Nm});var pp={};Zn(pp,{PfTooltip:()=>bo});import{LitElement as jm,html as qm,isServer as Vm}from"lit";import{customElement as Ym}from"lit/decorators/custom-element.js";import{property as _r}from"lit/decorators/property.js";import{styleMap as np}from"lit/directives/style-map.js";import{classMap as Xm}from"lit/directives/class-map.js";var Km,Gm,at,Nt,vl,cp,To,ve,xr,ec,_l,sp,Cr,rc,bo,xl=qo(()=>{"use strict";ur();Wt();vr();ip();Km=["focusin","tap","click","mouseenter"],Gm=["focusout","blur","mouseleave"],bo=class extends jm{constructor(){super(...arguments);n(this,at);n(this,vl);n(this,xr);n(this,_l);n(this,Cr);this.position="top";this.noFlip=!1;n(this,To,void 0);n(this,ve,new Yo(this,{content:()=>i(this,vl,cp),invoker:()=>i(this,To)?i(this,To):i(this,at,Nt)instanceof HTMLSlotElement&&i(this,at,Nt).assignedElements().length>0?i(this,at,Nt).assignedElements().at(0):i(this,at,Nt)}))}connectedCallback(){super.connectedCallback(),s(this,xr,ec).call(this),s(this,Cr,rc).call(this)}willUpdate(o){o.has("trigger")&&s(this,Cr,rc).call(this)}render(){let{alignment:o,anchor:e,open:a,styles:c}=i(this,ve),f=i(this,at,Nt)?.assignedElements().length===0&&i(this,at,Nt)?.assignedNodes().length>0?"block":"contents";return qm`
99
+ `,ip=Nm});var dp={};Qn(dp,{PfTooltip:()=>bo});import{LitElement as jm,html as qm,isServer as Vm}from"lit";import{customElement as Ym}from"lit/decorators/custom-element.js";import{property as xr}from"lit/decorators/property.js";import{styleMap as cp}from"lit/directives/style-map.js";import{classMap as Xm}from"lit/directives/class-map.js";var Km,Gm,at,Nt,vl,sp,To,ve,Cr,rc,_l,pp,Br,ac,bo,xl=qo(()=>{"use strict";vr();Wt();_r();np();Km=["focusin","tap","click","mouseenter"],Gm=["focusout","blur","mouseleave"],bo=class extends jm{constructor(){super(...arguments);n(this,at);n(this,vl);n(this,Cr);n(this,_l);n(this,Br);this.position="top";this.noFlip=!1;n(this,To,void 0);n(this,ve,new Yo(this,{content:()=>i(this,vl,sp),invoker:()=>i(this,To)?i(this,To):i(this,at,Nt)instanceof HTMLSlotElement&&i(this,at,Nt).assignedElements().length>0?i(this,at,Nt).assignedElements().at(0):i(this,at,Nt)}))}connectedCallback(){super.connectedCallback(),s(this,Cr,rc).call(this),s(this,Br,ac).call(this)}willUpdate(o){o.has("trigger")&&s(this,Br,ac).call(this)}render(){let{alignment:o,anchor:e,open:a,styles:c}=i(this,ve),f=i(this,at,Nt)?.assignedElements().length===0&&i(this,at,Nt)?.assignedNodes().length>0?"block":"contents";return qm`
100
100
  <div id="container"
101
- style="${np(c)}"
101
+ style="${cp(c)}"
102
102
  class="${Xm({open:a,[e]:!!e,[o]:!!o})}">
103
103
  <div role="tooltip"
104
- style="${np({display:f})}"
104
+ style="${cp({display:f})}"
105
105
  aria-labelledby="tooltip">
106
- <slot id="invoker" @slotchange="${s(this,xr,ec)}"></slot>
106
+ <slot id="invoker" @slotchange="${s(this,Cr,rc)}"></slot>
107
107
  </div>
108
108
  <div aria-hidden="${String(!a)}">
109
109
  <slot id="tooltip" name="content">${this.content}</slot>
110
110
  </div>
111
111
  </div>
112
- `}async show(){await this.updateComplete;let o=this.position,e=o?.match(/top|bottom/)?{mainAxis:15,alignmentAxis:-4}:15;await i(this,ve).show({offset:e,placement:o,flip:!this.noFlip,fallbackPlacements:this.flipBehavior})}async hide(){await i(this,ve).hide()}};at=new WeakSet,Nt=function(){return this.shadowRoot?.querySelector("#invoker")??null},vl=new WeakSet,cp=function(){return this.shadowRoot?.querySelector("#tooltip")??null},To=new WeakMap,ve=new WeakMap,xr=new WeakSet,ec=function(){this.requestUpdate()},_l=new WeakSet,sp=function(){return this.getRootNode().getElementById(this.trigger?.normalize()??"")},Cr=new WeakSet,rc=function(){if(!Vm){let o=i(this,To);v(this,To,this.trigger instanceof HTMLElement?this.trigger:typeof this.trigger=="string"?s(this,_l,sp).call(this):null);for(let e of Km)i(this,To)?(this.removeEventListener(e,this.show),i(this,To).addEventListener(e,this.show)):(o?.removeEventListener(e,this.show),this.addEventListener(e,this.show));for(let e of Gm)i(this,To)?(this.removeEventListener(e,this.hide),i(this,To).addEventListener(e,this.hide)):(o?.removeEventListener(e,this.hide),this.addEventListener(e,this.hide))}},bo.styles=[lp],r([_r()],bo.prototype,"position",2),r([_r()],bo.prototype,"content",2),r([_r({type:Boolean,attribute:"no-flip"})],bo.prototype,"noFlip",2),r([_r()],bo.prototype,"trigger",2),r([_r({attribute:"flip-behavior",converter:ul})],bo.prototype,"flipBehavior",2),r([A],bo.prototype,"show",1),r([A],bo.prototype,"hide",1),bo=r([Ym("pf-tooltip")],bo)});import{isServer as _g}from"lit";var k,mo=qo(()=>{"use strict";k=class l{get prefix(){return!_g&&this.host instanceof HTMLElement?`[${this.host.localName}${this.host.id?`#${this.host.id}`:""}]`:`[${this.host.constructor.name}]`}static debugLog(t=null){try{return t!==null&&(l.logDebug=!!t,localStorage.pfeLog=!!t),localStorage.pfeLog==="true"}catch{return l.logDebug}}static debug(...t){l.debugLog()&&console.debug(...t)}static info(...t){l.debugLog()&&console.info(...t)}static log(...t){l.debugLog()&&console.log(...t)}static warn(...t){console.warn(...t)}static error(...t){console.error([...t].join(" "))}debug(...t){l.debug(this.prefix,...t)}info(...t){l.info(this.prefix,...t)}log(...t){l.log(this.prefix,...t)}warn(...t){l.warn(this.prefix,...t)}error(...t){l.error(this.prefix,...t)}constructor(t){if(this.host=t,l.instances.get(t))return l.instances.get(t);t.addController(this),l.instances.set(t,this)}hostConnected(){this.debug("connected")}};k.instances=new WeakMap});import{css as Vg}from"lit";var Yg,Dp,Up=qo(()=>{"use strict";Yg=Vg`:host {
112
+ `}async show(){await this.updateComplete;let o=this.position,e=o?.match(/top|bottom/)?{mainAxis:15,alignmentAxis:-4}:15;await i(this,ve).show({offset:e,placement:o,flip:!this.noFlip,fallbackPlacements:this.flipBehavior})}async hide(){await i(this,ve).hide()}};at=new WeakSet,Nt=function(){return this.shadowRoot?.querySelector("#invoker")??null},vl=new WeakSet,sp=function(){return this.shadowRoot?.querySelector("#tooltip")??null},To=new WeakMap,ve=new WeakMap,Cr=new WeakSet,rc=function(){this.requestUpdate()},_l=new WeakSet,pp=function(){return this.getRootNode().getElementById(this.trigger?.normalize()??"")},Br=new WeakSet,ac=function(){if(!Vm){let o=i(this,To);v(this,To,this.trigger instanceof HTMLElement?this.trigger:typeof this.trigger=="string"?s(this,_l,pp).call(this):null);for(let e of Km)i(this,To)?(this.removeEventListener(e,this.show),i(this,To).addEventListener(e,this.show)):(o?.removeEventListener(e,this.show),this.addEventListener(e,this.show));for(let e of Gm)i(this,To)?(this.removeEventListener(e,this.hide),i(this,To).addEventListener(e,this.hide)):(o?.removeEventListener(e,this.hide),this.addEventListener(e,this.hide))}},bo.styles=[ip],r([xr()],bo.prototype,"position",2),r([xr()],bo.prototype,"content",2),r([xr({type:Boolean,attribute:"no-flip"})],bo.prototype,"noFlip",2),r([xr()],bo.prototype,"trigger",2),r([xr({attribute:"flip-behavior",converter:ul})],bo.prototype,"flipBehavior",2),r([A],bo.prototype,"show",1),r([A],bo.prototype,"hide",1),bo=r([Ym("pf-tooltip")],bo)});import{isServer as _g}from"lit";var k,mo=qo(()=>{"use strict";k=class l{get prefix(){return!_g&&this.host instanceof HTMLElement?`[${this.host.localName}${this.host.id?`#${this.host.id}`:""}]`:`[${this.host.constructor.name}]`}static debugLog(t=null){try{return t!==null&&(l.logDebug=!!t,localStorage.pfeLog=!!t),localStorage.pfeLog==="true"}catch{return l.logDebug}}static debug(...t){l.debugLog()&&console.debug(...t)}static info(...t){l.debugLog()&&console.info(...t)}static log(...t){l.debugLog()&&console.log(...t)}static warn(...t){console.warn(...t)}static error(...t){console.error([...t].join(" "))}debug(...t){l.debug(this.prefix,...t)}info(...t){l.info(this.prefix,...t)}log(...t){l.log(this.prefix,...t)}warn(...t){l.warn(this.prefix,...t)}error(...t){l.error(this.prefix,...t)}constructor(t){if(this.host=t,l.instances.get(t))return l.instances.get(t);t.addController(this),l.instances.set(t,this)}hostConnected(){this.debug("connected")}};k.instances=new WeakMap});import{css as Vg}from"lit";var Yg,Dp,Up=qo(()=>{"use strict";Yg=Vg`:host {
113
113
  position: relative;
114
114
  display: inline-block;
115
115
  line-height: 0;
@@ -143,12 +143,12 @@ svg {
143
143
  min-height: var(--pf-icon--size, var(--_size));
144
144
  }
145
145
 
146
- `,Dp=Yg});var zc={};Zn(zc,{IconResolveError:()=>Xl,PfIcon:()=>W});import{LitElement as Xg,html as Kg}from"lit";import{customElement as Gg}from"lit/decorators/custom-element.js";import{property as Yl}from"lit/decorators/property.js";import{state as Zg}from"lit/decorators/state.js";var Np,Xl,Le,Kl,Gl,jp,qr,Lc,Zl,qp,W,ko=qo(()=>{"use strict";mo();Up();Np=globalThis.requestIdleCallback??globalThis.requestAnimationFrame??(async l=>Promise.resolve().then(l)),Xl=class extends ErrorEvent{constructor(o,e,a){super("error",{message:`Could not load icon "${e}" from set "${o}".`});this.originalError=a}},W=class extends Xg{constructor(){super(...arguments);n(this,Gl);n(this,qr);n(this,Zl);this.set="fas";this.icon="";this.size="sm";this.loading="lazy";n(this,Le,!1);n(this,Kl,new k(this))}static addIconSet(o,e){var a;if(typeof o!="string")k.warn(`[${this.name}]: the first argument to addIconSet must be a string.`);else if(typeof e!="function")k.warn(`[${this.name}]: the second argument to addIconSet must be a function.`);else{this.resolvers.set(o,e);for(let c of this.instances)s(a=c,qr,Lc).call(a)}}static reset(){this.resolvers.clear(),this.resolve=this.defaultResolve}connectedCallback(){super.connectedCallback(),W.instances.add(this)}willUpdate(o){o.has("icon")&&s(this,qr,Lc).call(this)}disconnectedCallback(){super.disconnectedCallback(),W.io.unobserve(this),W.instances.delete(this)}render(){let o=this.content??"";return Kg`
146
+ `,Dp=Yg});var Wc={};Qn(Wc,{IconResolveError:()=>Kl,PfIcon:()=>W});import{LitElement as Xg,html as Kg}from"lit";import{customElement as Gg}from"lit/decorators/custom-element.js";import{property as Yl}from"lit/decorators/property.js";import{state as Zg}from"lit/decorators/state.js";var Np,Kl,Le,Gl,Zl,jp,ze,Xl,Ql,qp,W,ko=qo(()=>{"use strict";mo();Up();Np=globalThis.requestIdleCallback??globalThis.requestAnimationFrame??(async l=>Promise.resolve().then(l)),Kl=class extends ErrorEvent{constructor(o,e,a){super("error",{message:`Could not load icon "${e}" from set "${o}".`});this.originalError=a}},W=class extends Xg{constructor(){super(...arguments);n(this,Zl);n(this,ze);n(this,Ql);this.set="fas";this.icon="";this.size="sm";this.loading="lazy";n(this,Le,!1);n(this,Gl,new k(this))}static addIconSet(o,e){var a;if(typeof o!="string")k.warn(`[${this.name}]: the first argument to addIconSet must be a string.`);else if(typeof e!="function")k.warn(`[${this.name}]: the second argument to addIconSet must be a function.`);else{this.resolvers.set(o,e);for(let c of this.instances)s(a=c,ze,Xl).call(a)}}static reset(){this.resolvers.clear(),this.resolve=this.defaultResolve}connectedCallback(){super.connectedCallback(),W.instances.add(this)}willUpdate(o){o.has("icon")&&s(this,ze,Xl).call(this)}disconnectedCallback(){super.disconnectedCallback(),W.io.unobserve(this),W.instances.delete(this)}render(){let o=this.content??"";return Kg`
147
147
  <div id="container" aria-hidden="true">${o}<span part="fallback"
148
148
  ?hidden=${!!o}><slot></slot>
149
149
  </span>
150
150
  </div>
151
- `}async load(){let{set:o,icon:e}=this,a=W.resolvers.get(o)??W.resolve;if(o&&e&&typeof a=="function")try{this.content=await a(o,e),s(this,Zl,qp).call(this)}catch(c){i(this,Kl).error(c.message),this.dispatchEvent?.(new Xl(o,e,c))}}};Le=new WeakMap,Kl=new WeakMap,Gl=new WeakSet,jp=function(){W.io.observe(this),i(this,Le)&&this.load()},qr=new WeakSet,Lc=function(){switch(this.loading){case"idle":return void Np(()=>this.load());case"lazy":return void s(this,Gl,jp).call(this);case"eager":return void this.load()}},Zl=new WeakSet,qp=async function(){await this.updateComplete,this.dispatchEvent?.(new Event("load",{bubbles:!0}))},W.styles=[Dp],W.onIntersect=o=>o.forEach(({isIntersecting:e,target:a})=>{let c=a;v(c,Le,e),Np(()=>{i(c,Le)&&c.load()})}),W.defaultResolve=(o,e)=>import(`@patternfly/icons/${o}/${e}.js`).then(a=>a.default.cloneNode(!0)),W.io=new IntersectionObserver(W.onIntersect),W.resolvers=new Map,W.instances=new Set,W.resolve=W.defaultResolve,r([Yl()],W.prototype,"set",2),r([Yl({reflect:!0})],W.prototype,"icon",2),r([Yl({reflect:!0})],W.prototype,"size",2),r([Yl()],W.prototype,"loading",2),r([Zg()],W.prototype,"content",2),W=r([Gg("pf-icon")],W)});import{css as $h}from"lit";var Ah,Vd,Yd=qo(()=>{"use strict";Ah=$h`:host {
151
+ `}async load(){let{set:o,icon:e}=this,a=W.resolvers.get(o)??W.resolve;if(o&&e&&typeof a=="function")try{this.content=await a(o,e),s(this,Ql,qp).call(this)}catch(c){i(this,Gl).error(c.message),this.dispatchEvent?.(new Kl(o,e,c))}}};Le=new WeakMap,Gl=new WeakMap,Zl=new WeakSet,jp=function(){W.io.observe(this),i(this,Le)&&this.load()},ze=new WeakSet,Xl=function(){switch(this.loading){case"idle":return void Np(()=>this.load());case"lazy":return void s(this,Zl,jp).call(this);case"eager":return void this.load()}},Ql=new WeakSet,qp=async function(){await this.updateComplete,this.dispatchEvent?.(new Event("load",{bubbles:!0}))},W.styles=[Dp],W.onIntersect=o=>o.forEach(({isIntersecting:e,target:a})=>{let c=a;v(c,Le,e),Np(()=>{var p;i(c,Le)&&s(p=c,ze,Xl).call(p)})}),W.defaultResolve=(o,e)=>import(`@patternfly/icons/${o}/${e}.js`).then(a=>a.default.cloneNode(!0)),W.io=new IntersectionObserver(W.onIntersect),W.resolvers=new Map,W.instances=new Set,W.resolve=W.defaultResolve,r([Yl()],W.prototype,"set",2),r([Yl({reflect:!0})],W.prototype,"icon",2),r([Yl({reflect:!0})],W.prototype,"size",2),r([Yl()],W.prototype,"loading",2),r([Zg()],W.prototype,"content",2),W=r([Gg("pf-icon")],W)});import{css as $h}from"lit";var Ah,Vd,Yd=qo(()=>{"use strict";Ah=$h`:host {
152
152
  position: relative;
153
153
  white-space: nowrap;
154
154
  text-align: center;
@@ -186,9 +186,9 @@ svg {
186
186
  --pf-c-badge--BackgroundColor: var(--pf-c-badge--m-unread--BackgroundColor,
187
187
  var(--pf-global--palette--blue-400, #06c));
188
188
  }
189
- `,Vd=Ah});var Xd={};Zn(Xd,{PfBadge:()=>Bt});import{LitElement as Oh,html as Dh}from"lit";import{customElement as Uh}from"lit/decorators/custom-element.js";import{property as Jc}from"lit/decorators/property.js";var Bt,os=qo(()=>{"use strict";Yd();Bt=class extends Oh{render(){let{threshold:t,number:o,textContent:e}=this,a=t&&o&&t<o?`${t.toString()}+`:o!=null?o.toString():e??"";return Dh`
189
+ `,Vd=Ah});var Xd={};Qn(Xd,{PfBadge:()=>Bt});import{LitElement as Oh,html as Dh}from"lit";import{customElement as Uh}from"lit/decorators/custom-element.js";import{property as os}from"lit/decorators/property.js";var Bt,ts=qo(()=>{"use strict";Yd();Bt=class extends Oh{render(){let{threshold:t,number:o,textContent:e}=this,a=t&&o&&t<o?`${t.toString()}+`:o!=null?o.toString():e??"";return Dh`
190
190
  <span>${a}</span>
191
- `}};Bt.styles=[Vd],r([Jc({reflect:!0})],Bt.prototype,"state",2),r([Jc({reflect:!0,type:Number})],Bt.prototype,"number",2),r([Jc({reflect:!0,type:Number})],Bt.prototype,"threshold",2),Bt=r([Uh("pf-badge")],Bt)});xl();import{LitElement as og,html as tg}from"lit";import{customElement as eg}from"lit/decorators/custom-element.js";import{property as lt}from"lit/decorators/property.js";import{__classPrivateFieldGet as H,__classPrivateFieldSet as dp}from"tslib";var ac,Cl,fp,Tt,ro,Bl,mp,Zm={dateFormat:void 0,timeFormat:void 0,customFormat:void 0,displaySuffix:"",locale:void 0,relative:!1,utc:!1,hour12:!1},Br=class{get localeString(){return H(this,Tt,"f").toLocaleString(H(this,ro,"f").locale)}get date(){return H(this,Tt,"f")}set date(t){dp(this,Tt,new Date(t),"f")}get isoString(){return H(this,Tt,"f").toISOString()}get time(){if(H(this,ro,"f").relative)return H(this,ac,"m",mp).call(this);{let{displaySuffix:t}=H(this,ro,"f"),{locale:o}=H(this,ro,"f");return H(this,ro,"f").utc&&(t||(t="UTC")),`${H(this,Tt,"f").toLocaleString(o,H(this,ro,"f").customFormat??{hour12:H(this,ro,"f").hour12,timeStyle:H(this,ro,"f").timeFormat,dateStyle:H(this,ro,"f").dateFormat,...H(this,ro,"f").utc&&{timeZone:"UTC"}})} ${t??""}`.trim()}}constructor(t,o){ac.add(this),Tt.set(this,new Date),ro.set(this,{}),Bl.set(this,void 0),dp(this,Bl,t,"f"),t.addController(this);for(let[e,a]of Object.entries(H(this,ro,"f")))H(this,ro,"f")[e]=o?.[e]??a}set(t,o){H(Cl,Cl,"m",fp).call(Cl,t)&&(H(this,ro,"f")[t]=o,H(this,Bl,"f").requestUpdate())}};Cl=Br,Tt=new WeakMap,ro=new WeakMap,Bl=new WeakMap,ac=new WeakSet,fp=function(t){return t in Zm},mp=function(){let t=H(this,Tt,"f"),{locale:o}=H(this,ro,"f"),e=new Intl.RelativeTimeFormat(o,{localeMatcher:"best fit",numeric:"auto",style:"long"}),a=t.getTime()-Date.now(),c=a>0?1:-1,p=0,f,b=Math.round(Math.abs(a)/1e3),x=Math.round(b/60),S=Math.round(x/60),E=Math.round(S/24),Y=Math.round(E/30),U=Math.round(Y/12);return Y>=12?(p=U,f="year"):E>=30?(p=Y,f="month"):S>=24?(p=E,f="day"):x>=45?(p=S,f="hour"):b>=45?(p=x,f="minute"):b>=10&&(p=b,f="second"),typeof f<"u"?e.format(c*p,f):"just now"};import{css as Qm}from"lit";var Jm=Qm`:host {
191
+ `}};Bt.styles=[Vd],r([os({reflect:!0})],Bt.prototype,"state",2),r([os({reflect:!0,type:Number})],Bt.prototype,"number",2),r([os({reflect:!0,type:Number})],Bt.prototype,"threshold",2),Bt=r([Uh("pf-badge")],Bt)});xl();import{LitElement as og,html as tg}from"lit";import{customElement as eg}from"lit/decorators/custom-element.js";import{property as lt}from"lit/decorators/property.js";import{__classPrivateFieldGet as H,__classPrivateFieldSet as fp}from"tslib";var lc,Cl,mp,Tt,ro,Bl,gp,Zm={dateFormat:void 0,timeFormat:void 0,customFormat:void 0,displaySuffix:"",locale:void 0,relative:!1,utc:!1,hour12:!1},yr=class{get localeString(){return H(this,Tt,"f").toLocaleString(H(this,ro,"f").locale)}get date(){return H(this,Tt,"f")}set date(t){fp(this,Tt,new Date(t),"f")}get isoString(){return H(this,Tt,"f").toISOString()}get time(){if(H(this,ro,"f").relative)return H(this,lc,"m",gp).call(this);{let{displaySuffix:t}=H(this,ro,"f"),{locale:o}=H(this,ro,"f");return H(this,ro,"f").utc&&(t||(t="UTC")),`${H(this,Tt,"f").toLocaleString(o,H(this,ro,"f").customFormat??{hour12:H(this,ro,"f").hour12,timeStyle:H(this,ro,"f").timeFormat,dateStyle:H(this,ro,"f").dateFormat,...H(this,ro,"f").utc&&{timeZone:"UTC"}})} ${t??""}`.trim()}}constructor(t,o){lc.add(this),Tt.set(this,new Date),ro.set(this,{}),Bl.set(this,void 0),fp(this,Bl,t,"f"),t.addController(this);for(let[e,a]of Object.entries(H(this,ro,"f")))H(this,ro,"f")[e]=o?.[e]??a}set(t,o){H(Cl,Cl,"m",mp).call(Cl,t)&&(H(this,ro,"f")[t]=o,H(this,Bl,"f").requestUpdate())}};Cl=yr,Tt=new WeakMap,ro=new WeakMap,Bl=new WeakMap,lc=new WeakSet,mp=function(t){return t in Zm},gp=function(){let t=H(this,Tt,"f"),{locale:o}=H(this,ro,"f"),e=new Intl.RelativeTimeFormat(o,{localeMatcher:"best fit",numeric:"auto",style:"long"}),a=t.getTime()-Date.now(),c=a>0?1:-1,p=0,f,b=Math.round(Math.abs(a)/1e3),x=Math.round(b/60),S=Math.round(x/60),E=Math.round(S/24),Y=Math.round(E/30),U=Math.round(Y/12);return Y>=12?(p=U,f="year"):E>=30?(p=Y,f="month"):S>=24?(p=E,f="day"):x>=45?(p=S,f="hour"):b>=45?(p=x,f="minute"):b>=10&&(p=b,f="second"),typeof f<"u"?e.format(c*p,f):"just now"};import{css as Qm}from"lit";var Jm=Qm`:host {
192
192
  display: inline;
193
193
  }
194
194
 
@@ -196,9 +196,9 @@ time {
196
196
  text-decoration: var(--_timestamp-text-decoration, none);
197
197
  text-underline-offset: var(--_timestamp-text-underline-offset, initial);
198
198
  }
199
- `,gp=Jm;var rg={fromAttribute(l){return!l||l==="true"}},Eo,fo=class extends og{constructor(){super(...arguments);n(this,Eo,new Br(this))}get date(){return i(this,Eo).localeString}set date(o){i(this,Eo).date=new Date(o)}get isoString(){return i(this,Eo).isoString}get time(){return i(this,Eo).time}connectedCallback(){super.connectedCallback(),this.hasAttribute("date")&&(i(this,Eo).date=new Date(this.getAttribute("date")))}willUpdate(o){for(let[e]of o)i(this,Eo).set(e,this[e])}render(){return tg`
199
+ `,bp=Jm;var rg={fromAttribute(l){return!l||l==="true"}},Eo,fo=class extends og{constructor(){super(...arguments);n(this,Eo,new yr(this))}get date(){return i(this,Eo).localeString}set date(o){i(this,Eo).date=new Date(o)}get isoString(){return i(this,Eo).isoString}get time(){return i(this,Eo).time}connectedCallback(){super.connectedCallback(),this.hasAttribute("date")&&(i(this,Eo).date=new Date(this.getAttribute("date")))}willUpdate(o){for(let[e]of o)i(this,Eo).set(e,this[e])}render(){return tg`
200
200
  <time datetime="${i(this,Eo).isoString}">${i(this,Eo).time}</time>
201
- `}};Eo=new WeakMap,fo.styles=[gp],r([lt({reflect:!0,attribute:"date-format"})],fo.prototype,"dateFormat",2),r([lt({reflect:!0,attribute:"time-format"})],fo.prototype,"timeFormat",2),r([lt({attribute:!1})],fo.prototype,"customFormat",2),r([lt({reflect:!0,attribute:"display-suffix"})],fo.prototype,"displaySuffix",2),r([lt({reflect:!0})],fo.prototype,"locale",2),r([lt({reflect:!0,type:Boolean})],fo.prototype,"relative",2),r([lt({reflect:!0,type:Boolean})],fo.prototype,"utc",2),r([lt({reflect:!0,attribute:"hour-12",converter:rg})],fo.prototype,"hour12",2),r([lt({reflect:!0})],fo.prototype,"date",1),fo=r([eg("pf-timestamp")],fo);import{LitElement as ig,html as ng}from"lit";import{customElement as cg}from"lit/decorators/custom-element.js";import{property as hp}from"lit/decorators/property.js";import{css as ag}from"lit";var lg=ag`:host {
201
+ `}};Eo=new WeakMap,fo.styles=[bp],r([lt({reflect:!0,attribute:"date-format"})],fo.prototype,"dateFormat",2),r([lt({reflect:!0,attribute:"time-format"})],fo.prototype,"timeFormat",2),r([lt({attribute:!1})],fo.prototype,"customFormat",2),r([lt({reflect:!0,attribute:"display-suffix"})],fo.prototype,"displaySuffix",2),r([lt({reflect:!0})],fo.prototype,"locale",2),r([lt({reflect:!0,type:Boolean})],fo.prototype,"relative",2),r([lt({reflect:!0,type:Boolean})],fo.prototype,"utc",2),r([lt({reflect:!0,attribute:"hour-12",converter:rg})],fo.prototype,"hour12",2),r([lt({reflect:!0})],fo.prototype,"date",1),fo=r([eg("pf-timestamp")],fo);import{LitElement as ig,html as ng}from"lit";import{customElement as cg}from"lit/decorators/custom-element.js";import{property as up}from"lit/decorators/property.js";import{css as ag}from"lit";var lg=ag`:host {
202
202
  position: relative;
203
203
  display: inline-grid;
204
204
  padding: var(--pf-c-tile--PaddingTop, var(--pf-global--spacer--lg, 1.5rem))
@@ -326,7 +326,7 @@ time {
326
326
  margin-block: 0;
327
327
  }
328
328
 
329
- `,bp=lg;var jt=class extends ig{constructor(){super(...arguments);this.selected=!1}render(){return ng`
329
+ `,hp=lg;var jt=class extends ig{constructor(){super(...arguments);this.selected=!1}render(){return ng`
330
330
  <div part="header">
331
331
  <div part="icon">
332
332
  <slot id="icon" name="icon"></slot>
@@ -338,7 +338,7 @@ time {
338
338
  <div part="body">
339
339
  <slot id="body"></slot>
340
340
  </div>
341
- `}};jt.styles=[bp],r([hp({reflect:!0,type:Boolean})],jt.prototype,"selected",2),r([hp({reflect:!0})],jt.prototype,"stacked",2),jt=r([cg("pf-tile")],jt);import{LitElement as Cp,html as mg,isServer as gg}from"lit";import{customElement as bg}from"lit/decorators/custom-element.js";import{property as Z}from"lit/decorators/property.js";import{ifDefined as nc}from"lit/directives/if-defined.js";import{styleMap as hg}from"lit/directives/style-map.js";import{__classPrivateFieldGet as sg,__decorate as h}from"tslib";import{isServer as up}from"lit";var ic,vp;function _p(l){return l==="role"||l.startsWith("aria")}var yl=new WeakMap,lc=!1;function u(l,t){if(yl.has(l)||yl.set(l,new Set),!yl.get(l).has(t)){if(!_p(t))throw new Error("@aria can only be called on ARIAMixin properties");Object.defineProperty(l,t,{enumerable:!0,configurable:!1,get(){return this.attachOrRetrieveInternals()[t]},set(o){let e=this.attachOrRetrieveInternals();e[t]=o,this.host.requestUpdate()}}),yl.get(l).add(t)}}function pg(l){return l.hidden?"":l.getAttribute?.("aria-label")??l.textContent}var m=class l{static getLabels(t){return Array.from(this.instances.get(t)?.internals.labels??[])}static of(t,o){lc=!0;let e=l.instances.get(t)??new l(t,o);return e.initializeOptions(o),lc=!1,e}get formDisabled(){return up?this._formDisabled:this.element?.matches(":disabled")||this._formDisabled}get labels(){return this.internals.labels}get validity(){return this.internals.validity}get computedLabelText(){return this.internals.ariaLabel||Array.from(this.internals.labels).reduce((t,o)=>`${t}${pg(o)}`,"")}get element(){return up?this.host:this.host instanceof HTMLElement?this.host:this.options?.getHTMLElement?.()}constructor(t,o){if(ic.add(this),this.host=t,this.options=o,this.role=null,this.ariaActivedescendant=null,this.ariaAtomic=null,this.ariaAutoComplete=null,this.ariaBusy=null,this.ariaBrailleLabel=null,this.ariaBrailleRoleDescription=null,this.ariaChecked=null,this.ariaColCount=null,this.ariaColIndex=null,this.ariaColIndexText=null,this.ariaColSpan=null,this.ariaCurrent=null,this.ariaDescription=null,this.ariaDisabled=null,this.ariaExpanded=null,this.ariaHasPopup=null,this.ariaHidden=null,this.ariaInvalid=null,this.ariaKeyShortcuts=null,this.ariaLabel=null,this.ariaLevel=null,this.ariaLive=null,this.ariaModal=null,this.ariaMultiLine=null,this.ariaMultiSelectable=null,this.ariaOrientation=null,this.ariaPlaceholder=null,this.ariaPosInSet=null,this.ariaPressed=null,this.ariaReadOnly=null,this.ariaRequired=null,this.ariaRoleDescription=null,this.ariaRowCount=null,this.ariaRowIndex=null,this.ariaRowIndexText=null,this.ariaRowSpan=null,this.ariaSelected=null,this.ariaSetSize=null,this.ariaSort=null,this.ariaValueMax=null,this.ariaValueMin=null,this.ariaValueNow=null,this.ariaValueText=null,this.ariaActiveDescendantElement=null,this.ariaControlsElements=null,this.ariaDescribedByElements=null,this.ariaDetailsElements=null,this.ariaErrorMessageElements=null,this.ariaFlowToElements=null,this.ariaLabelledByElements=null,this.ariaOwnsElements=null,this._formDisabled=!1,!lc)throw new Error("InternalsController must be constructed with `InternalsController.for()`");if(!this.element)throw new Error("InternalsController must be instantiated with an HTMLElement or a `getHTMLElement` function");this.attachOrRetrieveInternals(),this.initializeOptions(o),l.instances.set(t,this),sg(this,ic,"m",vp).call(this)}attachOrRetrieveInternals(){return this.internals??(this.internals=this.element.attachInternals()),this.internals}initializeOptions(t){var o;this.options??(this.options=t??{});let{getHTMLElement:e,...a}=this.options;(o=this.options).getHTMLElement??(o.getHTMLElement=e);for(let[c,p]of Object.entries(a))_p(c)&&(this[c]=p)}setFormValue(...t){return this.internals.setFormValue(...t)}setValidity(...t){return this.internals.setValidity(...t)}checkValidity(...t){return this.internals.checkValidity(...t)}reportValidity(...t){return this.internals.reportValidity(...t)}submit(){this.internals.form?.requestSubmit()}reset(){this.internals.form?.reset()}};ic=new WeakSet,vp=function(){let t=this.element.formDisabledCallback;this.element.formDisabledCallback=o=>{this._formDisabled=o,t?.call(this.host,o)}};m.instances=new WeakMap;m.isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);h([u],m.prototype,"role",void 0);h([u],m.prototype,"ariaActivedescendant",void 0);h([u],m.prototype,"ariaAtomic",void 0);h([u],m.prototype,"ariaAutoComplete",void 0);h([u],m.prototype,"ariaBusy",void 0);h([u],m.prototype,"ariaBrailleLabel",void 0);h([u],m.prototype,"ariaBrailleRoleDescription",void 0);h([u],m.prototype,"ariaChecked",void 0);h([u],m.prototype,"ariaColCount",void 0);h([u],m.prototype,"ariaColIndex",void 0);h([u],m.prototype,"ariaColIndexText",void 0);h([u],m.prototype,"ariaColSpan",void 0);h([u],m.prototype,"ariaCurrent",void 0);h([u],m.prototype,"ariaDescription",void 0);h([u],m.prototype,"ariaDisabled",void 0);h([u],m.prototype,"ariaExpanded",void 0);h([u],m.prototype,"ariaHasPopup",void 0);h([u],m.prototype,"ariaHidden",void 0);h([u],m.prototype,"ariaInvalid",void 0);h([u],m.prototype,"ariaKeyShortcuts",void 0);h([u],m.prototype,"ariaLabel",void 0);h([u],m.prototype,"ariaLevel",void 0);h([u],m.prototype,"ariaLive",void 0);h([u],m.prototype,"ariaModal",void 0);h([u],m.prototype,"ariaMultiLine",void 0);h([u],m.prototype,"ariaMultiSelectable",void 0);h([u],m.prototype,"ariaOrientation",void 0);h([u],m.prototype,"ariaPlaceholder",void 0);h([u],m.prototype,"ariaPosInSet",void 0);h([u],m.prototype,"ariaPressed",void 0);h([u],m.prototype,"ariaReadOnly",void 0);h([u],m.prototype,"ariaRequired",void 0);h([u],m.prototype,"ariaRoleDescription",void 0);h([u],m.prototype,"ariaRowCount",void 0);h([u],m.prototype,"ariaRowIndex",void 0);h([u],m.prototype,"ariaRowIndexText",void 0);h([u],m.prototype,"ariaRowSpan",void 0);h([u],m.prototype,"ariaSelected",void 0);h([u],m.prototype,"ariaSetSize",void 0);h([u],m.prototype,"ariaSort",void 0);h([u],m.prototype,"ariaValueMax",void 0);h([u],m.prototype,"ariaValueMin",void 0);h([u],m.prototype,"ariaValueNow",void 0);h([u],m.prototype,"ariaValueText",void 0);h([u],m.prototype,"ariaActiveDescendantElement",void 0);h([u],m.prototype,"ariaControlsElements",void 0);h([u],m.prototype,"ariaDescribedByElements",void 0);h([u],m.prototype,"ariaDetailsElements",void 0);h([u],m.prototype,"ariaErrorMessageElements",void 0);h([u],m.prototype,"ariaFlowToElements",void 0);h([u],m.prototype,"ariaLabelledByElements",void 0);h([u],m.prototype,"ariaOwnsElements",void 0);import{css as dg}from"lit";var fg=dg`:host {
341
+ `}};jt.styles=[hp],r([up({reflect:!0,type:Boolean})],jt.prototype,"selected",2),r([up({reflect:!0})],jt.prototype,"stacked",2),jt=r([cg("pf-tile")],jt);import{LitElement as Cp,html as mg,isServer as gg}from"lit";import{customElement as bg}from"lit/decorators/custom-element.js";import{property as Z}from"lit/decorators/property.js";import{ifDefined as sc}from"lit/directives/if-defined.js";import{styleMap as hg}from"lit/directives/style-map.js";import{__classPrivateFieldGet as sg,__decorate as h}from"tslib";import{isServer as cc}from"lit";var nc,vp;function _p(l){return l==="role"||l.startsWith("aria")}var yl=new WeakMap,ic=!1;function u(l,t){if(yl.has(l)||yl.set(l,new Set),!yl.get(l).has(t)){if(!_p(t))throw new Error("@aria can only be called on ARIAMixin properties");Object.defineProperty(l,t,{enumerable:!0,configurable:!1,get(){return this.attachOrRetrieveInternals()[t]},set(o){let e=this.attachOrRetrieveInternals();e[t]=o,this.host.requestUpdate()}}),yl.get(l).add(t)}}function pg(l){return l.hidden?"":l.getAttribute?.("aria-label")??l.textContent}var m=class l{static getLabels(t){return Array.from(this.instances.get(t)?.internals.labels??[])}static of(t,o){ic=!0;let e=l.instances.get(t)??new l(t,o);return e.initializeOptions(o),ic=!1,e}get formDisabled(){return cc?this._formDisabled:this.element?.matches(":disabled")||this._formDisabled}get labels(){return this.internals.labels}get validity(){return this.internals.validity}get computedLabelText(){return this.internals.ariaLabel||Array.from(this.internals.labels).reduce((t,o)=>`${t}${pg(o)}`,"")}get element(){return cc?this.host:this.host instanceof HTMLElement?this.host:this.options?.getHTMLElement?.()}constructor(t,o){if(nc.add(this),this.host=t,this.options=o,this.role=null,this.ariaActivedescendant=null,this.ariaAtomic=null,this.ariaAutoComplete=null,this.ariaBusy=null,this.ariaBrailleLabel=null,this.ariaBrailleRoleDescription=null,this.ariaChecked=null,this.ariaColCount=null,this.ariaColIndex=null,this.ariaColIndexText=null,this.ariaColSpan=null,this.ariaCurrent=null,this.ariaDescription=null,this.ariaDisabled=null,this.ariaExpanded=null,this.ariaHasPopup=null,this.ariaHidden=null,this.ariaInvalid=null,this.ariaKeyShortcuts=null,this.ariaLabel=null,this.ariaLevel=null,this.ariaLive=null,this.ariaModal=null,this.ariaMultiLine=null,this.ariaMultiSelectable=null,this.ariaOrientation=null,this.ariaPlaceholder=null,this.ariaPosInSet=null,this.ariaPressed=null,this.ariaReadOnly=null,this.ariaRequired=null,this.ariaRoleDescription=null,this.ariaRowCount=null,this.ariaRowIndex=null,this.ariaRowIndexText=null,this.ariaRowSpan=null,this.ariaSelected=null,this.ariaSetSize=null,this.ariaSort=null,this.ariaValueMax=null,this.ariaValueMin=null,this.ariaValueNow=null,this.ariaValueText=null,this.ariaActiveDescendantElement=null,this.ariaControlsElements=null,this.ariaDescribedByElements=null,this.ariaDetailsElements=null,this.ariaErrorMessageElements=null,this.ariaFlowToElements=null,this.ariaLabelledByElements=null,this.ariaOwnsElements=null,this._formDisabled=!1,!ic)throw new Error("InternalsController must be constructed with `InternalsController.for()`");if(!this.element)throw new Error("InternalsController must be instantiated with an HTMLElement or a `getHTMLElement` function");this.attachOrRetrieveInternals(),this.initializeOptions(o),l.instances.set(t,this),sg(this,nc,"m",vp).call(this)}attachOrRetrieveInternals(){return this.internals??(this.internals=this.element.attachInternals()),this.internals}initializeOptions(t){var o;this.options??(this.options=t??{});let{getHTMLElement:e,...a}=this.options;(o=this.options).getHTMLElement??(o.getHTMLElement=e);for(let[c,p]of Object.entries(a))_p(c)&&(this[c]=p)}setFormValue(...t){return this.internals.setFormValue(...t)}setValidity(...t){return this.internals.setValidity(...t)}checkValidity(...t){return this.internals.checkValidity(...t)}reportValidity(...t){return this.internals.reportValidity(...t)}submit(){this.internals.form?.requestSubmit()}reset(){this.internals.form?.reset()}};nc=new WeakSet,vp=function(){let t=this.element.formDisabledCallback;this.element.formDisabledCallback=o=>{this._formDisabled=o,t?.call(this.host,o)}};m.instances=new WeakMap;m.isSafari=!cc&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);h([u],m.prototype,"role",void 0);h([u],m.prototype,"ariaActivedescendant",void 0);h([u],m.prototype,"ariaAtomic",void 0);h([u],m.prototype,"ariaAutoComplete",void 0);h([u],m.prototype,"ariaBusy",void 0);h([u],m.prototype,"ariaBrailleLabel",void 0);h([u],m.prototype,"ariaBrailleRoleDescription",void 0);h([u],m.prototype,"ariaChecked",void 0);h([u],m.prototype,"ariaColCount",void 0);h([u],m.prototype,"ariaColIndex",void 0);h([u],m.prototype,"ariaColIndexText",void 0);h([u],m.prototype,"ariaColSpan",void 0);h([u],m.prototype,"ariaCurrent",void 0);h([u],m.prototype,"ariaDescription",void 0);h([u],m.prototype,"ariaDisabled",void 0);h([u],m.prototype,"ariaExpanded",void 0);h([u],m.prototype,"ariaHasPopup",void 0);h([u],m.prototype,"ariaHidden",void 0);h([u],m.prototype,"ariaInvalid",void 0);h([u],m.prototype,"ariaKeyShortcuts",void 0);h([u],m.prototype,"ariaLabel",void 0);h([u],m.prototype,"ariaLevel",void 0);h([u],m.prototype,"ariaLive",void 0);h([u],m.prototype,"ariaModal",void 0);h([u],m.prototype,"ariaMultiLine",void 0);h([u],m.prototype,"ariaMultiSelectable",void 0);h([u],m.prototype,"ariaOrientation",void 0);h([u],m.prototype,"ariaPlaceholder",void 0);h([u],m.prototype,"ariaPosInSet",void 0);h([u],m.prototype,"ariaPressed",void 0);h([u],m.prototype,"ariaReadOnly",void 0);h([u],m.prototype,"ariaRequired",void 0);h([u],m.prototype,"ariaRoleDescription",void 0);h([u],m.prototype,"ariaRowCount",void 0);h([u],m.prototype,"ariaRowIndex",void 0);h([u],m.prototype,"ariaRowIndexText",void 0);h([u],m.prototype,"ariaRowSpan",void 0);h([u],m.prototype,"ariaSelected",void 0);h([u],m.prototype,"ariaSetSize",void 0);h([u],m.prototype,"ariaSort",void 0);h([u],m.prototype,"ariaValueMax",void 0);h([u],m.prototype,"ariaValueMin",void 0);h([u],m.prototype,"ariaValueNow",void 0);h([u],m.prototype,"ariaValueText",void 0);h([u],m.prototype,"ariaActiveDescendantElement",void 0);h([u],m.prototype,"ariaControlsElements",void 0);h([u],m.prototype,"ariaDescribedByElements",void 0);h([u],m.prototype,"ariaDetailsElements",void 0);h([u],m.prototype,"ariaErrorMessageElements",void 0);h([u],m.prototype,"ariaFlowToElements",void 0);h([u],m.prototype,"ariaLabelledByElements",void 0);h([u],m.prototype,"ariaOwnsElements",void 0);import{css as dg}from"lit";var fg=dg`:host {
342
342
  --pf-c-form-control--Color: var(--pf-global--Color--100, #151515);
343
343
  --pf-c-form-control--FontSize: var(--pf-global--FontSize--md, 1rem);
344
344
  --pf-c-form-control--LineHeight: var(--pf-global--LineHeight--md, 1.5);
@@ -605,23 +605,23 @@ input::placeholder {
605
605
  --pf-c-form-control__select--invalid--BackgroundPosition: var(--pf-c-form-control--m-icon-sprite__select--invalid--BackgroundPosition);
606
606
  }
607
607
  */
608
- `,xp=fg;var ho,yr,kr,wl,Bp,wr,cc,Sl,yp,Ll,kp,Sr,sc,_e,kl,R=class extends Cp{constructor(){super(...arguments);n(this,wl);n(this,wr);n(this,Sl);n(this,Ll);n(this,Sr);n(this,_e);this.leftTruncated=!1;this.plain=!1;this.disabled=!1;this.required=!1;this.readonly=!1;this.value="";n(this,ho,m.of(this));n(this,yr,"");n(this,kr,!1)}willUpdate(){v(this,yr,this.accessibleLabel||i(this,ho).computedLabelText)}render(){let{valid:o}=i(this,ho).validity;return mg`
608
+ `,xp=fg;var ho,kr,wr,wl,Bp,Sr,pc,Sl,yp,Ll,kp,Lr,dc,_e,kl,R=class extends Cp{constructor(){super(...arguments);n(this,wl);n(this,Sr);n(this,Sl);n(this,Ll);n(this,Lr);n(this,_e);this.leftTruncated=!1;this.plain=!1;this.disabled=!1;this.required=!1;this.readonly=!1;this.value="";n(this,ho,m.of(this));n(this,kr,"");n(this,wr,!1)}willUpdate(){v(this,kr,this.accessibleLabel||i(this,ho).computedLabelText)}render(){let{valid:o}=i(this,ho).validity;return mg`
609
609
  <input id="input"
610
610
  .placeholder="${this.placeholder??""}"
611
611
  .value="${this.value}"
612
- pattern="${nc(this.pattern)}"
612
+ pattern="${sc(this.pattern)}"
613
613
  @input="${s(this,Sl,yp)}"
614
614
  @keydown="${s(this,Ll,kp)}"
615
- @blur="${s(this,Sr,sc)}"
615
+ @blur="${s(this,Lr,dc)}"
616
616
  ?disabled="${i(this,wl,Bp)}"
617
617
  ?readonly="${this.readonly}"
618
618
  ?required="${this.required}"
619
- aria-label="${i(this,yr)}"
620
- type="${nc(this.type)}"
621
- style="${nc(this.customIconUrl&&hg({backgroundImage:`url('${this.customIconUrl}')`,backgroundSize:this.customIconDimensions}))}">
619
+ aria-label="${i(this,kr)}"
620
+ type="${sc(this.type)}"
621
+ style="${sc(this.customIconUrl&&hg({backgroundImage:`url('${this.customIconUrl}')`,backgroundSize:this.customIconDimensions}))}">
622
622
  <span id="helper-text" ?hidden="${!this.helperText||o}">${this.helperText}</span>
623
623
  <span id="error-text" ?hidden="${o}">${i(this,ho).validationMessage}</span>
624
- `}async formStateRestoreCallback(o,e){if(e==="restore"){let[a,c]=o.split("/");this.value=c??a,this.requestUpdate(),await this.updateComplete,s(this,_e,kl).call(this)}}async formDisabledCallback(){await this.updateComplete,this.requestUpdate()}setCustomValidity(o){i(this,ho).setValidity({},o),this.requestUpdate()}checkValidity(){s(this,_e,kl).call(this);let o=i(this,ho).checkValidity();return this.requestUpdate(),o}reportValidity(){return s(this,_e,kl).call(this),i(this,ho).reportValidity()}};ho=new WeakMap,yr=new WeakMap,kr=new WeakMap,wl=new WeakSet,Bp=function(){return!gg&&this.matches(":disabled")||this.disabled},wr=new WeakSet,cc=function(){return this.shadowRoot?.getElementById("input")??null},Sl=new WeakSet,yp=function(o){let{value:e}=o.target;this.value=e,i(this,ho).setFormValue(e),i(this,kr)&&!i(this,ho).validity.valid&&s(this,Sr,sc).call(this),v(this,kr,!0)},Ll=new WeakSet,kp=function(o){switch(o.key){case"Enter":this.reportValidity()&&i(this,ho).form?.requestSubmit(null)}},Sr=new WeakSet,sc=function(){this.validateOn==="blur"&&this.checkValidity()},_e=new WeakSet,kl=function(){i(this,ho).setValidity(i(this,wr,cc)?.validity,this.errorText??i(this,wr,cc).validationMessage),this.requestUpdate()},R.styles=[xp],R.formAssociated=!0,R.shadowRootOptions={...Cp.shadowRootOptions,delegatesFocus:!0},r([Z({type:Boolean,reflect:!0,attribute:"left-truncated"})],R.prototype,"leftTruncated",2),r([Z({reflect:!0})],R.prototype,"validated",2),r([Z({reflect:!0})],R.prototype,"icon",2),r([Z({reflect:!0,attribute:"accessible-label"})],R.prototype,"accessibleLabel",2),r([Z({reflect:!0,attribute:"custom-icon-url"})],R.prototype,"customIconUrl",2),r([Z({reflect:!0,attribute:"custom-icon-dimensions"})],R.prototype,"customIconDimensions",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"plain",2),r([Z({reflect:!0})],R.prototype,"type",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"disabled",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"required",2),r([Z()],R.prototype,"pattern",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"readonly",2),r([Z({attribute:"helper-text"})],R.prototype,"helperText",2),r([Z({attribute:"validate-on"})],R.prototype,"validateOn",2),r([Z({attribute:"error-text"})],R.prototype,"errorText",2),r([Z()],R.prototype,"placeholder",2),r([Z()],R.prototype,"value",2),R=r([bg("pf-text-input")],R);import{LitElement as Sp,html as xg,isServer as Cg}from"lit";import{customElement as Bg}from"lit/decorators/custom-element.js";import{property as it}from"lit/decorators/property.js";import{ifDefined as Lp}from"lit/directives/if-defined.js";import{classMap as yg}from"lit/directives/class-map.js";import{css as ug}from"lit";var vg=ug`:host {
624
+ `}async formStateRestoreCallback(o,e){if(e==="restore"){let[a,c]=o.split("/");this.value=c??a,this.requestUpdate(),await this.updateComplete,s(this,_e,kl).call(this)}}async formDisabledCallback(){await this.updateComplete,this.requestUpdate()}setCustomValidity(o){i(this,ho).setValidity({},o),this.requestUpdate()}checkValidity(){s(this,_e,kl).call(this);let o=i(this,ho).checkValidity();return this.requestUpdate(),o}reportValidity(){return s(this,_e,kl).call(this),i(this,ho).reportValidity()}};ho=new WeakMap,kr=new WeakMap,wr=new WeakMap,wl=new WeakSet,Bp=function(){return!gg&&this.matches(":disabled")||this.disabled},Sr=new WeakSet,pc=function(){return this.shadowRoot?.getElementById("input")??null},Sl=new WeakSet,yp=function(o){let{value:e}=o.target;this.value=e,i(this,ho).setFormValue(e),i(this,wr)&&!i(this,ho).validity.valid&&s(this,Lr,dc).call(this),v(this,wr,!0)},Ll=new WeakSet,kp=function(o){switch(o.key){case"Enter":this.reportValidity()&&i(this,ho).form?.requestSubmit(null)}},Lr=new WeakSet,dc=function(){this.validateOn==="blur"&&this.checkValidity()},_e=new WeakSet,kl=function(){i(this,ho).setValidity(i(this,Sr,pc)?.validity,this.errorText??i(this,Sr,pc).validationMessage),this.requestUpdate()},R.styles=[xp],R.formAssociated=!0,R.shadowRootOptions={...Cp.shadowRootOptions,delegatesFocus:!0},r([Z({type:Boolean,reflect:!0,attribute:"left-truncated"})],R.prototype,"leftTruncated",2),r([Z({reflect:!0})],R.prototype,"validated",2),r([Z({reflect:!0})],R.prototype,"icon",2),r([Z({reflect:!0,attribute:"accessible-label"})],R.prototype,"accessibleLabel",2),r([Z({reflect:!0,attribute:"custom-icon-url"})],R.prototype,"customIconUrl",2),r([Z({reflect:!0,attribute:"custom-icon-dimensions"})],R.prototype,"customIconDimensions",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"plain",2),r([Z({reflect:!0})],R.prototype,"type",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"disabled",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"required",2),r([Z()],R.prototype,"pattern",2),r([Z({type:Boolean,reflect:!0})],R.prototype,"readonly",2),r([Z({attribute:"helper-text"})],R.prototype,"helperText",2),r([Z({attribute:"validate-on"})],R.prototype,"validateOn",2),r([Z({attribute:"error-text"})],R.prototype,"errorText",2),r([Z()],R.prototype,"placeholder",2),r([Z()],R.prototype,"value",2),R=r([bg("pf-text-input")],R);import{LitElement as Sp,html as xg,isServer as Cg}from"lit";import{customElement as Bg}from"lit/decorators/custom-element.js";import{property as it}from"lit/decorators/property.js";import{ifDefined as Lp}from"lit/directives/if-defined.js";import{classMap as yg}from"lit/directives/class-map.js";import{css as ug}from"lit";var vg=ug`:host {
625
625
  display: block;
626
626
 
627
627
  /* .pf-c-form-control */
@@ -814,18 +814,18 @@ textarea[readonly] {
814
814
  .horizontal { resize: horizontal; }
815
815
  .both { resize: both; }
816
816
 
817
- `,wp=vg;mo();var zl,nt,Lr,Wl,zp,ct,qt,zr,pc,Wr,dc,Tr,fc,ao=class extends Sp{constructor(){super(...arguments);n(this,Wl);n(this,ct);n(this,zr);n(this,Wr);n(this,Tr);this.disabled=!1;this.required=!1;this.readonly=!1;this.value="";this.autoResize=!1;n(this,zl,new k(this));n(this,nt,m.of(this));n(this,Lr,"")}willUpdate(){v(this,Lr,this.accessibleLabel||i(this,nt).computedLabelText)}render(){let o={[String(this.resize)]:!!this.resize};return xg`
817
+ `,wp=vg;mo();var zl,nt,zr,Wl,zp,ct,qt,Wr,fc,Tr,mc,Er,gc,ao=class extends Sp{constructor(){super(...arguments);n(this,Wl);n(this,ct);n(this,Wr);n(this,Tr);n(this,Er);this.disabled=!1;this.required=!1;this.readonly=!1;this.value="";this.autoResize=!1;n(this,zl,new k(this));n(this,nt,m.of(this));n(this,zr,"")}willUpdate(){v(this,zr,this.accessibleLabel||i(this,nt).computedLabelText)}render(){let o={[String(this.resize)]:!!this.resize};return xg`
818
818
  <textarea id="textarea" class="${yg(o)}"
819
- @input="${s(this,zr,pc)}"
820
- @change="${s(this,zr,pc)}"
819
+ @input="${s(this,Wr,fc)}"
820
+ @change="${s(this,Wr,fc)}"
821
821
  ?disabled="${i(this,Wl,zp)}"
822
822
  ?readonly="${this.readonly}"
823
823
  ?required="${this.required}"
824
- aria-label="${Lp(i(this,Lr))}"
824
+ aria-label="${Lp(i(this,zr))}"
825
825
  placeholder="${Lp(this.placeholder)}"
826
826
  .value="${this.value}"
827
827
  ></textarea>
828
- `}firstUpdated(){this.autoResize&&s(this,Wr,dc).call(this)}async formDisabledCallback(){await this.updateComplete,this.requestUpdate()}setCustomValidity(o){i(this,nt).setValidity({},o)}checkValidity(){return s(this,Tr,fc).call(this),i(this,nt).checkValidity()}reportValidity(){return s(this,Tr,fc).call(this),i(this,nt).reportValidity()}};zl=new WeakMap,nt=new WeakMap,Lr=new WeakMap,Wl=new WeakSet,zp=function(){return!Cg&&this.matches(":disabled")||this.disabled},ct=new WeakSet,qt=function(){return this.shadowRoot?.getElementById("textarea")??null},zr=new WeakSet,pc=function(o){if(o.target instanceof HTMLTextAreaElement){let{value:e}=o.target;this.value=e,i(this,nt).setFormValue(e)}this.autoResize&&s(this,Wr,dc).call(this)},Wr=new WeakSet,dc=function(){i(this,ct,qt).style.setProperty("--pf-c-form-control--textarea--Height","auto"),i(this,ct,qt).style.setProperty("--pf-c-form-control--textarea--Height",`${i(this,ct,qt).scrollHeight}px`)},Tr=new WeakSet,fc=function(){i(this,ct,qt)?i(this,nt).setValidity(i(this,ct,qt).validity,i(this,ct,qt).validationMessage):i(this,zl).warn("await updateComplete before validating")},ao.styles=[wp],ao.formAssociated=!0,ao.shadowRootOptions={...Sp.shadowRootOptions,delegatesFocus:!0},r([it({reflect:!0,attribute:"accessible-label"})],ao.prototype,"accessibleLabel",2),r([it({reflect:!0})],ao.prototype,"validated",2),r([it({type:Boolean,reflect:!0})],ao.prototype,"disabled",2),r([it({type:Boolean,reflect:!0})],ao.prototype,"required",2),r([it({type:Boolean,reflect:!0})],ao.prototype,"readonly",2),r([it()],ao.prototype,"placeholder",2),r([it()],ao.prototype,"value",2),r([it()],ao.prototype,"resize",2),r([it({type:Boolean,attribute:"auto-resize"})],ao.prototype,"autoResize",2),ao=r([Bg("pf-text-area")],ao);import{html as Wc,LitElement as ob}from"lit";import{customElement as tb}from"lit/decorators/custom-element.js";import{property as mt}from"lit/decorators/property.js";import{query as eb}from"lit/decorators/query.js";var st=class extends Event{constructor(t,o,e){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=o,this.subscribe=e??!1}};function mc(l){return l}var xe=class{constructor(t,o,e,a){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(c,p)=>{this.unsubscribe&&(this.unsubscribe!==p&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=c,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(c,p)),this.unsubscribe=p},this.host=t,o.context!==void 0){let c=o;this.context=c.context,this.callback=c.callback,this.subscribe=c.subscribe??!1}else this.context=o,this.callback=e,this.subscribe=a??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new st(this.context,this.t,this.subscribe))}};var Tl=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,o=!1){let e=o||!Object.is(t,this.o);this.o=t,e&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[o,{disposer:e}]of this.subscriptions)o(this.o,e)},t!==void 0&&(this.value=t)}addCallback(t,o,e){if(!e)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:o});let{disposer:a}=this.subscriptions.get(t);t(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var gc=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},Ce=class extends Tl{constructor(t,o,e){super(o.context!==void 0?o.initialValue:e),this.onContextRequest=a=>{let c=a.composedPath()[0];a.context===this.context&&c!==this.host&&(a.stopPropagation(),this.addCallback(a.callback,c,a.subscribe))},this.onProviderRequest=a=>{let c=a.composedPath()[0];if(a.context!==this.context||c===this.host)return;let p=new Set;for(let[f,{consumerHost:b}]of this.subscriptions)p.has(f)||(p.add(f),b.dispatchEvent(new st(this.context,f,!0)));a.stopPropagation()},this.host=t,o.context!==void 0?this.context=o.context:this.context=o,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new gc(this.context))}};var Er=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let o=this.pendingContextRequests.get(t.context);if(o===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:e}=o;for(let{elementRef:a,callbackRef:c}of e){let p=a.deref(),f=c.deref();p===void 0||f===void 0||p.dispatchEvent(new st(t.context,f,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let o=t.composedPath()[0],e=t.callback,a=this.pendingContextRequests.get(t.context);a===void 0&&this.pendingContextRequests.set(t.context,a={callbacks:new WeakMap,requests:[]});let c=a.callbacks.get(o);c===void 0&&a.callbacks.set(o,c=new WeakSet),c.has(e)||(c.add(e),a.requests.push({elementRef:new WeakRef(o),callbackRef:new WeakRef(e)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};function Rr({context:l}){return(t,o)=>{let e=new WeakMap;if(typeof o=="object")return o.addInitializer(function(){e.set(this,new Ce(this,{context:l}))}),{get(){return t.get.call(this)},set(a){return e.get(this)?.setValue(a),t.set.call(this,a)},init(a){return e.get(this)?.setValue(a),a}};{t.constructor.addInitializer(p=>{e.set(p,new Ce(p,{context:l}))});let a=Object.getOwnPropertyDescriptor(t,o),c;if(a===void 0){let p=new WeakMap;c={get(){return p.get(this)},set(f){e.get(this).setValue(f),p.set(this,f)},configurable:!0,enumerable:!0}}else{let p=a.set;c={...a,set(f){e.get(this).setValue(f),p?.call(this,f)}}}return void Object.defineProperty(t,o,c)}}}function pt({context:l,subscribe:t}){return(o,e)=>{typeof e=="object"?e.addInitializer(function(){new xe(this,{context:l,callback:a=>{o.set.call(this,a)},subscribe:t})}):o.constructor.addInitializer(a=>{new xe(a,{context:l,callback:c=>{a[e]=c},subscribe:t})})}}mo();import{classMap as rb}from"lit/directives/class-map.js";import{__classPrivateFieldGet as B,__classPrivateFieldSet as Mr}from"tslib";function bc(l,t,o=!1,e=!1){if(!l||!t)return!1;let a=l.getBoundingClientRect(),c=t.getBoundingClientRect(),p=Math.ceil(a.left),f=Math.floor(a.right),b=Math.ceil(c.left),x=Math.floor(c.right),S=b>=p&&x<=f,E=(o||!e&&a.width<c.width)&&(b<p&&x>p||x>f&&b<f);return S||E}var dt,Pr,vc,Q,Fr,El,Rl,Be,hc,uc,Et,Ir=class{get firstItem(){return B(this,Fr,"f").at(0)}get lastItem(){return B(this,Fr,"f").at(-1)}constructor(t,o){dt.add(this),this.host=t,this.options=o,Q.set(this,void 0),Fr.set(this,[]),El.set(this,void 0),Rl.set(this,void 0),Be.set(this,void 0),hc.set(this,new MutationObserver(e=>{for(let a of e)a.type==="childList"&&B(this,dt,"m",Et).call(this)})),uc.set(this,new ResizeObserver(()=>{B(this,dt,"m",Et).call(this)})),this.showScrollButtons=!1,this.overflowLeft=!1,this.overflowRight=!1,this.onScroll=()=>{clearTimeout(B(this,Rl,"f")),Mr(this,Rl,setTimeout(()=>B(this,dt,"m",Et).call(this),B(this,El,"f")),"f")},Mr(this,Be,o?.hideOverflowButtons??!1,"f"),Mr(this,El,o?.scrollTimeoutDelay??0,"f"),t.isConnected&&B(Pr,Pr,"f",vc).add(this),t.addController(this),t.isConnected&&this.hostConnected()}init(t,o){Mr(this,Q,t,"f"),Mr(this,Fr,o,"f")}scrollLeft(){if(!B(this,Q,"f"))return;let t=B(this,Q,"f").scrollLeft-B(this,Q,"f").clientWidth;B(this,Q,"f").scroll({left:t,behavior:"smooth"}),B(this,dt,"m",Et).call(this)}scrollRight(){if(!B(this,Q,"f"))return;let t=B(this,Q,"f").scrollLeft+B(this,Q,"f").clientWidth;B(this,Q,"f").scroll({left:t,behavior:"smooth"}),B(this,dt,"m",Et).call(this)}update(){B(this,dt,"m",Et).call(this)}hostConnected(){B(this,hc,"f").observe(this.host,{attributes:!1,childList:!0,subtree:!0}),B(this,uc,"f").observe(this.host),this.onScroll(),B(this,dt,"m",Et).call(this)}};Pr=Ir,Q=new WeakMap,Fr=new WeakMap,El=new WeakMap,Rl=new WeakMap,Be=new WeakMap,hc=new WeakMap,uc=new WeakMap,dt=new WeakSet,Et=function(){if(!this.firstItem||!this.lastItem||!B(this,Q,"f"))return;let t=this.overflowLeft,o=this.overflowRight;this.overflowLeft=!B(this,Be,"f")&&!bc(B(this,Q,"f"),this.firstItem),this.overflowRight=!B(this,Be,"f")&&!bc(B(this,Q,"f"),this.lastItem);let e=0;(this.overflowLeft||this.overflowRight)&&(e=(B(this,Q,"f").parentElement?.querySelector("button")?.getBoundingClientRect().width||0)*2),this.showScrollButtons=!B(this,Be,"f")&&B(this,Q,"f").scrollWidth>B(this,Q,"f").clientWidth+e,(t!==this.overflowLeft||o!==this.overflowRight)&&this.host.requestUpdate()};vc={value:new Set};globalThis.addEventListener?.("resize",()=>{for(let l of B(Pr,Pr,"f",vc))l.onScroll()},{capture:!1,passive:!0});import{__classPrivateFieldGet as xc,__classPrivateFieldSet as Tp,__decorate as Sg}from"tslib";import{isServer as Lg}from"lit";Wt();import{__classPrivateFieldGet as Xo,__classPrivateFieldSet as Wp}from"tslib";import{isServer as kg}from"lit";var Ml,ft,Hr,_c;function wg(l){return!!l&&l.ariaHidden!=="true"&&!l.hasAttribute("inert")&&!l.hasAttribute("hidden")}var ye=class{get atFocusedItemIndex(){return Xo(this,Hr,"f")}set atFocusedItemIndex(t){let o=Xo(this,Hr,"f"),e=t>o?1:-1,{items:a,atFocusableItems:c}=this,p=a.indexOf(this.atFocusableItems.at(-1)),f=a.at(t),b=c.includes(f);if(c.length){let x=0;for(;!f||!b&&x++<=1e3;)t<0?t=p:t>=p?t=0:t=t+e,f=a.at(t),b=c.includes(f);if(x>=1e3)throw new Error("Could not atFocusedItemIndex")}Wp(this,Hr,t,"f")}get controlsElements(){return this.options.getControlsElements?.()??[]}get atFocusableItems(){return this._items.filter(wg)}get itemsContainerElement(){return Xo(this,ft,"f")??null}set itemsContainerElement(t){t!==Xo(this,ft,"f")&&(Xo(this,ft,"f")?.removeEventListener("keydown",this.onKeydown),Wp(this,ft,t,"f"),Xo(this,ft,"f")?.addEventListener("keydown",this.onKeydown),this.host.requestUpdate())}constructor(t,o){Ml.add(this),this.host=t,this.options=o,ft.set(this,null),Hr.set(this,-1),this._items=[],this.host.updateComplete.then(()=>this.initItems())}initItems(){this.items=this.options.getItems(),this.itemsContainerElement??(this.itemsContainerElement=Xo(this,Ml,"m",_c).call(this))}hostConnected(){this.hostUpdate()}hostDisconnected(){Xo(this,ft,"f")?.removeEventListener("keydown",this.onKeydown)}hostUpdate(){this.itemsContainerElement??(this.itemsContainerElement=Xo(this,Ml,"m",_c).call(this))}onKeydown(t){let o=this.options.getOrientation?.()??Xo(this,ft,"f")?.getAttribute("aria-orientation"),e=this._items.at(this.atFocusedItemIndex),a=o==="horizontal"||e?.tagName==="SELECT"||e?.getAttribute("role")==="spinbutton",c=o==="vertical";switch(t.key){case"ArrowLeft":if(c)return;this.atFocusedItemIndex--,t.stopPropagation(),t.preventDefault();break;case"ArrowRight":if(c)return;this.atFocusedItemIndex++,t.stopPropagation(),t.preventDefault();break;case"ArrowUp":if(a)return;this.atFocusedItemIndex--,t.stopPropagation(),t.preventDefault();break;case"ArrowDown":if(a)return;this.atFocusedItemIndex++,t.stopPropagation(),t.preventDefault();break;case"Home":t.target instanceof HTMLElement&&(t.target.hasAttribute("aria-activedescendant")||t.target.ariaActiveDescendantElement)||(this.atFocusedItemIndex=0,t.stopPropagation(),t.preventDefault());break;case"End":t.target instanceof HTMLElement&&(t.target.hasAttribute("aria-activedescendant")||t.target.ariaActiveDescendantElement)||(this.atFocusedItemIndex=this.items.length-1,t.stopPropagation(),t.preventDefault());break;default:break}this.host.requestUpdate()}};ft=new WeakMap,Hr=new WeakMap,Ml=new WeakSet,_c=function(){return this.options.getItemsContainer?.()??(!kg&&this.host instanceof HTMLElement?this.host:null)};mo();Wt();var Cc,Fl,Pl,co=class l extends ye{static of(t,o){return new l(t,o)}get atFocusedItemIndex(){return super.atFocusedItemIndex}set atFocusedItemIndex(t){super.atFocusedItemIndex=t;let o=this.items.at(this.atFocusedItemIndex);for(let e of this.items)e.tabIndex=o===e?0:-1;xc(this,Fl,"f")&&o?.focus(),this.host.requestUpdate()}get items(){return this._items}set items(t){this._items=t,Tp(this,Pl,new Set(t),"f");let o=Math.max(0,this.atFocusedItemIndex),[e]=this.atFocusableItems,a=e?t.indexOf(e):-1,c=t.indexOf(this.items.slice(o).concat(this.items.slice(0,o)).find(p=>this.atFocusableItems.includes(p)));this.atFocusedItemIndex=Math.max(a,c),this.host.requestUpdate()}constructor(t,o){super(t,o),this.host=t,Cc.set(this,new k(this.host)),Fl.set(this,!1),Pl.set(this,new Set),this.initItems();let e=o.getItemsContainer?.()??this.host;Lg||(e instanceof HTMLElement?e.addEventListener("focusin",()=>Tp(this,Fl,!0,"f"),{once:!0}):xc(this,Cc,"f").warn("RovingTabindexController requires a getItemsContainer function"))}onKeydown(t){!t.ctrlKey&&!t.altKey&&!t.metaKey&&this.atFocusableItems.length&&t.composedPath().some(o=>xc(this,Pl,"f").has(o))&&super.onKeydown(t)}};Cc=new WeakMap,Fl=new WeakMap,Pl=new WeakMap;Sg([A],co.prototype,"onKeydown",null);mo();import{__classPrivateFieldGet as O,__classPrivateFieldSet as $r}from"tslib";var Ar,Or,$l,Rt,Mt,ke,Il,Hl,Al=class{get tabs(){return[...O(this,Mt,"f").keys()]}get activeTab(){return this.tabs.find(t=>O(this,ke,"f").isActiveTab(t))}constructor(t,o){if(Ar.add(this),Or.set(this,void 0),$l.set(this,void 0),Rt.set(this,void 0),Mt.set(this,new Map),ke.set(this,void 0),Il.set(this,new MutationObserver(O(this,Ar,"m",Hl).bind(this))),$r(this,ke,o,"f"),$r(this,Or,new k(t),"f"),t instanceof HTMLElement)$r(this,Rt,t,"f");else{let e=o.getHTMLElement?.();if(!e)throw new Error("TabsController must be instantiated with an HTMLElement or a `getHTMLElement()` option");$r(this,Rt,e,"f")}$r(this,$l,t,"f").addController(this),O(this,Rt,"f").addEventListener("slotchange",O(this,Ar,"m",Hl)),O(this,Rt,"f").isConnected&&this.hostConnected()}hostConnected(){O(this,Il,"f").observe(O(this,Rt,"f"),{attributes:!1,childList:!0,subtree:!1}),O(this,Ar,"m",Hl).call(this)}hostUpdated(){for(let[t,o]of O(this,Mt,"f"))o.setAttribute("aria-labelledby",t.id),t.setAttribute("aria-controls",o.id)}hostDisconnected(){O(this,Il,"f").disconnect()}panelFor(t){return O(this,Mt,"f").get(t)}tabFor(t){for(let[o,e]of O(this,Mt,"f"))if(t===e)return o}};Or=new WeakMap,$l=new WeakMap,Rt=new WeakMap,Mt=new WeakMap,ke=new WeakMap,Il=new WeakMap,Ar=new WeakSet,Hl=function(){O(this,Mt,"f").clear();let t=[],o=[];for(let e of O(this,Rt,"f").children)O(this,ke,"f").isTab(e)?(t.push(e),e.role??(e.role="tab")):O(this,ke,"f").isPanel(e)&&(o.push(e),e.role??(e.role="tabpanel"));for(t.length>o.length?O(this,Or,"f").warn("Too many tabs!"):o.length>t.length&&O(this,Or,"f").warn("Too many panels!");t.length;)O(this,Mt,"f").set(t.shift(),o.shift());O(this,$l,"f").requestUpdate()};import{LitElement as Pg,html as Ig}from"lit";import{customElement as Hg}from"lit/decorators/custom-element.js";import{property as Sc}from"lit/decorators/property.js";import{queryAssignedElements as $g}from"lit/decorators/query-assigned-elements.js";import{classMap as Ag}from"lit/directives/class-map.js";Wt();Wt();import{__decorate as zg}from"tslib";function Ep(l,t,o=!1){let e;return function(...a){let c=this,p=function(){e=null,o||l.apply(c,a)},f=o&&!e;clearTimeout(e),e=window.setTimeout(p,t),f&&l.apply(c,a)}}mo();var Dr=class l{constructor(t,o){this.host=t,this.options=o,this.mo=new MutationObserver(this.parse),this.cache=new Map,this.class=t.constructor,this.logger=new k(this.host),l.instances.set(t,this);let e=this.options?.properties??{};for(let[a,c]of Object.entries(e))this.initProp(a,c);t.addController(this),this.cascadeProperties=Ep(this.cascadeProperties,1)}hostUpdated(){this.cascadeProperties()}hostConnected(){this.mo.observe(this.host,{attributes:!0,childList:!0}),this.cascadeProperties()}hostDisconnected(){this.mo.disconnect()}cascadeProperties(t=this.host.children){if(this.host.isConnected){let o=this.cache.keys();if(!t)return this._cascadeAttributes(o,this.cache);for(let e of t)if(e instanceof Element){for(let a of o)if(e.matches(a)){let c=this.cache.get(a);for(let p of c??[])this._copyAttribute(p,e)}}}}initProp(t,o){for(let e of[o].flat(1/0).filter(Boolean)){let{attribute:a}=this.class.getPropertyOptions(t),c=typeof a=="string"?a:t.toLowerCase();this.cache.get(e)?this.cache.get(e)?.push(c):this.cache.set(e,[c])}}parse(t){for(let o of t??[])o.type==="childList"&&o.addedNodes.length?this.cascadeProperties(o.addedNodes):o.type==="attributes"&&this._cascadeAttributes(this.cache.keys(),this.cache)}async _copyAttribute(t,o){this.logger.log(`copying ${t} to ${o}`);let e=this.host.getAttribute(t);o.isConnected&&(e==null?o.removeAttribute(t):o.setAttribute(t,e))}_cascadeAttributes(t,o){for(let e of t)for(let a of o.get(e)??[])this._cascadeAttribute(a,e)}_cascadeAttribute(t,o){let e=[...this.host.querySelectorAll(o),...this.host.shadowRoot?.querySelectorAll(o)??[]];for(let a of e)this._copyAttribute(t,a)}};Dr.instances=new WeakMap;zg([A],Dr.prototype,"parse",null);mo();function Rp(l){return function(t,o){let{alias:e,...a}=l,c=t.constructor,p=c.getPropertyOptions(e);c.createProperty(o,{...p,...a}),c.addInitializer(f=>{f.addController(new Bc(f,l,o))})}}var Bc=class{constructor(t,o,e){this.host=t,this.options=o,this.deprecatedKey=e,this.logged=!1,this.logger=new k(t)}hostUpdate(){let{deprecatedKey:t,options:{alias:o}}=this;this.host[t]&&this.host[o]!==this.host[t]&&(this.logged||(this.logger.warn(`${t} is deprecated, use ${o} instead`),this.logged=!0),this.host[o]=this.host[t])}};mo();var Ol=class{constructor(t,o,e){this.host=t,this.options=e,this.initializer=o.bind(t),this.mo=new MutationObserver(this.initializer),this.logger=new k(this.host),t.addController(this)}hostConnected(){this.hasLightDOM()?this.initializer():this.options?.emptyWarning&&this.logger.warn(this.options?.emptyWarning),this.initObserver()}hostDisconnected(){this.mo.disconnect()}initObserver(){(this.options?.observe??!0)&&this.mo.observe(this.host,typeof this.options?.observe!="object"?{childList:!0}:this.options?.observe)}hasLightDOM(){return this.host.children.length>0||(this.host.textContent??"").trim().length>0}};function Mp(l){return function(t,o){t.constructor.addInitializer(e=>{let a=t[o],c=new Ol(e,a,l);e.isConnected&&c.hostConnected()})}}function yc(l,t){return function(o,e){let a=o.connectedCallback,c=o.disconnectedCallback,p=o[e];o.connectedCallback=function(){a?.call(this),this.addEventListener(l,p,t)},o.disconnectedCallback=function(){c?.call(this),this.removeEventListener(l,p,t)}}}import{__classPrivateFieldGet as kc,__classPrivateFieldSet as Wg}from"tslib";import{notEqual as Tg}from"lit";var Dl,Ul,wc,Fp=Symbol("uninitialized"),Ur=class{constructor(t,o){Dl.add(this),this.host=t,this.options=o,this.oldVal=Fp,Ul.set(this,!0)}hostConnected(){kc(this,Dl,"m",wc).call(this)}async hostUpdate(){kc(this,Dl,"m",wc).call(this);let{oldVal:t,options:{waitFor:o,propertyName:e,callback:a}}=this;if(!a)throw new Error(`no callback for ${e}`);let c=this.host[e];if(this.oldVal=c,c!==t)switch(o){case"connected":if(!this.host.isConnected){let b=this.host.connectedCallback;await new Promise(x=>{this.host.connectedCallback=function(){x(b?.call(this))}})}break;case"firstUpdated":this.host.hasUpdated||await this.host.updateComplete;break;case"updated":await this.host.updateComplete;break}let f=this.host.constructor.getPropertyOptions(this.options.propertyName).hasChanged??Tg;(kc(this,Ul,"f")||f(t,c))&&(a.call(this.host,t,c),Wg(this,Ul,!1,"f"))}};Ul=new WeakMap,Dl=new WeakSet,wc=function(){this.oldVal===Fp&&(this.oldVal=this.host[this.options.propertyName])};function L(l,t){return function(o,e){let a=o[e];if(typeof a!="function")throw new Error("@observes must decorate a class method");o.constructor.addInitializer(p=>{p.addController(new Ur(p,{...t,propertyName:l,callback:a}))})}}function N(l="pfe"){return`${l}-${Math.random().toString(36).substr(2,9)}`}import{isServer as Eg}from"lit";var Pp;function Rg(){let l=new Er;return Eg||l.attach(document.body),l}function Nl(...l){return Pp??(Pp=Rg()),mc(...l)}var Vt=class extends Event{constructor(o){super("expand",{bubbles:!0,cancelable:!0});this.tab=o}},we=Nl(Symbol("pf-tabs-context"));import{css as Mg}from"lit";var Fg=Mg`[hidden] {
828
+ `}firstUpdated(){this.autoResize&&s(this,Tr,mc).call(this)}async formDisabledCallback(){await this.updateComplete,this.requestUpdate()}setCustomValidity(o){i(this,nt).setValidity({},o)}checkValidity(){return s(this,Er,gc).call(this),i(this,nt).checkValidity()}reportValidity(){return s(this,Er,gc).call(this),i(this,nt).reportValidity()}};zl=new WeakMap,nt=new WeakMap,zr=new WeakMap,Wl=new WeakSet,zp=function(){return!Cg&&this.matches(":disabled")||this.disabled},ct=new WeakSet,qt=function(){return this.shadowRoot?.getElementById("textarea")??null},Wr=new WeakSet,fc=function(o){if(o.target instanceof HTMLTextAreaElement){let{value:e}=o.target;this.value=e,i(this,nt).setFormValue(e)}this.autoResize&&s(this,Tr,mc).call(this)},Tr=new WeakSet,mc=function(){i(this,ct,qt).style.setProperty("--pf-c-form-control--textarea--Height","auto"),i(this,ct,qt).style.setProperty("--pf-c-form-control--textarea--Height",`${i(this,ct,qt).scrollHeight}px`)},Er=new WeakSet,gc=function(){i(this,ct,qt)?i(this,nt).setValidity(i(this,ct,qt).validity,i(this,ct,qt).validationMessage):i(this,zl).warn("await updateComplete before validating")},ao.styles=[wp],ao.formAssociated=!0,ao.shadowRootOptions={...Sp.shadowRootOptions,delegatesFocus:!0},r([it({reflect:!0,attribute:"accessible-label"})],ao.prototype,"accessibleLabel",2),r([it({reflect:!0})],ao.prototype,"validated",2),r([it({type:Boolean,reflect:!0})],ao.prototype,"disabled",2),r([it({type:Boolean,reflect:!0})],ao.prototype,"required",2),r([it({type:Boolean,reflect:!0})],ao.prototype,"readonly",2),r([it()],ao.prototype,"placeholder",2),r([it()],ao.prototype,"value",2),r([it()],ao.prototype,"resize",2),r([it({type:Boolean,attribute:"auto-resize"})],ao.prototype,"autoResize",2),ao=r([Bg("pf-text-area")],ao);import{html as Tc,LitElement as ob}from"lit";import{customElement as tb}from"lit/decorators/custom-element.js";import{property as mt}from"lit/decorators/property.js";import{query as eb}from"lit/decorators/query.js";var st=class extends Event{constructor(t,o,e){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=o,this.subscribe=e??!1}};function bc(l){return l}var xe=class{constructor(t,o,e,a){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(c,p)=>{this.unsubscribe&&(this.unsubscribe!==p&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=c,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(c,p)),this.unsubscribe=p},this.host=t,o.context!==void 0){let c=o;this.context=c.context,this.callback=c.callback,this.subscribe=c.subscribe??!1}else this.context=o,this.callback=e,this.subscribe=a??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new st(this.context,this.t,this.subscribe))}};var Tl=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,o=!1){let e=o||!Object.is(t,this.o);this.o=t,e&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[o,{disposer:e}]of this.subscriptions)o(this.o,e)},t!==void 0&&(this.value=t)}addCallback(t,o,e){if(!e)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:o});let{disposer:a}=this.subscriptions.get(t);t(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var hc=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},Ce=class extends Tl{constructor(t,o,e){super(o.context!==void 0?o.initialValue:e),this.onContextRequest=a=>{let c=a.composedPath()[0];a.context===this.context&&c!==this.host&&(a.stopPropagation(),this.addCallback(a.callback,c,a.subscribe))},this.onProviderRequest=a=>{let c=a.composedPath()[0];if(a.context!==this.context||c===this.host)return;let p=new Set;for(let[f,{consumerHost:b}]of this.subscriptions)p.has(f)||(p.add(f),b.dispatchEvent(new st(this.context,f,!0)));a.stopPropagation()},this.host=t,o.context!==void 0?this.context=o.context:this.context=o,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new hc(this.context))}};var Rr=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let o=this.pendingContextRequests.get(t.context);if(o===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:e}=o;for(let{elementRef:a,callbackRef:c}of e){let p=a.deref(),f=c.deref();p===void 0||f===void 0||p.dispatchEvent(new st(t.context,f,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let o=t.composedPath()[0],e=t.callback,a=this.pendingContextRequests.get(t.context);a===void 0&&this.pendingContextRequests.set(t.context,a={callbacks:new WeakMap,requests:[]});let c=a.callbacks.get(o);c===void 0&&a.callbacks.set(o,c=new WeakSet),c.has(e)||(c.add(e),a.requests.push({elementRef:new WeakRef(o),callbackRef:new WeakRef(e)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};function Mr({context:l}){return(t,o)=>{let e=new WeakMap;if(typeof o=="object")return o.addInitializer(function(){e.set(this,new Ce(this,{context:l}))}),{get(){return t.get.call(this)},set(a){return e.get(this)?.setValue(a),t.set.call(this,a)},init(a){return e.get(this)?.setValue(a),a}};{t.constructor.addInitializer(p=>{e.set(p,new Ce(p,{context:l}))});let a=Object.getOwnPropertyDescriptor(t,o),c;if(a===void 0){let p=new WeakMap;c={get(){return p.get(this)},set(f){e.get(this).setValue(f),p.set(this,f)},configurable:!0,enumerable:!0}}else{let p=a.set;c={...a,set(f){e.get(this).setValue(f),p?.call(this,f)}}}return void Object.defineProperty(t,o,c)}}}function pt({context:l,subscribe:t}){return(o,e)=>{typeof e=="object"?e.addInitializer(function(){new xe(this,{context:l,callback:a=>{o.set.call(this,a)},subscribe:t})}):o.constructor.addInitializer(a=>{new xe(a,{context:l,callback:c=>{a[e]=c},subscribe:t})})}}mo();import{classMap as rb}from"lit/directives/class-map.js";import{__classPrivateFieldGet as B,__classPrivateFieldSet as Fr}from"tslib";function uc(l,t,o=!1,e=!1){if(!l||!t)return!1;let a=l.getBoundingClientRect(),c=t.getBoundingClientRect(),p=Math.ceil(a.left),f=Math.floor(a.right),b=Math.ceil(c.left),x=Math.floor(c.right),S=b>=p&&x<=f,E=(o||!e&&a.width<c.width)&&(b<p&&x>p||x>f&&b<f);return S||E}var dt,Ir,xc,Q,Pr,El,Rl,Be,vc,_c,Et,Hr=class{get firstItem(){return B(this,Pr,"f").at(0)}get lastItem(){return B(this,Pr,"f").at(-1)}constructor(t,o){dt.add(this),this.host=t,this.options=o,Q.set(this,void 0),Pr.set(this,[]),El.set(this,void 0),Rl.set(this,void 0),Be.set(this,void 0),vc.set(this,new MutationObserver(e=>{for(let a of e)a.type==="childList"&&B(this,dt,"m",Et).call(this)})),_c.set(this,new ResizeObserver(()=>{B(this,dt,"m",Et).call(this)})),this.showScrollButtons=!1,this.overflowLeft=!1,this.overflowRight=!1,this.onScroll=()=>{clearTimeout(B(this,Rl,"f")),Fr(this,Rl,setTimeout(()=>B(this,dt,"m",Et).call(this),B(this,El,"f")),"f")},Fr(this,Be,o?.hideOverflowButtons??!1,"f"),Fr(this,El,o?.scrollTimeoutDelay??0,"f"),t.isConnected&&B(Ir,Ir,"f",xc).add(this),t.addController(this),t.isConnected&&this.hostConnected()}init(t,o){Fr(this,Q,t,"f"),Fr(this,Pr,o,"f")}scrollLeft(){if(!B(this,Q,"f"))return;let t=B(this,Q,"f").scrollLeft-B(this,Q,"f").clientWidth;B(this,Q,"f").scroll({left:t,behavior:"smooth"}),B(this,dt,"m",Et).call(this)}scrollRight(){if(!B(this,Q,"f"))return;let t=B(this,Q,"f").scrollLeft+B(this,Q,"f").clientWidth;B(this,Q,"f").scroll({left:t,behavior:"smooth"}),B(this,dt,"m",Et).call(this)}update(){B(this,dt,"m",Et).call(this)}hostConnected(){B(this,vc,"f").observe(this.host,{attributes:!1,childList:!0,subtree:!0}),B(this,_c,"f").observe(this.host),this.onScroll(),B(this,dt,"m",Et).call(this)}};Ir=Hr,Q=new WeakMap,Pr=new WeakMap,El=new WeakMap,Rl=new WeakMap,Be=new WeakMap,vc=new WeakMap,_c=new WeakMap,dt=new WeakSet,Et=function(){if(!this.firstItem||!this.lastItem||!B(this,Q,"f"))return;let t=this.overflowLeft,o=this.overflowRight;this.overflowLeft=!B(this,Be,"f")&&!uc(B(this,Q,"f"),this.firstItem),this.overflowRight=!B(this,Be,"f")&&!uc(B(this,Q,"f"),this.lastItem);let e=0;(this.overflowLeft||this.overflowRight)&&(e=(B(this,Q,"f").parentElement?.querySelector("button")?.getBoundingClientRect().width||0)*2),this.showScrollButtons=!B(this,Be,"f")&&B(this,Q,"f").scrollWidth>B(this,Q,"f").clientWidth+e,(t!==this.overflowLeft||o!==this.overflowRight)&&this.host.requestUpdate()};xc={value:new Set};globalThis.addEventListener?.("resize",()=>{for(let l of B(Ir,Ir,"f",xc))l.onScroll()},{capture:!1,passive:!0});import{__classPrivateFieldGet as Bc,__classPrivateFieldSet as Tp,__decorate as Sg}from"tslib";import{isServer as Lg}from"lit";Wt();import{__classPrivateFieldGet as Xo,__classPrivateFieldSet as Wp}from"tslib";import{isServer as kg}from"lit";var Ml,ft,$r,Cc;function wg(l){return!!l&&l.ariaHidden!=="true"&&!l.hasAttribute("inert")&&!l.hasAttribute("hidden")}var ye=class{get atFocusedItemIndex(){return Xo(this,$r,"f")}set atFocusedItemIndex(t){let o=Xo(this,$r,"f"),e=t>o?1:-1,{items:a,atFocusableItems:c}=this,p=a.indexOf(this.atFocusableItems.at(-1)),f=a.at(t),b=c.includes(f);if(c.length){let x=0;for(;!f||!b&&x++<=1e3;)t<0?t=p:t>=p?t=0:t=t+e,f=a.at(t),b=c.includes(f);if(x>=1e3)throw new Error("Could not atFocusedItemIndex")}Wp(this,$r,t,"f")}get controlsElements(){return this.options.getControlsElements?.()??[]}get atFocusableItems(){return this._items.filter(wg)}get itemsContainerElement(){return Xo(this,ft,"f")??null}set itemsContainerElement(t){t!==Xo(this,ft,"f")&&(Xo(this,ft,"f")?.removeEventListener("keydown",this.onKeydown),Wp(this,ft,t,"f"),Xo(this,ft,"f")?.addEventListener("keydown",this.onKeydown),this.host.requestUpdate())}constructor(t,o){Ml.add(this),this.host=t,this.options=o,ft.set(this,null),$r.set(this,-1),this._items=[],this.host.updateComplete.then(()=>this.initItems())}initItems(){this.items=this.options.getItems(),this.itemsContainerElement??(this.itemsContainerElement=Xo(this,Ml,"m",Cc).call(this))}hostConnected(){this.hostUpdate()}hostDisconnected(){Xo(this,ft,"f")?.removeEventListener("keydown",this.onKeydown)}hostUpdate(){this.itemsContainerElement??(this.itemsContainerElement=Xo(this,Ml,"m",Cc).call(this))}onKeydown(t){let o=this.options.getOrientation?.()??Xo(this,ft,"f")?.getAttribute("aria-orientation"),e=this._items.at(this.atFocusedItemIndex),a=o==="horizontal"||e?.tagName==="SELECT"||e?.getAttribute("role")==="spinbutton",c=o==="vertical";switch(t.key){case"ArrowLeft":if(c)return;this.atFocusedItemIndex--,t.stopPropagation(),t.preventDefault();break;case"ArrowRight":if(c)return;this.atFocusedItemIndex++,t.stopPropagation(),t.preventDefault();break;case"ArrowUp":if(a)return;this.atFocusedItemIndex--,t.stopPropagation(),t.preventDefault();break;case"ArrowDown":if(a)return;this.atFocusedItemIndex++,t.stopPropagation(),t.preventDefault();break;case"Home":t.target instanceof HTMLElement&&(t.target.hasAttribute("aria-activedescendant")||t.target.ariaActiveDescendantElement)||(this.atFocusedItemIndex=0,t.stopPropagation(),t.preventDefault());break;case"End":t.target instanceof HTMLElement&&(t.target.hasAttribute("aria-activedescendant")||t.target.ariaActiveDescendantElement)||(this.atFocusedItemIndex=this.items.length-1,t.stopPropagation(),t.preventDefault());break;default:break}this.host.requestUpdate()}};ft=new WeakMap,$r=new WeakMap,Ml=new WeakSet,Cc=function(){return this.options.getItemsContainer?.()??(!kg&&this.host instanceof HTMLElement?this.host:null)};mo();Wt();var yc,Fl,Pl,co=class l extends ye{static of(t,o){return new l(t,o)}get atFocusedItemIndex(){return super.atFocusedItemIndex}set atFocusedItemIndex(t){super.atFocusedItemIndex=t;let o=this.items.at(this.atFocusedItemIndex);for(let e of this.items)e.tabIndex=o===e?0:-1;Bc(this,Fl,"f")&&o?.focus(),this.host.requestUpdate()}get items(){return this._items}set items(t){this._items=t,Tp(this,Pl,new Set(t),"f");let o=Math.max(0,this.atFocusedItemIndex),[e]=this.atFocusableItems,a=e?t.indexOf(e):-1,c=t.indexOf(this.items.slice(o).concat(this.items.slice(0,o)).find(p=>this.atFocusableItems.includes(p)));this.atFocusedItemIndex=Math.max(a,c),this.host.requestUpdate()}constructor(t,o){super(t,o),this.host=t,yc.set(this,new k(this.host)),Fl.set(this,!1),Pl.set(this,new Set),this.initItems();let e=o.getItemsContainer?.()??this.host;Lg||(e instanceof HTMLElement?e.addEventListener("focusin",()=>Tp(this,Fl,!0,"f"),{once:!0}):Bc(this,yc,"f").warn("RovingTabindexController requires a getItemsContainer function"))}onKeydown(t){!t.ctrlKey&&!t.altKey&&!t.metaKey&&this.atFocusableItems.length&&t.composedPath().some(o=>Bc(this,Pl,"f").has(o))&&super.onKeydown(t)}};yc=new WeakMap,Fl=new WeakMap,Pl=new WeakMap;Sg([A],co.prototype,"onKeydown",null);mo();import{__classPrivateFieldGet as O,__classPrivateFieldSet as Ar}from"tslib";var Or,Dr,$l,Rt,Mt,ke,Il,Hl,Al=class{get tabs(){return[...O(this,Mt,"f").keys()]}get activeTab(){return this.tabs.find(t=>O(this,ke,"f").isActiveTab(t))}constructor(t,o){if(Or.add(this),Dr.set(this,void 0),$l.set(this,void 0),Rt.set(this,void 0),Mt.set(this,new Map),ke.set(this,void 0),Il.set(this,new MutationObserver(O(this,Or,"m",Hl).bind(this))),Ar(this,ke,o,"f"),Ar(this,Dr,new k(t),"f"),t instanceof HTMLElement)Ar(this,Rt,t,"f");else{let e=o.getHTMLElement?.();if(!e)throw new Error("TabsController must be instantiated with an HTMLElement or a `getHTMLElement()` option");Ar(this,Rt,e,"f")}Ar(this,$l,t,"f").addController(this),O(this,Rt,"f").addEventListener("slotchange",O(this,Or,"m",Hl)),O(this,Rt,"f").isConnected&&this.hostConnected()}hostConnected(){O(this,Il,"f").observe(O(this,Rt,"f"),{attributes:!1,childList:!0,subtree:!1}),O(this,Or,"m",Hl).call(this)}hostUpdated(){for(let[t,o]of O(this,Mt,"f"))o.setAttribute("aria-labelledby",t.id),t.setAttribute("aria-controls",o.id)}hostDisconnected(){O(this,Il,"f").disconnect()}panelFor(t){return O(this,Mt,"f").get(t)}tabFor(t){for(let[o,e]of O(this,Mt,"f"))if(t===e)return o}};Dr=new WeakMap,$l=new WeakMap,Rt=new WeakMap,Mt=new WeakMap,ke=new WeakMap,Il=new WeakMap,Or=new WeakSet,Hl=function(){O(this,Mt,"f").clear();let t=[],o=[];for(let e of O(this,Rt,"f").children)O(this,ke,"f").isTab(e)?(t.push(e),e.role??(e.role="tab")):O(this,ke,"f").isPanel(e)&&(o.push(e),e.role??(e.role="tabpanel"));for(t.length>o.length?O(this,Dr,"f").warn("Too many tabs!"):o.length>t.length&&O(this,Dr,"f").warn("Too many panels!");t.length;)O(this,Mt,"f").set(t.shift(),o.shift());O(this,$l,"f").requestUpdate()};import{LitElement as Pg,html as Ig}from"lit";import{customElement as Hg}from"lit/decorators/custom-element.js";import{property as zc}from"lit/decorators/property.js";import{queryAssignedElements as $g}from"lit/decorators/query-assigned-elements.js";import{classMap as Ag}from"lit/directives/class-map.js";Wt();Wt();import{__decorate as zg}from"tslib";function Ep(l,t,o=!1){let e;return function(...a){let c=this,p=function(){e=null,o||l.apply(c,a)},f=o&&!e;clearTimeout(e),e=window.setTimeout(p,t),f&&l.apply(c,a)}}mo();var Ur=class l{constructor(t,o){this.host=t,this.options=o,this.mo=new MutationObserver(this.parse),this.cache=new Map,this.class=t.constructor,this.logger=new k(this.host),l.instances.set(t,this);let e=this.options?.properties??{};for(let[a,c]of Object.entries(e))this.initProp(a,c);t.addController(this),this.cascadeProperties=Ep(this.cascadeProperties,1)}hostUpdated(){this.cascadeProperties()}hostConnected(){this.mo.observe(this.host,{attributes:!0,childList:!0}),this.cascadeProperties()}hostDisconnected(){this.mo.disconnect()}cascadeProperties(t=this.host.children){if(this.host.isConnected){let o=this.cache.keys();if(!t)return this._cascadeAttributes(o,this.cache);for(let e of t)if(e instanceof Element){for(let a of o)if(e.matches(a)){let c=this.cache.get(a);for(let p of c??[])this._copyAttribute(p,e)}}}}initProp(t,o){for(let e of[o].flat(1/0).filter(Boolean)){let{attribute:a}=this.class.getPropertyOptions(t),c=typeof a=="string"?a:t.toLowerCase();this.cache.get(e)?this.cache.get(e)?.push(c):this.cache.set(e,[c])}}parse(t){for(let o of t??[])o.type==="childList"&&o.addedNodes.length?this.cascadeProperties(o.addedNodes):o.type==="attributes"&&this._cascadeAttributes(this.cache.keys(),this.cache)}async _copyAttribute(t,o){this.logger.log(`copying ${t} to ${o}`);let e=this.host.getAttribute(t);o.isConnected&&(e==null?o.removeAttribute(t):o.setAttribute(t,e))}_cascadeAttributes(t,o){for(let e of t)for(let a of o.get(e)??[])this._cascadeAttribute(a,e)}_cascadeAttribute(t,o){let e=[...this.host.querySelectorAll(o),...this.host.shadowRoot?.querySelectorAll(o)??[]];for(let a of e)this._copyAttribute(t,a)}};Ur.instances=new WeakMap;zg([A],Ur.prototype,"parse",null);mo();function Rp(l){return function(t,o){let{alias:e,...a}=l,c=t.constructor,p=c.getPropertyOptions(e);c.createProperty(o,{...p,...a}),c.addInitializer(f=>{f.addController(new kc(f,l,o))})}}var kc=class{constructor(t,o,e){this.host=t,this.options=o,this.deprecatedKey=e,this.logged=!1,this.logger=new k(t)}hostUpdate(){let{deprecatedKey:t,options:{alias:o}}=this;this.host[t]&&this.host[o]!==this.host[t]&&(this.logged||(this.logger.warn(`${t} is deprecated, use ${o} instead`),this.logged=!0),this.host[o]=this.host[t])}};mo();var Ol=class{constructor(t,o,e){this.host=t,this.options=e,this.initializer=o.bind(t),this.mo=new MutationObserver(this.initializer),this.logger=new k(this.host),t.addController(this)}hostConnected(){this.hasLightDOM()?this.initializer():this.options?.emptyWarning&&this.logger.warn(this.options?.emptyWarning),this.initObserver()}hostDisconnected(){this.mo.disconnect()}initObserver(){(this.options?.observe??!0)&&this.mo.observe(this.host,typeof this.options?.observe!="object"?{childList:!0}:this.options?.observe)}hasLightDOM(){return this.host.children.length>0||(this.host.textContent??"").trim().length>0}};function Mp(l){return function(t,o){t.constructor.addInitializer(e=>{let a=t[o],c=new Ol(e,a,l);e.isConnected&&c.hostConnected()})}}function wc(l,t){return function(o,e){let a=o.connectedCallback,c=o.disconnectedCallback,p=o[e];o.connectedCallback=function(){a?.call(this),this.addEventListener(l,p,t)},o.disconnectedCallback=function(){c?.call(this),this.removeEventListener(l,p,t)}}}import{__classPrivateFieldGet as Sc,__classPrivateFieldSet as Wg}from"tslib";import{notEqual as Tg}from"lit";var Dl,Ul,Lc,Fp=Symbol("uninitialized"),Nr=class{constructor(t,o){Dl.add(this),this.host=t,this.options=o,this.oldVal=Fp,Ul.set(this,!0)}hostConnected(){Sc(this,Dl,"m",Lc).call(this)}async hostUpdate(){Sc(this,Dl,"m",Lc).call(this);let{oldVal:t,options:{waitFor:o,propertyName:e,callback:a}}=this;if(!a)throw new Error(`no callback for ${e}`);let c=this.host[e];if(this.oldVal=c,c!==t)switch(o){case"connected":if(!this.host.isConnected){let b=this.host.connectedCallback;await new Promise(x=>{this.host.connectedCallback=function(){x(b?.call(this))}})}break;case"firstUpdated":this.host.hasUpdated||await this.host.updateComplete;break;case"updated":await this.host.updateComplete;break}let f=this.host.constructor.getPropertyOptions(this.options.propertyName).hasChanged??Tg;(Sc(this,Ul,"f")||f(t,c))&&(a.call(this.host,t,c),Wg(this,Ul,!1,"f"))}};Ul=new WeakMap,Dl=new WeakSet,Lc=function(){this.oldVal===Fp&&(this.oldVal=this.host[this.options.propertyName])};function L(l,t){return function(o,e){let a=o[e];if(typeof a!="function")throw new Error("@observes must decorate a class method");o.constructor.addInitializer(p=>{p.addController(new Nr(p,{...t,propertyName:l,callback:a}))})}}function N(l="pfe"){return`${l}-${Math.random().toString(36).substr(2,9)}`}import{isServer as Eg}from"lit";var Pp;function Rg(){let l=new Rr;return Eg||l.attach(document.body),l}function Nl(...l){return Pp??(Pp=Rg()),bc(...l)}var Vt=class extends Event{constructor(o){super("expand",{bubbles:!0,cancelable:!0});this.tab=o}},we=Nl(Symbol("pf-tabs-context"));import{css as Mg}from"lit";var Fg=Mg`[hidden] {
829
829
  display: none !important;
830
830
  }
831
831
 
@@ -1011,7 +1011,7 @@ slot[name="icon"] {
1011
1011
  :host([aria-disabled="true"][border-bottom="false"]) #button {
1012
1012
  --pf-c-tabs__link--before--BorderBottomWidth: 0;
1013
1013
  }
1014
- `,Ip=Fg;var jr,jl,Hp,ql,$p,Vl,Ap,Yt,Nr,Ro=class extends Pg{constructor(){super(...arguments);n(this,jl);n(this,ql);n(this,Vl);n(this,Yt);this.active=!1;this.disabled=!1;n(this,jr,m.of(this,{role:"tab"}))}connectedCallback(){super.connectedCallback(),this.id||=N(this.localName),this.addEventListener("click",s(this,jl,Hp)),this.addEventListener("keydown",s(this,ql,$p)),this.addEventListener("focus",s(this,Vl,Ap))}willUpdate(){let{borderBottom:o,box:e,fill:a,manual:c,vertical:p}=this.ctx??{};this.toggleAttribute("fill",a),this.toggleAttribute("manual",c),this.toggleAttribute("vertical",p),e?this.setAttribute("box",e):this.removeAttribute("box"),o?this.setAttribute("border-bottom",o):this.removeAttribute("border-bottom")}render(){let{active:o}=this,{box:e,fill:a=!1,vertical:c=!1}=this.ctx??{};return Ig`
1014
+ `,Ip=Fg;var qr,jl,Hp,ql,$p,Vl,Ap,Yt,jr,Ro=class extends Pg{constructor(){super(...arguments);n(this,jl);n(this,ql);n(this,Vl);n(this,Yt);this.active=!1;this.disabled=!1;n(this,qr,m.of(this,{role:"tab"}))}connectedCallback(){super.connectedCallback(),this.id||=N(this.localName),this.addEventListener("click",s(this,jl,Hp)),this.addEventListener("keydown",s(this,ql,$p)),this.addEventListener("focus",s(this,Vl,Ap))}willUpdate(){let{borderBottom:o,box:e,fill:a,manual:c,vertical:p}=this.ctx??{};this.toggleAttribute("fill",a),this.toggleAttribute("manual",c),this.toggleAttribute("vertical",p),e?this.setAttribute("box",e):this.removeAttribute("box"),o?this.setAttribute("border-bottom",o):this.removeAttribute("border-bottom")}render(){let{active:o}=this,{box:e,fill:a=!1,vertical:c=!1}=this.ctx??{};return Ig`
1015
1015
  <div id="button"
1016
1016
  part="button"
1017
1017
  class="${Ag({active:o,box:!!e,dark:e==="dark",light:e==="light",fill:a,vertical:c})}">
@@ -1021,7 +1021,7 @@ slot[name="icon"] {
1021
1021
  @slotchange="${()=>this.requestUpdate()}"></slot>
1022
1022
  <slot part="text"></slot>
1023
1023
  </div>
1024
- `}activeChanged(o,e){i(this,jr).ariaSelected=String(!!e),e&&!o&&s(this,Yt,Nr).call(this)}disabledChanged(){i(this,jr).ariaDisabled=this.disabled?"true":this.ariaDisabled??"false"}};jr=new WeakMap,jl=new WeakSet,Hp=function(){this.disabled||s(this,Yt,Nr).call(this)},ql=new WeakSet,$p=function(o){if(!this.disabled)switch(o.key){case"Enter":s(this,Yt,Nr).call(this)}},Vl=new WeakSet,Ap=function(){!this.ctx?.manual&&!this.disabled&&s(this,Yt,Nr).call(this)},Yt=new WeakSet,Nr=async function(){this.dispatchEvent(new Vt(this))},Ro.styles=[Ip],r([$g({slot:"icon",flatten:!0})],Ro.prototype,"icons",2),r([Sc({reflect:!0,type:Boolean})],Ro.prototype,"active",2),r([Sc({reflect:!0,type:Boolean})],Ro.prototype,"disabled",2),r([pt({context:we,subscribe:!0}),Sc({attribute:!1})],Ro.prototype,"ctx",2),r([L("active")],Ro.prototype,"activeChanged",1),r([L("disabled")],Ro.prototype,"disabledChanged",1),Ro=r([Hg("pf-tab")],Ro);import{LitElement as Ug,html as Ng}from"lit";import{customElement as jg}from"lit/decorators/custom-element.js";import{state as qg}from"lit/decorators/state.js";import{css as Og}from"lit";var Dg=Og`:host {
1024
+ `}activeChanged(o,e){i(this,qr).ariaSelected=String(!!e),e&&!o&&s(this,Yt,jr).call(this)}disabledChanged(){i(this,qr).ariaDisabled=this.disabled?"true":this.ariaDisabled??"false"}};qr=new WeakMap,jl=new WeakSet,Hp=function(){this.disabled||s(this,Yt,jr).call(this)},ql=new WeakSet,$p=function(o){if(!this.disabled)switch(o.key){case"Enter":s(this,Yt,jr).call(this)}},Vl=new WeakSet,Ap=function(){!this.ctx?.manual&&!this.disabled&&s(this,Yt,jr).call(this)},Yt=new WeakSet,jr=async function(){this.dispatchEvent(new Vt(this))},Ro.styles=[Ip],r([$g({slot:"icon",flatten:!0})],Ro.prototype,"icons",2),r([zc({reflect:!0,type:Boolean})],Ro.prototype,"active",2),r([zc({reflect:!0,type:Boolean})],Ro.prototype,"disabled",2),r([pt({context:we,subscribe:!0}),zc({attribute:!1})],Ro.prototype,"ctx",2),r([L("active")],Ro.prototype,"activeChanged",1),r([L("disabled")],Ro.prototype,"disabledChanged",1),Ro=r([Hg("pf-tab")],Ro);import{LitElement as Ug,html as Ng}from"lit";import{customElement as jg}from"lit/decorators/custom-element.js";import{state as qg}from"lit/decorators/state.js";import{css as Og}from"lit";var Dg=Og`:host {
1025
1025
  display: block;
1026
1026
  }
1027
1027
 
@@ -1303,30 +1303,30 @@ button:disabled {
1303
1303
  --pf-c-tabs--before--BorderBottomWidth: 0; /* *override user setting* when border-bottom is false border bottom styles should be 0; */
1304
1304
  --pf-c-tabs__link--before--BorderBottomWidth: 0;
1305
1305
  }
1306
- `,Vp=Jg;var Vr,Yr,Tc,uo,Xr,Xt,Ql,Jl,Yp,oi,Xp,ti,Kp,ei,Gp,X=class extends ob{constructor(){super(...arguments);n(this,Yr);n(this,Jl);n(this,oi);n(this,ti);n(this,ei);this.labelScrollLeft="Scroll left";this.labelScrollRight="Scroll left";this.box=null;this.vertical=!1;this.fill=!1;this.borderBottom="true";this.manual=!1;n(this,Vr,-1);this.ctx=i(this,Yr,Tc);n(this,uo,new Ir(this,{scrollTimeoutDelay:200}));n(this,Xr,new Al(this,{isTab:o=>o.localName==="pf-tab",isPanel:o=>o.localName==="pf-tab-panel",isActiveTab:o=>o.active}));n(this,Xt,co.of(this,{getItemsContainer:()=>this.tabsContainer??null,getItems:()=>this.tabs??[]}));n(this,Ql,new k(this))}static isExpandEvent(o){return o instanceof Vt}get activeIndex(){return i(this,Vr)}set activeIndex(o){i(this,Xt).atFocusedItemIndex=o,v(this,Vr,o),this.activeTab=this.tabs[o];for(let e of this.tabs)this.activeTab?.disabled||(e.active=e===this.activeTab),i(this,Xr).panelFor(e)?.toggleAttribute("hidden",!e.active)}get tabs(){return i(this,Xr).tabs}connectedCallback(){super.connectedCallback(),this.addEventListener("expand",s(this,ei,Gp)),this.id||=N(this.localName),this.activeIndex=i(this,Xt).atFocusedItemIndex}async getUpdateComplete(){let o=await super.getUpdateComplete(),e=await Promise.all(Array.from(this.querySelectorAll("pf-tab, pf-tab-panel"),a=>a.updateComplete));return o&&e.every(a=>!!a)}willUpdate(){!this.manual&&this.activeIndex!==i(this,Xt).atFocusedItemIndex&&(this.activeIndex=i(this,Xt).atFocusedItemIndex),i(this,uo).update(),this.ctx=i(this,Yr,Tc)}activeTabChanged(o,e){e?.disabled&&(i(this,Ql).warn("Active tab is disabled. Setting to first focusable tab"),this.activeIndex=0),e&&(this.activeIndex=this.tabs.indexOf(e))}firstUpdated(){this.tabs.length&&this.activeIndex===-1&&this.select(this.tabs.findIndex(o=>!o.disabled))}render(){return Wc`
1306
+ `,Vp=Jg;var Vr,Yr,Ec,uo,Xr,Xt,Jl,oi,Yp,ti,Xp,ei,Kp,ri,Gp,X=class extends ob{constructor(){super(...arguments);n(this,Yr);n(this,oi);n(this,ti);n(this,ei);n(this,ri);this.labelScrollLeft="Scroll left";this.labelScrollRight="Scroll left";this.box=null;this.vertical=!1;this.fill=!1;this.borderBottom="true";this.manual=!1;n(this,Vr,-1);this.ctx=i(this,Yr,Ec);n(this,uo,new Hr(this,{scrollTimeoutDelay:200}));n(this,Xr,new Al(this,{isTab:o=>o.localName==="pf-tab",isPanel:o=>o.localName==="pf-tab-panel",isActiveTab:o=>o.active}));n(this,Xt,co.of(this,{getItemsContainer:()=>this.tabsContainer??null,getItems:()=>this.tabs??[]}));n(this,Jl,new k(this))}static isExpandEvent(o){return o instanceof Vt}get activeIndex(){return i(this,Vr)}set activeIndex(o){i(this,Xt).atFocusedItemIndex=o,v(this,Vr,o),this.activeTab=this.tabs[o];for(let e of this.tabs)this.activeTab?.disabled||(e.active=e===this.activeTab),i(this,Xr).panelFor(e)?.toggleAttribute("hidden",!e.active)}get tabs(){return i(this,Xr).tabs}connectedCallback(){super.connectedCallback(),this.addEventListener("expand",s(this,ri,Gp)),this.id||=N(this.localName),this.activeIndex=i(this,Xt).atFocusedItemIndex}async getUpdateComplete(){let o=await super.getUpdateComplete(),e=await Promise.all(Array.from(this.querySelectorAll("pf-tab, pf-tab-panel"),a=>a.updateComplete));return o&&e.every(a=>!!a)}willUpdate(){!this.manual&&this.activeIndex!==i(this,Xt).atFocusedItemIndex&&(this.activeIndex=i(this,Xt).atFocusedItemIndex),i(this,uo).update(),this.ctx=i(this,Yr,Ec)}activeTabChanged(o,e){e?.disabled&&(i(this,Jl).warn("Active tab is disabled. Setting to first focusable tab"),this.activeIndex=0),e&&(this.activeIndex=this.tabs.indexOf(e))}firstUpdated(){this.tabs.length&&this.activeIndex===-1&&this.select(this.tabs.findIndex(o=>!o.disabled))}render(){return Tc`
1307
1307
  <div part="container"
1308
1308
  class="${rb({overflow:i(this,uo).showScrollButtons})}">
1309
- <div part="tabs-container">${i(this,uo).showScrollButtons?Wc`
1309
+ <div part="tabs-container">${i(this,uo).showScrollButtons?Tc`
1310
1310
  <button id="previousTab" tabindex="-1"
1311
1311
  aria-label="${this.labelScrollLeft}"
1312
1312
  ?disabled="${!i(this,uo).overflowLeft}"
1313
- @click="${s(this,Jl,Yp)}">
1313
+ @click="${s(this,oi,Yp)}">
1314
1314
  <pf-icon icon="angle-left" set="fas" loading="eager"></pf-icon>
1315
1315
  </button>`:""}
1316
1316
  <div id="tabs" part="tabs" role="tablist">
1317
- <slot name="tab" @slotchange="${s(this,ti,Kp)}" @scroll="${i(this,uo).onScroll}"></slot>
1317
+ <slot name="tab" @slotchange="${s(this,ei,Kp)}" @scroll="${i(this,uo).onScroll}"></slot>
1318
1318
  </div>
1319
- ${i(this,uo).showScrollButtons?Wc`
1319
+ ${i(this,uo).showScrollButtons?Tc`
1320
1320
  <button id="nextTab" tabindex="-1"
1321
1321
  aria-label="${this.labelScrollRight}"
1322
1322
  ?disabled="${!i(this,uo).overflowRight}"
1323
- @click="${s(this,oi,Xp)}">
1323
+ @click="${s(this,ti,Xp)}">
1324
1324
  <pf-icon icon="angle-right" set="fas" loading="eager"></pf-icon>
1325
1325
  </button>`:""}
1326
1326
  </div>
1327
1327
  <slot part="panels"></slot>
1328
1328
  </div>
1329
- `}select(o){typeof o=="number"?this.activeIndex=o:this.activeIndex=this.tabs.indexOf(o)}};Vr=new WeakMap,Yr=new WeakSet,Tc=function(){let{activeTab:o,borderBottom:e,box:a,fill:c,manual:p,vertical:f}=this;return{activeTab:o,borderBottom:e,box:a,fill:c,manual:p,vertical:f}},uo=new WeakMap,Xr=new WeakMap,Xt=new WeakMap,Ql=new WeakMap,Jl=new WeakSet,Yp=function(){i(this,uo).scrollLeft()},oi=new WeakSet,Xp=function(){i(this,uo).scrollRight()},ti=new WeakSet,Kp=function(){this.tabs&&i(this,uo).init(this.tabsContainer,this.tabs)},ei=new WeakSet,Gp=function(o){o instanceof Vt&&!o.defaultPrevented&&this.tabs.includes(o.tab)&&this.select(o.tab)},X.styles=[Vp],X.scrollTimeoutDelay=150,r([mt({reflect:!1,attribute:"label-scroll-left"})],X.prototype,"labelScrollLeft",2),r([mt({reflect:!1,attribute:"label-scroll-right"})],X.prototype,"labelScrollRight",2),r([mt({reflect:!0})],X.prototype,"box",2),r([mt({reflect:!0,type:Boolean})],X.prototype,"vertical",2),r([mt({reflect:!0,type:Boolean})],X.prototype,"fill",2),r([mt({attribute:"border-bottom"})],X.prototype,"borderBottom",2),r([mt({reflect:!0,type:Boolean})],X.prototype,"manual",2),r([mt({attribute:"active-index",reflect:!0,type:Number})],X.prototype,"activeIndex",1),r([mt({attribute:!1})],X.prototype,"activeTab",2),r([eb("#tabs")],X.prototype,"tabsContainer",2),r([Rr({context:we})],X.prototype,"ctx",2),r([L("activeTab")],X.prototype,"activeTabChanged",1),X=r([tb("pf-tabs")],X);import{LitElement as Bb,html as Qr}from"lit";import{customElement as yb}from"lit/decorators/custom-element.js";import{property as id}from"lit/decorators/property.js";import{css as ab}from"lit";var lb=ab`:host {
1329
+ `}select(o){typeof o=="number"?this.activeIndex=o:this.activeIndex=this.tabs.indexOf(o)}};Vr=new WeakMap,Yr=new WeakSet,Ec=function(){let{activeTab:o,borderBottom:e,box:a,fill:c,manual:p,vertical:f}=this;return{activeTab:o,borderBottom:e,box:a,fill:c,manual:p,vertical:f}},uo=new WeakMap,Xr=new WeakMap,Xt=new WeakMap,Jl=new WeakMap,oi=new WeakSet,Yp=function(){i(this,uo).scrollLeft()},ti=new WeakSet,Xp=function(){i(this,uo).scrollRight()},ei=new WeakSet,Kp=function(){this.tabs&&i(this,uo).init(this.tabsContainer,this.tabs)},ri=new WeakSet,Gp=function(o){o instanceof Vt&&!o.defaultPrevented&&this.tabs.includes(o.tab)&&this.select(o.tab)},X.styles=[Vp],X.scrollTimeoutDelay=150,r([mt({reflect:!1,attribute:"label-scroll-left"})],X.prototype,"labelScrollLeft",2),r([mt({reflect:!1,attribute:"label-scroll-right"})],X.prototype,"labelScrollRight",2),r([mt({reflect:!0})],X.prototype,"box",2),r([mt({reflect:!0,type:Boolean})],X.prototype,"vertical",2),r([mt({reflect:!0,type:Boolean})],X.prototype,"fill",2),r([mt({attribute:"border-bottom"})],X.prototype,"borderBottom",2),r([mt({reflect:!0,type:Boolean})],X.prototype,"manual",2),r([mt({attribute:"active-index",reflect:!0,type:Number})],X.prototype,"activeIndex",1),r([mt({attribute:!1})],X.prototype,"activeTab",2),r([eb("#tabs")],X.prototype,"tabsContainer",2),r([Mr({context:we})],X.prototype,"ctx",2),r([L("activeTab")],X.prototype,"activeTabChanged",1),X=r([tb("pf-tabs")],X);import{LitElement as Bb,html as Qr}from"lit";import{customElement as yb}from"lit/decorators/custom-element.js";import{property as id}from"lit/decorators/property.js";import{css as ab}from"lit";var lb=ab`:host {
1330
1330
  display: grid;
1331
1331
  align-items: center;
1332
1332
  padding-inline-start: calc(50px * var(--_pf-table--expandable-rows, 0));
@@ -1413,7 +1413,7 @@ button:disabled {
1413
1413
  :host([expanded]) #toggle-icon {
1414
1414
  transform: rotate(90deg);
1415
1415
  }
1416
- `,Zp=lb;import{ifDefined as kb}from"lit/directives/if-defined.js";import{LitElement as xb,html as Pc}from"lit";import{customElement as Cb}from"lit/decorators/custom-element.js";import{property as J}from"lit/decorators/property.js";import{ifDefined as Ic}from"lit/directives/if-defined.js";import{classMap as ad}from"lit/directives/class-map.js";mo();import{__classPrivateFieldGet as D,__classPrivateFieldSet as Ft}from"tslib";var Ec,ze,Pt,ri,Kr,ai,Kt,Gr,Rc,Mc,Qp,Gt;function ib(l){return l.length===1&&typeof l[0]=="object"&&l[0]!==null}var nb=l=>t=>l===T.default?!t.hasAttribute("slot"):t.getAttribute("slot")===l,T=class{constructor(t,...o){if(Ec.add(this),this.host=t,Pt.set(this,new Map),ri.set(this,void 0),Kr.set(this,!1),ai.set(this,new MutationObserver(e=>D(this,Mc,"f").call(this,e))),Kt.set(this,void 0),Gr.set(this,{}),Rc.set(this,e=>{let a=e.target.name;D(this,Gt,"f").call(this,a),this.host.requestUpdate()}),Mc.set(this,async e=>{let a=[];for(let{addedNodes:c,removedNodes:p}of e)for(let f of[...c,...p])f instanceof HTMLElement&&f.slot&&(D(this,Gt,"f").call(this,f.slot),a.push(f.slot));this.host.requestUpdate()}),Gt.set(this,e=>{let a=e||ze.default,c=D(this,Pt,"f").get(a)?.slot?.assignedElements?.()??D(this,Ec,"m",Qp).call(this,a),p=e?`slot[name="${e}"]`:"slot:not([name])",f=this.host.shadowRoot?.querySelector?.(p)??null,b=!!c.length;D(this,Pt,"f").set(a,{elements:c,name:e??"",hasContent:b,slot:f}),D(this,ri,"f").debug(e,b)}),Ft(this,ri,new k(this.host),"f"),ib(o)){let[{slots:e,deprecations:a}]=o;Ft(this,Kt,e,"f"),Ft(this,Gr,a??{},"f")}else o.length>=1?(Ft(this,Kt,o,"f"),Ft(this,Gr,{},"f")):Ft(this,Kt,[null],"f");t.addController(this)}async hostConnected(){this.host.addEventListener("slotchange",D(this,Rc,"f")),Ft(this,Kr,!1,"f"),D(this,ai,"f").observe(this.host,{childList:!0}),D(this,Pt,"f").clear(),D(this,Kt,"f").forEach(D(this,Gt,"f")),Object.values(D(this,Gr,"f")).forEach(D(this,Gt,"f")),this.host.requestUpdate(),await this.host.updateComplete,this.host.requestUpdate()}hostUpdated(){D(this,Kr,"f")||(D(this,Kt,"f").forEach(D(this,Gt,"f")),Ft(this,Kr,!0,"f"))}hostDisconnected(){D(this,ai,"f").disconnect()}getSlotted(...t){return t.length?t.flatMap(o=>D(this,Pt,"f").get(o)?.elements??[]):D(this,Pt,"f").get(ze.default)?.elements??[]}hasSlotted(...t){let o=Array.from(t,e=>e??ze.default);return o.length||o.push(ze.default),o.some(e=>D(this,Pt,"f").get(e)?.hasContent??!1)}isEmpty(...t){return!this.hasSlotted(...t)}};ze=T,Pt=new WeakMap,ri=new WeakMap,Kr=new WeakMap,ai=new WeakMap,Kt=new WeakMap,Gr=new WeakMap,Rc=new WeakMap,Mc=new WeakMap,Gt=new WeakMap,Ec=new WeakSet,Qp=function(t){return Array.from(this.host.children).filter(nb(t))};T.default=Symbol("default slot");T.anonymous=ze.default;ko();import{LitElement as pb,html as db}from"lit";import{customElement as fb}from"lit/decorators/custom-element.js";import{styleMap as mb}from"lit/directives/style-map.js";import{property as od}from"lit/decorators/property.js";import{css as cb}from"lit";var sb=cb`:host {
1416
+ `,Zp=lb;import{ifDefined as kb}from"lit/directives/if-defined.js";import{LitElement as xb,html as Ic}from"lit";import{customElement as Cb}from"lit/decorators/custom-element.js";import{property as J}from"lit/decorators/property.js";import{ifDefined as Hc}from"lit/directives/if-defined.js";import{classMap as ad}from"lit/directives/class-map.js";mo();import{__classPrivateFieldGet as D,__classPrivateFieldSet as Ft}from"tslib";var Rc,We,Pt,ai,Kr,li,Kt,Gr,Mc,Fc,Qp,Gt;function ib(l){return l.length===1&&typeof l[0]=="object"&&l[0]!==null}var nb=l=>t=>l===T.default?!t.hasAttribute("slot"):t.getAttribute("slot")===l,T=class{constructor(t,...o){if(Rc.add(this),this.host=t,Pt.set(this,new Map),ai.set(this,void 0),Kr.set(this,!1),li.set(this,new MutationObserver(e=>D(this,Fc,"f").call(this,e))),Kt.set(this,void 0),Gr.set(this,{}),Mc.set(this,e=>{let a=e.target.name;D(this,Gt,"f").call(this,a),this.host.requestUpdate()}),Fc.set(this,async e=>{let a=[];for(let{addedNodes:c,removedNodes:p}of e)for(let f of[...c,...p])f instanceof HTMLElement&&f.slot&&(D(this,Gt,"f").call(this,f.slot),a.push(f.slot));this.host.requestUpdate()}),Gt.set(this,e=>{let a=e||We.default,c=D(this,Pt,"f").get(a)?.slot?.assignedElements?.()??D(this,Rc,"m",Qp).call(this,a),p=e?`slot[name="${e}"]`:"slot:not([name])",f=this.host.shadowRoot?.querySelector?.(p)??null,b=!!c.length;D(this,Pt,"f").set(a,{elements:c,name:e??"",hasContent:b,slot:f}),D(this,ai,"f").debug(e,b)}),Ft(this,ai,new k(this.host),"f"),ib(o)){let[{slots:e,deprecations:a}]=o;Ft(this,Kt,e,"f"),Ft(this,Gr,a??{},"f")}else o.length>=1?(Ft(this,Kt,o,"f"),Ft(this,Gr,{},"f")):Ft(this,Kt,[null],"f");t.addController(this)}async hostConnected(){this.host.addEventListener("slotchange",D(this,Mc,"f")),Ft(this,Kr,!1,"f"),D(this,li,"f").observe(this.host,{childList:!0}),D(this,Pt,"f").clear(),D(this,Kt,"f").forEach(D(this,Gt,"f")),Object.values(D(this,Gr,"f")).forEach(D(this,Gt,"f")),this.host.requestUpdate(),await this.host.updateComplete,this.host.requestUpdate()}hostUpdated(){D(this,Kr,"f")||(D(this,Kt,"f").forEach(D(this,Gt,"f")),Ft(this,Kr,!0,"f"))}hostDisconnected(){D(this,li,"f").disconnect()}getSlotted(...t){return t.length?t.flatMap(o=>D(this,Pt,"f").get(o)?.elements??[]):D(this,Pt,"f").get(We.default)?.elements??[]}hasSlotted(...t){let o=Array.from(t,e=>e??We.default);return o.length||o.push(We.default),o.some(e=>D(this,Pt,"f").get(e)?.hasContent??!1)}isEmpty(...t){return!this.hasSlotted(...t)}};We=T,Pt=new WeakMap,ai=new WeakMap,Kr=new WeakMap,li=new WeakMap,Kt=new WeakMap,Gr=new WeakMap,Mc=new WeakMap,Fc=new WeakMap,Gt=new WeakMap,Rc=new WeakSet,Qp=function(t){return Array.from(this.host.children).filter(nb(t))};T.default=Symbol("default slot");T.anonymous=We.default;ko();import{LitElement as pb,html as db}from"lit";import{customElement as fb}from"lit/decorators/custom-element.js";import{styleMap as mb}from"lit/directives/style-map.js";import{property as od}from"lit/decorators/property.js";import{css as cb}from"lit";var sb=cb`:host {
1417
1417
  display: inline-block;
1418
1418
  width: min-content;
1419
1419
  min-height: 0;
@@ -1499,12 +1499,12 @@ circle {
1499
1499
  transform: rotate(720deg);
1500
1500
  }
1501
1501
  }
1502
- `,Jp=sb;var Fc,Zt=class extends pb{constructor(){super(...arguments);n(this,Fc,m.of(this,{role:"progressbar"}));this.size="xl"}render(){return db`
1502
+ `,Jp=sb;var Pc,Zt=class extends pb{constructor(){super(...arguments);n(this,Pc,m.of(this,{role:"progressbar"}));this.size="xl"}render(){return db`
1503
1503
  <svg viewBox="0 0 100 100"
1504
1504
  style="${mb({"--pf-c-spinner--diameter":this.diameter})}">
1505
1505
  <circle cx="50" cy="50" r="45" fill="none" />
1506
1506
  </svg>
1507
- `}};Fc=new WeakMap,Zt.styles=[Jp],r([od({reflect:!0})],Zt.prototype,"size",2),r([od({reflect:!0})],Zt.prototype,"diameter",2),Zt=r([fb("pf-spinner")],Zt);import{css as gb}from"lit";var bb=gb`:host {
1507
+ `}};Pc=new WeakMap,Zt.styles=[Jp],r([od({reflect:!0})],Zt.prototype,"size",2),r([od({reflect:!0})],Zt.prototype,"diameter",2),Zt=r([fb("pf-spinner")],Zt);import{css as gb}from"lit";var bb=gb`:host {
1508
1508
  --pf-c-button--PaddingTop: var(--pf-global--spacer--form-element, 0.375rem);
1509
1509
  --pf-c-button--PaddingRight: var(--pf-global--spacer--md, 1rem);
1510
1510
  --pf-c-button--PaddingBottom: var(--pf-global--spacer--form-element, 0.375rem);
@@ -2326,32 +2326,32 @@ pf-icon,
2326
2326
  var(--pf-global--danger-color--100, #c9190b));
2327
2327
  }
2328
2328
 
2329
- `,rd=_b;var Ko,ii,Zr,Hc,We,li,ni,ld,F=class extends xb{constructor(){super(...arguments);n(this,Zr);n(this,We);n(this,ni);this.disabled=!1;this.loading=!1;this.warning=!1;this.danger=!1;this.plain=!1;this.variant="primary";this.inline=!1;this.block=!1;n(this,Ko,m.of(this,{role:this.variant==="link"?"none":"button"}));n(this,ii,new T(this,"icon",null))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",s(this,We,li)),this.addEventListener("keydown",s(this,ni,ld))}willUpdate(){i(this,Ko).ariaLabel=this.label||null,i(this,Ko).ariaDisabled=String(!!this.disabled),this.variant==="link"&&this.href?(this.removeAttribute("tabindex"),i(this,Ko).role="none"):(this.tabIndex=0,i(this,Ko).role="button")}async formDisabledCallback(){await this.updateComplete,this.requestUpdate()}render(){let o=!!this.icon||!!this.loading||i(this,ii).hasSlotted("icon"),{warning:e,variant:a,danger:c,loading:p,plain:f,inline:b,block:x,size:S,href:E,target:Y}=this,U=i(this,Zr,Hc),jo=Pc`
2329
+ `,rd=_b;var Ko,ni,Zr,$c,Te,ii,ci,ld,F=class extends xb{constructor(){super(...arguments);n(this,Zr);n(this,Te);n(this,ci);this.disabled=!1;this.loading=!1;this.warning=!1;this.danger=!1;this.plain=!1;this.variant="primary";this.inline=!1;this.block=!1;n(this,Ko,m.of(this,{role:this.variant==="link"?"none":"button"}));n(this,ni,new T(this,"icon",null))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",s(this,Te,ii)),this.addEventListener("keydown",s(this,ci,ld))}willUpdate(){i(this,Ko).ariaLabel=this.label||null,i(this,Ko).ariaDisabled=String(!!this.disabled),this.variant==="link"&&this.href?(this.removeAttribute("tabindex"),i(this,Ko).role="none"):(this.tabIndex=0,i(this,Ko).role="button")}async formDisabledCallback(){await this.updateComplete,this.requestUpdate()}render(){let o=!!this.icon||!!this.loading||i(this,ni).hasSlotted("icon"),{warning:e,variant:a,danger:c,loading:p,plain:f,inline:b,block:x,size:S,href:E,target:Y}=this,U=i(this,Zr,$c),jo=Ic`
2330
2330
  <slot id="icon"
2331
2331
  part="icon"
2332
2332
  name="icon"
2333
2333
  ?hidden="${!o}">
2334
2334
  <pf-icon role="presentation"
2335
- icon="${Ic(this.icon)}"
2336
- set="${Ic(this.iconSet)}"
2335
+ icon="${Hc(this.icon)}"
2336
+ set="${Hc(this.iconSet)}"
2337
2337
  ?hidden="${!this.icon||this.loading}"></pf-icon>
2338
2338
  <pf-spinner size="md"
2339
2339
  ?hidden="${!this.loading}"
2340
2340
  aria-label="${this.getAttribute("loading-label")??"loading"}"></pf-spinner>
2341
2341
  </slot>
2342
2342
  <slot id="text"></slot>
2343
- `;return a==="link"&&E?Pc`
2343
+ `;return a==="link"&&E?Ic`
2344
2344
  <a id="button"
2345
2345
  href="${E}"
2346
- target="${Ic(Y)}"
2347
- class="${ad({[a]:!0,[S??""]:!!S,anchor:!0,inline:b,block:x,danger:c,disabled:U,hasIcon:o,loading:p,plain:f,warning:e})}">${jo}</a>`:Pc`
2346
+ target="${Hc(Y)}"
2347
+ class="${ad({[a]:!0,[S??""]:!!S,anchor:!0,inline:b,block:x,danger:c,disabled:U,hasIcon:o,loading:p,plain:f,warning:e})}">${jo}</a>`:Ic`
2348
2348
  <div id="button"
2349
- class="${ad({[a]:!0,[S??""]:!!S,inline:b,block:x,danger:c,disabled:U,hasIcon:o,loading:p,plain:f,warning:e})}">${jo}</div>`}};Ko=new WeakMap,ii=new WeakMap,Zr=new WeakSet,Hc=function(){return this.disabled||i(this,Ko).formDisabled},We=new WeakSet,li=function(){if(!i(this,Zr,Hc))switch(this.type){case"reset":return i(this,Ko).reset();default:return i(this,Ko).submit()}},ni=new WeakSet,ld=function(o){switch(o.key){case" ":o.preventDefault(),o.stopPropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}))&&s(this,We,li).call(this);break;case"Enter":this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}))&&s(this,We,li).call(this)}},F.formAssociated=!0,F.styles=[td,ed,rd],r([J({reflect:!0})],F.prototype,"type",2),r([J()],F.prototype,"label",2),r([J()],F.prototype,"value",2),r([J()],F.prototype,"name",2),r([J({reflect:!0,type:Boolean})],F.prototype,"disabled",2),r([J({type:Boolean,reflect:!0})],F.prototype,"loading",2),r([J({reflect:!0})],F.prototype,"size",2),r([J({type:Boolean,reflect:!0})],F.prototype,"warning",2),r([J({type:Boolean,reflect:!0})],F.prototype,"danger",2),r([J({type:Boolean,reflect:!0})],F.prototype,"plain",2),r([J({reflect:!0})],F.prototype,"variant",2),r([J({reflect:!0,type:Boolean})],F.prototype,"inline",2),r([J({reflect:!0,type:Boolean})],F.prototype,"block",2),r([J()],F.prototype,"icon",2),r([J({attribute:"icon-set"})],F.prototype,"iconSet",2),r([J({reflect:!0})],F.prototype,"href",2),r([J({reflect:!0})],F.prototype,"target",2),F=r([Cb("pf-button")],F);ko();var It=class extends Event{constructor(o,e){super("request-expand",{bubbles:!0,cancelable:!0});this.compoundExpanded=!1;e&&(this.compoundExpanded=o??!1,this.row=e)}};function wb(...l){let t=new Set(l);return{fromAttribute(o){return o&&t.has(o.toLowerCase())?o:o!=null},toAttribute(o){return o?o==="compound"?o:"":null}}}var Sb={fromAttribute(l){return l||l!==null},toAttribute(l){return l?typeof l=="string"?l:"":null}},ci,nd,Jr,$c,si,cd,gt=class extends Bb{constructor(){super(...arguments);n(this,ci);n(this,Jr);n(this,si);this.expandable=!1;this.expanded=!1}connectedCallback(){super.connectedCallback(),s(this,Jr,$c).call(this)}willUpdate(o){o.has("expandable")&&s(this,Jr,$c).call(this),o.has("expanded")&&s(this,ci,nd).call(this)}render(){return[this.expandable&&this.expandable!=="compound"&&Qr`
2349
+ class="${ad({[a]:!0,[S??""]:!!S,inline:b,block:x,danger:c,disabled:U,hasIcon:o,loading:p,plain:f,warning:e})}">${jo}</div>`}};Ko=new WeakMap,ni=new WeakMap,Zr=new WeakSet,$c=function(){return this.disabled||i(this,Ko).formDisabled},Te=new WeakSet,ii=function(){if(!i(this,Zr,$c))switch(this.type){case"reset":return i(this,Ko).reset();default:return i(this,Ko).submit()}},ci=new WeakSet,ld=function(o){switch(o.key){case" ":o.preventDefault(),o.stopPropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}))&&s(this,Te,ii).call(this);break;case"Enter":this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}))&&s(this,Te,ii).call(this)}},F.formAssociated=!0,F.styles=[td,ed,rd],r([J({reflect:!0})],F.prototype,"type",2),r([J()],F.prototype,"label",2),r([J()],F.prototype,"value",2),r([J()],F.prototype,"name",2),r([J({reflect:!0,type:Boolean})],F.prototype,"disabled",2),r([J({type:Boolean,reflect:!0})],F.prototype,"loading",2),r([J({reflect:!0})],F.prototype,"size",2),r([J({type:Boolean,reflect:!0})],F.prototype,"warning",2),r([J({type:Boolean,reflect:!0})],F.prototype,"danger",2),r([J({type:Boolean,reflect:!0})],F.prototype,"plain",2),r([J({reflect:!0})],F.prototype,"variant",2),r([J({reflect:!0,type:Boolean})],F.prototype,"inline",2),r([J({reflect:!0,type:Boolean})],F.prototype,"block",2),r([J()],F.prototype,"icon",2),r([J({attribute:"icon-set"})],F.prototype,"iconSet",2),r([J({reflect:!0})],F.prototype,"href",2),r([J({reflect:!0})],F.prototype,"target",2),F=r([Cb("pf-button")],F);ko();var It=class extends Event{constructor(o,e){super("request-expand",{bubbles:!0,cancelable:!0});this.compoundExpanded=!1;e&&(this.compoundExpanded=o??!1,this.row=e)}};function wb(...l){let t=new Set(l);return{fromAttribute(o){return o&&t.has(o.toLowerCase())?o:o!=null},toAttribute(o){return o?o==="compound"?o:"":null}}}var Sb={fromAttribute(l){return l||l!==null},toAttribute(l){return l?typeof l=="string"?l:"":null}},si,nd,Jr,Ac,pi,cd,gt=class extends Bb{constructor(){super(...arguments);n(this,si);n(this,Jr);n(this,pi);this.expandable=!1;this.expanded=!1}connectedCallback(){super.connectedCallback(),s(this,Jr,Ac).call(this)}willUpdate(o){o.has("expandable")&&s(this,Jr,Ac).call(this),o.has("expanded")&&s(this,si,nd).call(this)}render(){return[this.expandable&&this.expandable!=="compound"&&Qr`
2350
2350
  <pf-td id="toggle-cell">
2351
2351
  <pf-button id="toggle-button"
2352
2352
  aria-expanded=${String(this.expanded)}
2353
2353
  plain
2354
- @click=${s(this,si,cd)}>
2354
+ @click=${s(this,pi,cd)}>
2355
2355
  <pf-icon id="toggle-icon"
2356
2356
  icon="angle-right"
2357
2357
  size="md"
@@ -2368,7 +2368,7 @@ pf-icon,
2368
2368
  <div id="expansion">${this.expanded?Qr`
2369
2369
  <slot name="${this.expanded}"></slot>`:""}
2370
2370
  </div>
2371
- `].filter(Boolean)}};ci=new WeakSet,nd=function(){this.expanded&&!this.expandable&&(this.expanded=!1)},Jr=new WeakSet,$c=function(){switch(this.expandable){case"compound":break;case!0:this.setAttribute("role","rowgroup");break;default:this.setAttribute("role","row")}},si=new WeakSet,cd=function(){this.dispatchEvent(new It)},gt.styles=[Zp],r([id({reflect:!0,converter:wb("compound")})],gt.prototype,"expandable",2),r([id({reflect:!0,converter:Sb})],gt.prototype,"expanded",2),gt=r([yb("pf-tr")],gt);import{LitElement as Wb,html as Tb}from"lit";import{customElement as Eb}from"lit/decorators/custom-element.js";import{css as Lb}from"lit";var zb=Lb`:host {
2371
+ `].filter(Boolean)}};si=new WeakSet,nd=function(){this.expanded&&!this.expandable&&(this.expanded=!1)},Jr=new WeakSet,Ac=function(){switch(this.expandable){case"compound":break;case!0:this.setAttribute("role","rowgroup");break;default:this.setAttribute("role","row")}},pi=new WeakSet,cd=function(){this.dispatchEvent(new It)},gt.styles=[Zp],r([id({reflect:!0,converter:wb("compound")})],gt.prototype,"expandable",2),r([id({reflect:!0,converter:Sb})],gt.prototype,"expanded",2),gt=r([yb("pf-tr")],gt);import{LitElement as Wb,html as Tb}from"lit";import{customElement as Eb}from"lit/decorators/custom-element.js";import{css as Lb}from"lit";var zb=Lb`:host {
2372
2372
  --pf-c-table--cell--MinWidth: var(--pf-c-table--m-truncate--cell--MinWidth);
2373
2373
  --pf-c-table--cell--MaxWidth: var(--pf-c-table--m-truncate--cell--MaxWidth);
2374
2374
  --pf-c-table--cell--Overflow: hidden;
@@ -2386,9 +2386,9 @@ pf-icon,
2386
2386
  display: none;
2387
2387
  visibility: hidden;
2388
2388
  }
2389
- }`,sd=zb;var pi,pd,oa=class extends Wb{constructor(){super(...arguments);n(this,pi)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","rowgroup")}render(){return Tb`
2390
- <slot @slotchange=${s(this,pi,pd)}></slot>
2391
- `}};pi=new WeakSet,pd=function(){for(let o of this.querySelectorAll(":scope > pf-th"))o.setAttribute("role","columnheader")},oa.styles=[sd],oa=r([Eb("pf-thead")],oa);import{LitElement as Fb,html as fd,svg as Pb}from"lit";import{customElement as Ib}from"lit/decorators/custom-element.js";import{property as di}from"lit/decorators/property.js";import{classMap as Hb}from"lit/directives/class-map.js";import{css as Rb}from"lit";var Mb=Rb`:host {
2389
+ }`,sd=zb;var di,pd,oa=class extends Wb{constructor(){super(...arguments);n(this,di)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","rowgroup")}render(){return Tb`
2390
+ <slot @slotchange=${s(this,di,pd)}></slot>
2391
+ `}};di=new WeakSet,pd=function(){for(let o of this.querySelectorAll(":scope > pf-th"))o.setAttribute("role","columnheader")},oa.styles=[sd],oa=r([Eb("pf-thead")],oa);import{LitElement as Fb,html as fd,svg as Pb}from"lit";import{customElement as Ib}from"lit/decorators/custom-element.js";import{property as fi}from"lit/decorators/property.js";import{classMap as Hb}from"lit/directives/class-map.js";import{css as Rb}from"lit";var Mb=Rb`:host {
2392
2392
  font-weight: bold;
2393
2393
  padding: 1rem;
2394
2394
  position: relative;
@@ -2481,11 +2481,11 @@ button.selected {
2481
2481
  white-space: nowrap;
2482
2482
  border: 0;
2483
2483
  }
2484
- `,dd=Mb;var $b={asc:"desc",desc:"asc"},ta=class extends Event{constructor(o,e){super("request-sort",{bubbles:!0,cancelable:!0});this.key=o;this.direction=e}},Ab=new Map(Object.entries({asc:"M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z",desc:"M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z",sort:"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"})),fi,md,Mo=class extends Fb{constructor(){super(...arguments);n(this,fi);this.sortable=!1;this.selected=!1}connectedCallback(){super.connectedCallback();let o=this.closest("pf-thead"),e=this.closest("pf-table"),c=!!o&&!!e?.contains(o)?"colheader":"rowheader";this.setAttribute("role",c)}render(){let o=!!this.selected;return this.sortable?fd`
2484
+ `,dd=Mb;var $b={asc:"desc",desc:"asc"},ta=class extends Event{constructor(o,e){super("request-sort",{bubbles:!0,cancelable:!0});this.key=o;this.direction=e}},Ab=new Map(Object.entries({asc:"M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z",desc:"M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z",sort:"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"})),mi,md,Mo=class extends Fb{constructor(){super(...arguments);n(this,mi);this.sortable=!1;this.selected=!1}connectedCallback(){super.connectedCallback();let o=this.closest("pf-thead"),e=this.closest("pf-table"),c=!!o&&!!e?.contains(o)?"colheader":"rowheader";this.setAttribute("role",c)}render(){let o=!!this.selected;return this.sortable?fd`
2485
2485
  <button id="sort-button"
2486
2486
  class="sortable ${Hb({selected:o})}"
2487
2487
  part="sort-button"
2488
- @click="${s(this,fi,md)}">
2488
+ @click="${s(this,mi,md)}">
2489
2489
  <slot></slot>
2490
2490
  <span class="visually-hidden">${this.sortDirection?`(sorted ${this.sortDirection==="asc"?"ascending":"descending"})`:""}</span>
2491
2491
  <span id="sort-indicator">
@@ -2496,7 +2496,7 @@ button.selected {
2496
2496
  </button>
2497
2497
  `:fd`
2498
2498
  <slot></slot>
2499
- `}sort(){let o=$b[this.sortDirection??"asc"];this.dispatchEvent(new ta(this.key,o))}};fi=new WeakSet,md=function(){this.sortable&&this.sort()},Mo.styles=[dd],r([di({type:Boolean,reflect:!0})],Mo.prototype,"sortable",2),r([di({type:Boolean,reflect:!0})],Mo.prototype,"selected",2),r([di({reflect:!0,attribute:"sort-direction"})],Mo.prototype,"sortDirection",2),r([di()],Mo.prototype,"key",2),Mo=r([Ib("pf-th")],Mo);import{LitElement as Ub,html as bd}from"lit";import{customElement as Nb}from"lit/decorators/custom-element.js";import{property as hd}from"lit/decorators/property.js";import{css as Ob}from"lit";var Db=Ob`:host(:empty),
2499
+ `}sort(){let o=$b[this.sortDirection??"asc"];this.dispatchEvent(new ta(this.key,o))}};mi=new WeakSet,md=function(){this.sortable&&this.sort()},Mo.styles=[dd],r([fi({type:Boolean,reflect:!0})],Mo.prototype,"sortable",2),r([fi({type:Boolean,reflect:!0})],Mo.prototype,"selected",2),r([fi({reflect:!0,attribute:"sort-direction"})],Mo.prototype,"sortDirection",2),r([fi()],Mo.prototype,"key",2),Mo=r([Ib("pf-th")],Mo);import{LitElement as Ub,html as bd}from"lit";import{customElement as Nb}from"lit/decorators/custom-element.js";import{property as hd}from"lit/decorators/property.js";import{css as Ob}from"lit";var Db=Ob`:host(:empty),
2500
2500
  :host([compound-expand]) {
2501
2501
  padding: 0;
2502
2502
  }
@@ -2601,13 +2601,13 @@ button:hover {
2601
2601
  color: var(--pf-c-table__button--hover--Color);
2602
2602
  }
2603
2603
 
2604
- `,gd=Db;var mi,ud,bt=class extends Ub{constructor(){super(...arguments);n(this,mi);this.expanded=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}render(){return this.compoundExpand?bd`
2605
- <button @click="${s(this,mi,ud)}">
2604
+ `,gd=Db;var gi,ud,bt=class extends Ub{constructor(){super(...arguments);n(this,gi);this.expanded=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}render(){return this.compoundExpand?bd`
2605
+ <button @click="${s(this,gi,ud)}">
2606
2606
  <slot></slot>
2607
2607
  </button>
2608
2608
  `:bd`
2609
2609
  <slot></slot>
2610
- `}};mi=new WeakSet,ud=function(){let o=this.closest("pf-tr"),e=this.compoundExpand,a=o?new It(o.expanded===e||e||!1,o):new It;this.dispatchEvent(a)},bt.styles=[gd],r([hd({attribute:"compound-expand"})],bt.prototype,"compoundExpand",2),r([hd({type:Boolean,reflect:!0})],bt.prototype,"expanded",2),bt=r([Nb("pf-td")],bt);import{LitElement as Vb,html as Yb}from"lit";import{customElement as Xb}from"lit/decorators/custom-element.js";import{css as jb}from"lit";var qb=jb`:host {
2610
+ `}};gi=new WeakSet,ud=function(){let o=this.closest("pf-tr"),e=this.compoundExpand,a=o?new It(o.expanded===e||e||!1,o):new It;this.dispatchEvent(a)},bt.styles=[gd],r([hd({attribute:"compound-expand"})],bt.prototype,"compoundExpand",2),r([hd({type:Boolean,reflect:!0})],bt.prototype,"expanded",2),bt=r([Nb("pf-td")],bt);import{LitElement as Vb,html as Yb}from"lit";import{customElement as Xb}from"lit/decorators/custom-element.js";import{css as jb}from"lit";var qb=jb`:host {
2611
2611
  --pf-c-table--cell--PaddingTop: var(--pf-c-table--tbody--cell--PaddingTop);
2612
2612
  --pf-c-table--cell--PaddingBottom: var(--pf-c-table--tbody--cell--PaddingBottom);
2613
2613
  display: grid;
@@ -2858,16 +2858,16 @@ button:hover {
2858
2858
  border: none;
2859
2859
  }
2860
2860
  }
2861
- `,xd=th;var nh=[":scope > pf-tbody:not([expandable]) > pf-tr",":scope > pf-tbody > pf-tr[expandable]",":scope > pf-tr",":scope > pf-tr[expandable]"].join(),gi,Cd,aa,Ac,bi,Bd,hi,yd,ht=class extends eh{constructor(){super(...arguments);n(this,gi);n(this,aa);n(this,bi);n(this,hi);this.columns=0}get rows(){return this.querySelectorAll?.(nh)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","table"),s(this,aa,Ac).call(this)}render(){let e=!!this.querySelector?.("pf-tr[expandable]")?"1":"0";return rh`
2862
- <slot @slotchange="${s(this,aa,Ac)}"
2863
- @request-expand="${s(this,gi,Cd)}"
2864
- @request-sort="${s(this,bi,Bd)}"
2861
+ `,xd=th;var nh=[":scope > pf-tbody:not([expandable]) > pf-tr",":scope > pf-tbody > pf-tr[expandable]",":scope > pf-tr",":scope > pf-tr[expandable]"].join(),bi,Cd,aa,Oc,hi,Bd,ui,yd,ht=class extends eh{constructor(){super(...arguments);n(this,bi);n(this,aa);n(this,hi);n(this,ui);this.columns=0}get rows(){return this.querySelectorAll?.(nh)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","table"),s(this,aa,Oc).call(this)}render(){let e=!!this.querySelector?.("pf-tr[expandable]")?"1":"0";return rh`
2862
+ <slot @slotchange="${s(this,aa,Oc)}"
2863
+ @request-expand="${s(this,bi,Cd)}"
2864
+ @request-sort="${s(this,hi,Bd)}"
2865
2865
  style="${lh({"--_pf-table--expandable-rows":e,"--_pf-table--number-of-columns":this.columns})}"
2866
2866
  ></slot>
2867
2867
  `}static getNodeContentForSort(o,e){let a=e.querySelector(`
2868
2868
  :scope > :is(pf-th, pf-td):nth-child(${o+1}),
2869
2869
  :scope > pf-tr > :is(pf-th, pf-td):nth-child(${o+1})
2870
- `.trim())?.textContent?.trim()?.toLowerCase()??"";return{node:e,content:a}}static sortByContent(o,e,a){return o==="asc"?e.content<a.content?-1:e.content>a.content?1:0:a.content<e.content?-1:a.content>e.content?1:0}};gi=new WeakSet,Cd=function(o){if(o instanceof It&&!o.defaultPrevented){if(o.stopPropagation(),o.target instanceof gt)o.target.expanded=!!o.target.expandable&&!o.target.expanded;else if(o.target instanceof bt&&o.row){o.row.expanded=o.compoundExpanded;for(let e of o.row.querySelectorAll("pf-td"))e.expanded=o.compoundExpanded===e.compoundExpand}}},aa=new WeakSet,Ac=function(){this.columns=this.querySelector("pf-tr")?.querySelectorAll("pf-th")?.length??0,this.requestUpdate()},bi=new WeakSet,Bd=function(o){if(o instanceof ta){for(let e of this.querySelectorAll("pf-th[sortable]"))e.selected=e===o.target,e!==o.target&&e.removeAttribute("sort-direction");!o.defaultPrevented&&o.target instanceof Mo&&(o.target.sortDirection=o.direction,s(this,hi,yd).call(this,o.target,o.direction))}},hi=new WeakSet,yd=function(o,e){let a=o.parentElement?.children;if(a){let c=[...a].indexOf(o);Array.from(this.rows,p=>ht.getNodeContentForSort(c,p)).sort((p,f)=>ht.sortByContent(e,p,f)).forEach(({node:p},f)=>{let b=this.rows[f];if(this.rows[f]!==p){let x=e==="desc"?"afterend":"beforebegin";b.insertAdjacentElement(x,p)}})}},ht.styles=[xd],r([ih()],ht.prototype,"columns",2),ht=r([ah("pf-table")],ht);import{LitElement as ph,html as dh}from"lit";import{customElement as fh}from"lit/decorators/custom-element.js";import{property as ui}from"lit/decorators/property.js";import{css as ch}from"lit";var sh=ch`:host {
2870
+ `.trim())?.textContent?.trim()?.toLowerCase()??"";return{node:e,content:a}}static sortByContent(o,e,a){return o==="asc"?e.content<a.content?-1:e.content>a.content?1:0:a.content<e.content?-1:a.content>e.content?1:0}};bi=new WeakSet,Cd=function(o){if(o instanceof It&&!o.defaultPrevented){if(o.stopPropagation(),o.target instanceof gt)o.target.expanded=!!o.target.expandable&&!o.target.expanded;else if(o.target instanceof bt&&o.row){o.row.expanded=o.compoundExpanded;for(let e of o.row.querySelectorAll("pf-td"))e.expanded=o.compoundExpanded===e.compoundExpand}}},aa=new WeakSet,Oc=function(){this.columns=this.querySelector("pf-tr")?.querySelectorAll("pf-th")?.length??0,this.requestUpdate()},hi=new WeakSet,Bd=function(o){if(o instanceof ta){for(let e of this.querySelectorAll("pf-th[sortable]"))e.selected=e===o.target,e!==o.target&&e.removeAttribute("sort-direction");!o.defaultPrevented&&o.target instanceof Mo&&(o.target.sortDirection=o.direction,s(this,ui,yd).call(this,o.target,o.direction))}},ui=new WeakSet,yd=function(o,e){let a=o.parentElement?.children;if(a){let c=[...a].indexOf(o);Array.from(this.rows,p=>ht.getNodeContentForSort(c,p)).sort((p,f)=>ht.sortByContent(e,p,f)).forEach(({node:p},f)=>{let b=this.rows[f];if(this.rows[f]!==p){let x=e==="desc"?"afterend":"beforebegin";b.insertAdjacentElement(x,p)}})}},ht.styles=[xd],r([ih()],ht.prototype,"columns",2),ht=r([ah("pf-table")],ht);import{LitElement as ph,html as dh}from"lit";import{customElement as fh}from"lit/decorators/custom-element.js";import{property as vi}from"lit/decorators/property.js";import{css as ch}from"lit";var sh=ch`:host {
2871
2871
  display: inline-block;
2872
2872
  outline: none;
2873
2873
  }
@@ -2999,7 +2999,7 @@ svg {
2999
2999
  color: var(--pf-c-switch__toggle-icon--Color,
3000
3000
  var(--pf-global--Color--light-100, #fff));
3001
3001
  }
3002
- `,kd=sh;var Te,vi,wd,_i,Sd,xi,Ld,la,Oc,ia,Dc,Go=class extends ph{constructor(){super(...arguments);n(this,vi);n(this,_i);n(this,xi);n(this,la);n(this,ia);n(this,Te,m.of(this,{role:"switch"}));this.showCheckIcon=!1;this.checked=!1;this.disabled=!1}get labels(){return i(this,Te).labels}connectedCallback(){super.connectedCallback(),this.tabIndex=0,this.addEventListener("click",s(this,vi,wd)),this.addEventListener("keyup",s(this,_i,Sd)),this.addEventListener("keydown",s(this,xi,Ld)),s(this,ia,Dc).call(this)}formDisabledCallback(o){this.disabled=o,this.requestUpdate()}willUpdate(){i(this,Te).ariaChecked=String(!!this.checked),i(this,Te).ariaDisabled=String(!!this.disabled)}render(){return dh`
3002
+ `,kd=sh;var Ee,_i,wd,xi,Sd,Ci,Ld,la,Dc,ia,Uc,Go=class extends ph{constructor(){super(...arguments);n(this,_i);n(this,xi);n(this,Ci);n(this,la);n(this,ia);n(this,Ee,m.of(this,{role:"switch"}));this.showCheckIcon=!1;this.checked=!1;this.disabled=!1}get labels(){return i(this,Ee).labels}connectedCallback(){super.connectedCallback(),this.tabIndex=0,this.addEventListener("click",s(this,_i,wd)),this.addEventListener("keyup",s(this,xi,Sd)),this.addEventListener("keydown",s(this,Ci,Ld)),s(this,ia,Uc).call(this)}formDisabledCallback(o){this.disabled=o,this.requestUpdate()}willUpdate(){i(this,Ee).ariaChecked=String(!!this.checked),i(this,Ee).ariaDisabled=String(!!this.disabled)}render(){return dh`
3003
3003
  <div id="container">
3004
3004
  <svg id="toggle"
3005
3005
  role="presentation"
@@ -3011,7 +3011,7 @@ svg {
3011
3011
  <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" />
3012
3012
  </svg>
3013
3013
  </div>
3014
- `}};Te=new WeakMap,vi=new WeakSet,wd=function(o){let{originalTarget:e,explicitOriginalTarget:a}=o;if(a){let c;if(e===o.target&&!(c=Array.from(this.labels)).includes(a)&&c.includes(this.closest("label")))return}s(this,la,Oc).call(this)},_i=new WeakSet,Sd=function(o){switch(o.key){case" ":case"Enter":o.preventDefault(),s(this,la,Oc).call(this)}},xi=new WeakSet,Ld=function(o){o.key===" "&&(o.preventDefault(),o.stopPropagation())},la=new WeakSet,Oc=function(){this.disabled||(this.checked=!this.checked,s(this,ia,Dc).call(this),this.dispatchEvent(new Event("change",{bubbles:!0})))},ia=new WeakSet,Dc=function(){let o=this.checked?"on":"off";this.labels.forEach(e=>{e.querySelectorAll("[data-state]").forEach(c=>{c&&(c.hidden=c.dataset.state!==o)})})},Go.styles=[kd],Go.formAssociated=!0,r([ui({reflect:!0})],Go.prototype,"label",2),r([ui({reflect:!0,type:Boolean,attribute:"show-check-icon"})],Go.prototype,"showCheckIcon",2),r([ui({reflect:!0,type:Boolean})],Go.prototype,"checked",2),r([ui({reflect:!0,type:Boolean})],Go.prototype,"disabled",2),Go=r([fh("pf-switch")],Go);import{LitElement as Kd,html as ha,isServer as Nh}from"lit";import{customElement as jh}from"lit/decorators/custom-element.js";import{property as So}from"lit/decorators/property.js";import{query as Ae}from"lit/decorators/query.js";import{repeat as qh}from"lit/directives/repeat.js";import{styleMap as Gd}from"lit/directives/style-map.js";import{classMap as ts}from"lit/directives/class-map.js";import{ifDefined as Vh}from"lit/directives/if-defined.js";import{__classPrivateFieldGet as d,__classPrivateFieldSet as Qo}from"tslib";import{nothing as vh}from"lit";import{__classPrivateFieldGet as g,__classPrivateFieldSet as Zo}from"tslib";import{isServer as mh}from"lit";function Ee(l,t){if(!Array.isArray(l)||!Array.isArray(t))return l===t;if(l.length!==t.length)return!1;if(!l.length&&!t.length)return!0;for(let[o,e]of l.entries())if(e!==t[o])return!1;return!0}var Fo,ut,z,Qt,vo,na,vt,Nc,zd,Ci,Bi,Re,Me,yi;function gh(l,t){t?l.setAttribute("aria-selected","true"):l.removeAttribute("aria-selected")}function jc(l){return l instanceof Element&&l?.parentElement?.role==="listbox"&&l?.role!=="presentation"&&l?.localName!=="hr"}function qc(l){return"disabled"in l&&typeof l.disabled=="boolean"&&l.disabled||l.getAttribute("aria-disabled")==="true"||l.hasAttribute("disabled")||l.hasAttribute("inert")||l.matches(":disabled")}var Uc=!1,ca=class l{static of(t,o){Uc=!0;let e=new l(t,o);return Uc=!1,e}get container(){return g(this,z,"f").getItemsContainer?.()??this.host}get multi(){return!!g(this,z,"f").multi}set multi(t){g(this,z,"f").multi=t,this.host.requestUpdate()}get items(){return g(this,Qt,"f")}set items(t){Zo(this,Qt,t,"f"),g(this,Qt,"f").forEach((o,e,a)=>{o.ariaSetSize=a.length.toString(),o.ariaPosInSet=(e+1).toString()})}set selected(t){if(!Ee(t,Array.from(g(this,vo,"f")))){Zo(this,vo,new Set(t),"f");for(let o of this.items)g(this,z,"f").setItemSelected(o,g(this,vo,"f").has(o));this.host.requestUpdate()}}get selected(){return[...g(this,vo,"f")]}constructor(t,o){if(Fo.add(this),this.host=t,ut.set(this,null),z.set(this,void 0),Qt.set(this,[]),vo.set(this,new Set),na.set(this,!1),this.disabled=!1,vt.set(this,[]),Bi.set(this,a=>{let c=g(this,Fo,"m",Ci).call(this,a);if(Zo(this,ut,g(this,ut,"f")??g(this,Fo,"m",Ci).call(this,a),"f"),c&&!g(this,z,"f").isItemDisabled(c))if(!this.multi)this.selected=[c];else if(!a.shiftKey)this.selected=this.items.filter(p=>g(this,vo,"f").has(p)?p!==c:p===c);else{let p=g(this,ut,"f"),f=g(this,vo,"f").has(p),[b,x]=[this.items.indexOf(p),this.items.indexOf(c)].sort();this.selected=this.items.filter((S,E)=>E>=b&&E<=x?f:g(this,vo,"f").has(S))}Zo(this,ut,c,"f"),this.host.requestUpdate()}),Re.set(this,a=>{a.key==="Shift"&&Zo(this,ut,null,"f")}),Me.set(this,a=>{let c=g(this,Fo,"m",Ci).call(this,a);if(!(this.disabled||a.altKey||a.metaKey||!g(this,Fo,"a",zd))){switch(a.key==="Shift"&&this.multi&&Zo(this,ut,g(this,ut,"f")??g(this,z,"f").getATFocusedItem()??null,"f"),a.key){case"a":case"A":if(a.ctrlKey&&(a.target===this.container||g(this,z,"f").isItem(a.target))){let p=this.items.filter(f=>!g(this,z,"f").isItemDisabled(f));Ee(this.selected,p)?this.selected=[]:this.selected=p,a.preventDefault()}break;case"Enter":if(c&&!a.shiftKey){let p=c;g(this,Fo,"m",yi).call(this,p,a.shiftKey),a.preventDefault()}break;case"ArrowUp":if(this.multi&&a.shiftKey&&g(this,z,"f").isItem(a.target)){let p=a.target;this.selected=this.items.filter((f,b)=>g(this,vo,"f").has(f)||b===this.items.indexOf(p)-1).filter(f=>!g(this,z,"f").isItemDisabled(f))}break;case"ArrowDown":if(this.multi&&a.shiftKey&&g(this,z,"f").isItem(a.target)){let p=a.target;this.selected=this.items.filter((f,b)=>g(this,vo,"f").has(f)||b===this.items.indexOf(p)+1).filter(f=>!g(this,z,"f").isItemDisabled(f))}break;case" ":c&&a.target===this.container?(g(this,Fo,"m",yi).call(this,c,a.shiftKey),a.preventDefault()):g(this,z,"f").isItem(a.target)&&(g(this,Fo,"m",yi).call(this,a.target,a.shiftKey),a.preventDefault());break;default:break}this.host.requestUpdate()}}),Zo(this,z,{setItemSelected:gh,isItemDisabled:qc,isItem:jc,...o},"f"),!Uc)throw new Error("ListboxController must be constructed with `ListboxController.of()`");if(!mh&&!(t instanceof HTMLElement)&&typeof o.getItemsContainer!="function")throw new Error(["ListboxController requires the host to be an HTMLElement","or for the initializer to include a getItemsContainer() function"].join(" "));let e=l.instances.get(t);if(e)return e;l.instances.set(t,this),this.host.addController(this),this.multi=g(this,z,"f").multi??!1,this.container?.isConnected&&this.hostConnected()}async hostConnected(){await this.host.updateComplete,this.hostUpdate(),this.hostUpdated()}hostUpdate(){let t=g(this,vt,"f");if(Zo(this,vt,g(this,z,"f").getControlsElements?.()??[],"f"),!Ee(t,g(this,vt,"f"))){g(this,Fo,"m",Nc).call(this,t);for(let o of g(this,vt,"f"))o.addEventListener("keydown",g(this,Me,"f")),o.addEventListener("keyup",g(this,Re,"f"))}}hostUpdated(){g(this,na,"f")||(this.container?.addEventListener("click",g(this,Bi,"f")),this.container?.addEventListener("keydown",g(this,Me,"f")),this.container?.addEventListener("keyup",g(this,Re,"f")),Zo(this,na,!0,"f")),this.container?.setAttribute("role","listbox"),this.container?.setAttribute("aria-disabled",String(!!this.disabled)),this.container?.setAttribute("aria-multiselectable",String(!!g(this,z,"f").multi))}hostDisconnected(){this.container?.removeEventListener("click",g(this,Bi,"f")),this.container?.removeEventListener("keydown",g(this,Me,"f")),this.container?.removeEventListener("keyup",g(this,Re,"f")),g(this,Fo,"m",Nc).call(this),Zo(this,na,!1,"f")}isSelected(t){return g(this,vo,"f").has(t)}};ut=new WeakMap,z=new WeakMap,Qt=new WeakMap,vo=new WeakMap,na=new WeakMap,vt=new WeakMap,Bi=new WeakMap,Re=new WeakMap,Me=new WeakMap,Fo=new WeakSet,Nc=function(t=g(this,vt,"f")){for(let o of t)o.removeEventListener("keydown",g(this,Me,"f")),o.removeEventListener("keyup",g(this,Re,"f"))},zd=function(){return g(this,vt,"f").length?g(this,vt,"f").every(t=>t.ariaExpanded==="true"):!0},Ci=function(t){let o=t.composedPath();if(this.items.some(a=>a.hasAttribute("tabindex"))){let a=o.find(g(this,z,"f").isItem);if(a)return a}else{if(g(this,z,"f").isItem(t.target)&&t.target.getRootNode()!==this.container.getRootNode()&&"ariaActiveDescendantElement"in HTMLElement.prototype)return t.target;if(t.target instanceof HTMLElement&&t.target.ariaActiveDescendantElement)return t.target.ariaActiveDescendantElement;if(t.type==="click"&&g(this,z,"f").isItem(t.target)&&t.target.id){let a=t.target,c=a.getRootNode();if(c instanceof ShadowRoot&&this.container.getRootNode()===c){let p=this.container,f=a;if(f&&p){if(this.items.includes(f))return f;{let b=Array.from(p?.children??[]).filter(g(this,z,"f").isItem).filter(x=>!x.hidden).indexOf(f);return g(this,Qt,"f").filter(x=>!x.hidden)[b]}}}}else{let a=t.target,c=a.getRootNode(),p=a?.getAttribute("aria-controls"),f=g(this,z,"f").isItem(a)?this.container:p?c.getElementById(p):null,x=c.querySelector(`[aria-controls="${f?.id}"][aria-activedescendant]`)?.getAttribute("aria-activedescendant"),S=x&&c.getElementById(x);if(S&&f){if(this.items.includes(S))return S;{let Y=Array.from(f?.children??[]).filter(g(this,z,"f").isItem).filter(U=>!U.hidden).indexOf(S);return g(this,Qt,"f").filter(U=>!U.hidden)[Y]}}let E=f||o.find(Y=>Y instanceof HTMLElement&&Y.role==="listbox");if(E){let U=Array.from(E.children).filter(g(this,z,"f").isItem).findIndex(jo=>o.includes(jo));if(U>=0)return this.items[U]??null}}}return null},yi=function(t,o=!1){g(this,z,"f").isItemDisabled(t)||(this.multi&&o?this.selected=[...this.selected,t]:this.multi&&g(this,vo,"f").has(t)?this.selected=this.selected.filter(e=>e!==t):this.multi?this.selected=this.selected.concat(t):this.selected=[t])};ca.instances=new WeakMap;import{__classPrivateFieldGet as $,__classPrivateFieldSet as Vc,__decorate as bh}from"tslib";import{isServer as hh,nothing as uh}from"lit";Wt();var pa,Ie,da,ki,Fe,sa,wi,Pe,Wd,Td,Ed,Jt=class l extends ye{static get supportsCrossRootActiveDescendant(){return!hh&&"ariaActiveDescendantElement"in HTMLElement.prototype}static of(t,o){return new l(t,o)}get atFocusedItemIndex(){return super.atFocusedItemIndex}set atFocusedItemIndex(t){super.atFocusedItemIndex=t;let o=this._items.at(this.atFocusedItemIndex);for(let a of this.items)this.options.setItemActive?.(a,a===o);let e=this.options.getActiveDescendantContainer();l.supportsCrossRootActiveDescendant?e&&(e.ariaActiveDescendantElement=o??null):e?.setAttribute("aria-activedescendant",o?.id??""),this.host.requestUpdate()}get controlsElements(){return $(this,Fe,"f")}set controlsElements(t){for(let o of $(this,Fe,"f"))o?.removeEventListener("keydown",this.onKeydown);Vc(this,Fe,t,"f");for(let o of $(this,Fe,"f"))o.addEventListener("keydown",this.onKeydown)}get items(){return this._items}set items(t){let o=this.options.getItemsContainer?.()??this.host;if(!(o instanceof HTMLElement))throw new Error("items container must be an HTMLElement");this.itemsContainerElement=o;let{supportsCrossRootActiveDescendant:e}=l;e||[o].concat(this.controlsElements).concat(t).every((a,c,p)=>a.getRootNode()===p[0].getRootNode())?this._items=t.map(a=>(e||a.id||(a.id=N()),a)):this._items=t?.map(a=>{if(a.removeAttribute("tabindex"),o.contains(a))return a.id||(a.id=N()),$(this,ki,"f").add(a),$(this,da,"f").set(a,a),a;{let c=a.cloneNode(!0);return c.id=N(),$(this,Ie,"f").set(a,c),$(this,da,"f").set(c,a),$(this,Pe,"f").observe(c,{attributes:!0}),$(this,Pe,"f").observe(a,{attributes:!0}),c}})}constructor(t,o){var e;super(t,o),pa.add(this),this.host=t,this.options=o,Ie.set(this,new WeakMap),da.set(this,new WeakMap),ki.set(this,new WeakSet),Fe.set(this,[]),sa.set(this,!1),wi.set(this,new MutationObserver(a=>$(this,pa,"m",Td).call(this,a))),Pe.set(this,new MutationObserver(a=>$(this,pa,"m",Ed).call(this,a))),(e=this.options).getItemValue??(e.getItemValue=function(){return this.value})}initItems(){$(this,Pe,"f").disconnect(),super.initItems(),this.controlsElements=this.options.getControlsElements?.()??[],!$(this,sa,"f")&&this.itemsContainerElement&&this.itemsContainerElement.isConnected&&($(this,wi,"f").observe(this.itemsContainerElement,{childList:!0}),Vc(this,sa,!0,"f"))}hostDisconnected(){this.controlsElements=[],Vc(this,sa,!1,"f"),$(this,wi,"f").disconnect(),$(this,Pe,"f").disconnect()}onKeydown(t){!t.ctrlKey&&!t.altKey&&!t.metaKey&&this.atFocusableItems.length&&super.onKeydown(t)}renderItemsToShadowRoot(){return l.supportsCrossRootActiveDescendant?uh:this.items?.filter(t=>!$(this,ki,"f").has(t))}};Ie=new WeakMap,da=new WeakMap,ki=new WeakMap,Fe=new WeakMap,sa=new WeakMap,wi=new WeakMap,Pe=new WeakMap,pa=new WeakSet,Wd=function(t,o){let e=$(this,da,"f").get(o)??$(this,Ie,"f").get(o),a=o.getAttribute(t),c=e?.getAttribute(t);o.hasAttribute(t)?c!==a&&e?.setAttribute(t,a):e?.removeAttribute(t)},Td=function(t){for(let{removedNodes:o}of t)for(let e of o)$(this,Ie,"f").get(e)?.remove(),$(this,Ie,"f").delete(e)},Ed=function(t){for(let{target:o,attributeName:e}of t)e&&$(this,pa,"m",Wd).call(this,e,o)};bh([A],Jt.prototype,"onKeydown",null);var _,G,He,Zc,wo,oo,fa,P,V,K,Li,zi,Yc,oe,Ii,Wi,Id,Rd,Md,Fd,Xc,Pd,Kc,Ht,_t,Hd,Si,$d,Gc,$e,Ti,ma,Ei,Ri,Mi,Fi,Pi;function _h(l,t){let o=l?.closest(t),e=l?.getRootNode(),a=0;for(;a<500&&!o&&l;){if(a++,e=l.getRootNode(),e instanceof ShadowRoot)l=e.host;else if(e instanceof Document)l=document.documentElement;else return null;o=l.closest(t)}return o}function Ad(l){return"value"in l&&typeof l.value=="string"?l.value:""}function xh(l,t){return!Ad(l).toLowerCase().startsWith(t.toLowerCase())}function Ch(l,t){l.hidden=t}function Bh(l,t){if("value"in l)l.value=t;else return console.warn(`Cannot set value on combobox element ${l.localName}`)}function yh(l){return"value"in l&&typeof l.value=="string"?l.value:(console.warn(`Cannot get value from combobox element ${l.localName}`),"")}var $t=class{static of(t,o){return new G(t,o)}static get supportsCrossRootActiveDescendant(){return Jt.supportsCrossRootActiveDescendant}get items(){return d(this,wo,"f").items}set items(t){d(this,wo,"f").items=t}get disabled(){return d(this,wo,"f").disabled}set disabled(t){d(this,wo,"f").disabled=t}get multi(){return d(this,wo,"f").multi}set multi(t){d(this,wo,"f").multi=t}get selected(){return d(this,wo,"f").selected}set selected(t){d(this,wo,"f").selected=t}constructor(t,o){_.add(this),this.host=t,wo.set(this,void 0),oo.set(this,void 0),fa.set(this,!1),P.set(this,null),V.set(this,null),K.set(this,null),Li.set(this,null),zi.set(this,new MutationObserver(()=>d(this,_,"m",Kc).call(this))),Yc.set(this,new Map(Object.entries({dimmed:{en:"dimmed",es:"atenuada",de:"gedimmt",it:"oscurato",fr:"att\xE9nu\xE9",ja:"\u6697\u304F\u306A\u3063\u305F",zh:"\u53D8\u6697"},selected:{en:"selected",es:"seleccionado",de:"ausgew\xE4hlt",fr:"choisie",it:"selezionato",ja:"\u9078\u3070\u308C\u305F",zh:"\u9009"},of:{en:"of",es:"de",de:"von",fr:"sur",it:"di",ja:"\u4EF6\u76EE",zh:"\u7684"}}))),$e.set(this,()=>{this.options.isExpanded()?d(this,_,"m",_t).call(this):d(this,_,"m",Ht).call(this)}),Ti.set(this,e=>{!this.multi&&e.composedPath().some(this.options.isItem)&&d(this,_,"m",_t).call(this)}),ma.set(this,e=>{if(!(e.ctrlKey||e.shiftKey||!d(this,P,"f")))switch(e.key){case"ArrowDown":case"ArrowUp":this.options.isExpanded()||(Qo(this,fa,e.altKey,"f"),d(this,_,"m",Ht).call(this));break;case"Enter":this.multi||d(this,_,"m",_t).call(this);break;case"Escape":this.options.isExpanded()||(this.options.setComboboxValue(d(this,P,"f"),""),this.host.requestUpdate()),d(this,_,"m",_t).call(this);break;case"Alt":case"AltGraph":case"Shift":case"Control":case"Fn":case"Symbol":case"Hyper":case"Super":case"Meta":case"CapsLock":case"FnLock":case"NumLock":case"Tab":case"ScrollLock":case"SymbolLock":case" ":break;default:this.options.isExpanded()||d(this,_,"m",Ht).call(this)}}),Ei.set(this,e=>{if(d(this,P,"f"))switch(e.key){case"ArrowUp":case"ArrowDown":d(this,_,"a",Ii)&&this.options.getComboboxInput()&&m.isSafari&&d(this,_,"m",$d).call(this,d(this,_,"a",Ii));break;default:d(this,_,"m",Gc).call(this)}}),Ri.set(this,e=>d(this,_,"a",oe)?d(this,ma,"f").call(this,e):d(this,Pi,"f").call(this,e)),Mi.set(this,e=>{if(!d(this,_,"a",oe))switch(e.key){case"Home":case"End":d(this,Pi,"f").call(this,e);break;case"Escape":d(this,_,"m",_t).call(this),d(this,V,"f")?.focus();break;case"Enter":case" ":{let a=e.composedPath().find(this.options.isItem);a&&!this.multi&&this.options.isExpanded()&&!this.options.isItemDisabled(a)&&(d(this,_,"m",_t).call(this),d(this,V,"f")?.focus())}}}),Fi.set(this,e=>{if(!d(this,_,"a",oe)&&this.options.isExpanded()){let a=d(this,_,"a",Wi)?.getRootNode();(a instanceof ShadowRoot||a instanceof Document)&&!this.items.includes(e.relatedTarget)&&d(this,_,"m",_t).call(this)}}),Pi.set(this,async e=>{switch(e.key){case"ArrowDown":case"ArrowUp":this.options.isExpanded()||d(this,_,"m",Ht).call(this);break;case"Home":this.options.isExpanded()||await d(this,_,"m",Ht).call(this),d(this,oo,"f")&&(d(this,oo,"f").atFocusedItemIndex=0);break;case"End":this.options.isExpanded()||await d(this,_,"m",Ht).call(this),d(this,oo,"f")&&(d(this,oo,"f").atFocusedItemIndex=this.items.length-1);break;case" ":case"Enter":e.preventDefault(),await d(this,_,"m",Hd).call(this),await this.host.updateComplete,this.options.isExpanded()||d(this,V,"f")?.focus();break}}),t.addController(this),this.options={isItem:jc,getItemValue:Ad,isItemFiltered:xh,isItemDisabled:qc,getComboboxValue:yh,setComboboxValue:Bh,setItemHidden:Ch,getOrientation:()=>"vertical",...o},Qo(this,wo,ca.of(t,{isItem:this.options.isItem,getItemsContainer:this.options.getListboxElement,getControlsElements:()=>[this.options.getToggleButton(),this.options.getComboboxInput()].filter(e=>!!e),getATFocusedItem:()=>this.items[d(this,oo,"f")?.atFocusedItemIndex??-1]??null,isItemDisabled:this.options.isItemDisabled,setItemSelected:this.options.setItemSelected}),"f")}async hostConnected(){await this.host.updateComplete,this.hostUpdated()}hostUpdated(){d(this,oo,"f")||d(this,_,"m",Id).call(this);let t=this.options.isExpanded();d(this,V,"f")?.setAttribute("aria-expanded",String(t)),d(this,P,"f")?.setAttribute("aria-expanded",String(t)),d(this,_,"a",oe)?d(this,V,"f")?.setAttribute("tabindex","-1"):d(this,V,"f")?.removeAttribute("tabindex"),d(this,_,"m",Xc).call(this)}hostDisconnected(){d(this,oo,"f")?.hostDisconnected()}renderItemsToShadowRoot(){return d(this,oo,"f")instanceof Jt?d(this,oo,"f").renderItemsToShadowRoot():vh}};G=$t,wo=new WeakMap,oo=new WeakMap,fa=new WeakMap,P=new WeakMap,V=new WeakMap,K=new WeakMap,Li=new WeakMap,zi=new WeakMap,Yc=new WeakMap,$e=new WeakMap,Ti=new WeakMap,ma=new WeakMap,Ei=new WeakMap,Ri=new WeakMap,Mi=new WeakMap,Fi=new WeakMap,Pi=new WeakMap,_=new WeakSet,oe=function(){return this.options.getComboboxInput()},Ii=function(){return d(this,oo,"f")?.items.at(Math.max(d(this,oo,"f")?.atFocusedItemIndex??-1,0))??null},Wi=function(){if(this.host instanceof HTMLElement)return this.host;if(this.options.getListboxElement()instanceof HTMLElement)return this.options.getListboxElement()},Id=async function(){await this.host.updateComplete,d(this,_,"m",Rd).call(this),d(this,_,"m",Kc).call(this),d(this,_,"m",Md).call(this),d(this,_,"m",Fd).call(this),d(this,_,"m",Xc).call(this),d(this,_,"m",Pd).call(this)},Rd=function(){var t;if(d(this,zi,"f").disconnect(),d(this,K,"f")?.removeEventListener("focusout",d(this,Fi,"f")),d(this,K,"f")?.removeEventListener("keydown",d(this,Mi,"f")),d(this,K,"f")?.removeEventListener("click",d(this,Ti,"f")),Qo(this,K,this.options.getListboxElement(),"f"),!d(this,K,"f"))throw new Error("ComboboxController getListboxElement() option must return an element");d(this,K,"f").addEventListener("focusout",d(this,Fi,"f")),d(this,K,"f").addEventListener("keydown",d(this,Mi,"f")),d(this,K,"f").addEventListener("click",d(this,Ti,"f")),(t=d(this,K,"f")).id??(t.id=N()),d(this,zi,"f").observe(d(this,K,"f"),{childList:!0})},Md=function(){if(d(this,V,"f")?.removeEventListener("click",d(this,$e,"f")),d(this,V,"f")?.removeEventListener("keydown",d(this,Ri,"f")),Qo(this,V,this.options.getToggleButton(),"f"),!d(this,V,"f"))throw new Error("ComboboxController getToggleButton() option must return an element");Qo(this,Li,d(this,V,"f").role,"f"),d(this,V,"f").role="combobox",d(this,V,"f").setAttribute("aria-controls",d(this,K,"f")?.id??""),d(this,V,"f").addEventListener("click",d(this,$e,"f")),d(this,V,"f").addEventListener("keydown",d(this,Ri,"f"))},Fd=function(){if(d(this,P,"f")?.removeEventListener("click",d(this,$e,"f")),d(this,P,"f")?.removeEventListener("keyup",d(this,Ei,"f")),d(this,P,"f")?.removeEventListener("keydown",d(this,ma,"f")),Qo(this,P,this.options.getComboboxInput(),"f"),d(this,P,"f")&&!("value"in d(this,P,"f")))throw new Error("ComboboxController getToggleInput() option must return an element with a value property");d(this,P,"f")&&(d(this,P,"f").role="combobox",d(this,V,"f").role=d(this,Li,"f"),d(this,P,"f").setAttribute("aria-autocomplete","both"),d(this,P,"f").setAttribute("aria-controls",d(this,K,"f")?.id??""),d(this,P,"f").addEventListener("click",d(this,$e,"f")),d(this,P,"f").addEventListener("keyup",d(this,Ei,"f")),d(this,P,"f").addEventListener("keydown",d(this,ma,"f")))},Xc=function(){let t=m.getLabels(this.host)??d(this,_,"a",Wi)?.ariaLabelledByElements??[],o=this.options.getFallbackLabel()||d(this,_,"a",Wi)?.ariaLabelledByElements?.map(e=>e.textContent).join("")||null;for(let e of[d(this,V,"f"),d(this,K,"f"),d(this,P,"f")].filter(a=>!!a))"ariaLabelledByElements"in HTMLElement.prototype&&t.filter(a=>!!a).length?e.ariaLabelledByElements=[...t??[]]:e.ariaLabel=o},Pd=function(){d(this,oo,"f")?.hostDisconnected();let{getOrientation:t}=this.options,o=()=>this.items,e=()=>d(this,K,"f");d(this,_,"a",oe)?Qo(this,oo,Jt.of(this.host,{getItems:o,getItemsContainer:e,getOrientation:t,getActiveDescendantContainer:()=>d(this,P,"f"),getControlsElements:()=>[this.options.getToggleButton(),this.options.getComboboxInput()].filter(a=>!!a),setItemActive:this.options.setItemActive}),"f"):Qo(this,oo,co.of(this.host,{getItems:o,getItemsContainer:e,getOrientation:t,getControlsElements:()=>[this.options.getToggleButton()].filter(a=>!!a)}),"f")},Kc=function(){d(this,K,"f")&&(this.items=this.options.getItems())},Ht=async function(){let t=await this.options.requestShowListbox();d(this,_,"m",Gc).call(this),t!==!1&&!d(this,_,"a",oe)&&(d(this,fa,"f")||((d(this,_,"a",Ii)??d(this,oo,"f")?.items.at(0))?.focus(),Qo(this,fa,!1,"f")))},_t=async function(){await this.options.requestHideListbox()},Hd=async function(){return this.options.isExpanded()?d(this,_,"m",_t).call(this):d(this,_,"m",Ht).call(this)},Si=function(t,o){return d(this,Yc,"f").get(t)?.[o]??t},$d=function(t){let o=this.options.getItemValue(t);d(G,G,"f",He)?.remove();let e=d(G,G,"f",Zc).content.cloneNode(!0);Qo(G,G,e.firstElementChild,"f",He);let a=o,c=_h(d(this,K,"f"),"[lang]")?.getAttribute("lang")??"en",p=c?.match(G.langsRE)?.at(0)??"en";this.options.isItemDisabled(t)&&(a+=` (${d(this,_,"m",Si).call(this,"dimmed",p)})`),d(this,wo,"f").isSelected(t)&&(a+=`, (${d(this,_,"m",Si).call(this,"selected",p)})`),t.hasAttribute("aria-setsize")&&t.hasAttribute("aria-posinset")&&(p==="ja"?a+=`, (${t.getAttribute("aria-setsize")} \u4EF6\u4E2D ${t.getAttribute("aria-posinset")} \u4EF6\u76EE)`:a+=`, (${t.getAttribute("aria-posinset")} ${d(this,_,"m",Si).call(this,"of",p)} ${t.getAttribute("aria-setsize")})`),d(G,G,"f",He).lang=c,d(G,G,"f",He).innerText=a,document.body.append(d(G,G,"f",He))},Gc=function(){if(d(this,P,"f")){let t;for(let o of this.items){let e=!!this.options.isExpanded()&&!!(t=this.options.getComboboxValue(d(this,P,"f")))&&this.options.isItemFiltered?.(o,t)||!1;this.options.setItemHidden(o,e)}}};He={value:void 0};Zc={value:document.createElement("template")};$t.langs=["en","es","de","fr","it","ja","zh"];$t.langsRE=new RegExp(G.langs.join("|"));d(G,G,"f",Zc).innerHTML=`
3014
+ `}};Ee=new WeakMap,_i=new WeakSet,wd=function(o){let{originalTarget:e,explicitOriginalTarget:a}=o;if(a){let c;if(e===o.target&&!(c=Array.from(this.labels)).includes(a)&&c.includes(this.closest("label")))return}s(this,la,Dc).call(this)},xi=new WeakSet,Sd=function(o){switch(o.key){case" ":case"Enter":o.preventDefault(),s(this,la,Dc).call(this)}},Ci=new WeakSet,Ld=function(o){o.key===" "&&(o.preventDefault(),o.stopPropagation())},la=new WeakSet,Dc=function(){this.disabled||(this.checked=!this.checked,s(this,ia,Uc).call(this),this.dispatchEvent(new Event("change",{bubbles:!0})))},ia=new WeakSet,Uc=function(){let o=this.checked?"on":"off";this.labels.forEach(e=>{e.querySelectorAll("[data-state]").forEach(c=>{c&&(c.hidden=c.dataset.state!==o)})})},Go.styles=[kd],Go.formAssociated=!0,r([vi({reflect:!0})],Go.prototype,"label",2),r([vi({reflect:!0,type:Boolean,attribute:"show-check-icon"})],Go.prototype,"showCheckIcon",2),r([vi({reflect:!0,type:Boolean})],Go.prototype,"checked",2),r([vi({reflect:!0,type:Boolean})],Go.prototype,"disabled",2),Go=r([fh("pf-switch")],Go);import{LitElement as Kd,html as ha,isServer as Nh}from"lit";import{customElement as jh}from"lit/decorators/custom-element.js";import{property as So}from"lit/decorators/property.js";import{query as Oe}from"lit/decorators/query.js";import{repeat as qh}from"lit/directives/repeat.js";import{styleMap as Gd}from"lit/directives/style-map.js";import{classMap as es}from"lit/directives/class-map.js";import{ifDefined as Vh}from"lit/directives/if-defined.js";import{__classPrivateFieldGet as d,__classPrivateFieldSet as Qo}from"tslib";import{nothing as vh}from"lit";import{__classPrivateFieldGet as g,__classPrivateFieldSet as Zo}from"tslib";import{isServer as mh}from"lit";function Re(l,t){if(!Array.isArray(l)||!Array.isArray(t))return l===t;if(l.length!==t.length)return!1;if(!l.length&&!t.length)return!0;for(let[o,e]of l.entries())if(e!==t[o])return!1;return!0}var Fo,ut,z,Qt,vo,na,vt,jc,zd,Bi,yi,Me,Fe,ki;function gh(l,t){t?l.setAttribute("aria-selected","true"):l.removeAttribute("aria-selected")}function qc(l){return l instanceof Element&&l?.parentElement?.role==="listbox"&&l?.role!=="presentation"&&l?.localName!=="hr"}function Vc(l){return"disabled"in l&&typeof l.disabled=="boolean"&&l.disabled||l.getAttribute("aria-disabled")==="true"||l.hasAttribute("disabled")||l.hasAttribute("inert")||l.matches(":disabled")}var Nc=!1,ca=class l{static of(t,o){Nc=!0;let e=new l(t,o);return Nc=!1,e}get container(){return g(this,z,"f").getItemsContainer?.()??this.host}get multi(){return!!g(this,z,"f").multi}set multi(t){g(this,z,"f").multi=t,this.host.requestUpdate()}get items(){return g(this,Qt,"f")}set items(t){Zo(this,Qt,t,"f"),g(this,Qt,"f").forEach((o,e,a)=>{o.ariaSetSize=a.length.toString(),o.ariaPosInSet=(e+1).toString()})}set selected(t){if(!Re(t,Array.from(g(this,vo,"f")))){Zo(this,vo,new Set(t),"f");for(let o of this.items)g(this,z,"f").setItemSelected(o,g(this,vo,"f").has(o));this.host.requestUpdate()}}get selected(){return[...g(this,vo,"f")]}constructor(t,o){if(Fo.add(this),this.host=t,ut.set(this,null),z.set(this,void 0),Qt.set(this,[]),vo.set(this,new Set),na.set(this,!1),this.disabled=!1,vt.set(this,[]),yi.set(this,a=>{let c=g(this,Fo,"m",Bi).call(this,a);if(Zo(this,ut,g(this,ut,"f")??g(this,Fo,"m",Bi).call(this,a),"f"),c&&!g(this,z,"f").isItemDisabled(c))if(!this.multi)this.selected=[c];else if(!a.shiftKey)this.selected=this.items.filter(p=>g(this,vo,"f").has(p)?p!==c:p===c);else{let p=g(this,ut,"f"),f=g(this,vo,"f").has(p),[b,x]=[this.items.indexOf(p),this.items.indexOf(c)].sort();this.selected=this.items.filter((S,E)=>E>=b&&E<=x?f:g(this,vo,"f").has(S))}Zo(this,ut,c,"f"),this.host.requestUpdate()}),Me.set(this,a=>{a.key==="Shift"&&Zo(this,ut,null,"f")}),Fe.set(this,a=>{let c=g(this,Fo,"m",Bi).call(this,a);if(!(this.disabled||a.altKey||a.metaKey||!g(this,Fo,"a",zd))){switch(a.key==="Shift"&&this.multi&&Zo(this,ut,g(this,ut,"f")??g(this,z,"f").getATFocusedItem()??null,"f"),a.key){case"a":case"A":if(a.ctrlKey&&(a.target===this.container||g(this,z,"f").isItem(a.target))){let p=this.items.filter(f=>!g(this,z,"f").isItemDisabled(f));Re(this.selected,p)?this.selected=[]:this.selected=p,a.preventDefault()}break;case"Enter":if(c&&!a.shiftKey){let p=c;g(this,Fo,"m",ki).call(this,p,a.shiftKey),a.preventDefault()}break;case"ArrowUp":if(this.multi&&a.shiftKey&&g(this,z,"f").isItem(a.target)){let p=a.target;this.selected=this.items.filter((f,b)=>g(this,vo,"f").has(f)||b===this.items.indexOf(p)-1).filter(f=>!g(this,z,"f").isItemDisabled(f))}break;case"ArrowDown":if(this.multi&&a.shiftKey&&g(this,z,"f").isItem(a.target)){let p=a.target;this.selected=this.items.filter((f,b)=>g(this,vo,"f").has(f)||b===this.items.indexOf(p)+1).filter(f=>!g(this,z,"f").isItemDisabled(f))}break;case" ":c&&a.target===this.container?(g(this,Fo,"m",ki).call(this,c,a.shiftKey),a.preventDefault()):g(this,z,"f").isItem(a.target)&&(g(this,Fo,"m",ki).call(this,a.target,a.shiftKey),a.preventDefault());break;default:break}this.host.requestUpdate()}}),Zo(this,z,{setItemSelected:gh,isItemDisabled:Vc,isItem:qc,...o},"f"),!Nc)throw new Error("ListboxController must be constructed with `ListboxController.of()`");if(!mh&&!(t instanceof HTMLElement)&&typeof o.getItemsContainer!="function")throw new Error(["ListboxController requires the host to be an HTMLElement","or for the initializer to include a getItemsContainer() function"].join(" "));let e=l.instances.get(t);if(e)return e;l.instances.set(t,this),this.host.addController(this),this.multi=g(this,z,"f").multi??!1,this.container?.isConnected&&this.hostConnected()}async hostConnected(){await this.host.updateComplete,this.hostUpdate(),this.hostUpdated()}hostUpdate(){let t=g(this,vt,"f");if(Zo(this,vt,g(this,z,"f").getControlsElements?.()??[],"f"),!Re(t,g(this,vt,"f"))){g(this,Fo,"m",jc).call(this,t);for(let o of g(this,vt,"f"))o.addEventListener("keydown",g(this,Fe,"f")),o.addEventListener("keyup",g(this,Me,"f"))}}hostUpdated(){g(this,na,"f")||(this.container?.addEventListener("click",g(this,yi,"f")),this.container?.addEventListener("keydown",g(this,Fe,"f")),this.container?.addEventListener("keyup",g(this,Me,"f")),Zo(this,na,!0,"f")),this.container?.setAttribute("role","listbox"),this.container?.setAttribute("aria-disabled",String(!!this.disabled)),this.container?.setAttribute("aria-multiselectable",String(!!g(this,z,"f").multi))}hostDisconnected(){this.container?.removeEventListener("click",g(this,yi,"f")),this.container?.removeEventListener("keydown",g(this,Fe,"f")),this.container?.removeEventListener("keyup",g(this,Me,"f")),g(this,Fo,"m",jc).call(this),Zo(this,na,!1,"f")}isSelected(t){return g(this,vo,"f").has(t)}};ut=new WeakMap,z=new WeakMap,Qt=new WeakMap,vo=new WeakMap,na=new WeakMap,vt=new WeakMap,yi=new WeakMap,Me=new WeakMap,Fe=new WeakMap,Fo=new WeakSet,jc=function(t=g(this,vt,"f")){for(let o of t)o.removeEventListener("keydown",g(this,Fe,"f")),o.removeEventListener("keyup",g(this,Me,"f"))},zd=function(){return g(this,vt,"f").length?g(this,vt,"f").every(t=>t.ariaExpanded==="true"):!0},Bi=function(t){let o=t.composedPath();if(this.items.some(a=>a.hasAttribute("tabindex"))){let a=o.find(g(this,z,"f").isItem);if(a)return a}else{if(g(this,z,"f").isItem(t.target)&&t.target.getRootNode()!==this.container.getRootNode()&&"ariaActiveDescendantElement"in HTMLElement.prototype)return t.target;if(t.target instanceof HTMLElement&&t.target.ariaActiveDescendantElement)return t.target.ariaActiveDescendantElement;if(t.type==="click"&&g(this,z,"f").isItem(t.target)&&t.target.id){let a=t.target,c=a.getRootNode();if(c instanceof ShadowRoot&&this.container.getRootNode()===c){let p=this.container,f=a;if(f&&p){if(this.items.includes(f))return f;{let b=Array.from(p?.children??[]).filter(g(this,z,"f").isItem).filter(x=>!x.hidden).indexOf(f);return g(this,Qt,"f").filter(x=>!x.hidden)[b]}}}}else{let a=t.target,c=a.getRootNode(),p=a?.getAttribute("aria-controls"),f=g(this,z,"f").isItem(a)?this.container:p?c.getElementById(p):null,x=c.querySelector(`[aria-controls="${f?.id}"][aria-activedescendant]`)?.getAttribute("aria-activedescendant"),S=x&&c.getElementById(x);if(S&&f){if(this.items.includes(S))return S;{let Y=Array.from(f?.children??[]).filter(g(this,z,"f").isItem).filter(U=>!U.hidden).indexOf(S);return g(this,Qt,"f").filter(U=>!U.hidden)[Y]}}let E=f||o.find(Y=>Y instanceof HTMLElement&&Y.role==="listbox");if(E){let U=Array.from(E.children).filter(g(this,z,"f").isItem).findIndex(jo=>o.includes(jo));if(U>=0)return this.items[U]??null}}}return null},ki=function(t,o=!1){g(this,z,"f").isItemDisabled(t)||(this.multi&&o?this.selected=[...this.selected,t]:this.multi&&g(this,vo,"f").has(t)?this.selected=this.selected.filter(e=>e!==t):this.multi?this.selected=this.selected.concat(t):this.selected=[t])};ca.instances=new WeakMap;import{__classPrivateFieldGet as $,__classPrivateFieldSet as Yc,__decorate as bh}from"tslib";import{isServer as hh,nothing as uh}from"lit";Wt();var pa,He,da,wi,Pe,sa,Si,Ie,Wd,Td,Ed,Jt=class l extends ye{static get supportsCrossRootActiveDescendant(){return!hh&&"ariaActiveDescendantElement"in HTMLElement.prototype}static of(t,o){return new l(t,o)}get atFocusedItemIndex(){return super.atFocusedItemIndex}set atFocusedItemIndex(t){super.atFocusedItemIndex=t;let o=this._items.at(this.atFocusedItemIndex);for(let a of this.items)this.options.setItemActive?.(a,a===o);let e=this.options.getActiveDescendantContainer();l.supportsCrossRootActiveDescendant?e&&(e.ariaActiveDescendantElement=o??null):e?.setAttribute("aria-activedescendant",o?.id??""),this.host.requestUpdate()}get controlsElements(){return $(this,Pe,"f")}set controlsElements(t){for(let o of $(this,Pe,"f"))o?.removeEventListener("keydown",this.onKeydown);Yc(this,Pe,t,"f");for(let o of $(this,Pe,"f"))o.addEventListener("keydown",this.onKeydown)}get items(){return this._items}set items(t){let o=this.options.getItemsContainer?.()??this.host;if(!(o instanceof HTMLElement))throw new Error("items container must be an HTMLElement");this.itemsContainerElement=o;let{supportsCrossRootActiveDescendant:e}=l;e||[o].concat(this.controlsElements).concat(t).every((a,c,p)=>a.getRootNode()===p[0].getRootNode())?this._items=t.map(a=>(e||a.id||(a.id=N()),a)):this._items=t?.map(a=>{if(a.removeAttribute("tabindex"),o.contains(a))return a.id||(a.id=N()),$(this,wi,"f").add(a),$(this,da,"f").set(a,a),a;{let c=a.cloneNode(!0);return c.id=N(),$(this,He,"f").set(a,c),$(this,da,"f").set(c,a),$(this,Ie,"f").observe(c,{attributes:!0}),$(this,Ie,"f").observe(a,{attributes:!0}),c}})}constructor(t,o){var e;super(t,o),pa.add(this),this.host=t,this.options=o,He.set(this,new WeakMap),da.set(this,new WeakMap),wi.set(this,new WeakSet),Pe.set(this,[]),sa.set(this,!1),Si.set(this,new MutationObserver(a=>$(this,pa,"m",Td).call(this,a))),Ie.set(this,new MutationObserver(a=>$(this,pa,"m",Ed).call(this,a))),(e=this.options).getItemValue??(e.getItemValue=function(){return this.value})}initItems(){$(this,Ie,"f").disconnect(),super.initItems(),this.controlsElements=this.options.getControlsElements?.()??[],!$(this,sa,"f")&&this.itemsContainerElement&&this.itemsContainerElement.isConnected&&($(this,Si,"f").observe(this.itemsContainerElement,{childList:!0}),Yc(this,sa,!0,"f"))}hostDisconnected(){this.controlsElements=[],Yc(this,sa,!1,"f"),$(this,Si,"f").disconnect(),$(this,Ie,"f").disconnect()}onKeydown(t){!t.ctrlKey&&!t.altKey&&!t.metaKey&&this.atFocusableItems.length&&super.onKeydown(t)}renderItemsToShadowRoot(){return l.supportsCrossRootActiveDescendant?uh:this.items?.filter(t=>!$(this,wi,"f").has(t))}};He=new WeakMap,da=new WeakMap,wi=new WeakMap,Pe=new WeakMap,sa=new WeakMap,Si=new WeakMap,Ie=new WeakMap,pa=new WeakSet,Wd=function(t,o){let e=$(this,da,"f").get(o)??$(this,He,"f").get(o),a=o.getAttribute(t),c=e?.getAttribute(t);o.hasAttribute(t)?c!==a&&e?.setAttribute(t,a):e?.removeAttribute(t)},Td=function(t){for(let{removedNodes:o}of t)for(let e of o)$(this,He,"f").get(e)?.remove(),$(this,He,"f").delete(e)},Ed=function(t){for(let{target:o,attributeName:e}of t)e&&$(this,pa,"m",Wd).call(this,e,o)};bh([A],Jt.prototype,"onKeydown",null);var _,G,$e,Qc,wo,oo,fa,P,V,K,zi,Wi,Xc,oe,Hi,Ti,Id,Rd,Md,Fd,Kc,Pd,Gc,Ht,_t,Hd,Li,$d,Zc,Ae,Ei,ma,Ri,Mi,Fi,Pi,Ii;function _h(l,t){let o=l?.closest(t),e=l?.getRootNode(),a=0;for(;a<500&&!o&&l;){if(a++,e=l.getRootNode(),e instanceof ShadowRoot)l=e.host;else if(e instanceof Document)l=document.documentElement;else return null;o=l.closest(t)}return o}function Ad(l){return"value"in l&&typeof l.value=="string"?l.value:""}function xh(l,t){return!Ad(l).toLowerCase().startsWith(t.toLowerCase())}function Ch(l,t){l.hidden=t}function Bh(l,t){if("value"in l)l.value=t;else return console.warn(`Cannot set value on combobox element ${l.localName}`)}function yh(l){return"value"in l&&typeof l.value=="string"?l.value:(console.warn(`Cannot get value from combobox element ${l.localName}`),"")}var $t=class{static of(t,o){return new G(t,o)}static get supportsCrossRootActiveDescendant(){return Jt.supportsCrossRootActiveDescendant}get items(){return d(this,wo,"f").items}set items(t){d(this,wo,"f").items=t}get disabled(){return d(this,wo,"f").disabled}set disabled(t){d(this,wo,"f").disabled=t}get multi(){return d(this,wo,"f").multi}set multi(t){d(this,wo,"f").multi=t}get selected(){return d(this,wo,"f").selected}set selected(t){d(this,wo,"f").selected=t}constructor(t,o){_.add(this),this.host=t,wo.set(this,void 0),oo.set(this,void 0),fa.set(this,!1),P.set(this,null),V.set(this,null),K.set(this,null),zi.set(this,null),Wi.set(this,new MutationObserver(()=>d(this,_,"m",Gc).call(this))),Xc.set(this,new Map(Object.entries({dimmed:{en:"dimmed",es:"atenuada",de:"gedimmt",it:"oscurato",fr:"att\xE9nu\xE9",ja:"\u6697\u304F\u306A\u3063\u305F",zh:"\u53D8\u6697"},selected:{en:"selected",es:"seleccionado",de:"ausgew\xE4hlt",fr:"choisie",it:"selezionato",ja:"\u9078\u3070\u308C\u305F",zh:"\u9009"},of:{en:"of",es:"de",de:"von",fr:"sur",it:"di",ja:"\u4EF6\u76EE",zh:"\u7684"}}))),Ae.set(this,()=>{this.options.isExpanded()?d(this,_,"m",_t).call(this):d(this,_,"m",Ht).call(this)}),Ei.set(this,e=>{!this.multi&&e.composedPath().some(this.options.isItem)&&d(this,_,"m",_t).call(this)}),ma.set(this,e=>{if(!(e.ctrlKey||e.shiftKey||!d(this,P,"f")))switch(e.key){case"ArrowDown":case"ArrowUp":this.options.isExpanded()||(Qo(this,fa,e.altKey,"f"),d(this,_,"m",Ht).call(this));break;case"Enter":this.multi||d(this,_,"m",_t).call(this);break;case"Escape":this.options.isExpanded()||(this.options.setComboboxValue(d(this,P,"f"),""),this.host.requestUpdate()),d(this,_,"m",_t).call(this);break;case"Alt":case"AltGraph":case"Shift":case"Control":case"Fn":case"Symbol":case"Hyper":case"Super":case"Meta":case"CapsLock":case"FnLock":case"NumLock":case"Tab":case"ScrollLock":case"SymbolLock":case" ":break;default:this.options.isExpanded()||d(this,_,"m",Ht).call(this)}}),Ri.set(this,e=>{if(d(this,P,"f"))switch(e.key){case"ArrowUp":case"ArrowDown":d(this,_,"a",Hi)&&this.options.getComboboxInput()&&m.isSafari&&d(this,_,"m",$d).call(this,d(this,_,"a",Hi));break;default:d(this,_,"m",Zc).call(this)}}),Mi.set(this,e=>d(this,_,"a",oe)?d(this,ma,"f").call(this,e):d(this,Ii,"f").call(this,e)),Fi.set(this,e=>{if(!d(this,_,"a",oe))switch(e.key){case"Home":case"End":d(this,Ii,"f").call(this,e);break;case"Escape":d(this,_,"m",_t).call(this),d(this,V,"f")?.focus();break;case"Enter":case" ":{let a=e.composedPath().find(this.options.isItem);a&&!this.multi&&this.options.isExpanded()&&!this.options.isItemDisabled(a)&&(d(this,_,"m",_t).call(this),d(this,V,"f")?.focus())}}}),Pi.set(this,e=>{if(!d(this,_,"a",oe)&&this.options.isExpanded()){let a=d(this,_,"a",Ti)?.getRootNode();(a instanceof ShadowRoot||a instanceof Document)&&!this.items.includes(e.relatedTarget)&&d(this,_,"m",_t).call(this)}}),Ii.set(this,async e=>{switch(e.key){case"ArrowDown":case"ArrowUp":this.options.isExpanded()||d(this,_,"m",Ht).call(this);break;case"Home":this.options.isExpanded()||await d(this,_,"m",Ht).call(this),d(this,oo,"f")&&(d(this,oo,"f").atFocusedItemIndex=0);break;case"End":this.options.isExpanded()||await d(this,_,"m",Ht).call(this),d(this,oo,"f")&&(d(this,oo,"f").atFocusedItemIndex=this.items.length-1);break;case" ":case"Enter":e.preventDefault(),await d(this,_,"m",Hd).call(this),await this.host.updateComplete,this.options.isExpanded()||d(this,V,"f")?.focus();break}}),t.addController(this),this.options={isItem:qc,getItemValue:Ad,isItemFiltered:xh,isItemDisabled:Vc,getComboboxValue:yh,setComboboxValue:Bh,setItemHidden:Ch,getOrientation:()=>"vertical",...o},Qo(this,wo,ca.of(t,{isItem:this.options.isItem,getItemsContainer:this.options.getListboxElement,getControlsElements:()=>[this.options.getToggleButton(),this.options.getComboboxInput()].filter(e=>!!e),getATFocusedItem:()=>this.items[d(this,oo,"f")?.atFocusedItemIndex??-1]??null,isItemDisabled:this.options.isItemDisabled,setItemSelected:this.options.setItemSelected}),"f")}async hostConnected(){await this.host.updateComplete,this.hostUpdated()}hostUpdated(){d(this,oo,"f")||d(this,_,"m",Id).call(this);let t=this.options.isExpanded();d(this,V,"f")?.setAttribute("aria-expanded",String(t)),d(this,P,"f")?.setAttribute("aria-expanded",String(t)),d(this,_,"a",oe)?d(this,V,"f")?.setAttribute("tabindex","-1"):d(this,V,"f")?.removeAttribute("tabindex"),d(this,_,"m",Kc).call(this)}hostDisconnected(){d(this,oo,"f")?.hostDisconnected()}renderItemsToShadowRoot(){return d(this,oo,"f")instanceof Jt?d(this,oo,"f").renderItemsToShadowRoot():vh}};G=$t,wo=new WeakMap,oo=new WeakMap,fa=new WeakMap,P=new WeakMap,V=new WeakMap,K=new WeakMap,zi=new WeakMap,Wi=new WeakMap,Xc=new WeakMap,Ae=new WeakMap,Ei=new WeakMap,ma=new WeakMap,Ri=new WeakMap,Mi=new WeakMap,Fi=new WeakMap,Pi=new WeakMap,Ii=new WeakMap,_=new WeakSet,oe=function(){return this.options.getComboboxInput()},Hi=function(){return d(this,oo,"f")?.items.at(Math.max(d(this,oo,"f")?.atFocusedItemIndex??-1,0))??null},Ti=function(){if(this.host instanceof HTMLElement)return this.host;if(this.options.getListboxElement()instanceof HTMLElement)return this.options.getListboxElement()},Id=async function(){await this.host.updateComplete,d(this,_,"m",Rd).call(this),d(this,_,"m",Gc).call(this),d(this,_,"m",Md).call(this),d(this,_,"m",Fd).call(this),d(this,_,"m",Kc).call(this),d(this,_,"m",Pd).call(this)},Rd=function(){var t;if(d(this,Wi,"f").disconnect(),d(this,K,"f")?.removeEventListener("focusout",d(this,Pi,"f")),d(this,K,"f")?.removeEventListener("keydown",d(this,Fi,"f")),d(this,K,"f")?.removeEventListener("click",d(this,Ei,"f")),Qo(this,K,this.options.getListboxElement(),"f"),!d(this,K,"f"))throw new Error("ComboboxController getListboxElement() option must return an element");d(this,K,"f").addEventListener("focusout",d(this,Pi,"f")),d(this,K,"f").addEventListener("keydown",d(this,Fi,"f")),d(this,K,"f").addEventListener("click",d(this,Ei,"f")),(t=d(this,K,"f")).id??(t.id=N()),d(this,Wi,"f").observe(d(this,K,"f"),{childList:!0})},Md=function(){if(d(this,V,"f")?.removeEventListener("click",d(this,Ae,"f")),d(this,V,"f")?.removeEventListener("keydown",d(this,Mi,"f")),Qo(this,V,this.options.getToggleButton(),"f"),!d(this,V,"f"))throw new Error("ComboboxController getToggleButton() option must return an element");Qo(this,zi,d(this,V,"f").role,"f"),d(this,V,"f").role="combobox",d(this,V,"f").setAttribute("aria-controls",d(this,K,"f")?.id??""),d(this,V,"f").addEventListener("click",d(this,Ae,"f")),d(this,V,"f").addEventListener("keydown",d(this,Mi,"f"))},Fd=function(){if(d(this,P,"f")?.removeEventListener("click",d(this,Ae,"f")),d(this,P,"f")?.removeEventListener("keyup",d(this,Ri,"f")),d(this,P,"f")?.removeEventListener("keydown",d(this,ma,"f")),Qo(this,P,this.options.getComboboxInput(),"f"),d(this,P,"f")&&!("value"in d(this,P,"f")))throw new Error("ComboboxController getToggleInput() option must return an element with a value property");d(this,P,"f")&&(d(this,P,"f").role="combobox",d(this,V,"f").role=d(this,zi,"f"),d(this,P,"f").setAttribute("aria-autocomplete","both"),d(this,P,"f").setAttribute("aria-controls",d(this,K,"f")?.id??""),d(this,P,"f").addEventListener("click",d(this,Ae,"f")),d(this,P,"f").addEventListener("keyup",d(this,Ri,"f")),d(this,P,"f").addEventListener("keydown",d(this,ma,"f")))},Kc=function(){let t=m.getLabels(this.host)??d(this,_,"a",Ti)?.ariaLabelledByElements??[],o=this.options.getFallbackLabel()||d(this,_,"a",Ti)?.ariaLabelledByElements?.map(e=>e.textContent).join("")||null;for(let e of[d(this,V,"f"),d(this,K,"f"),d(this,P,"f")].filter(a=>!!a))"ariaLabelledByElements"in HTMLElement.prototype&&t.filter(a=>!!a).length?e.ariaLabelledByElements=[...t??[]]:e.ariaLabel=o},Pd=function(){d(this,oo,"f")?.hostDisconnected();let{getOrientation:t}=this.options,o=()=>this.items,e=()=>d(this,K,"f");d(this,_,"a",oe)?Qo(this,oo,Jt.of(this.host,{getItems:o,getItemsContainer:e,getOrientation:t,getActiveDescendantContainer:()=>d(this,P,"f"),getControlsElements:()=>[this.options.getToggleButton(),this.options.getComboboxInput()].filter(a=>!!a),setItemActive:this.options.setItemActive}),"f"):Qo(this,oo,co.of(this.host,{getItems:o,getItemsContainer:e,getOrientation:t,getControlsElements:()=>[this.options.getToggleButton()].filter(a=>!!a)}),"f")},Gc=function(){d(this,K,"f")&&(this.items=this.options.getItems())},Ht=async function(){let t=await this.options.requestShowListbox();d(this,_,"m",Zc).call(this),t!==!1&&!d(this,_,"a",oe)&&(d(this,fa,"f")||((d(this,_,"a",Hi)??d(this,oo,"f")?.items.at(0))?.focus(),Qo(this,fa,!1,"f")))},_t=async function(){await this.options.requestHideListbox()},Hd=async function(){return this.options.isExpanded()?d(this,_,"m",_t).call(this):d(this,_,"m",Ht).call(this)},Li=function(t,o){return d(this,Xc,"f").get(t)?.[o]??t},$d=function(t){let o=this.options.getItemValue(t);d(G,G,"f",$e)?.remove();let e=d(G,G,"f",Qc).content.cloneNode(!0);Qo(G,G,e.firstElementChild,"f",$e);let a=o,c=_h(d(this,K,"f"),"[lang]")?.getAttribute("lang")??"en",p=c?.match(G.langsRE)?.at(0)??"en";this.options.isItemDisabled(t)&&(a+=` (${d(this,_,"m",Li).call(this,"dimmed",p)})`),d(this,wo,"f").isSelected(t)&&(a+=`, (${d(this,_,"m",Li).call(this,"selected",p)})`),t.hasAttribute("aria-setsize")&&t.hasAttribute("aria-posinset")&&(p==="ja"?a+=`, (${t.getAttribute("aria-setsize")} \u4EF6\u4E2D ${t.getAttribute("aria-posinset")} \u4EF6\u76EE)`:a+=`, (${t.getAttribute("aria-posinset")} ${d(this,_,"m",Li).call(this,"of",p)} ${t.getAttribute("aria-setsize")})`),d(G,G,"f",$e).lang=c,d(G,G,"f",$e).innerText=a,document.body.append(d(G,G,"f",$e))},Zc=function(){if(d(this,P,"f")){let t;for(let o of this.items){let e=!!this.options.isExpanded()&&!!(t=this.options.getComboboxValue(d(this,P,"f")))&&this.options.isItemFiltered?.(o,t)||!1;this.options.setItemHidden(o,e)}}};$e={value:void 0};Qc={value:document.createElement("template")};$t.langs=["en","es","de","fr","it","ja","zh"];$t.langsRE=new RegExp(G.langs.join("|"));d(G,G,"f",Qc).innerHTML=`
3015
3015
  <div role="alert" style="
3016
3016
  border: 0;
3017
3017
  clip: rect(0, 0, 0, 0);
@@ -3023,7 +3023,7 @@ svg {
3023
3023
  white-space: nowrap;
3024
3024
  inline-size: 1px;
3025
3025
  "></div>
3026
- `;ur();import{LitElement as Sh,html as Lh}from"lit";import{customElement as zh}from"lit/decorators/custom-element.js";import{queryAssignedNodes as Wh}from"lit/decorators/query-assigned-nodes.js";import{property as ga}from"lit/decorators/property.js";import{classMap as Th}from"lit/directives/class-map.js";import{css as kh}from"lit";var wh=kh`:host {
3026
+ `;vr();import{LitElement as Sh,html as Lh}from"lit";import{customElement as zh}from"lit/decorators/custom-element.js";import{queryAssignedNodes as Wh}from"lit/decorators/query-assigned-nodes.js";import{property as ga}from"lit/decorators/property.js";import{classMap as Th}from"lit/directives/class-map.js";import{css as kh}from"lit";var wh=kh`:host {
3027
3027
  display: block;
3028
3028
  }
3029
3029
 
@@ -3118,7 +3118,7 @@ slot[name="description"] {
3118
3118
  </svg>
3119
3119
  <slot id="description" name="description">${this.description??""}</slot>
3120
3120
  </div>
3121
- `}selectedChanged(){i(this,xt).ariaSelected=String(!!this.selected)}disabledChanged(){i(this,xt).ariaDisabled=String(!!this.disabled)}get optionText(){return this._slottedText.map(o=>o.textContent).join("").trim()}};ba=new WeakMap,xt=new WeakMap,so.styles=[Od],r([ga({type:Boolean,reflect:!0})],so.prototype,"disabled",2),r([ga({reflect:!0})],so.prototype,"value",1),r([ga({type:Boolean,reflect:!0})],so.prototype,"selected",2),r([ga({type:Boolean,reflect:!0})],so.prototype,"active",2),r([ga()],so.prototype,"description",2),r([Wh({slot:"",flatten:!0})],so.prototype,"_slottedText",2),r([L("selected")],so.prototype,"selectedChanged",1),r([L("disabled")],so.prototype,"disabledChanged",1),so=r([zh("pf-option")],so);import{LitElement as Ud,html as Nd}from"lit";import{customElement as Ph}from"lit/decorators/custom-element.js";import{property as Qc}from"lit/decorators/property.js";import{css as Eh}from"lit";var Rh=Eh`:host {
3121
+ `}selectedChanged(){i(this,xt).ariaSelected=String(!!this.selected)}disabledChanged(){i(this,xt).ariaDisabled=String(!!this.disabled)}get optionText(){return this._slottedText.map(o=>o.textContent).join("").trim()}};ba=new WeakMap,xt=new WeakMap,so.styles=[Od],r([ga({type:Boolean,reflect:!0})],so.prototype,"disabled",2),r([ga({reflect:!0})],so.prototype,"value",1),r([ga({type:Boolean,reflect:!0})],so.prototype,"selected",2),r([ga({type:Boolean,reflect:!0})],so.prototype,"active",2),r([ga()],so.prototype,"description",2),r([Wh({slot:"",flatten:!0})],so.prototype,"_slottedText",2),r([L("selected")],so.prototype,"selectedChanged",1),r([L("disabled")],so.prototype,"disabledChanged",1),so=r([zh("pf-option")],so);import{LitElement as Ud,html as Nd}from"lit";import{customElement as Ph}from"lit/decorators/custom-element.js";import{property as Jc}from"lit/decorators/property.js";import{css as Eh}from"lit";var Rh=Eh`:host {
3122
3122
  --pf-c-chip--PaddingTop: var(--pf-global--spacer--xs, 0.25rem);
3123
3123
  --pf-c-chip--PaddingRight: var(--pf-global--spacer--sm, 0.5rem);
3124
3124
  --pf-c-chip--PaddingBottom: var(--pf-global--spacer--xs, 0.25rem);
@@ -3229,7 +3229,7 @@ button#outer span {
3229
3229
  --pf-c-chip__c-button--FontSize: var(--pf-global--FontSize--xs, 0.75rem);
3230
3230
  --pf-c-chip__c-badge--MarginLeft: var(--pf-global--spacer--xs, 0.25rem);
3231
3231
  }
3232
- `,Hi=Fh;var te=class extends Event{constructor(o){super("remove",{bubbles:!0});this.chip=o}},$i,jd,Ct=class extends Ud{constructor(){super(...arguments);n(this,$i);this.accessibleCloseLabel="Close";this.readonly=!1;this.overflowChip=!1}render(){return this.overflowChip?Nd`
3232
+ `,$i=Fh;var te=class extends Event{constructor(o){super("remove",{bubbles:!0});this.chip=o}},Ai,jd,Ct=class extends Ud{constructor(){super(...arguments);n(this,Ai);this.accessibleCloseLabel="Close";this.readonly=!1;this.overflowChip=!1}render(){return this.overflowChip?Nd`
3233
3233
  <button id="outer">
3234
3234
  <span part="text">
3235
3235
  <slot></slot>
@@ -3246,9 +3246,9 @@ button#outer span {
3246
3246
  label="${this.accessibleCloseLabel}"
3247
3247
  aria-describedby="chip-text"
3248
3248
  ?hidden="${this.readonly||this.overflowChip}"
3249
- @click="${s(this,$i,jd)}"></pf-button>
3249
+ @click="${s(this,Ai,jd)}"></pf-button>
3250
3250
  </div>
3251
- `}};$i=new WeakSet,jd=function(){this.dispatchEvent(new te(this))&&this.remove()},Ct.styles=[Hi,Dd],Ct.shadowRootOptions={...Ud.shadowRootOptions,delegatesFocus:!0},r([Qc({attribute:"accessible-close-label",type:String})],Ct.prototype,"accessibleCloseLabel",2),r([Qc({reflect:!0,type:Boolean})],Ct.prototype,"readonly",2),r([Qc({attribute:"overflow-chip",reflect:!0,type:Boolean})],Ct.prototype,"overflowChip",2),Ct=r([Ph("pf-chip")],Ct);import{css as Ih}from"lit";var Hh=Ih`:host {
3251
+ `}};Ai=new WeakSet,jd=function(){this.dispatchEvent(new te(this))&&this.remove()},Ct.styles=[$i,Dd],Ct.shadowRootOptions={...Ud.shadowRootOptions,delegatesFocus:!0},r([Jc({attribute:"accessible-close-label",type:String})],Ct.prototype,"accessibleCloseLabel",2),r([Jc({reflect:!0,type:Boolean})],Ct.prototype,"readonly",2),r([Jc({attribute:"overflow-chip",reflect:!0,type:Boolean})],Ct.prototype,"overflowChip",2),Ct=r([Ph("pf-chip")],Ct);import{css as Ih}from"lit";var Hh=Ih`:host {
3252
3252
  font-family: var(--pf-global--FontFamily--sans-serif, "RedHatTextUpdated", "Overpass", overpass, helvetica, arial, sans-serif);
3253
3253
  font-size: var(--pf-global--FontSize--md, 16px);
3254
3254
  font-weight: var(--pf-global--FontWeight--normal, 400);
@@ -3627,27 +3627,27 @@ pf-badge {
3627
3627
  background-color: var(--pf-c-divider--after--BackgroundColor);
3628
3628
  flex: 1 0 100%;
3629
3629
  }
3630
- `,qd=Hh;var es=class extends Event{constructor(){super("change",{bubbles:!0})}},Ai,ua,Oe,De,_o,Oi,Zd,va,rs,Di,Qd,Ui,Jd,Ni,of,_a,as,w=class extends Kd{constructor(){super(...arguments);n(this,Oi);n(this,va);n(this,Di);n(this,Ui);n(this,Ni);n(this,_a);this.variant="single";this.accessibleCurrentSelectionsLabel="Current selections";this.itemsSelectedText="items selected";this.disabled=!1;this.expanded=!1;this.enableFlip=!1;this.position="bottom";this.checkboxSelectionBadgeHidden=!1;n(this,Ai,o=>o!==this._placeholder);n(this,ua,m.of(this));n(this,Oe,new Yo(this,{content:()=>this._listboxContainer}));n(this,De,new T(this,null,"placeholder"));n(this,_o,$t.of(this,{multi:this.variant==="typeaheadmulti"||this.variant==="checkbox",getItems:()=>this.options,getFallbackLabel:()=>this.accessibleLabel||i(this,ua).computedLabelText||this.placeholder||i(this,De).getSlotted("placeholder").map(o=>o.textContent).join(""),getListboxElement:()=>this._listbox??null,getToggleButton:()=>this._toggleButton??null,getComboboxInput:()=>this._toggleInput??null,isExpanded:()=>this.expanded,requestShowListbox:()=>void(this.expanded||=!0),requestHideListbox:()=>void(this.expanded&&=!1),setItemHidden:(o,e)=>o.id!=="placeholder"&&void(o.hidden=e),isItem:o=>o instanceof so,setItemActive:(o,e)=>o.active=e,setItemSelected:(o,e)=>o.selected=e}))}set selected(o){let e=Array.isArray(o)?o:[o];i(this,_o).selected=e}get selected(){return i(this,_o).selected}get options(){return Nh?[]:[this._placeholder,...Array.from(this.querySelectorAll("pf-option"))].filter(o=>!!o&&!o.hidden)}render(){let{disabled:o,expanded:e,variant:a,placeholder:c}=this,{anchor:p="bottom",alignment:f="start",styles:b={}}=i(this,Oe),{height:x,width:S}=this.getBoundingClientRect?.()||{},E=i(this,Oi,Zd),Y=i(this,_o).selected??[],U=a.startsWith("typeahead"),jo=a==="checkbox",Gn=E&&"badge",zt=!!(Array.isArray(this.selected)?this.selected.length:this.selected),fl=U&&!$t.supportsCrossRootActiveDescendant,ml=!c&&i(this,De).isEmpty("placeholder");return ha`
3630
+ `,qd=Hh;var rs=class extends Event{constructor(){super("change",{bubbles:!0})}},Oi,ua,De,Ue,_o,Di,Zd,va,as,Ui,Qd,Ni,Jd,ji,of,_a,ls,w=class extends Kd{constructor(){super(...arguments);n(this,Di);n(this,va);n(this,Ui);n(this,Ni);n(this,ji);n(this,_a);this.variant="single";this.accessibleCurrentSelectionsLabel="Current selections";this.itemsSelectedText="items selected";this.disabled=!1;this.expanded=!1;this.enableFlip=!1;this.position="bottom";this.checkboxSelectionBadgeHidden=!1;n(this,Oi,o=>o!==this._placeholder);n(this,ua,m.of(this));n(this,De,new Yo(this,{content:()=>this._listboxContainer}));n(this,Ue,new T(this,null,"placeholder"));n(this,_o,$t.of(this,{multi:this.variant==="typeaheadmulti"||this.variant==="checkbox",getItems:()=>this.options,getFallbackLabel:()=>this.accessibleLabel||i(this,ua).computedLabelText||this.placeholder||i(this,Ue).getSlotted("placeholder").map(o=>o.textContent).join(""),getListboxElement:()=>this._listbox??null,getToggleButton:()=>this._toggleButton??null,getComboboxInput:()=>this._toggleInput??null,isExpanded:()=>this.expanded,requestShowListbox:()=>void(this.expanded||=!0),requestHideListbox:()=>void(this.expanded&&=!1),setItemHidden:(o,e)=>o.id!=="placeholder"&&void(o.hidden=e),isItem:o=>o instanceof so,setItemActive:(o,e)=>o.active=e,setItemSelected:(o,e)=>o.selected=e}))}set selected(o){let e=Array.isArray(o)?o:[o];i(this,_o).selected=e}get selected(){return i(this,_o).selected}get options(){return Nh?[]:[this._placeholder,...Array.from(this.querySelectorAll("pf-option"))].filter(o=>!!o&&!o.hidden)}render(){let{disabled:o,expanded:e,variant:a,placeholder:c}=this,{anchor:p="bottom",alignment:f="start",styles:b={}}=i(this,De),{height:x,width:S}=this.getBoundingClientRect?.()||{},E=i(this,Di,Zd),Y=i(this,_o).selected??[],U=a.startsWith("typeahead"),jo=a==="checkbox",Zn=E&&"badge",zt=!!(Array.isArray(this.selected)?this.selected.length:this.selected),fl=U&&!$t.supportsCrossRootActiveDescendant,ml=!c&&i(this,Ue).isEmpty("placeholder");return ha`
3631
3631
  <div id="outer"
3632
3632
  style="${Gd(b)}"
3633
- class="${ts({disabled:o,typeahead:U,expanded:e,[p]:!!p,[f]:!!f})}">
3633
+ class="${es({disabled:o,typeahead:U,expanded:e,[p]:!!p,[f]:!!f})}">
3634
3634
  <div id="toggle">
3635
3635
  ${U&&Y.length<1?ha`
3636
3636
  <pf-chip-group label="${this.accessibleCurrentSelectionsLabel}">
3637
- ${qh(Y,gr=>gr.id,gr=>ha`
3638
- <pf-chip id="chip-${gr.textContent}"
3637
+ ${qh(Y,br=>br.id,br=>ha`
3638
+ <pf-chip id="chip-${br.textContent}"
3639
3639
  .readonly="${this.disabled}"
3640
- @remove="${s(this,Ni,of).bind(this,gr)}">${gr.textContent}</pf-chip>`)}
3640
+ @remove="${s(this,ji,of).bind(this,br)}">${br.textContent}</pf-chip>`)}
3641
3641
  </pf-chip-group>`:""}
3642
3642
  ${U?ha`
3643
3643
  <input id="toggle-input"
3644
3644
  ?hidden="${!U}"
3645
3645
  ?disabled="${o}"
3646
- placeholder="${c||i(this,va,rs)}">`:""}
3646
+ placeholder="${c||i(this,va,as)}">`:""}
3647
3647
  <button id="toggle-button">
3648
3648
  <span id="button-text" style="display: contents;">
3649
3649
  <span id="toggle-text"
3650
- class="${ts({"visually-hidden":!!U,badge:Gn})}">${i(this,va,rs)}</span>${E?ha`
3650
+ class="${es({"visually-hidden":!!U,badge:Zn})}">${i(this,va,as)}</span>${E?ha`
3651
3651
  <span id="toggle-badge">
3652
3652
  <pf-badge number="${Y.length}">${Y.length}</pf-badge>
3653
3653
  </span>`:""}
@@ -3662,19 +3662,19 @@ pf-badge {
3662
3662
  <div id="listbox-container"
3663
3663
  ?hidden="${!e}"
3664
3664
  style="${Gd({marginTop:`${x||0}px`,width:S?`${S}px`:"auto"})}">
3665
- <div id="listbox" class="${ts({checkboxes:jo})}">
3665
+ <div id="listbox" class="${es({checkboxes:jo})}">
3666
3666
  <pf-option id="placeholder"
3667
3667
  disabled
3668
3668
  ?inert="${ml}"
3669
3669
  aria-hidden="${Vh(ml?void 0:String(!!zt))}"
3670
- ?hidden="${!c&&i(this,De).isEmpty("placeholder")}"
3670
+ ?hidden="${!c&&i(this,Ue).isEmpty("placeholder")}"
3671
3671
  ><slot name="placeholder">${c??""}</slot></pf-option>
3672
3672
  ${i(this,_o).renderItemsToShadowRoot()}
3673
3673
  <slot ?hidden="${fl}"></slot>
3674
3674
  </div>
3675
3675
  </div>
3676
3676
  </div>
3677
- `}disabledChanged(){i(this,_o).disabled=this.disabled}async expandedChanged(o,e){this.dispatchEvent(new Event(this.expanded?"close":"open"))&&(e?s(this,Di,Qd).call(this):s(this,Ui,Jd).call(this))}async selectedChanged(o,e){switch(this.value=e.map(a=>a.value).join(),await this.updateComplete,this.variant){case"single":this.hide(),this._toggleButton?.focus();break;case"typeahead":this._toggleInput.value=this.value}}async variantChanged(){i(this,_o).hostDisconnected(),i(this,_o).multi=this.variant==="typeaheadmulti"||this.variant==="checkbox",i(this,_o).hostConnected(),this.variant==="checkbox"&&Promise.resolve().then(()=>(os(),Xd))}valueChanged(){i(this,ua).setFormValue(this.value??""),this.dispatchEvent(new es)}focusChips(){if(this.variant==="typeaheadmulti"&&this._toggleInput?.value){let e=this.shadowRoot?.querySelector(`pf-chip#chip-${this._toggleInput?.value}`);e&&this._chipGroup&&(this._chipGroup.focusOnChip(e),this._toggleInput.value="")}}async show(){this.expanded=!0,await this.updateComplete}async hide(){this.expanded=!1,await this.updateComplete}async toggle(){this.expanded?await this.hide():await this.show()}};Ai=new WeakMap,ua=new WeakMap,Oe=new WeakMap,De=new WeakMap,_o=new WeakMap,Oi=new WeakSet,Zd=function(){return this.variant==="checkbox"&&!this.checkboxSelectionBadgeHidden},va=new WeakSet,rs=function(){let{selected:o}=i(this,_o);switch(this.variant){case"typeaheadmulti":return`${o?.length??0} ${this.itemsSelectedText}`;case"checkbox":return s(this,_a,as).call(this)||"Options";default:return(o?this.value:"")||s(this,_a,as).call(this)||"Select a value"}},Di=new WeakSet,Qd=async function(){try{return await i(this,Oe).show({placement:this.position||"bottom",flip:!!this.enableFlip}),!0}catch{return!1}},Ui=new WeakSet,Jd=async function(){try{return await i(this,Oe).hide(),!0}catch{return!1}},Ni=new WeakSet,of=function(o,e){e instanceof te&&(o.selected=!1,this._toggleInput?.focus())},_a=new WeakSet,as=function(){return this.placeholder||this.querySelector?.("[slot=placeholder]")?.assignedNodes()?.reduce((o,e)=>`${o}${e.textContent}`,"")?.trim()||i(this,_o).items.filter(i(this,Ai)).at(0)?.value||""},w.styles=[qd],w.formAssociated=!0,w.shadowRootOptions={...Kd.shadowRootOptions,delegatesFocus:!0},r([So()],w.prototype,"variant",2),r([So({attribute:"accessible-label"})],w.prototype,"accessibleLabel",2),r([So({attribute:"accessible-current-selections-label"})],w.prototype,"accessibleCurrentSelectionsLabel",2),r([So({attribute:"items-selected-text"})],w.prototype,"itemsSelectedText",2),r([So({type:Boolean,reflect:!0})],w.prototype,"disabled",2),r([So({type:Boolean,reflect:!0})],w.prototype,"expanded",2),r([So({attribute:"enable-flip",type:Boolean})],w.prototype,"enableFlip",2),r([So()],w.prototype,"value",2),r([So()],w.prototype,"placeholder",2),r([So({reflect:!0})],w.prototype,"position",2),r([So({attribute:"checkbox-selection-badge-hidden",type:Boolean})],w.prototype,"checkboxSelectionBadgeHidden",2),r([Ae("pf-chip-group")],w.prototype,"_chipGroup",2),r([Ae("#toggle-input")],w.prototype,"_toggleInput",2),r([Ae("#toggle-button")],w.prototype,"_toggleButton",2),r([Ae("#listbox")],w.prototype,"_listbox",2),r([Ae("#listbox-container")],w.prototype,"_listboxContainer",2),r([Ae("#placeholder")],w.prototype,"_placeholder",2),r([So({hasChanged:(o,e)=>!Ee(o,e)})],w.prototype,"selected",1),r([L("disabled")],w.prototype,"disabledChanged",1),r([L("expanded")],w.prototype,"expandedChanged",1),r([L("selected")],w.prototype,"selectedChanged",1),r([L("variant")],w.prototype,"variantChanged",1),r([L("value")],w.prototype,"valueChanged",1),r([L("variant"),L("value")],w.prototype,"focusChips",1),w=r([jh("pf-select")],w);import{LitElement as Kh,html as Gh}from"lit";import{classMap as ef}from"lit/directives/class-map.js";import{customElement as Zh}from"lit/decorators/custom-element.js";import{property as rf}from"lit/decorators/property.js";import{css as Yh}from"lit";var Xh=Yh`:host {
3677
+ `}disabledChanged(){i(this,_o).disabled=this.disabled}async expandedChanged(o,e){this.dispatchEvent(new Event(this.expanded?"close":"open"))&&(e?s(this,Ui,Qd).call(this):s(this,Ni,Jd).call(this))}async selectedChanged(o,e){switch(this.value=e.map(a=>a.value).join(),await this.updateComplete,this.variant){case"single":this.hide(),this._toggleButton?.focus();break;case"typeahead":this._toggleInput.value=this.value}}async variantChanged(){i(this,_o).hostDisconnected(),i(this,_o).multi=this.variant==="typeaheadmulti"||this.variant==="checkbox",i(this,_o).hostConnected(),this.variant==="checkbox"&&Promise.resolve().then(()=>(ts(),Xd))}valueChanged(){i(this,ua).setFormValue(this.value??""),this.dispatchEvent(new rs)}focusChips(){if(this.variant==="typeaheadmulti"&&this._toggleInput?.value){let e=this.shadowRoot?.querySelector(`pf-chip#chip-${this._toggleInput?.value}`);e&&this._chipGroup&&(this._chipGroup.focusOnChip(e),this._toggleInput.value="")}}async show(){this.expanded=!0,await this.updateComplete}async hide(){this.expanded=!1,await this.updateComplete}async toggle(){this.expanded?await this.hide():await this.show()}};Oi=new WeakMap,ua=new WeakMap,De=new WeakMap,Ue=new WeakMap,_o=new WeakMap,Di=new WeakSet,Zd=function(){return this.variant==="checkbox"&&!this.checkboxSelectionBadgeHidden},va=new WeakSet,as=function(){let{selected:o}=i(this,_o);switch(this.variant){case"typeaheadmulti":return`${o?.length??0} ${this.itemsSelectedText}`;case"checkbox":return s(this,_a,ls).call(this)||"Options";default:return(o?this.value:"")||s(this,_a,ls).call(this)||"Select a value"}},Ui=new WeakSet,Qd=async function(){try{return await i(this,De).show({placement:this.position||"bottom",flip:!!this.enableFlip}),!0}catch{return!1}},Ni=new WeakSet,Jd=async function(){try{return await i(this,De).hide(),!0}catch{return!1}},ji=new WeakSet,of=function(o,e){e instanceof te&&(o.selected=!1,this._toggleInput?.focus())},_a=new WeakSet,ls=function(){return this.placeholder||this.querySelector?.("[slot=placeholder]")?.assignedNodes()?.reduce((o,e)=>`${o}${e.textContent}`,"")?.trim()||i(this,_o).items.filter(i(this,Oi)).at(0)?.value||""},w.styles=[qd],w.formAssociated=!0,w.shadowRootOptions={...Kd.shadowRootOptions,delegatesFocus:!0},r([So()],w.prototype,"variant",2),r([So({attribute:"accessible-label"})],w.prototype,"accessibleLabel",2),r([So({attribute:"accessible-current-selections-label"})],w.prototype,"accessibleCurrentSelectionsLabel",2),r([So({attribute:"items-selected-text"})],w.prototype,"itemsSelectedText",2),r([So({type:Boolean,reflect:!0})],w.prototype,"disabled",2),r([So({type:Boolean,reflect:!0})],w.prototype,"expanded",2),r([So({attribute:"enable-flip",type:Boolean})],w.prototype,"enableFlip",2),r([So()],w.prototype,"value",2),r([So()],w.prototype,"placeholder",2),r([So({reflect:!0})],w.prototype,"position",2),r([So({attribute:"checkbox-selection-badge-hidden",type:Boolean})],w.prototype,"checkboxSelectionBadgeHidden",2),r([Oe("pf-chip-group")],w.prototype,"_chipGroup",2),r([Oe("#toggle-input")],w.prototype,"_toggleInput",2),r([Oe("#toggle-button")],w.prototype,"_toggleButton",2),r([Oe("#listbox")],w.prototype,"_listbox",2),r([Oe("#listbox-container")],w.prototype,"_listboxContainer",2),r([Oe("#placeholder")],w.prototype,"_placeholder",2),r([So({hasChanged:(o,e)=>!Re(o,e)})],w.prototype,"selected",1),r([L("disabled")],w.prototype,"disabledChanged",1),r([L("expanded")],w.prototype,"expandedChanged",1),r([L("selected")],w.prototype,"selectedChanged",1),r([L("variant")],w.prototype,"variantChanged",1),r([L("value")],w.prototype,"valueChanged",1),r([L("variant"),L("value")],w.prototype,"focusChips",1),w=r([jh("pf-select")],w);import{LitElement as Kh,html as Gh}from"lit";import{classMap as ef}from"lit/directives/class-map.js";import{customElement as Zh}from"lit/decorators/custom-element.js";import{property as rf}from"lit/decorators/property.js";import{css as Yh}from"lit";var Xh=Yh`:host {
3678
3678
  display: block;
3679
3679
  border-bottom: 1px solid var(--pf-global--BorderColor--100, #d2d2d2);
3680
3680
  }
@@ -3699,14 +3699,14 @@ slot[name="label"] {
3699
3699
  color: var(--pf-global--Color--dark-200, #6a6e73);
3700
3700
  padding: var(--pf-global--spacer--md, 1rem) var(--pf-global--spacer--md, 1rem) 0;
3701
3701
  }
3702
- `,tf=Xh;var ls,ee=class extends Kh{constructor(){super(...arguments);this.disabled=!1;n(this,ls,m.of(this,{role:"group"}))}render(){let{disabled:o}=this;return Gh`
3702
+ `,tf=Xh;var is,ee=class extends Kh{constructor(){super(...arguments);this.disabled=!1;n(this,is,m.of(this,{role:"group"}))}render(){let{disabled:o}=this;return Gh`
3703
3703
  <div id="label-container"
3704
3704
  role="presentation">
3705
3705
  <slot class="${ef({disabled:o})}"
3706
3706
  name="label">${this.label}</slot>
3707
3707
  </div>
3708
3708
  <slot class="${ef({disabled:o})}"></slot>
3709
- `}};ls=new WeakMap,ee.styles=[tf],r([rf()],ee.prototype,"label",2),r([rf({type:Boolean,reflect:!0})],ee.prototype,"disabled",2),ee=r([Zh("pf-option-group")],ee);import{LitElement as lu,html as iu}from"lit";import{customElement as nu}from"lit/decorators/custom-element.js";import{property as is}from"lit/decorators/property.js";import{css as Qh}from"lit";var Jh=Qh`[hidden] {
3709
+ `}};is=new WeakMap,ee.styles=[tf],r([rf()],ee.prototype,"label",2),r([rf({type:Boolean,reflect:!0})],ee.prototype,"disabled",2),ee=r([Zh("pf-option-group")],ee);import{LitElement as lu,html as iu}from"lit";import{customElement as nu}from"lit/decorators/custom-element.js";import{property as ns}from"lit/decorators/property.js";import{css as Qh}from"lit";var Jh=Qh`[hidden] {
3710
3710
  display: none !important;
3711
3711
  }
3712
3712
 
@@ -4058,7 +4058,7 @@ slot[name="label"] {
4058
4058
  --pf-c-progress-stepper__step-title--m-help-text--hover--TextDecorationColor: var(--pf-c-progress-stepper__step--m-danger__step-title--m-help-text--hover--TextDecorationColor);
4059
4059
  --pf-c-progress-stepper__step-title--m-help-text--focus--TextDecorationColor: var(--pf-c-progress-stepper__step--m-danger__step-title--m-help-text--focus--TextDecorationColor);
4060
4060
  }
4061
- `,lf=tu;var sf=new Map(Object.entries({success:{icon:"check-circle"},danger:{icon:"exclamation-circle"},warning:{icon:"exclamation-triangle"},info:{icon:"resources-full",set:"patternfly"}})),ji,qi,Po=class extends eu{constructor(){super(...arguments);this.current=!1;n(this,ji,new T(this,"title","description"));n(this,qi,m.of(this,{role:"listitem"}))}render(){let o=!!(this.description??i(this,ji).hasSlotted("description")),e=this.icon??sf.get(this.variant??"default")?.icon,a=this.iconSet??sf.get(this.variant??"default")?.set,{parentTagName:c}=this.constructor,{compact:p=!1}=this.closest?.(c)??{};return ru`
4061
+ `,lf=tu;var sf=new Map(Object.entries({success:{icon:"check-circle"},danger:{icon:"exclamation-circle"},warning:{icon:"exclamation-triangle"},info:{icon:"resources-full",set:"patternfly"}})),qi,Vi,Po=class extends eu{constructor(){super(...arguments);this.current=!1;n(this,qi,new T(this,"title","description"));n(this,Vi,m.of(this,{role:"listitem"}))}render(){let o=!!(this.description??i(this,qi).hasSlotted("description")),e=this.icon??sf.get(this.variant??"default")?.icon,a=this.iconSet??sf.get(this.variant??"default")?.set,{parentTagName:c}=this.constructor,{compact:p=!1}=this.closest?.(c)??{};return ru`
4062
4062
  <div id="connector" class="${cf({compact:p})}">
4063
4063
  <slot id="icon" name="icon">
4064
4064
  <pf-icon ?hidden="${!e}"
@@ -4070,7 +4070,7 @@ slot[name="label"] {
4070
4070
  <slot id="title"></slot>
4071
4071
  <slot id="description" name="description" ?hidden="${!o}">${this.description}</slot>
4072
4072
  </div>
4073
- `}updated(o){o.has("current")&&(i(this,qi).ariaCurrent=String(!!this.current))}};ji=new WeakMap,qi=new WeakMap,Po.parentTagName="pf-progress-stepper",Po.styles=[lf],r([xa()],Po.prototype,"description",2),r([xa()],Po.prototype,"icon",2),r([xa({attribute:"icon-set"})],Po.prototype,"iconSet",2),r([xa({reflect:!0})],Po.prototype,"variant",2),r([xa({type:Boolean,reflect:!0})],Po.prototype,"current",2),Po=r([au("pf-progress-step")],Po);ko();var Vi,Yi,Xi,pf,Jo=class extends lu{constructor(){super();n(this,Xi);this.vertical=!1;this.center=!1;this.compact=!1;n(this,Vi,m.of(this,{role:"progressbar",ariaValueNow:this.value.toString()}));n(this,Yi,new MutationObserver(()=>s(this,Xi,pf).call(this)));i(this,Yi).observe(this,{childList:!0})}get value(){let{childTagName:o}=this.constructor,e=this.querySelectorAll?.(o)??[],a=this.querySelector?.(`${o}[current]`);return(Array.from(e).indexOf(a)+1)/e.length*100}render(){return iu`<div role="listbox" style="display:contents;"><slot></slot></div>`}updated(o){o.has("compact")&&this.querySelectorAll?.("pf-progress-step").forEach(e=>e.requestUpdate())}};Vi=new WeakMap,Yi=new WeakMap,Xi=new WeakSet,pf=function(){i(this,Vi).ariaValueNow=this.value.toString()},Jo.childTagName="pf-progress-step",Jo.styles=[af],Jo.formAssociated=!0,r([is({type:Boolean,reflect:!0})],Jo.prototype,"vertical",2),r([is({type:Boolean,reflect:!0})],Jo.prototype,"center",2),r([is({type:Boolean,reflect:!0})],Jo.prototype,"compact",2),Jo=r([nu("pf-progress-stepper")],Jo);import{LitElement as pu,html as Ki}from"lit";import{classMap as du}from"lit/directives/class-map.js";import{customElement as fu}from"lit/decorators/custom-element.js";import{property as At}from"lit/decorators/property.js";import{ifDefined as mu}from"lit/directives/if-defined.js";import{styleMap as gu}from"lit/directives/style-map.js";import{css as cu}from"lit";var su=cu`* {
4073
+ `}updated(o){o.has("current")&&(i(this,Vi).ariaCurrent=String(!!this.current))}};qi=new WeakMap,Vi=new WeakMap,Po.parentTagName="pf-progress-stepper",Po.styles=[lf],r([xa()],Po.prototype,"description",2),r([xa()],Po.prototype,"icon",2),r([xa({attribute:"icon-set"})],Po.prototype,"iconSet",2),r([xa({reflect:!0})],Po.prototype,"variant",2),r([xa({type:Boolean,reflect:!0})],Po.prototype,"current",2),Po=r([au("pf-progress-step")],Po);ko();var Yi,Xi,Ki,pf,Jo=class extends lu{constructor(){super();n(this,Ki);this.vertical=!1;this.center=!1;this.compact=!1;n(this,Yi,m.of(this,{role:"progressbar",ariaValueNow:this.value.toString()}));n(this,Xi,new MutationObserver(()=>s(this,Ki,pf).call(this)));i(this,Xi).observe(this,{childList:!0})}get value(){let{childTagName:o}=this.constructor,e=this.querySelectorAll?.(o)??[],a=this.querySelector?.(`${o}[current]`);return(Array.from(e).indexOf(a)+1)/e.length*100}render(){return iu`<div role="listbox" style="display:contents;"><slot></slot></div>`}updated(o){o.has("compact")&&this.querySelectorAll?.("pf-progress-step").forEach(e=>e.requestUpdate())}};Yi=new WeakMap,Xi=new WeakMap,Ki=new WeakSet,pf=function(){i(this,Yi).ariaValueNow=this.value.toString()},Jo.childTagName="pf-progress-step",Jo.styles=[af],Jo.formAssociated=!0,r([ns({type:Boolean,reflect:!0})],Jo.prototype,"vertical",2),r([ns({type:Boolean,reflect:!0})],Jo.prototype,"center",2),r([ns({type:Boolean,reflect:!0})],Jo.prototype,"compact",2),Jo=r([nu("pf-progress-stepper")],Jo);import{LitElement as pu,html as Gi}from"lit";import{classMap as du}from"lit/directives/class-map.js";import{customElement as fu}from"lit/decorators/custom-element.js";import{property as At}from"lit/decorators/property.js";import{ifDefined as mu}from"lit/directives/if-defined.js";import{styleMap as gu}from"lit/directives/style-map.js";import{css as cu}from"lit";var su=cu`* {
4074
4074
  box-sizing: border-box;
4075
4075
  }
4076
4076
 
@@ -4280,17 +4280,17 @@ progress[value]::-webkit-progress-value {
4280
4280
  pf-tooltip {
4281
4281
  height: 0.01px;
4282
4282
  }
4283
- `,df=su;var bu=new Map(Object.entries({success:{icon:"circle-check"},danger:{icon:"circle-xmark"},warning:{icon:"triangle-exclamation"}})),Gi,Ca,ns,Ba,cs,xo=class extends pu{constructor(){super(...arguments);n(this,Ca);n(this,Ba);n(this,Gi,this.attachInternals());this.value=0;this.descriptionTruncated=!1;this.max=100;this.min=0}willUpdate(o){(o.has("value")||o.has("min")||o.has("max"))&&(i(this,Gi).ariaValueNow=i(this,Ca,ns).toString()),i(this,Ba,cs)&&Promise.resolve().then(()=>(ko(),zc)),this.descriptionTruncated&&Promise.resolve().then(()=>(xl(),pp))}render(){let{size:o,measureLocation:e,variant:a,description:c,descriptionTruncated:p}=this,f=i(this,Ba,cs),b=c?.length===0,x=i(this,Ca,ns),S=`${x}%`;return Ki`
4283
+ `,df=su;var bu=new Map(Object.entries({success:{icon:"circle-check"},danger:{icon:"circle-xmark"},warning:{icon:"triangle-exclamation"}})),Zi,Ca,cs,Ba,ss,xo=class extends pu{constructor(){super(...arguments);n(this,Ca);n(this,Ba);n(this,Zi,this.attachInternals());this.value=0;this.descriptionTruncated=!1;this.max=100;this.min=0}willUpdate(o){(o.has("value")||o.has("min")||o.has("max"))&&(i(this,Zi).ariaValueNow=i(this,Ca,cs).toString()),i(this,Ba,ss)&&Promise.resolve().then(()=>(ko(),Wc)),this.descriptionTruncated&&Promise.resolve().then(()=>(xl(),dp))}render(){let{size:o,measureLocation:e,variant:a,description:c,descriptionTruncated:p}=this,f=i(this,Ba,ss),b=c?.length===0,x=i(this,Ca,cs),S=`${x}%`;return Gi`
4284
4284
  <div id="container" class="${du({[o??""]:!!o,[e??""]:!!e,[a??""]:!!a,singleLine:b,descriptionTruncated:p})}">
4285
4285
 
4286
4286
  <div id="description" aria-hidden="true">${c??""}</div>
4287
4287
 
4288
- ${p?Ki`
4288
+ ${p?Gi`
4289
4289
  <pf-tooltip content="${this.description??""}"
4290
4290
  trigger="description"></pf-tooltip>
4291
4291
  `:""}
4292
4292
 
4293
- ${e==="none"?"":Ki`
4293
+ ${e==="none"?"":Gi`
4294
4294
  <div id="status" aria-hidden="true">
4295
4295
  ${e!=="inside"?"":S}
4296
4296
  <pf-icon set="fas"
@@ -4309,12 +4309,12 @@ pf-tooltip {
4309
4309
  aria-valuemax="100"
4310
4310
  ></progress>
4311
4311
 
4312
- ${e!=="inside"?"":Ki`
4312
+ ${e!=="inside"?"":Gi`
4313
4313
  <span id="progress-span"
4314
4314
  style="${gu({width:S})}"
4315
4315
  data-value="${S}"></span>
4316
4316
  `}
4317
- </div>`}};Gi=new WeakMap,Ca=new WeakSet,ns=function(){let{value:o,min:e,max:a}=this,c=Math.round((o-e)/(a-e)*100);return Number.isNaN(c)||c<0?0:Math.min(c,100)},Ba=new WeakSet,cs=function(){return bu.get(this.variant??"")?.icon},xo.styles=[df],r([At({reflect:!0,type:Number})],xo.prototype,"value",2),r([At()],xo.prototype,"description",2),r([At({type:Boolean,reflect:!0,attribute:"description-truncated"})],xo.prototype,"descriptionTruncated",2),r([At({type:Number,reflect:!0})],xo.prototype,"max",2),r([At({type:Number,reflect:!0})],xo.prototype,"min",2),r([At()],xo.prototype,"size",2),r([At({attribute:"measure-location"})],xo.prototype,"measureLocation",2),r([At()],xo.prototype,"variant",2),xo=r([fu("pf-progress")],xo);ur();import{LitElement as vu,nothing as _u,html as yt,isServer as ss}from"lit";import{customElement as xu}from"lit/decorators/custom-element.js";import{property as to}from"lit/decorators/property.js";import{query as ps}from"lit/decorators/query.js";import{styleMap as Cu}from"lit/directives/style-map.js";import{classMap as Bu}from"lit/directives/class-map.js";import{ifDefined as mf}from"lit/directives/if-defined.js";Wt();vr();import{css as hu}from"lit";var uu=hu`:host {
4317
+ </div>`}};Zi=new WeakMap,Ca=new WeakSet,cs=function(){let{value:o,min:e,max:a}=this,c=Math.round((o-e)/(a-e)*100);return Number.isNaN(c)||c<0?0:Math.min(c,100)},Ba=new WeakSet,ss=function(){return bu.get(this.variant??"")?.icon},xo.styles=[df],r([At({reflect:!0,type:Number})],xo.prototype,"value",2),r([At()],xo.prototype,"description",2),r([At({type:Boolean,reflect:!0,attribute:"description-truncated"})],xo.prototype,"descriptionTruncated",2),r([At({type:Number,reflect:!0})],xo.prototype,"max",2),r([At({type:Number,reflect:!0})],xo.prototype,"min",2),r([At()],xo.prototype,"size",2),r([At({attribute:"measure-location"})],xo.prototype,"measureLocation",2),r([At()],xo.prototype,"variant",2),xo=r([fu("pf-progress")],xo);vr();import{LitElement as vu,nothing as _u,html as yt,isServer as ps}from"lit";import{customElement as xu}from"lit/decorators/custom-element.js";import{property as to}from"lit/decorators/property.js";import{query as ds}from"lit/decorators/query.js";import{styleMap as Cu}from"lit/directives/style-map.js";import{classMap as Bu}from"lit/directives/class-map.js";import{ifDefined as mf}from"lit/directives/if-defined.js";Wt();_r();import{css as hu}from"lit";var uu=hu`:host {
4318
4318
  display: inline;
4319
4319
  --_floating-arrow-size: var(--pf-c-popover__arrow--Width, var(--pf-global--arrow--width-lg, 1.5625rem));
4320
4320
  --_header-text-color: var(--pf-c-popover__title-text--Color, inherit);
@@ -4505,18 +4505,18 @@ pf-tooltip {
4505
4505
  --_header-icon-color: var(--pf-c-popover--m-danger__title-icon--Color, var(--pf-global--danger-color--100, #c9190b));
4506
4506
  --_header-text-color: var(--pf-c-popover--m-danger__title-text--Color, var(--pf-global--danger-color--200, #a30000));
4507
4507
  }
4508
- `,ff=uu;var ds=class extends Wo{constructor(){super("hide")}},fs=class extends Wo{constructor(){super("hidden")}},ms=class extends Wo{constructor(){super("show")}},gs=class extends Wo{constructor(){super("shown")}},Ue,Co,re,Ne,Zi,gf,ya,bs,kt,Qi,bf,C=class extends vu{constructor(){super();n(this,Zi);n(this,ya);n(this,Qi);this.position="top";this.noFlip=!1;n(this,Ue,!0);n(this,Co,null);n(this,re,new Yo(this,{content:()=>this._popover,arrow:()=>this._arrow,invoker:()=>i(this,Co)||this._slottedTrigger}));n(this,Ne,new T(this,null,"icon","heading","body","footer"));n(this,kt,o=>{switch(o.key){case"Escape":case"Esc":o.preventDefault(),this.hide();return;case"Enter":(o.target===i(this,Co)||o.target===this._slottedTrigger)&&(o.preventDefault(),this.show());return}});ss||this.addEventListener("keydown",i(this,kt))}render(){let{alignment:o,anchor:e,styles:a}=i(this,re),c=i(this,Ne).hasSlotted("footer")||!!this.footer,p=i(this,Ne).hasSlotted("heading")||!!this.heading,f=i(this,Ne).hasSlotted("icon")||!!this.icon||!!this.alertSeverity,b=yt`<h6>${this.heading??""}</h6>`;switch(this.headingLevel){case 2:b=yt`<h2>${this.heading??""}</h2>`;break;case 3:b=yt`<h3>${this.heading??""}</h3>`;break;case 4:b=yt`<h4>${this.heading??""}</h4>`;break;case 5:b=yt`<h5>${this.heading??""}</h5>`;break}let x=yt`
4508
+ `,ff=uu;var fs=class extends Wo{constructor(){super("hide")}},ms=class extends Wo{constructor(){super("hidden")}},gs=class extends Wo{constructor(){super("show")}},bs=class extends Wo{constructor(){super("shown")}},Ne,Co,re,je,Qi,gf,ya,hs,kt,Ji,bf,C=class extends vu{constructor(){super();n(this,Qi);n(this,ya);n(this,Ji);this.position="top";this.noFlip=!1;n(this,Ne,!0);n(this,Co,null);n(this,re,new Yo(this,{content:()=>this._popover,arrow:()=>this._arrow,invoker:()=>i(this,Co)||this._slottedTrigger}));n(this,je,new T(this,null,"icon","heading","body","footer"));n(this,kt,o=>{switch(o.key){case"Escape":case"Esc":o.preventDefault(),this.hide();return;case"Enter":(o.target===i(this,Co)||o.target===this._slottedTrigger)&&(o.preventDefault(),this.show());return}});ps||this.addEventListener("keydown",i(this,kt))}render(){let{alignment:o,anchor:e,styles:a}=i(this,re),c=i(this,je).hasSlotted("footer")||!!this.footer,p=i(this,je).hasSlotted("heading")||!!this.heading,f=i(this,je).hasSlotted("icon")||!!this.icon||!!this.alertSeverity,b=yt`<h6>${this.heading??""}</h6>`;switch(this.headingLevel){case 2:b=yt`<h2>${this.heading??""}</h2>`;break;case 3:b=yt`<h3>${this.heading??""}</h3>`;break;case 4:b=yt`<h4>${this.heading??""}</h4>`;break;case 5:b=yt`<h5>${this.heading??""}</h5>`;break}let x=yt`
4509
4509
  <slot id="heading" name="heading" part="heading" ?hidden=${!p}>${b}</slot>
4510
4510
  `,S=this.icon??C.alertIcons.get(this.alertSeverity)??"";return yt`
4511
4511
  <div id="container"
4512
4512
  style="${Cu(a)}"
4513
4513
  class="${Bu({[e]:!!e,[o]:!!o})}">
4514
4514
  <slot id="trigger"
4515
- @slotchange="${s(this,ya,bs)}"
4515
+ @slotchange="${s(this,ya,hs)}"
4516
4516
  @keydown="${i(this,kt)}"
4517
4517
  @click="${this.toggle}"></slot>
4518
4518
  <dialog id="popover"
4519
- ?hidden="${i(this,Ue)}"
4519
+ ?hidden="${i(this,Ne)}"
4520
4520
  aria-labelledby="heading"
4521
4521
  aria-describedby="body"
4522
4522
  aria-label=${mf(this.label)}>
@@ -4552,7 +4552,7 @@ pf-tooltip {
4552
4552
  </div>
4553
4553
  </dialog>
4554
4554
  </div>
4555
- `}disconnectedCallback(){super.disconnectedCallback(),C.instances.delete(this),i(this,Co)?.removeEventListener("click",this.toggle),i(this,Co)?.removeEventListener("keydown",i(this,kt))}willUpdate(o){o.has("trigger")&&s(this,ya,bs).call(this)}async toggle(){i(this,re).open?this.hide():this.show()}async show(){v(this,Ue,!1),this.requestUpdate(),this.dispatchEvent(new ms),await this.updateComplete,await i(this,re).show({offset:this.distance??25,placement:this.position,flip:!this.noFlip,fallbackPlacements:this.flipBehavior}),this._popover?.show(),this.dispatchEvent(new gs),C.instances.add(this)}async hide(){this.dispatchEvent(new ds),await i(this,re).hide(),this._popover?.close(),this.dispatchEvent(new fs),C.instances.delete(this),v(this,Ue,!0),this.requestUpdate()}};Ue=new WeakMap,Co=new WeakMap,re=new WeakMap,Ne=new WeakMap,Zi=new WeakSet,gf=function(){return ss||!this.trigger?null:this.getRootNode().getElementById(this.trigger)},ya=new WeakSet,bs=function(){let o=i(this,Co);v(this,Co,s(this,Zi,gf).call(this)),o!==i(this,Co)&&(o?.removeEventListener("click",this.toggle),o?.removeEventListener("keydown",i(this,kt)),i(this,Co)?.addEventListener("click",this.toggle),i(this,Co)?.addEventListener("keydown",i(this,kt)))},kt=new WeakMap,Qi=new WeakSet,bf=function(o){let e=o.composedPath();!e.includes(this)&&!e.includes(i(this,Co))&&this.hide()},C.styles=[ff],C.instances=new Set,C.alertIcons=new Map(Object.entries({default:"bell",info:"circle-info",success:"circle-check",warning:"triangle-exclamation",danger:"circle-exclamation"})),ss||document.addEventListener("click",function(o){var e;for(let a of C.instances)a.noOutsideClick||s(e=a,Qi,bf).call(e,o)}),r([to({reflect:!0})],C.prototype,"position",2),r([to({reflect:!0})],C.prototype,"heading",2),r([to({reflect:!0})],C.prototype,"body",2),r([to({reflect:!0})],C.prototype,"footer",2),r([to({reflect:!0})],C.prototype,"icon",2),r([to({reflect:!0})],C.prototype,"label",2),r([to({type:Number,reflect:!0})],C.prototype,"distance",2),r([to({attribute:"flip-behavior",converter:ul})],C.prototype,"flipBehavior",2),r([to({type:Boolean,reflect:!0,attribute:"no-flip"})],C.prototype,"noFlip",2),r([to({type:Number,reflect:!0,attribute:"heading-level"})],C.prototype,"headingLevel",2),r([to({reflect:!0,attribute:"icon-set"})],C.prototype,"iconSet",2),r([to({type:Boolean,reflect:!0,attribute:"hide-close"})],C.prototype,"hideClose",2),r([to({reflect:!0,attribute:"alert-severity"})],C.prototype,"alertSeverity",2),r([to({reflect:!0,attribute:"accessible-close-label"})],C.prototype,"accessibleCloseLabel",2),r([Rp({alias:"accessible-close-label",attribute:"close-label"})],C.prototype,"closeButtonLabel",2),r([to({reflect:!0,attribute:"alert-severity-text"})],C.prototype,"alertSeverityText",2),r([to({type:Boolean,reflect:!0,attribute:"no-outside-click"})],C.prototype,"noOutsideClick",2),r([to({reflect:!0})],C.prototype,"trigger",2),r([ps("#popover")],C.prototype,"_popover",2),r([ps("#trigger")],C.prototype,"_slottedTrigger",2),r([ps("#arrow")],C.prototype,"_arrow",2),r([A],C.prototype,"toggle",1),r([A],C.prototype,"show",1),r([A],C.prototype,"hide",1),C=r([xu("pf-popover")],C);import{LitElement as wu,html as Su}from"lit";import{customElement as Lu}from"lit/decorators/custom-element.js";import{property as uf}from"lit/decorators/property.js";import{css as yu}from"lit";var ku=yu`:host {
4555
+ `}disconnectedCallback(){super.disconnectedCallback(),C.instances.delete(this),i(this,Co)?.removeEventListener("click",this.toggle),i(this,Co)?.removeEventListener("keydown",i(this,kt))}willUpdate(o){o.has("trigger")&&s(this,ya,hs).call(this)}async toggle(){i(this,re).open?this.hide():this.show()}async show(){v(this,Ne,!1),this.requestUpdate(),this.dispatchEvent(new gs),await this.updateComplete,await i(this,re).show({offset:this.distance??25,placement:this.position,flip:!this.noFlip,fallbackPlacements:this.flipBehavior}),this._popover?.show(),this.dispatchEvent(new bs),C.instances.add(this)}async hide(){this.dispatchEvent(new fs),await i(this,re).hide(),this._popover?.close(),this.dispatchEvent(new ms),C.instances.delete(this),v(this,Ne,!0),this.requestUpdate()}};Ne=new WeakMap,Co=new WeakMap,re=new WeakMap,je=new WeakMap,Qi=new WeakSet,gf=function(){return ps||!this.trigger?null:this.getRootNode().getElementById(this.trigger)},ya=new WeakSet,hs=function(){let o=i(this,Co);v(this,Co,s(this,Qi,gf).call(this)),o!==i(this,Co)&&(o?.removeEventListener("click",this.toggle),o?.removeEventListener("keydown",i(this,kt)),i(this,Co)?.addEventListener("click",this.toggle),i(this,Co)?.addEventListener("keydown",i(this,kt)))},kt=new WeakMap,Ji=new WeakSet,bf=function(o){let e=o.composedPath();!e.includes(this)&&!e.includes(i(this,Co))&&this.hide()},C.styles=[ff],C.instances=new Set,C.alertIcons=new Map(Object.entries({default:"bell",info:"circle-info",success:"circle-check",warning:"triangle-exclamation",danger:"circle-exclamation"})),ps||document.addEventListener("click",function(o){var e;for(let a of C.instances)a.noOutsideClick||s(e=a,Ji,bf).call(e,o)}),r([to({reflect:!0})],C.prototype,"position",2),r([to({reflect:!0})],C.prototype,"heading",2),r([to({reflect:!0})],C.prototype,"body",2),r([to({reflect:!0})],C.prototype,"footer",2),r([to({reflect:!0})],C.prototype,"icon",2),r([to({reflect:!0})],C.prototype,"label",2),r([to({type:Number,reflect:!0})],C.prototype,"distance",2),r([to({attribute:"flip-behavior",converter:ul})],C.prototype,"flipBehavior",2),r([to({type:Boolean,reflect:!0,attribute:"no-flip"})],C.prototype,"noFlip",2),r([to({type:Number,reflect:!0,attribute:"heading-level"})],C.prototype,"headingLevel",2),r([to({reflect:!0,attribute:"icon-set"})],C.prototype,"iconSet",2),r([to({type:Boolean,reflect:!0,attribute:"hide-close"})],C.prototype,"hideClose",2),r([to({reflect:!0,attribute:"alert-severity"})],C.prototype,"alertSeverity",2),r([to({reflect:!0,attribute:"accessible-close-label"})],C.prototype,"accessibleCloseLabel",2),r([Rp({alias:"accessible-close-label",attribute:"close-label"})],C.prototype,"closeButtonLabel",2),r([to({reflect:!0,attribute:"alert-severity-text"})],C.prototype,"alertSeverityText",2),r([to({type:Boolean,reflect:!0,attribute:"no-outside-click"})],C.prototype,"noOutsideClick",2),r([to({reflect:!0})],C.prototype,"trigger",2),r([ds("#popover")],C.prototype,"_popover",2),r([ds("#trigger")],C.prototype,"_slottedTrigger",2),r([ds("#arrow")],C.prototype,"_arrow",2),r([A],C.prototype,"toggle",1),r([A],C.prototype,"show",1),r([A],C.prototype,"hide",1),C=r([xu("pf-popover")],C);import{LitElement as wu,html as Su}from"lit";import{customElement as Lu}from"lit/decorators/custom-element.js";import{property as uf}from"lit/decorators/property.js";import{css as yu}from"lit";var ku=yu`:host {
4556
4556
  /* NB: upstream sets these on the container, which is why we do not use fallbacks here. */
4557
4557
  --pf-c-panel--Width: auto;
4558
4558
  --pf-c-panel--MinWidth: auto;
@@ -4731,7 +4731,7 @@ hr::after {
4731
4731
  <footer>
4732
4732
  <slot name="footer" ?hidden="${!e}"></slot>
4733
4733
  </footer>
4734
- `}};ka=new WeakMap,ae.styles=[hf],r([uf({type:Boolean,reflect:!0})],ae.prototype,"scrollable",2),r([uf({reflect:!0})],ae.prototype,"variant",2),ae=r([Lu("pf-panel")],ae);vr();import{LitElement as _f,html as Tu}from"lit";import{customElement as Eu}from"lit/decorators/custom-element.js";import{property as Ji}from"lit/decorators/property.js";import{query as hs}from"lit/decorators/query.js";import{ifDefined as xf}from"lit/directives/if-defined.js";import{classMap as Ru}from"lit/directives/class-map.js";import{css as zu}from"lit";var Wu=zu`:host {
4734
+ `}};ka=new WeakMap,ae.styles=[hf],r([uf({type:Boolean,reflect:!0})],ae.prototype,"scrollable",2),r([uf({reflect:!0})],ae.prototype,"variant",2),ae=r([Lu("pf-panel")],ae);_r();import{LitElement as _f,html as Tu}from"lit";import{customElement as Eu}from"lit/decorators/custom-element.js";import{property as on}from"lit/decorators/property.js";import{query as us}from"lit/decorators/query.js";import{ifDefined as xf}from"lit/directives/if-defined.js";import{classMap as Ru}from"lit/directives/class-map.js";import{css as zu}from"lit";var Wu=zu`:host {
4735
4735
  display: block;
4736
4736
  position: relative;
4737
4737
  --_spacer-align-top: var(--pf-c-modal-box--m-align-top--spacer,
@@ -4915,7 +4915,7 @@ footer {
4915
4915
  align-items: center;
4916
4916
  gap: var(--pf-global--spacer--xl, 0.5rem);
4917
4917
  }
4918
- `,vf=Wu;var us=class extends Wo{constructor(){super("cancel")}},vs=class extends Wo{constructor(){super("close")}},_s=class extends Wo{constructor(o){super("open");this.trigger=o}},je,lo,le,wa,ie,qe,Ve,M=class extends _f{constructor(){super(...arguments);this.open=!1;this.returnValue="";n(this,je,N());n(this,lo,null);n(this,le,null);n(this,wa,[]);n(this,ie,[]);n(this,qe,!1);n(this,Ve,new T(this,null,"header","description","footer"))}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onKeydown),this.addEventListener("click",this.onClick)}render(){let o=i(this,le)||i(this,ie).length?i(this,je):void 0,e=i(this,lo)?i(this,lo).innerText:void 0,a=i(this,Ve).hasSlotted("header"),c=i(this,Ve).hasSlotted("description"),p=i(this,Ve).hasSlotted("footer");return Tu`
4918
+ `,vf=Wu;var vs=class extends Wo{constructor(){super("cancel")}},_s=class extends Wo{constructor(){super("close")}},xs=class extends Wo{constructor(o){super("open");this.trigger=o}},qe,lo,le,wa,ie,Ve,Ye,M=class extends _f{constructor(){super(...arguments);this.open=!1;this.returnValue="";n(this,qe,N());n(this,lo,null);n(this,le,null);n(this,wa,[]);n(this,ie,[]);n(this,Ve,!1);n(this,Ye,new T(this,null,"header","description","footer"))}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onKeydown),this.addEventListener("click",this.onClick)}render(){let o=i(this,le)||i(this,ie).length?i(this,qe):void 0,e=i(this,lo)?i(this,lo).innerText:void 0,a=i(this,Ye).hasSlotted("header"),c=i(this,Ye).hasSlotted("description"),p=i(this,Ye).hasSlotted("footer");return Tu`
4919
4919
  <section ?hidden=${!this.open}>
4920
4920
  <div id="overlay" part="overlay" ?hidden=${!this.open}></div>
4921
4921
  <div id="dialog"
@@ -4950,7 +4950,7 @@ footer {
4950
4950
  </div>
4951
4951
  </div>
4952
4952
  </section>
4953
- `}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.onKeydown),i(this,lo)?.removeEventListener("click",this.onTriggerClick)}async _init(){await this.updateComplete,v(this,le,this.querySelector('[slot$="header"]')),v(this,wa,[...this.querySelectorAll("*:not([slot])")]),v(this,ie,i(this,wa).filter(o=>o.tagName.slice(0,1)==="H")),i(this,lo)&&(i(this,lo).addEventListener("click",this.onTriggerClick),this.removeAttribute("hidden")),i(this,le)?i(this,le).id=i(this,je):i(this,ie).length>0&&(i(this,ie)[0].id=i(this,je))}async openChanged(o,e){o==null||e==null||o==e||(this.open?(document.body.style.overflow="hidden",await this.updateComplete,this.dialog?.focus(),this.dispatchEvent(new _s(i(this,lo)))):(document.body.style.overflow="auto",await this.updateComplete,i(this,lo)&&i(this,lo).focus(),this.dispatchEvent(i(this,qe)?new us:new vs)))}triggerChanged(){this.trigger&&(v(this,lo,this.getRootNode().getElementById(this.trigger)),i(this,lo)?.addEventListener("click",this.onTriggerClick))}onTriggerClick(o){o.preventDefault(),this.showModal()}onClick(o){let{open:e,overlay:a,dialog:c}=this;if(e){let p=o.composedPath(),{closeOnOutsideClick:f}=this.constructor;f&&p.includes(a)&&!p.includes(c)&&(o.preventDefault(),this.cancel())}}onKeydown(o){switch(o.key){case"Tab":o.target===this.closeButton&&(o.preventDefault(),this.dialog?.focus());return;case"Escape":case"Esc":o.preventDefault(),this.cancel();return;case"Enter":o.target===i(this,lo)&&(o.preventDefault(),this.showModal());return}}async cancel(){v(this,qe,!0),this.open=!1,await this.updateComplete,v(this,qe,!1)}setTrigger(o){v(this,lo,o),i(this,lo).addEventListener("click",this.onTriggerClick)}toggle(){this.open=!this.open}show(){this.open=!0}showModal(){this.show()}close(o){typeof o=="string"&&(this.returnValue=o),this.open=!1}};je=new WeakMap,lo=new WeakMap,le=new WeakMap,wa=new WeakMap,ie=new WeakMap,qe=new WeakMap,Ve=new WeakMap,M.shadowRootOptions={..._f.shadowRootOptions,delegatesFocus:!0},M.styles=[vf],M.closeOnOutsideClick=!1,r([Ji({reflect:!0})],M.prototype,"variant",2),r([Ji({reflect:!0})],M.prototype,"position",2),r([Ji({type:Boolean,reflect:!0})],M.prototype,"open",2),r([Ji()],M.prototype,"trigger",2),r([hs("#overlay")],M.prototype,"overlay",2),r([hs("#dialog")],M.prototype,"dialog",2),r([hs("#close-button")],M.prototype,"closeButton",2),r([Mp()],M.prototype,"_init",1),r([L("open")],M.prototype,"openChanged",1),r([L("trigger")],M.prototype,"triggerChanged",1),r([A],M.prototype,"onTriggerClick",1),r([A],M.prototype,"onClick",1),r([A],M.prototype,"onKeydown",1),r([A],M.prototype,"toggle",1),r([A],M.prototype,"show",1),r([A],M.prototype,"showModal",1),r([A],M.prototype,"close",1),M=r([Eu("pf-modal")],M);import{LitElement as Bf,html as Pu}from"lit";import{customElement as Iu}from"lit/decorators/custom-element.js";import{property as ne}from"lit/decorators/property.js";import{classMap as Hu}from"lit/directives/class-map.js";import{css as Mu}from"lit";var Fu=Mu`:host {
4953
+ `}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.onKeydown),i(this,lo)?.removeEventListener("click",this.onTriggerClick)}async _init(){await this.updateComplete,v(this,le,this.querySelector('[slot$="header"]')),v(this,wa,[...this.querySelectorAll("*:not([slot])")]),v(this,ie,i(this,wa).filter(o=>o.tagName.slice(0,1)==="H")),i(this,lo)&&(i(this,lo).addEventListener("click",this.onTriggerClick),this.removeAttribute("hidden")),i(this,le)?i(this,le).id=i(this,qe):i(this,ie).length>0&&(i(this,ie)[0].id=i(this,qe))}async openChanged(o,e){o==null||e==null||o==e||(this.open?(document.body.style.overflow="hidden",await this.updateComplete,this.dialog?.focus(),this.dispatchEvent(new xs(i(this,lo)))):(document.body.style.overflow="auto",await this.updateComplete,i(this,lo)&&i(this,lo).focus(),this.dispatchEvent(i(this,Ve)?new vs:new _s)))}triggerChanged(){this.trigger&&(v(this,lo,this.getRootNode().getElementById(this.trigger)),i(this,lo)?.addEventListener("click",this.onTriggerClick))}onTriggerClick(o){o.preventDefault(),this.showModal()}onClick(o){let{open:e,overlay:a,dialog:c}=this;if(e){let p=o.composedPath(),{closeOnOutsideClick:f}=this.constructor;f&&p.includes(a)&&!p.includes(c)&&(o.preventDefault(),this.cancel())}}onKeydown(o){switch(o.key){case"Tab":o.target===this.closeButton&&(o.preventDefault(),this.dialog?.focus());return;case"Escape":case"Esc":o.preventDefault(),this.cancel();return;case"Enter":o.target===i(this,lo)&&(o.preventDefault(),this.showModal());return}}async cancel(){v(this,Ve,!0),this.open=!1,await this.updateComplete,v(this,Ve,!1)}setTrigger(o){v(this,lo,o),i(this,lo).addEventListener("click",this.onTriggerClick)}toggle(){this.open=!this.open}show(){this.open=!0}showModal(){this.show()}close(o){typeof o=="string"&&(this.returnValue=o),this.open=!1}};qe=new WeakMap,lo=new WeakMap,le=new WeakMap,wa=new WeakMap,ie=new WeakMap,Ve=new WeakMap,Ye=new WeakMap,M.shadowRootOptions={..._f.shadowRootOptions,delegatesFocus:!0},M.styles=[vf],M.closeOnOutsideClick=!1,r([on({reflect:!0})],M.prototype,"variant",2),r([on({reflect:!0})],M.prototype,"position",2),r([on({type:Boolean,reflect:!0})],M.prototype,"open",2),r([on()],M.prototype,"trigger",2),r([us("#overlay")],M.prototype,"overlay",2),r([us("#dialog")],M.prototype,"dialog",2),r([us("#close-button")],M.prototype,"closeButton",2),r([Mp()],M.prototype,"_init",1),r([L("open")],M.prototype,"openChanged",1),r([L("trigger")],M.prototype,"triggerChanged",1),r([A],M.prototype,"onTriggerClick",1),r([A],M.prototype,"onClick",1),r([A],M.prototype,"onKeydown",1),r([A],M.prototype,"toggle",1),r([A],M.prototype,"show",1),r([A],M.prototype,"showModal",1),r([A],M.prototype,"close",1),M=r([Eu("pf-modal")],M);import{LitElement as Bf,html as Pu}from"lit";import{customElement as Iu}from"lit/decorators/custom-element.js";import{property as ne}from"lit/decorators/property.js";import{classMap as Hu}from"lit/directives/class-map.js";import{css as Mu}from"lit";var Fu=Mu`:host {
4954
4954
  position: relative;
4955
4955
  white-space: nowrap;
4956
4956
  border: 0;
@@ -5148,7 +5148,7 @@ svg {
5148
5148
  height: 1em;
5149
5149
  width: 1em;
5150
5150
  }
5151
- `,Cf=Fu;var xs=class extends Event{constructor(){super("close",{bubbles:!0,cancelable:!0})}},on,tn,yf,Bo=class extends Bf{constructor(){super(...arguments);n(this,tn);this.variant="filled";this.color="grey";this.compact=!1;this.truncated=!1;this.removable=!1;n(this,on,new T(this,null,"icon"))}render(){let{compact:o,truncated:e}=this,{variant:a,color:c,icon:p}=this,f=!!p||i(this,on).hasSlotted("icon");return Pu`
5151
+ `,Cf=Fu;var Cs=class extends Event{constructor(){super("close",{bubbles:!0,cancelable:!0})}},tn,en,yf,Bo=class extends Bf{constructor(){super(...arguments);n(this,en);this.variant="filled";this.color="grey";this.compact=!1;this.truncated=!1;this.removable=!1;n(this,tn,new T(this,null,"icon"))}render(){let{compact:o,truncated:e}=this,{variant:a,color:c,icon:p}=this,f=!!p||i(this,tn).hasSlotted("icon");return Pu`
5152
5152
  <span id="container"
5153
5153
  class="${Hu({hasIcon:f,compact:o,truncated:e,[a??""]:!!a,[c??""]:!!c})}">
5154
5154
  <slot name="icon" part="icon">
@@ -5159,7 +5159,7 @@ svg {
5159
5159
  <slot id="text"></slot>
5160
5160
  <span part="close-button" ?hidden=${!this.removable}>
5161
5161
  <pf-button plain
5162
- @click="${s(this,tn,yf)}"
5162
+ @click="${s(this,en,yf)}"
5163
5163
  label="${this.closeButtonLabel??"remove"}">
5164
5164
  <svg viewBox="0 0 352 512">
5165
5165
  <path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"/>
@@ -5167,7 +5167,7 @@ svg {
5167
5167
  </pf-button>
5168
5168
  </span>
5169
5169
  </span>
5170
- `}};on=new WeakMap,tn=new WeakSet,yf=function(){this.removable&&this.dispatchEvent(new xs)&&this.remove()},Bo.styles=[Cf],Bo.shadowRootOptions={...Bf.shadowRootOptions,delegatesFocus:!0},r([ne()],Bo.prototype,"variant",2),r([ne()],Bo.prototype,"color",2),r([ne()],Bo.prototype,"icon",2),r([ne({type:Boolean})],Bo.prototype,"compact",2),r([ne({type:Boolean})],Bo.prototype,"truncated",2),r([ne({type:Boolean})],Bo.prototype,"removable",2),r([ne({attribute:"close-button-label"})],Bo.prototype,"closeButtonLabel",2),Bo=r([Iu("pf-label")],Bo);import{html as ys,LitElement as qu}from"lit";import{customElement as Vu}from"lit/decorators/custom-element.js";import{property as Xe}from"lit/decorators/property.js";import{__classPrivateFieldGet as y,__classPrivateFieldSet as io}from"tslib";var no,Ra,en,ce,Sa,Ma,Ye,La,za,Wa,rn,Fa,Ta,Ea,Cs,Bs,wf,kf,an=class{get root(){return y(this,La,"f")}set root(t){io(this,La,t,"f"),y(this,ce,"f")?.disconnect(),y(this,no,"m",Ea).call(this)}get rootMargin(){return y(this,za,"f")}set rootMargin(t){io(this,za,t,"f"),y(this,ce,"f")?.disconnect(),y(this,no,"m",Ea).call(this)}get threshold(){return y(this,Wa,"f")}set threshold(t){io(this,Wa,t,"f"),y(this,ce,"f")?.disconnect(),y(this,no,"m",Ea).call(this)}constructor(t,o){no.add(this),this.host=t,Ra.set(this,void 0),en.set(this,void 0),ce.set(this,void 0),Sa.set(this,new Set),Ma.set(this,!1),Ye.set(this,!1),La.set(this,void 0),za.set(this,void 0),Wa.set(this,void 0),rn.set(this,void 0),Fa.set(this,void 0),t.addController(this),io(this,Ra,o.tagNames,"f"),io(this,La,o.root,"f"),io(this,za,o.rootMargin,"f"),io(this,en,o.activeAttribute??"active","f"),io(this,Wa,o.threshold??.85,"f"),io(this,rn,()=>o.rootNode??t.getRootNode(),"f"),io(this,Fa,o?.getHash??(e=>e.getAttribute("href")),"f")}hostConnected(){y(this,no,"m",Ea).call(this)}async setActive(t){io(this,Ma,!0,"f"),y(this,no,"m",Bs).call(this,t);let o=!1;for(let e of y(this,no,"a",Ta))y(this,no,"m",Cs).call(this,e,!o),e===t&&(o=!0);await y(this,no,"m",wf).call(this),io(this,Ma,!1,"f")}};Ra=new WeakMap,en=new WeakMap,ce=new WeakMap,Sa=new WeakMap,Ma=new WeakMap,Ye=new WeakMap,La=new WeakMap,za=new WeakMap,Wa=new WeakMap,rn=new WeakMap,Fa=new WeakMap,no=new WeakSet,Ta=function(){return Array.from(this.host.querySelectorAll(y(this,Ra,"f").join(","))).filter(y(this,Fa,"f"))},Ea=function(){let t=y(this,rn,"f").call(this);if(t instanceof Document||t instanceof ShadowRoot){let{rootMargin:o,threshold:e,root:a}=this;io(this,ce,new IntersectionObserver(c=>y(this,no,"m",kf).call(this,c),{root:a,rootMargin:o,threshold:e}),"f"),y(this,no,"a",Ta).map(c=>y(this,Fa,"f").call(this,c)).filter(c=>!!c).map(c=>t.getElementById(c.replace("#",""))).filter(c=>!!c).forEach(c=>y(this,ce,"f")?.observe(c))}},Cs=function(t,o){o?y(this,Sa,"f").add(t):y(this,Sa,"f").delete(t)},Bs=function(t){for(let o of y(this,no,"a",Ta))o.toggleAttribute(y(this,en,"f"),o===t)},wf=async function(){for(io(this,Ye,!1,"f"),setTimeout(()=>io(this,Ye,!1,"f"),3e3);!y(this,Ye,"f");)await new Promise(requestAnimationFrame)},kf=async function(t){if(!y(this,Ma,"f")){for(let{target:a,boundingClientRect:c,intersectionRect:p}of t){let f=`:is(${y(this,Ra,"f").join(",")})[href="#${a.id}"]`,b=this.host.querySelector(f);b&&y(this,no,"m",Cs).call(this,b,c.top<p.top)}let e=[...y(this,Sa,"f")].at(-1);y(this,no,"m",Bs).call(this,e??y(this,no,"a",Ta).at(0))}io(this,Ye,!0,"f")};import{html as Ou,LitElement as Lf}from"lit";import{customElement as Du}from"lit/decorators/custom-element.js";import{property as zf}from"lit/decorators/property.js";import{ifDefined as Uu}from"lit/directives/if-defined.js";import{css as $u}from"lit";var Au=$u`:host {
5170
+ `}};tn=new WeakMap,en=new WeakSet,yf=function(){this.removable&&this.dispatchEvent(new Cs)&&this.remove()},Bo.styles=[Cf],Bo.shadowRootOptions={...Bf.shadowRootOptions,delegatesFocus:!0},r([ne()],Bo.prototype,"variant",2),r([ne()],Bo.prototype,"color",2),r([ne()],Bo.prototype,"icon",2),r([ne({type:Boolean})],Bo.prototype,"compact",2),r([ne({type:Boolean})],Bo.prototype,"truncated",2),r([ne({type:Boolean})],Bo.prototype,"removable",2),r([ne({attribute:"close-button-label"})],Bo.prototype,"closeButtonLabel",2),Bo=r([Iu("pf-label")],Bo);import{html as ks,LitElement as qu}from"lit";import{customElement as Vu}from"lit/decorators/custom-element.js";import{property as Ke}from"lit/decorators/property.js";import{__classPrivateFieldGet as y,__classPrivateFieldSet as io}from"tslib";var no,Ra,rn,ce,Sa,Ma,Xe,La,za,Wa,an,Fa,Ta,Ea,Bs,ys,wf,kf,ln=class{get root(){return y(this,La,"f")}set root(t){io(this,La,t,"f"),y(this,ce,"f")?.disconnect(),y(this,no,"m",Ea).call(this)}get rootMargin(){return y(this,za,"f")}set rootMargin(t){io(this,za,t,"f"),y(this,ce,"f")?.disconnect(),y(this,no,"m",Ea).call(this)}get threshold(){return y(this,Wa,"f")}set threshold(t){io(this,Wa,t,"f"),y(this,ce,"f")?.disconnect(),y(this,no,"m",Ea).call(this)}constructor(t,o){no.add(this),this.host=t,Ra.set(this,void 0),rn.set(this,void 0),ce.set(this,void 0),Sa.set(this,new Set),Ma.set(this,!1),Xe.set(this,!1),La.set(this,void 0),za.set(this,void 0),Wa.set(this,void 0),an.set(this,void 0),Fa.set(this,void 0),t.addController(this),io(this,Ra,o.tagNames,"f"),io(this,La,o.root,"f"),io(this,za,o.rootMargin,"f"),io(this,rn,o.activeAttribute??"active","f"),io(this,Wa,o.threshold??.85,"f"),io(this,an,()=>o.rootNode??t.getRootNode(),"f"),io(this,Fa,o?.getHash??(e=>e.getAttribute("href")),"f")}hostConnected(){y(this,no,"m",Ea).call(this)}async setActive(t){io(this,Ma,!0,"f"),y(this,no,"m",ys).call(this,t);let o=!1;for(let e of y(this,no,"a",Ta))y(this,no,"m",Bs).call(this,e,!o),e===t&&(o=!0);await y(this,no,"m",wf).call(this),io(this,Ma,!1,"f")}};Ra=new WeakMap,rn=new WeakMap,ce=new WeakMap,Sa=new WeakMap,Ma=new WeakMap,Xe=new WeakMap,La=new WeakMap,za=new WeakMap,Wa=new WeakMap,an=new WeakMap,Fa=new WeakMap,no=new WeakSet,Ta=function(){return Array.from(this.host.querySelectorAll(y(this,Ra,"f").join(","))).filter(y(this,Fa,"f"))},Ea=function(){let t=y(this,an,"f").call(this);if(t instanceof Document||t instanceof ShadowRoot){let{rootMargin:o,threshold:e,root:a}=this;io(this,ce,new IntersectionObserver(c=>y(this,no,"m",kf).call(this,c),{root:a,rootMargin:o,threshold:e}),"f"),y(this,no,"a",Ta).map(c=>y(this,Fa,"f").call(this,c)).filter(c=>!!c).map(c=>t.getElementById(c.replace("#",""))).filter(c=>!!c).forEach(c=>y(this,ce,"f")?.observe(c))}},Bs=function(t,o){o?y(this,Sa,"f").add(t):y(this,Sa,"f").delete(t)},ys=function(t){for(let o of y(this,no,"a",Ta))o.toggleAttribute(y(this,rn,"f"),o===t)},wf=async function(){for(io(this,Xe,!1,"f"),setTimeout(()=>io(this,Xe,!1,"f"),3e3);!y(this,Xe,"f");)await new Promise(requestAnimationFrame)},kf=async function(t){if(!y(this,Ma,"f")){for(let{target:a,boundingClientRect:c,intersectionRect:p}of t){let f=`:is(${y(this,Ra,"f").join(",")})[href="#${a.id}"]`,b=this.host.querySelector(f);b&&y(this,no,"m",Bs).call(this,b,c.top<p.top)}let e=[...y(this,Sa,"f")].at(-1);y(this,no,"m",ys).call(this,e??y(this,no,"a",Ta).at(0))}io(this,Xe,!0,"f")};import{html as Ou,LitElement as Lf}from"lit";import{customElement as Du}from"lit/decorators/custom-element.js";import{property as zf}from"lit/decorators/property.js";import{ifDefined as Uu}from"lit/directives/if-defined.js";import{css as $u}from"lit";var Au=$u`:host {
5171
5171
  display: block;
5172
5172
  }
5173
5173
 
@@ -5236,14 +5236,14 @@ a:focus {
5236
5236
  --pf-c-jump-links__link-text--Color: var(--pf-c-jump-links__item--m-current__link-text--Color,
5237
5237
  pfvar(--pf-global--Color--100, #151515));
5238
5238
  }
5239
- `,Sf=Au;var ln,nn,Wf,cn,Tf,Io=class extends Lf{constructor(){super(...arguments);n(this,nn);n(this,cn);this.active=!1;n(this,ln,m.of(this,{role:"listitem"}))}render(){return Ou`
5239
+ `,Sf=Au;var nn,cn,Wf,sn,Tf,Io=class extends Lf{constructor(){super(...arguments);n(this,cn);n(this,sn);this.active=!1;n(this,nn,m.of(this,{role:"listitem"}))}render(){return Ou`
5240
5240
  <a href="${Uu(this.href)}"
5241
- @focus="${s(this,cn,Tf)}"
5242
- @click="${s(this,nn,Wf)}">
5241
+ @focus="${s(this,sn,Tf)}"
5242
+ @click="${s(this,cn,Wf)}">
5243
5243
  <slot></slot>
5244
5244
  </a>
5245
5245
  <slot name="subsection"></slot>
5246
- `}activeChanged(){i(this,ln).ariaCurrent=this.active?"location":null}};ln=new WeakMap,nn=new WeakSet,Wf=function(){this.dispatchEvent(new Event("select",{bubbles:!0}))},cn=new WeakSet,Tf=function(){this.dispatchEvent(new Event("focus",{bubbles:!0}))},Io.styles=[Sf],Io.shadowRootOptions={...Lf.shadowRootOptions,delegatesFocus:!0},r([zf({type:Boolean,reflect:!0})],Io.prototype,"active",2),r([zf({reflect:!0})],Io.prototype,"href",2),r([L("active")],Io.prototype,"activeChanged",1),Io=r([Du("pf-jump-links-item")],Io);ko();import{css as Nu}from"lit";var ju=Nu`[hidden] {
5246
+ `}activeChanged(){i(this,nn).ariaCurrent=this.active?"location":null}};nn=new WeakMap,cn=new WeakSet,Wf=function(){this.dispatchEvent(new Event("select",{bubbles:!0}))},sn=new WeakSet,Tf=function(){this.dispatchEvent(new Event("focus",{bubbles:!0}))},Io.styles=[Sf],Io.shadowRootOptions={...Lf.shadowRootOptions,delegatesFocus:!0},r([zf({type:Boolean,reflect:!0})],Io.prototype,"active",2),r([zf({reflect:!0})],Io.prototype,"href",2),r([L("active")],Io.prototype,"activeChanged",1),Io=r([Du("pf-jump-links-item")],Io);ko();import{css as Nu}from"lit";var ju=Nu`[hidden] {
5247
5247
  display: none !important;
5248
5248
  }
5249
5249
 
@@ -5371,9 +5371,9 @@ summary span {
5371
5371
  var(--pf-global--Color--100, #151515));
5372
5372
  --pf-c-jump-links__toggle-icon--Rotate: 90deg;
5373
5373
  }
5374
- `,Ef=ju;var Pa,Ia,ks,Ke,Ha,sn,Rf,pn,Mf,$a,ws,dn,Ff,Ho=class extends qu{constructor(){super(...arguments);n(this,Ia);n(this,sn);n(this,pn);n(this,$a);n(this,dn);this.expandable=!1;this.expanded=!1;this.vertical=!1;this.centered=!1;this.offset=0;n(this,Pa,this.querySelectorAll?.(":is(pf-jump-links-item, pf-jump-links-list)"));n(this,Ke,co.of(this,{getItems:()=>i(this,Ia,ks)}));n(this,Ha,new an(this,{rootMargin:`${this.offset}px 0px 0px 0px`,tagNames:["pf-jump-links-item"]}))}async getUpdateComplete(){let o=await super.getUpdateComplete(),e=await Promise.all(Array.from(i(this,Pa),a=>a.updateComplete));return o&&e.every(a=>!!a)}connectedCallback(){super.connectedCallback(),this.addEventListener("slotchange",s(this,sn,Rf)),this.addEventListener("select",s(this,pn,Mf))}firstUpdated(){let o=this.querySelector?.("pf-jump-links-item[active]");o&&s(this,$a,ws).call(this,o)}updated(o){o.has("offset")&&(i(this,Ha).rootMargin=`${this.offset??0}px 0px 0px 0px`)}render(){return ys`
5375
- <nav id="container">${this.expandable?ys`
5376
- <details ?open="${this.expanded}" @toggle="${s(this,dn,Ff)}">
5374
+ `,Ef=ju;var Pa,Ia,ws,Ge,Ha,pn,Rf,dn,Mf,$a,Ss,fn,Ff,Ho=class extends qu{constructor(){super(...arguments);n(this,Ia);n(this,pn);n(this,dn);n(this,$a);n(this,fn);this.expandable=!1;this.expanded=!1;this.vertical=!1;this.centered=!1;this.offset=0;n(this,Pa,this.querySelectorAll?.(":is(pf-jump-links-item, pf-jump-links-list)"));n(this,Ge,co.of(this,{getItems:()=>i(this,Ia,ws)}));n(this,Ha,new ln(this,{rootMargin:`${this.offset}px 0px 0px 0px`,tagNames:["pf-jump-links-item"]}))}async getUpdateComplete(){let o=await super.getUpdateComplete(),e=await Promise.all(Array.from(i(this,Pa),a=>a.updateComplete));return o&&e.every(a=>!!a)}connectedCallback(){super.connectedCallback(),this.addEventListener("slotchange",s(this,pn,Rf)),this.addEventListener("select",s(this,dn,Mf))}firstUpdated(){let o=this.querySelector?.("pf-jump-links-item[active]");o&&s(this,$a,Ss).call(this,o)}updated(o){o.has("offset")&&(i(this,Ha).rootMargin=`${this.offset??0}px 0px 0px 0px`)}render(){return ks`
5375
+ <nav id="container">${this.expandable?ks`
5376
+ <details ?open="${this.expanded}" @toggle="${s(this,fn,Ff)}">
5377
5377
  <summary>
5378
5378
  <pf-icon icon="chevron-right"></pf-icon>
5379
5379
  <span id="label">${this.label}</span>
@@ -5381,13 +5381,13 @@ summary span {
5381
5381
  <div role="listbox" aria-labelledby="label">
5382
5382
  <slot></slot>
5383
5383
  </div>
5384
- </details>`:ys`
5384
+ </details>`:ks`
5385
5385
  <span id="label">${this.label}</span>
5386
5386
  <div role="listbox" aria-labelledby="label">
5387
5387
  <slot></slot>
5388
5388
  </div>`}
5389
5389
  </nav>
5390
- `}};Pa=new WeakMap,Ia=new WeakSet,ks=function(){return Array.from(i(this,Pa)??[]).flatMap(o=>[...o.shadowRoot?.querySelectorAll?.("a")??[],...o.querySelectorAll?.("a")??[]])},Ke=new WeakMap,Ha=new WeakMap,sn=new WeakSet,Rf=function(){i(this,Ke).items=i(this,Ia,ks)},pn=new WeakSet,Mf=function(o){o.target instanceof Io&&s(this,$a,ws).call(this,o.target)},$a=new WeakSet,ws=function(o){let e=o.shadowRoot?.querySelector?.("a")??null;e&&(i(this,Ke).atFocusedItemIndex=i(this,Ke).items.indexOf(e),i(this,Ha).setActive(o))},dn=new WeakSet,Ff=function(o){o.target instanceof HTMLDetailsElement&&(this.expanded=o.target.open),this.dispatchEvent(new Event("toggle"))},Ho.styles=[Ef],r([Xe({reflect:!0,type:Boolean})],Ho.prototype,"expandable",2),r([Xe({reflect:!0,type:Boolean})],Ho.prototype,"expanded",2),r([Xe({reflect:!0,type:Boolean})],Ho.prototype,"vertical",2),r([Xe({reflect:!0,type:Boolean})],Ho.prototype,"centered",2),r([Xe({type:Number})],Ho.prototype,"offset",2),r([Xe()],Ho.prototype,"label",2),Ho=r([Vu("pf-jump-links")],Ho);import{html as Ku,LitElement as Gu}from"lit";import{customElement as Zu}from"lit/decorators/custom-element.js";import{css as Yu}from"lit";var Xu=Yu`:host {
5390
+ `}};Pa=new WeakMap,Ia=new WeakSet,ws=function(){return Array.from(i(this,Pa)??[]).flatMap(o=>[...o.shadowRoot?.querySelectorAll?.("a")??[],...o.querySelectorAll?.("a")??[]])},Ge=new WeakMap,Ha=new WeakMap,pn=new WeakSet,Rf=function(){i(this,Ge).items=i(this,Ia,ws)},dn=new WeakSet,Mf=function(o){o.target instanceof Io&&s(this,$a,Ss).call(this,o.target)},$a=new WeakSet,Ss=function(o){let e=o.shadowRoot?.querySelector?.("a")??null;e&&(i(this,Ge).atFocusedItemIndex=i(this,Ge).items.indexOf(e),i(this,Ha).setActive(o))},fn=new WeakSet,Ff=function(o){o.target instanceof HTMLDetailsElement&&(this.expanded=o.target.open),this.dispatchEvent(new Event("toggle"))},Ho.styles=[Ef],r([Ke({reflect:!0,type:Boolean})],Ho.prototype,"expandable",2),r([Ke({reflect:!0,type:Boolean})],Ho.prototype,"expanded",2),r([Ke({reflect:!0,type:Boolean})],Ho.prototype,"vertical",2),r([Ke({reflect:!0,type:Boolean})],Ho.prototype,"centered",2),r([Ke({type:Number})],Ho.prototype,"offset",2),r([Ke()],Ho.prototype,"label",2),Ho=r([Vu("pf-jump-links")],Ho);import{html as Ku,LitElement as Gu}from"lit";import{customElement as Zu}from"lit/decorators/custom-element.js";import{css as Yu}from"lit";var Xu=Yu`:host {
5391
5391
  display: block;
5392
5392
  }
5393
5393
 
@@ -5402,7 +5402,7 @@ summary span {
5402
5402
  --pf-c-jump-links__link--PaddingLeft: var(--pf-c-jump-links__list__list__link--PaddingLeft,
5403
5403
  var(--pf-global--spacer--lg, 1.5rem));
5404
5404
  }
5405
- `,Pf=Xu;var Aa=class extends Gu{render(){return Ku`<div id="container" role="listbox"><slot></slot></div>`}};Aa.styles=[Pf],Aa=r([Zu("pf-jump-links-list")],Aa);ko();import{LitElement as Vf,html as uv}from"lit";import{styleMap as vv}from"lit/directives/style-map.js";import{classMap as _v}from"lit/directives/class-map.js";import{customElement as xv}from"lit/decorators/custom-element.js";import{property as Yf}from"lit/decorators/property.js";import{queryAssignedElements as Xf}from"lit/decorators/query-assigned-elements.js";ur();mo();var Ge=Nl(Symbol("pf-dropdown-menu-context"));import{LitElement as Hf,html as Ss}from"lit";import{customElement as ov}from"lit/decorators/custom-element.js";import{property as Ze}from"lit/decorators/property.js";import{classMap as tv}from"lit/directives/class-map.js";import{query as ev}from"lit/decorators/query.js";import{css as Qu}from"lit";var Ju=Qu`:host {
5405
+ `,Pf=Xu;var Aa=class extends Gu{render(){return Ku`<div id="container" role="listbox"><slot></slot></div>`}};Aa.styles=[Pf],Aa=r([Zu("pf-jump-links-list")],Aa);ko();import{LitElement as Vf,html as uv}from"lit";import{styleMap as vv}from"lit/directives/style-map.js";import{classMap as _v}from"lit/directives/class-map.js";import{customElement as xv}from"lit/decorators/custom-element.js";import{property as Yf}from"lit/decorators/property.js";import{queryAssignedElements as Xf}from"lit/decorators/query-assigned-elements.js";vr();mo();var Ze=Nl(Symbol("pf-dropdown-menu-context"));import{LitElement as Hf,html as Ls}from"lit";import{customElement as ov}from"lit/decorators/custom-element.js";import{property as Qe}from"lit/decorators/property.js";import{classMap as tv}from"lit/directives/class-map.js";import{query as ev}from"lit/decorators/query.js";import{css as Qu}from"lit";var Ju=Qu`:host {
5406
5406
  display: block;
5407
5407
  width: 100%;
5408
5408
  text-align: left;
@@ -5546,19 +5546,19 @@ slot:not([name]){
5546
5546
  slot[name="icon"]::slotted(*) {
5547
5547
  margin-inline-end: 0.5em;
5548
5548
  }
5549
- `,If=Ju;var Oa=class extends Event{constructor(){super("change",{bubbles:!0,cancelable:!0})}},j=class extends Hf{constructor(){super(...arguments);this.active=!1;this.disabled=!1}updated(o){o.has("href")&&this.dispatchEvent(new Oa)}render(){let{disabled:o}=this.ctx??{disabled:!1},e=!!this.disabled||!!this.ctx?.disabled;return Ss`
5550
- <div id="menuitem" role="none" class="${tv({disabled:o})}">${this.href?Ss`
5549
+ `,If=Ju;var Oa=class extends Event{constructor(){super("change",{bubbles:!0,cancelable:!0})}},j=class extends Hf{constructor(){super(...arguments);this.active=!1;this.disabled=!1}updated(o){o.has("href")&&this.dispatchEvent(new Oa)}render(){let{disabled:o}=this.ctx??{disabled:!1},e=!!this.disabled||!!this.ctx?.disabled;return Ls`
5550
+ <div id="menuitem" role="none" class="${tv({disabled:o})}">${this.href?Ls`
5551
5551
  <a id="item" role="menuitem" href="${this.href}" aria-disabled="${e}">
5552
5552
  <slot name="icon"></slot>
5553
5553
  <slot></slot>
5554
5554
  </a>
5555
- `:Ss`
5555
+ `:Ls`
5556
5556
  <div id="item" role="menuitem" aria-disabled="${e}">
5557
5557
  <slot name="icon"></slot>
5558
5558
  <slot></slot>
5559
5559
  </div>`}
5560
5560
  <slot id="description" name="description">${this.description??""}</slot>
5561
- </div>`}};j.styles=[If],j.shadowRootOptions={...Hf.shadowRootOptions,delegatesFocus:!0},r([Ze({reflect:!0})],j.prototype,"value",2),r([Ze({attribute:"href"})],j.prototype,"href",2),r([Ze({type:Boolean,reflect:!0})],j.prototype,"active",2),r([Ze({type:Boolean,reflect:!0})],j.prototype,"disabled",2),r([Ze()],j.prototype,"description",2),r([pt({context:Ge,subscribe:!0}),Ze({attribute:!1})],j.prototype,"ctx",2),r([ev("#item")],j.prototype,"menuItem",2),j=r([ov("pf-dropdown-item")],j);import{LitElement as Df,html as pv}from"lit";import{customElement as dv}from"lit/decorators/custom-element.js";import{state as fv}from"lit/decorators/state.js";import{LitElement as Af,html as lv}from"lit";import{customElement as iv}from"lit/decorators/custom-element.js";import{property as nv}from"lit/decorators/property.js";import{css as rv}from"lit";var av=rv`:host {
5561
+ </div>`}};j.styles=[If],j.shadowRootOptions={...Hf.shadowRootOptions,delegatesFocus:!0},r([Qe({reflect:!0})],j.prototype,"value",2),r([Qe({attribute:"href"})],j.prototype,"href",2),r([Qe({type:Boolean,reflect:!0})],j.prototype,"active",2),r([Qe({type:Boolean,reflect:!0})],j.prototype,"disabled",2),r([Qe()],j.prototype,"description",2),r([pt({context:Ze,subscribe:!0}),Qe({attribute:!1})],j.prototype,"ctx",2),r([ev("#item")],j.prototype,"menuItem",2),j=r([ov("pf-dropdown-item")],j);import{LitElement as Df,html as pv}from"lit";import{customElement as dv}from"lit/decorators/custom-element.js";import{state as fv}from"lit/decorators/state.js";import{LitElement as Af,html as lv}from"lit";import{customElement as iv}from"lit/decorators/custom-element.js";import{property as nv}from"lit/decorators/property.js";import{css as rv}from"lit";var av=rv`:host {
5562
5562
  display: block;
5563
5563
  }
5564
5564
 
@@ -5636,11 +5636,11 @@ p {
5636
5636
  pointer-events: none;
5637
5637
  }
5638
5638
 
5639
- `,Of=sv;import{classMap as mv}from"lit/directives/class-map.js";function gv(l){return!!l.composedPath().find(o=>o instanceof j)?.disabled}var fn,Da,Ls,$o,mn,Uf,Ua,zs,gn,Nf,bn,jf,Na,Ws,ja,Ts,Ao=class extends Df{constructor(){super(...arguments);n(this,Da);n(this,mn);n(this,Ua);n(this,gn);n(this,bn);n(this,Na);n(this,ja);n(this,fn,m.of(this,{role:"menu"}));n(this,$o,co.of(this,{getItems:()=>i(this,Da,Ls)}))}get activeItem(){return i(this,$o).items.at(i(this,$o).atFocusedItemIndex)??i(this,$o).atFocusableItems.at(0)??null}get activeIndex(){return i(this,$o).atFocusedItemIndex}get items(){return s(this,ja,Ts).call(this,this.shadowRoot?.querySelector("slot"))}connectedCallback(){super.connectedCallback(),this.addEventListener("focusin",s(this,gn,Nf)),this.addEventListener("click",s(this,bn,jf))}willUpdate(){i(this,fn).ariaDisabled=String(!!this.ctx?.disabled)}render(){let{disabled:o=!1}=this.ctx??{};return pv`
5639
+ `,Of=sv;import{classMap as mv}from"lit/directives/class-map.js";function gv(l){return!!l.composedPath().find(o=>o instanceof j)?.disabled}var mn,Da,zs,$o,gn,Uf,Ua,Ws,bn,Nf,hn,jf,Na,Ts,ja,Es,Ao=class extends Df{constructor(){super(...arguments);n(this,Da);n(this,gn);n(this,Ua);n(this,bn);n(this,hn);n(this,Na);n(this,ja);n(this,mn,m.of(this,{role:"menu"}));n(this,$o,co.of(this,{getItems:()=>i(this,Da,zs)}))}get activeItem(){return i(this,$o).items.at(i(this,$o).atFocusedItemIndex)??i(this,$o).atFocusableItems.at(0)??null}get activeIndex(){return i(this,$o).atFocusedItemIndex}get items(){return s(this,ja,Es).call(this,this.shadowRoot?.querySelector("slot"))}connectedCallback(){super.connectedCallback(),this.addEventListener("focusin",s(this,bn,Nf)),this.addEventListener("click",s(this,hn,jf))}willUpdate(){i(this,mn).ariaDisabled=String(!!this.ctx?.disabled)}render(){let{disabled:o=!1}=this.ctx??{};return pv`
5640
5640
  <slot class="${mv({disabled:o})}"
5641
- @slotchange="${s(this,Ua,zs)}"
5642
- @change="${s(this,mn,Uf)}"></slot>
5643
- `}};fn=new WeakMap,Da=new WeakSet,Ls=function(){return this.items.map(o=>o.menuItem)},$o=new WeakMap,mn=new WeakSet,Uf=function(o){o instanceof Oa&&s(this,Ua,zs).call(this)},Ua=new WeakSet,zs=function(){i(this,$o).items=i(this,Da,Ls)},gn=new WeakSet,Nf=function(o){this.ctx?.disabled?(o.preventDefault(),o.stopPropagation()):o.target instanceof j&&s(this,Na,Ws).call(this,o.target.menuItem)},bn=new WeakSet,jf=function(o){this.ctx?.disabled||gv(o)?(o.preventDefault(),o.stopPropagation()):o.target instanceof j&&s(this,Na,Ws).call(this,o.target.menuItem)},Na=new WeakSet,Ws=function(o){let e=i(this,$o).items.indexOf(o);e!==i(this,$o).atFocusedItemIndex&&(i(this,$o).atFocusedItemIndex=e)},ja=new WeakSet,Ts=function(o){return o?.assignedElements().flatMap(e=>e instanceof HTMLSlotElement?s(this,ja,Ts).call(this,e):e instanceof j?[e]:e instanceof wt?Array.from(e.querySelectorAll("pf-dropdown-item")):[])??[]},Ao.styles=[Of],Ao.shadowRootOptions={...Df.shadowRootOptions,delegatesFocus:!0},r([pt({context:Ge,subscribe:!0}),fv()],Ao.prototype,"ctx",2),Ao=r([dv("pf-dropdown-menu")],Ao);import{css as bv}from"lit";var hv=bv`:host {
5641
+ @slotchange="${s(this,Ua,Ws)}"
5642
+ @change="${s(this,gn,Uf)}"></slot>
5643
+ `}};mn=new WeakMap,Da=new WeakSet,zs=function(){return this.items.map(o=>o.menuItem)},$o=new WeakMap,gn=new WeakSet,Uf=function(o){o instanceof Oa&&s(this,Ua,Ws).call(this)},Ua=new WeakSet,Ws=function(){i(this,$o).items=i(this,Da,zs)},bn=new WeakSet,Nf=function(o){this.ctx?.disabled?(o.preventDefault(),o.stopPropagation()):o.target instanceof j&&s(this,Na,Ts).call(this,o.target.menuItem)},hn=new WeakSet,jf=function(o){this.ctx?.disabled||gv(o)?(o.preventDefault(),o.stopPropagation()):o.target instanceof j&&s(this,Na,Ts).call(this,o.target.menuItem)},Na=new WeakSet,Ts=function(o){let e=i(this,$o).items.indexOf(o);e!==i(this,$o).atFocusedItemIndex&&(i(this,$o).atFocusedItemIndex=e)},ja=new WeakSet,Es=function(o){return o?.assignedElements().flatMap(e=>e instanceof HTMLSlotElement?s(this,ja,Es).call(this,e):e instanceof j?[e]:e instanceof wt?Array.from(e.querySelectorAll("pf-dropdown-item")):[])??[]},Ao.styles=[Of],Ao.shadowRootOptions={...Df.shadowRootOptions,delegatesFocus:!0},r([pt({context:Ze,subscribe:!0}),fv()],Ao.prototype,"ctx",2),Ao=r([dv("pf-dropdown-menu")],Ao);import{css as bv}from"lit";var hv=bv`:host {
5644
5644
  display: inline-block;
5645
5645
  position: relative;
5646
5646
  --pf-c-dropdown__toggle--PaddingTop: var(--pf-global--spacer--form-element, 0.375rem);
@@ -5975,12 +5975,12 @@ pf-button#default-toggle,
5975
5975
  --_button-icon-padding-inline-end: var(-pf-c-dropdown__toggle--PaddingRight,
5976
5976
  var(--pf-global--spacer--sm, 0.5rem));
5977
5977
  }
5978
- `,qf=hv;var Es=class extends Event{constructor(o,e){super("select",{bubbles:!0,cancelable:!0});this.originalEvent=o;this.value=e}},Qe,Je,qa,Rs,Va,Ms,hn,Kf,un,Gf,Ya,Fs,vn,Zf,_n,Qf,xn,Jf,Oo=class extends Vf{constructor(){super(...arguments);n(this,qa);n(this,Va);n(this,hn);n(this,un);n(this,Ya);n(this,vn);n(this,_n);n(this,xn);this.disabled=!1;this.expanded=!1;this.ctx={disabled:!1};n(this,Qe,new k(this));n(this,Je,new Yo(this,{content:()=>this._menuElements?.at(0)}))}async getUpdateComplete(){return(await Promise.all([super.getUpdateComplete(),this._menuElements?.map(e=>e.updateComplete)])).every(e=>!!e)}willUpdate(o){if(o.has("disabled")){let{disabled:e}=this;this.ctx={disabled:e}}}render(){let{expanded:o}=this,{anchor:e,alignment:a,styles:c={}}=i(this,Je),{disabled:p}=this;return uv`
5978
+ `,qf=hv;var Rs=class extends Event{constructor(o,e){super("select",{bubbles:!0,cancelable:!0});this.originalEvent=o;this.value=e}},Je,or,qa,Ms,Va,Fs,un,Kf,vn,Gf,Ya,Ps,_n,Zf,xn,Qf,Cn,Jf,Oo=class extends Vf{constructor(){super(...arguments);n(this,qa);n(this,Va);n(this,un);n(this,vn);n(this,Ya);n(this,_n);n(this,xn);n(this,Cn);this.disabled=!1;this.expanded=!1;this.ctx={disabled:!1};n(this,Je,new k(this));n(this,or,new Yo(this,{content:()=>this._menuElements?.at(0)}))}async getUpdateComplete(){return(await Promise.all([super.getUpdateComplete(),this._menuElements?.map(e=>e.updateComplete)])).every(e=>!!e)}willUpdate(o){if(o.has("disabled")){let{disabled:e}=this;this.ctx={disabled:e}}}render(){let{expanded:o}=this,{anchor:e,alignment:a,styles:c={}}=i(this,or),{disabled:p}=this;return uv`
5979
5979
  <div class="${_v({disabled:p,expanded:o,[e??""]:!!e,[a??""]:!!a})}"
5980
5980
  style="${vv(c)}"
5981
- @slotchange="${s(this,Va,Ms)}">
5981
+ @slotchange="${s(this,Va,Fs)}">
5982
5982
  <slot name="toggle"
5983
- @keydown="${s(this,vn,Zf)}"
5983
+ @keydown="${s(this,_n,Zf)}"
5984
5984
  @click="${()=>this.toggle()}">
5985
5985
  <pf-button id="default-toggle" variant="control">
5986
5986
  Dropdown
@@ -5989,14 +5989,14 @@ pf-button#default-toggle,
5989
5989
  </slot>
5990
5990
  <slot name="menu"
5991
5991
  ?hidden="${!this.expanded}"
5992
- @focusout="${s(this,_n,Qf)}"
5993
- @keydown="${s(this,xn,Jf)}"
5994
- @click="${s(this,Ya,Fs)}">
5992
+ @focusout="${s(this,xn,Qf)}"
5993
+ @keydown="${s(this,Cn,Jf)}"
5994
+ @click="${s(this,Ya,Ps)}">
5995
5995
  <pf-dropdown-menu id="menu" part="menu" ?disabled="${p}">
5996
5996
  <slot></slot>
5997
5997
  </pf-dropdown-menu>
5998
5998
  </slot>
5999
- </div>`}firstUpdated(){s(this,Va,Ms).call(this)}updated(o){o.has("expanded")&&s(this,hn,Kf).call(this),o.has("disabled")&&s(this,un,Gf).call(this)}async show(){this.expanded=!0,await this.updateComplete}async hide(){this.expanded=!1,await this.updateComplete}async toggle(){this.expanded=!this.expanded,await this.updateComplete}};Qe=new WeakMap,Je=new WeakMap,qa=new WeakSet,Rs=function(){let[o]=this._toggleElements,[e]=this._menuElements;return o?e?[o,e].map(a=>this.shadowRoot?.contains(a)).every((a,c,p)=>a===p[0])?!0:(i(this,Qe).warn("toggle and menu must be located in the same root"),!1):(i(this,Qe).warn("no menu found"),!1):(i(this,Qe).warn("no toggle found"),!1)},Va=new WeakSet,Ms=function(){if(s(this,qa,Rs).call(this)){let[o]=this._menuElements,[e]=this._toggleElements;o.id||=N("menu"),e.setAttribute("aria-controls",o.id),e.setAttribute("aria-haspopup",o.id),e.setAttribute("aria-expanded",String(this.expanded))}},hn=new WeakSet,Kf=async function(){let o=this.expanded?"close":"open",[e]=this._menuElements,[a]=this._toggleElements;a.setAttribute("aria-expanded",`${String(this.expanded)}`),this.dispatchEvent(new Event(o)),this.expanded?(await i(this,Je).show(),e instanceof Ao&&e.activeItem?.focus()):await i(this,Je).hide()},un=new WeakSet,Gf=function(){if(s(this,qa,Rs).call(this)){let[o]=this._toggleElements;o.setAttribute("aria-disabled",String(!!this.disabled))}},Ya=new WeakSet,Fs=function(o){let[e]=this._menuElements;if(e instanceof Ao){let a=o.target||e.activeItem;this.dispatchEvent(new Es(o,`${a?.value}`)),this.hide()}},vn=new WeakSet,Zf=function(o){switch(o.key){case"ArrowDown":this.show()}},_n=new WeakSet,Qf=function(o){if(this.expanded){let e=this.getRootNode(),[a]=this._menuElements;(e instanceof ShadowRoot||e instanceof Document&&o.relatedTarget instanceof j&&a instanceof Ao&&!a.items.includes(o.relatedTarget))&&this.hide()}},xn=new WeakSet,Jf=function(o){switch(o.key){case"Enter":case" ":o.preventDefault(),s(this,Ya,Fs).call(this,o);break;case"Escape":this.hide(),this._toggleElements?.at(0)?.focus()}},Oo.styles=[qf],Oo.shadowRootOptions={...Vf.shadowRootOptions,delegatesFocus:!0},r([Yf({type:Boolean,reflect:!0})],Oo.prototype,"disabled",2),r([Yf({type:Boolean,reflect:!0})],Oo.prototype,"expanded",2),r([Xf({slot:"toggle",flatten:!0})],Oo.prototype,"_toggleElements",2),r([Xf({slot:"menu",flatten:!0})],Oo.prototype,"_menuElements",2),r([Rr({context:Ge})],Oo.prototype,"ctx",2),Oo=r([xv("pf-dropdown")],Oo);import{LitElement as yv,html as kv}from"lit";import{customElement as wv}from"lit/decorators/custom-element.js";import{property as Sv}from"lit/decorators/property.js";import{classMap as Lv}from"lit/directives/class-map.js";import{css as Cv}from"lit";var Bv=Cv`:host {
5999
+ </div>`}firstUpdated(){s(this,Va,Fs).call(this)}updated(o){o.has("expanded")&&s(this,un,Kf).call(this),o.has("disabled")&&s(this,vn,Gf).call(this)}async show(){this.expanded=!0,await this.updateComplete}async hide(){this.expanded=!1,await this.updateComplete}async toggle(){this.expanded=!this.expanded,await this.updateComplete}};Je=new WeakMap,or=new WeakMap,qa=new WeakSet,Ms=function(){let[o]=this._toggleElements,[e]=this._menuElements;return o?e?[o,e].map(a=>this.shadowRoot?.contains(a)).every((a,c,p)=>a===p[0])?!0:(i(this,Je).warn("toggle and menu must be located in the same root"),!1):(i(this,Je).warn("no menu found"),!1):(i(this,Je).warn("no toggle found"),!1)},Va=new WeakSet,Fs=function(){if(s(this,qa,Ms).call(this)){let[o]=this._menuElements,[e]=this._toggleElements;o.id||=N("menu"),e.setAttribute("aria-controls",o.id),e.setAttribute("aria-haspopup",o.id),e.setAttribute("aria-expanded",String(this.expanded))}},un=new WeakSet,Kf=async function(){let o=this.expanded?"close":"open",[e]=this._menuElements,[a]=this._toggleElements;a.setAttribute("aria-expanded",`${String(this.expanded)}`),this.dispatchEvent(new Event(o)),this.expanded?(await i(this,or).show(),e instanceof Ao&&e.activeItem?.focus()):await i(this,or).hide()},vn=new WeakSet,Gf=function(){if(s(this,qa,Ms).call(this)){let[o]=this._toggleElements;o.setAttribute("aria-disabled",String(!!this.disabled))}},Ya=new WeakSet,Ps=function(o){let[e]=this._menuElements;if(e instanceof Ao){let a=o.target||e.activeItem;this.dispatchEvent(new Rs(o,`${a?.value}`)),this.hide()}},_n=new WeakSet,Zf=function(o){switch(o.key){case"ArrowDown":this.show()}},xn=new WeakSet,Qf=function(o){if(this.expanded){let e=this.getRootNode(),[a]=this._menuElements;(e instanceof ShadowRoot||e instanceof Document&&o.relatedTarget instanceof j&&a instanceof Ao&&!a.items.includes(o.relatedTarget))&&this.hide()}},Cn=new WeakSet,Jf=function(o){switch(o.key){case"Enter":case" ":o.preventDefault(),s(this,Ya,Ps).call(this,o);break;case"Escape":this.hide(),this._toggleElements?.at(0)?.focus()}},Oo.styles=[qf],Oo.shadowRootOptions={...Vf.shadowRootOptions,delegatesFocus:!0},r([Yf({type:Boolean,reflect:!0})],Oo.prototype,"disabled",2),r([Yf({type:Boolean,reflect:!0})],Oo.prototype,"expanded",2),r([Xf({slot:"toggle",flatten:!0})],Oo.prototype,"_toggleElements",2),r([Xf({slot:"menu",flatten:!0})],Oo.prototype,"_menuElements",2),r([Mr({context:Ze})],Oo.prototype,"ctx",2),Oo=r([xv("pf-dropdown")],Oo);import{LitElement as yv,html as kv}from"lit";import{customElement as wv}from"lit/decorators/custom-element.js";import{property as Sv}from"lit/decorators/property.js";import{classMap as Lv}from"lit/directives/class-map.js";import{css as Cv}from"lit";var Bv=Cv`:host {
6000
6000
  display: block;
6001
6001
  background-color: var(--pf-c-code-block--BackgroundColor, #f0f0f0);
6002
6002
  font-size: var(--pf-c-code-block__pre--FontSize, 0.875rem);
@@ -6052,17 +6052,17 @@ button svg {
6052
6052
  .expanded button svg {
6053
6053
  transform: rotate(-90deg);
6054
6054
  }
6055
- `,om=Bv;function zv(l){let t=l.replace(/^\n/,""),o=t.match(/^\s+/);return o?t.replace(new RegExp(`^${o[0]}`,"gm"),""):l}var Xa,Ps,Cn,tm,Bn,em,or=class extends yv{constructor(){super(...arguments);n(this,Xa);n(this,Cn);n(this,Bn);this.expanded=!1}render(){let{expanded:o}=this;return kv`
6055
+ `,om=Bv;function zv(l){let t=l.replace(/^\n/,""),o=t.match(/^\s+/);return o?t.replace(new RegExp(`^${o[0]}`,"gm"),""):l}var Xa,Is,Bn,tm,yn,em,tr=class extends yv{constructor(){super(...arguments);n(this,Xa);n(this,Bn);n(this,yn);this.expanded=!1}render(){let{expanded:o}=this;return kv`
6056
6056
  <div id="header">
6057
6057
  <div id="actions">
6058
6058
  <slot name="actions"></slot>
6059
6059
  </div>
6060
6060
  </div>
6061
6061
  <div id="container" class="${Lv({expanded:o})}">
6062
- <pre><code id="content">${i(this,Cn,tm)}</code><code id="code-block-expand"
6063
- ?hidden="${!o}">${i(this,Xa,Ps)}</code></pre>
6064
- <button ?hidden="${!i(this,Xa,Ps)}"
6065
- @click=${s(this,Bn,em)}
6062
+ <pre><code id="content">${i(this,Bn,tm)}</code><code id="code-block-expand"
6063
+ ?hidden="${!o}">${i(this,Xa,Is)}</code></pre>
6064
+ <button ?hidden="${!i(this,Xa,Is)}"
6065
+ @click=${s(this,yn,em)}
6066
6066
  aria-expanded=${this.expanded}
6067
6067
  aria-controls="code-block-expand">
6068
6068
  <svg fill="currentColor"
@@ -6075,7 +6075,7 @@ button svg {
6075
6075
  ${this.expanded?"Show less":"Show more"}
6076
6076
  </button>
6077
6077
  </div>
6078
- `}};Xa=new WeakSet,Ps=function(){return this.querySelector?.("script[data-expand]")?.textContent??""},Cn=new WeakSet,tm=function(){let o=this.querySelector?.("script[type]");return o?.type!=="text/javascript-sample"&&o?.type.match(/(j(ava)?|ecma|live)script/)?"":zv(o?.textContent??"")},Bn=new WeakSet,em=function(){this.expanded=!this.expanded},or.styles=[om],r([Sv({type:Boolean,reflect:!0})],or.prototype,"expanded",2),or=r([wv("pf-code-block")],or);import{LitElement as lm,html as Mv}from"lit";import{customElement as Fv}from"lit/decorators/custom-element.js";import{property as go}from"lit/decorators/property.js";import{classMap as Pv}from"lit/directives/class-map.js";import{ifDefined as Iv}from"lit/directives/if-defined.js";import{css as Wv}from"lit";var Tv=Wv`:host {
6078
+ `}};Xa=new WeakSet,Is=function(){return this.querySelector?.("script[data-expand]")?.textContent??""},Bn=new WeakSet,tm=function(){let o=this.querySelector?.("script[type]");return o?.type!=="text/javascript-sample"&&o?.type.match(/(j(ava)?|ecma|live)script/)?"":zv(o?.textContent??"")},yn=new WeakSet,em=function(){this.expanded=!this.expanded},tr.styles=[om],r([Sv({type:Boolean,reflect:!0})],tr.prototype,"expanded",2),tr=r([wv("pf-code-block")],tr);import{LitElement as lm,html as Mv}from"lit";import{customElement as Fv}from"lit/decorators/custom-element.js";import{property as go}from"lit/decorators/property.js";import{classMap as Pv}from"lit/directives/class-map.js";import{ifDefined as Iv}from"lit/directives/if-defined.js";import{css as Wv}from"lit";var Tv=Wv`:host {
6079
6079
  --pf-c-clipboard-copy__toggle-icon--Transition: .2s ease-in 0s;
6080
6080
  --pf-c-clipboard-copy--m-expanded__toggle-icon--Rotate: 90deg;
6081
6081
  --pf-c-clipboard-copy__expandable-content--PaddingTop: var(--pf-global--spacer--md, 1rem);
@@ -6364,7 +6364,7 @@ textarea {
6364
6364
  --pf-c-form-control--m-icon-sprite__select--m-warning--BackgroundPosition: calc(100% - var(--pf-global--spacer--md, 1rem) - var(--pf-global--spacer--lg) + 0.0625rem);
6365
6365
  --pf-c-form-control--m-icon-sprite__select--invalid--BackgroundPosition: calc(100% - var(--pf-global--spacer--md, 1rem) - var(--pf-global--spacer--lg));
6366
6366
  }
6367
- `,am=Rv;ko();xl();var im=l=>new Promise(t=>setTimeout(t,l)),Is=class extends Event{constructor(o){super("copy",{bubbles:!0});this.text=o}},tr,yn,kn,nm,Ka,Hs,Ga,$s,wn,cm,q=class extends lm{constructor(){super(...arguments);n(this,kn);n(this,Ka);n(this,Ga);n(this,wn);this.clickTip="Successfully copied to clipboard!";this.hoverTip="Copy to clipboard";this.accessibleTextLabel="Copyable input";this.accessibleToggleLabel="Show content";this.entryDelay=300;this.exitDelay=1500;this.block=!1;this.code=!1;this.expanded=!1;this.expandable=!1;this.readonly=!1;this.inline=!1;this.compact=!1;this.value="";n(this,tr,!1);n(this,yn,new MutationObserver(()=>s(this,Ga,$s).call(this)))}connectedCallback(){super.connectedCallback(),i(this,yn).observe(this,{characterData:!0}),s(this,Ga,$s).call(this)}render(){let{expanded:o,expandable:e,inline:a,compact:c,code:p,block:f,readonly:b}=this;return Mv`
6367
+ `,am=Rv;ko();xl();var im=l=>new Promise(t=>setTimeout(t,l)),Hs=class extends Event{constructor(o){super("copy",{bubbles:!0});this.text=o}},er,kn,wn,nm,Ka,$s,Ga,As,Sn,cm,q=class extends lm{constructor(){super(...arguments);n(this,wn);n(this,Ka);n(this,Ga);n(this,Sn);this.clickTip="Successfully copied to clipboard!";this.hoverTip="Copy to clipboard";this.accessibleTextLabel="Copyable input";this.accessibleToggleLabel="Show content";this.entryDelay=300;this.exitDelay=1500;this.block=!1;this.code=!1;this.expanded=!1;this.expandable=!1;this.readonly=!1;this.inline=!1;this.compact=!1;this.value="";n(this,er,!1);n(this,kn,new MutationObserver(()=>s(this,Ga,As).call(this)))}connectedCallback(){super.connectedCallback(),i(this,kn).observe(this,{characterData:!0}),s(this,Ga,As).call(this)}render(){let{expanded:o,expandable:e,inline:a,compact:c,code:p,block:f,readonly:b}=this;return Mv`
6368
6368
  <div id="container" class="${Pv({code:p,expanded:o,inline:a,compact:c,block:f})}">
6369
6369
  <div id="input-group">
6370
6370
  <div id="wrapper">
@@ -6372,7 +6372,7 @@ textarea {
6372
6372
  variant="control"
6373
6373
  label="EXPAND"
6374
6374
  ?inert="${!e}"
6375
- @click="${s(this,kn,nm)}">
6375
+ @click="${s(this,wn,nm)}">
6376
6376
  <pf-icon icon="chevron-right"></pf-icon>
6377
6377
  </pf-button>
6378
6378
  </div>
@@ -6381,7 +6381,7 @@ textarea {
6381
6381
  ?hidden="${a||c}"
6382
6382
  ?disabled="${o||b}"
6383
6383
  .value="${this.value}"
6384
- @input="${s(this,Ka,Hs)}">
6384
+ @input="${s(this,Ka,$s)}">
6385
6385
  <pf-tooltip>
6386
6386
  <pf-button id="copy-button"
6387
6387
  icon="copy"
@@ -6390,17 +6390,17 @@ textarea {
6390
6390
  label="${this.hoverTip}"
6391
6391
  @click="${this.copy}">
6392
6392
  </pf-button>
6393
- <span slot="content">${i(this,tr)?this.clickTip:this.hoverTip}</span>
6393
+ <span slot="content">${i(this,er)?this.clickTip:this.hoverTip}</span>
6394
6394
  </pf-tooltip>
6395
6395
  <slot name="actions"></slot>
6396
6396
  </div>
6397
6397
  <textarea .value="${this.value}"
6398
6398
  .disabled="${this.readonly}"
6399
6399
  ?hidden="${!(e&&o)}"
6400
- @input="${s(this,Ka,Hs)}">
6400
+ @input="${s(this,Ka,$s)}">
6401
6401
  </textarea>
6402
6402
  </div>
6403
- `}async copy(){await navigator.clipboard.writeText(this.value),this.dispatchEvent(new Is(this.value)),await im(this.entryDelay),v(this,tr,!0),this.requestUpdate(),await im(this.exitDelay),v(this,tr,!1),this.requestUpdate()}};tr=new WeakMap,yn=new WeakMap,kn=new WeakSet,nm=function(){this.expanded=!this.expanded},Ka=new WeakSet,Hs=function(o){let{value:e}=o.target||HTMLTextAreaElement;this.value=e},Ga=new WeakSet,$s=function(){this.childNodes.length>0&&(this.value=this.getAttribute("value")??s(this,wn,cm).call(this,Array.from(this.childNodes,o=>o instanceof Element||o instanceof Text?o.textContent??"":"").join("")))},wn=new WeakSet,cm=function(o){let e=o.replace(/^\n/,""),a=e.match(/^\s+/);return a?e.replace(new RegExp(`^${a[0]}`,"gm"),""):o},q.styles=[am,rm],q.shadowRootOptions={...lm.shadowRootOptions,delegatesFocus:!0},r([go({attribute:"click-tip"})],q.prototype,"clickTip",2),r([go({attribute:"hover-tip"})],q.prototype,"hoverTip",2),r([go({attribute:"accessible-text-label"})],q.prototype,"accessibleTextLabel",2),r([go({attribute:"accessible-toggle-label"})],q.prototype,"accessibleToggleLabel",2),r([go({type:Number,attribute:"entry-delay"})],q.prototype,"entryDelay",2),r([go({type:Number,attribute:"exit-delay"})],q.prototype,"exitDelay",2),r([go({type:Boolean,reflect:!0})],q.prototype,"block",2),r([go({type:Boolean,reflect:!0})],q.prototype,"code",2),r([go({type:Boolean,reflect:!0})],q.prototype,"expanded",2),r([go({type:Boolean,reflect:!0})],q.prototype,"expandable",2),r([go({type:Boolean,reflect:!0})],q.prototype,"readonly",2),r([go({type:Boolean,reflect:!0})],q.prototype,"inline",2),r([go({type:Boolean,reflect:!0})],q.prototype,"compact",2),r([go()],q.prototype,"value",2),q=r([Fv("pf-clipboard-copy")],q);import{LitElement as pm,html as Av}from"lit";import{customElement as Ov}from"lit/decorators/custom-element.js";import{property as se}from"lit/decorators/property.js";import{query as dm}from"lit/decorators/query.js";import{queryAssignedNodes as Dv}from"lit/decorators/query-assigned-nodes.js";import{classMap as Uv}from"lit/directives/class-map.js";import{css as Hv}from"lit";var $v=Hv`:host {
6403
+ `}async copy(){await navigator.clipboard.writeText(this.value),this.dispatchEvent(new Hs(this.value)),await im(this.entryDelay),v(this,er,!0),this.requestUpdate(),await im(this.exitDelay),v(this,er,!1),this.requestUpdate()}};er=new WeakMap,kn=new WeakMap,wn=new WeakSet,nm=function(){this.expanded=!this.expanded},Ka=new WeakSet,$s=function(o){let{value:e}=o.target||HTMLTextAreaElement;this.value=e},Ga=new WeakSet,As=function(){this.childNodes.length>0&&(this.value=this.getAttribute("value")??s(this,Sn,cm).call(this,Array.from(this.childNodes,o=>o instanceof Element||o instanceof Text?o.textContent??"":"").join("")))},Sn=new WeakSet,cm=function(o){let e=o.replace(/^\n/,""),a=e.match(/^\s+/);return a?e.replace(new RegExp(`^${a[0]}`,"gm"),""):o},q.styles=[am,rm],q.shadowRootOptions={...lm.shadowRootOptions,delegatesFocus:!0},r([go({attribute:"click-tip"})],q.prototype,"clickTip",2),r([go({attribute:"hover-tip"})],q.prototype,"hoverTip",2),r([go({attribute:"accessible-text-label"})],q.prototype,"accessibleTextLabel",2),r([go({attribute:"accessible-toggle-label"})],q.prototype,"accessibleToggleLabel",2),r([go({type:Number,attribute:"entry-delay"})],q.prototype,"entryDelay",2),r([go({type:Number,attribute:"exit-delay"})],q.prototype,"exitDelay",2),r([go({type:Boolean,reflect:!0})],q.prototype,"block",2),r([go({type:Boolean,reflect:!0})],q.prototype,"code",2),r([go({type:Boolean,reflect:!0})],q.prototype,"expanded",2),r([go({type:Boolean,reflect:!0})],q.prototype,"expandable",2),r([go({type:Boolean,reflect:!0})],q.prototype,"readonly",2),r([go({type:Boolean,reflect:!0})],q.prototype,"inline",2),r([go({type:Boolean,reflect:!0})],q.prototype,"compact",2),r([go()],q.prototype,"value",2),q=r([Fv("pf-clipboard-copy")],q);import{LitElement as pm,html as Av}from"lit";import{customElement as Ov}from"lit/decorators/custom-element.js";import{property as se}from"lit/decorators/property.js";import{query as dm}from"lit/decorators/query.js";import{queryAssignedNodes as Dv}from"lit/decorators/query-assigned-nodes.js";import{classMap as Uv}from"lit/directives/class-map.js";import{css as Hv}from"lit";var $v=Hv`:host {
6404
6404
  --pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs, 0.25rem) * -1);
6405
6405
  --pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs, 0.25rem) * -1);
6406
6406
  --pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs, 0.25rem);
@@ -6494,22 +6494,22 @@ svg {
6494
6494
  inline-size: 1px;
6495
6495
  }
6496
6496
 
6497
- `,sm=$v;var As=class extends Event{constructor(){super("expand",{bubbles:!0,cancelable:!0})}},Sn=class extends Event{constructor(){super("remove",{bubbles:!0,cancelable:!0})}},Nv=/\$\{\s*remaining\s*\}/g,St,pe,Do,Ln,fm,zn,mm,Za,Os,Wn,gm,Tn,bm,eo=class extends pm{constructor(){super();n(this,St);n(this,Ln);n(this,zn);n(this,Za);n(this,Wn);n(this,Tn);this.accessibleLabel="";this.accessibleCloseLabel="Close";this.collapsedText="${remaining} more";this.expandedText="show less";this.numChips=3;this.open=!1;this.closeable=!1;n(this,Do,co.of(this,{getItems:()=>[...Array.prototype.slice.call(i(this,St,pe),0,this.open?i(this,St,pe).length:Math.min(i(this,St,pe).length,this.numChips)),this._overflowChip,this._button].filter(o=>!!o)}));this.addEventListener("remove",s(this,Wn,gm))}get activeChip(){return i(this,Do).items.at(i(this,Do).atFocusedItemIndex)?.getRootNode()?.host}set activeChip(o){let e=o.shadowRoot?.querySelector("button");e&&(i(this,Do).atFocusedItemIndex=i(this,Do).items.indexOf(e))}get hasCategory(){return(this._categorySlotted||[]).length>0}get remaining(){return i(this,St,pe).length-this.numChips}render(){let o=i(this,St,pe).length<=0;return Av`
6497
+ `,sm=$v;var Os=class extends Event{constructor(){super("expand",{bubbles:!0,cancelable:!0})}},Ln=class extends Event{constructor(){super("remove",{bubbles:!0,cancelable:!0})}},Nv=/\$\{\s*remaining\s*\}/g,St,pe,Do,zn,fm,Wn,mm,Za,Ds,Tn,gm,En,bm,eo=class extends pm{constructor(){super();n(this,St);n(this,zn);n(this,Wn);n(this,Za);n(this,Tn);n(this,En);this.accessibleLabel="";this.accessibleCloseLabel="Close";this.collapsedText="${remaining} more";this.expandedText="show less";this.numChips=3;this.open=!1;this.closeable=!1;n(this,Do,co.of(this,{getItems:()=>[...Array.prototype.slice.call(i(this,St,pe),0,this.open?i(this,St,pe).length:Math.min(i(this,St,pe).length,this.numChips)),this._overflowChip,this._button].filter(o=>!!o)}));this.addEventListener("remove",s(this,Tn,gm))}get activeChip(){return i(this,Do).items.at(i(this,Do).atFocusedItemIndex)?.getRootNode()?.host}set activeChip(o){let e=o.shadowRoot?.querySelector("button");e&&(i(this,Do).atFocusedItemIndex=i(this,Do).items.indexOf(e))}get hasCategory(){return(this._categorySlotted||[]).length>0}get remaining(){return i(this,St,pe).length-this.numChips}render(){let o=i(this,St,pe).length<=0;return Av`
6498
6498
  <div id="outer"
6499
6499
  class="${Uv({"has-category":this.hasCategory,empty:o})}"
6500
6500
  role="toolbar">
6501
6501
  <slot id="category"
6502
6502
  name="category-name"
6503
- @slotchange="${s(this,Za,Os)}">
6503
+ @slotchange="${s(this,Za,Ds)}">
6504
6504
  <span class="visually-hidden"
6505
6505
  ?hidden="${!this.accessibleLabel}">${this.accessibleLabel??""}</span>
6506
6506
  </slot>
6507
- <slot id="chips" @slotchange="${s(this,Za,Os)}"></slot>
6507
+ <slot id="chips" @slotchange="${s(this,Za,Ds)}"></slot>
6508
6508
  <pf-chip id="overflow"
6509
6509
  aria-controls="chips"
6510
6510
  overflow-chip
6511
6511
  ?hidden="${this.remaining<1}"
6512
- @click="${s(this,zn,mm)}"
6512
+ @click="${s(this,Wn,mm)}"
6513
6513
  >${this.remaining<1?"":this.open?this.expandedText:this.collapsedText.replace(Nv,this.remaining.toString())}</pf-chip>
6514
6514
  <pf-button id="close-button"
6515
6515
  plain
@@ -6518,9 +6518,9 @@ svg {
6518
6518
  label="${this.accessibleCloseLabel}"
6519
6519
  aria-describedby="category"
6520
6520
  ?hidden="${!this.closeable}"
6521
- @click="${s(this,Ln,fm)}"></pf-button>
6521
+ @click="${s(this,zn,fm)}"></pf-button>
6522
6522
  </div>
6523
- `}chipsChanged(){s(this,Tn,bm).call(this)}focusOnChip(o){i(this,Do).atFocusedItemIndex=i(this,Do).items.indexOf(o)}};St=new WeakSet,pe=function(){return this.querySelectorAll("pf-chip:not([slot]):not([overflow-chip])")},Do=new WeakMap,Ln=new WeakSet,fm=function(){this.dispatchEvent(new Sn)},zn=new WeakSet,mm=async function(o){o.stopPropagation(),this.open=!this.open,await this.updateComplete,this.chipsChanged(),this._overflowChip&&this.focusOnChip(this._overflowChip),this.dispatchEvent(new As)},Za=new WeakSet,Os=function(){this.requestUpdate()},Wn=new WeakSet,gm=function(o){if(o instanceof te){let e=i(this,Do).atFocusedItemIndex;o.chip&&(i(this,Do).atFocusedItemIndex=e+1)}else o instanceof Sn&&this.remove()},Tn=new WeakSet,bm=function(){i(this,St,pe).forEach((o,e)=>{o.accessibleCloseLabel=this.accessibleCloseLabel;let a=e>=this.numChips&&!this.open;o.hidden=a})},eo.styles=[Hi,sm],eo.shadowRootOptions={...pm.shadowRootOptions,delegatesFocus:!0},r([se({attribute:"accessible-label",type:String})],eo.prototype,"accessibleLabel",2),r([se({attribute:"accessible-close-label",type:String})],eo.prototype,"accessibleCloseLabel",2),r([se({attribute:"collapsed-text",type:String})],eo.prototype,"collapsedText",2),r([se({attribute:"expanded-text",type:String})],eo.prototype,"expandedText",2),r([se({attribute:"num-chips",type:Number})],eo.prototype,"numChips",2),r([se({reflect:!0,type:Boolean})],eo.prototype,"open",2),r([se({reflect:!0,type:Boolean})],eo.prototype,"closeable",2),r([dm("#overflow")],eo.prototype,"_overflowChip",2),r([dm("#close-button")],eo.prototype,"_button",2),r([Dv({slot:"category-name",flatten:!0})],eo.prototype,"_categorySlotted",2),r([L("accessibleCloseLabel"),L("numChips"),L("closeable"),L("open")],eo.prototype,"chipsChanged",1),eo=r([Ov("pf-chip-group")],eo);import{LitElement as Vv,html as Yv}from"lit";import{customElement as Xv}from"lit/decorators/custom-element.js";import{property as En}from"lit/decorators/property.js";import{classMap as Ds}from"lit/directives/class-map.js";import{css as jv}from"lit";var qv=jv`:host {
6523
+ `}chipsChanged(){s(this,En,bm).call(this)}focusOnChip(o){i(this,Do).atFocusedItemIndex=i(this,Do).items.indexOf(o)}};St=new WeakSet,pe=function(){return this.querySelectorAll("pf-chip:not([slot]):not([overflow-chip])")},Do=new WeakMap,zn=new WeakSet,fm=function(){this.dispatchEvent(new Ln)},Wn=new WeakSet,mm=async function(o){o.stopPropagation(),this.open=!this.open,await this.updateComplete,this.chipsChanged(),this._overflowChip&&this.focusOnChip(this._overflowChip),this.dispatchEvent(new Os)},Za=new WeakSet,Ds=function(){this.requestUpdate()},Tn=new WeakSet,gm=function(o){if(o instanceof te){let e=i(this,Do).atFocusedItemIndex;o.chip&&(i(this,Do).atFocusedItemIndex=e+1)}else o instanceof Ln&&this.remove()},En=new WeakSet,bm=function(){i(this,St,pe).forEach((o,e)=>{o.accessibleCloseLabel=this.accessibleCloseLabel;let a=e>=this.numChips&&!this.open;o.hidden=a})},eo.styles=[$i,sm],eo.shadowRootOptions={...pm.shadowRootOptions,delegatesFocus:!0},r([se({attribute:"accessible-label",type:String})],eo.prototype,"accessibleLabel",2),r([se({attribute:"accessible-close-label",type:String})],eo.prototype,"accessibleCloseLabel",2),r([se({attribute:"collapsed-text",type:String})],eo.prototype,"collapsedText",2),r([se({attribute:"expanded-text",type:String})],eo.prototype,"expandedText",2),r([se({attribute:"num-chips",type:Number})],eo.prototype,"numChips",2),r([se({reflect:!0,type:Boolean})],eo.prototype,"open",2),r([se({reflect:!0,type:Boolean})],eo.prototype,"closeable",2),r([dm("#overflow")],eo.prototype,"_overflowChip",2),r([dm("#close-button")],eo.prototype,"_button",2),r([Dv({slot:"category-name",flatten:!0})],eo.prototype,"_categorySlotted",2),r([L("accessibleCloseLabel"),L("numChips"),L("closeable"),L("open")],eo.prototype,"chipsChanged",1),eo=r([Ov("pf-chip-group")],eo);import{LitElement as Vv,html as Yv}from"lit";import{customElement as Xv}from"lit/decorators/custom-element.js";import{property as Rn}from"lit/decorators/property.js";import{classMap as Us}from"lit/directives/class-map.js";import{css as jv}from"lit";var qv=jv`:host {
6524
6524
  --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100, #fff);
6525
6525
  --pf-c-card--BoxShadow: var(--pf-global--BoxShadow--sm, 0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06));
6526
6526
  --pf-c-card--first-child--PaddingTop: var(--pf-global--spacer--lg, 1.5rem);
@@ -6726,22 +6726,22 @@ article {
6726
6726
  <article>
6727
6727
  <header id="header"
6728
6728
  part="header"
6729
- class="${Ds({empty:i(this,de).isEmpty("header")})}">
6729
+ class="${Us({empty:i(this,de).isEmpty("header")})}">
6730
6730
  <slot name="header"></slot>
6731
6731
  <slot id="title" name="title" ?hidden="${i(this,de).isEmpty("title")}"></slot>
6732
6732
  </header>
6733
6733
  <div id="body"
6734
6734
  part="body"
6735
- class="${Ds({empty:i(this,de).isEmpty(null)})}">
6735
+ class="${Us({empty:i(this,de).isEmpty(null)})}">
6736
6736
  <slot></slot>
6737
6737
  </div>
6738
6738
  <footer id="footer"
6739
6739
  part="footer"
6740
- class="${Ds({empty:i(this,de).isEmpty("footer")})}">
6740
+ class="${Us({empty:i(this,de).isEmpty("footer")})}">
6741
6741
  <slot name="footer"></slot>
6742
6742
  </footer>
6743
6743
  </article>
6744
- `}};de=new WeakMap,Lt.styles=[hm],r([En({reflect:!0})],Lt.prototype,"size",2),r([En({type:Boolean,reflect:!0})],Lt.prototype,"rounded",2),r([En({type:Boolean,reflect:!0,attribute:"full-height"})],Lt.prototype,"fullHeight",2),r([En({type:Boolean,reflect:!0})],Lt.prototype,"plain",2),Lt=r([Xv("pf-card")],Lt);import{LitElement as Zv,html as vm}from"lit";import{customElement as Qv}from"lit/decorators/custom-element.js";import{property as Us}from"lit/decorators/property.js";import{classMap as Jv}from"lit/directives/class-map.js";import{css as Kv}from"lit";var Gv=Kv`:host {
6744
+ `}};de=new WeakMap,Lt.styles=[hm],r([Rn({reflect:!0})],Lt.prototype,"size",2),r([Rn({type:Boolean,reflect:!0})],Lt.prototype,"rounded",2),r([Rn({type:Boolean,reflect:!0,attribute:"full-height"})],Lt.prototype,"fullHeight",2),r([Rn({type:Boolean,reflect:!0})],Lt.prototype,"plain",2),Lt=r([Xv("pf-card")],Lt);import{LitElement as Zv,html as vm}from"lit";import{customElement as Qv}from"lit/decorators/custom-element.js";import{property as Ns}from"lit/decorators/property.js";import{classMap as Jv}from"lit/directives/class-map.js";import{css as Kv}from"lit";var Gv=Kv`:host {
6745
6745
  display: block;
6746
6746
  --pf-c-banner--PaddingTop: var(--pf-global--spacer--xs, 0.25rem);
6747
6747
  --pf-c-banner--PaddingRight: var(--pf-global--spacer--md, 1rem);
@@ -6837,7 +6837,7 @@ pf-icon,
6837
6837
  --pf-c-banner--PaddingLeft: var(--pf-c-banner--md--PaddingLeft, var(--pf-global--spacer--lg, 1.5rem));
6838
6838
  }
6839
6839
  }
6840
- `,um=Gv;var Rn,Ot=class extends Zv{constructor(){super(...arguments);this.sticky=!1;n(this,Rn,new T(this,null,"icon"))}willUpdate(o){o.has("icon")&&this.icon&&Promise.resolve().then(()=>(ko(),zc))}render(){let{variant:o,icon:e}=this,a=!!e||i(this,Rn).hasSlotted("icon");return vm`
6840
+ `,um=Gv;var Mn,Ot=class extends Zv{constructor(){super(...arguments);this.sticky=!1;n(this,Mn,new T(this,null,"icon"))}willUpdate(o){o.has("icon")&&this.icon&&Promise.resolve().then(()=>(ko(),Wc))}render(){let{variant:o,icon:e}=this,a=!!e||i(this,Mn).hasSlotted("icon");return vm`
6841
6841
  <div id="container" part="container"
6842
6842
  class=${Jv({hasIcon:a,[o??""]:!!o})}>
6843
6843
  <slot name="icon" part="icon">${this.icon?vm`
@@ -6845,7 +6845,7 @@ pf-icon,
6845
6845
  </slot>
6846
6846
  <slot id="text"></slot>
6847
6847
  </div>
6848
- `}};Rn=new WeakMap,Ot.styles=[um],r([Us({reflect:!0})],Ot.prototype,"variant",2),r([Us()],Ot.prototype,"icon",2),r([Us({type:Boolean})],Ot.prototype,"sticky",2),Ot=r([Qv("pf-banner")],Ot);os();import{LitElement as e0,html as Mn}from"lit";import{customElement as r0}from"lit/decorators/custom-element.js";import{queryAssignedElements as a0}from"lit/decorators/query-assigned-elements.js";import{property as er}from"lit/decorators/property.js";import{styleMap as l0}from"lit/directives/style-map.js";import{css as o0}from"lit";var t0=o0`:host {
6848
+ `}};Mn=new WeakMap,Ot.styles=[um],r([Ns({reflect:!0})],Ot.prototype,"variant",2),r([Ns()],Ot.prototype,"icon",2),r([Ns({type:Boolean})],Ot.prototype,"sticky",2),Ot=r([Qv("pf-banner")],Ot);ts();import{LitElement as e0,html as Fn}from"lit";import{customElement as r0}from"lit/decorators/custom-element.js";import{queryAssignedElements as a0}from"lit/decorators/query-assigned-elements.js";import{property as rr}from"lit/decorators/property.js";import{styleMap as l0}from"lit/directives/style-map.js";import{css as o0}from"lit";var t0=o0`:host {
6849
6849
  display: flex;
6850
6850
 
6851
6851
  --_background-image: var(--pf-c-background-image--BackgroundImage);
@@ -6911,11 +6911,11 @@ slot[part="content"] {
6911
6911
  background-image: var(--pf-c-background-image--BackgroundImage--lg, var(--_background-image-lg, var(--_background-image)));
6912
6912
  }
6913
6913
  }
6914
- `,_m=t0;var rr,ar,Fn,xm,Lo=class extends e0{constructor(){super(...arguments);n(this,Fn);this.filter=!1;n(this,rr,void 0);n(this,ar,!1)}render(){let o={"--_background-image":this.src,"--_background-image-2x":this.src2x,"--_background-image-sm":this.srcSm,"--_background-image-sm-2x":this.srcSm2x,"--_background-image-lg":this.srcLg};return Object.entries(o).forEach(([e,a])=>{a?o[e]=`url(${a})`:delete o[e]}),Mn`
6914
+ `,_m=t0;var ar,lr,Pn,xm,Lo=class extends e0{constructor(){super(...arguments);n(this,Pn);this.filter=!1;n(this,ar,void 0);n(this,lr,!1)}render(){let o={"--_background-image":this.src,"--_background-image-2x":this.src2x,"--_background-image-sm":this.srcSm,"--_background-image-sm-2x":this.srcSm2x,"--_background-image-lg":this.srcLg};return Object.entries(o).forEach(([e,a])=>{a?o[e]=`url(${a})`:delete o[e]}),Fn`
6915
6915
  <div id="container" part="container" style="${l0(o)}">
6916
- ${this.filter?Mn`
6917
- <slot name="filter" @slotchange=${s(this,Fn,xm)}>
6918
- ${i(this,rr)&&i(this,ar)?i(this,rr):Mn`
6916
+ ${this.filter?Fn`
6917
+ <slot name="filter" @slotchange=${s(this,Pn,xm)}>
6918
+ ${i(this,ar)&&i(this,lr)?i(this,ar):Fn`
6919
6919
  <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0">
6920
6920
  <filter id="image_overlay">
6921
6921
  <feColorMatrix type="matrix" values="1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0"></feColorMatrix>
@@ -6929,9 +6929,9 @@ slot[part="content"] {
6929
6929
  </svg>
6930
6930
  `}
6931
6931
  </slot>
6932
- `:Mn``}
6932
+ `:Fn``}
6933
6933
  </div>
6934
- `}};rr=new WeakMap,ar=new WeakMap,Fn=new WeakSet,xm=function(){let[o]=this._svg;o?(v(this,rr,o),v(this,ar,!0),this.requestUpdate()):v(this,ar,!1)},Lo.styles=[_m],r([er({reflect:!0})],Lo.prototype,"src",2),r([er({reflect:!0,attribute:"src-2x"})],Lo.prototype,"src2x",2),r([er({reflect:!0,attribute:"src-sm"})],Lo.prototype,"srcSm",2),r([er({reflect:!0,attribute:"src-sm-2x"})],Lo.prototype,"srcSm2x",2),r([er({reflect:!0,attribute:"src-lg"})],Lo.prototype,"srcLg",2),r([er({type:Boolean,reflect:!0})],Lo.prototype,"filter",2),r([a0({slot:"filter",selector:"svg"})],Lo.prototype,"_svg",2),Lo=r([r0("pf-background-image")],Lo);mo();import{LitElement as c0,html as Bm,isServer as s0}from"lit";import{customElement as p0}from"lit/decorators/custom-element.js";import{property as fe}from"lit/decorators/property.js";import{ifDefined as Pn}from"lit/directives/if-defined.js";ko();import{css as i0}from"lit";var n0=i0`:host {
6934
+ `}};ar=new WeakMap,lr=new WeakMap,Pn=new WeakSet,xm=function(){let[o]=this._svg;o?(v(this,ar,o),v(this,lr,!0),this.requestUpdate()):v(this,lr,!1)},Lo.styles=[_m],r([rr({reflect:!0})],Lo.prototype,"src",2),r([rr({reflect:!0,attribute:"src-2x"})],Lo.prototype,"src2x",2),r([rr({reflect:!0,attribute:"src-sm"})],Lo.prototype,"srcSm",2),r([rr({reflect:!0,attribute:"src-sm-2x"})],Lo.prototype,"srcSm2x",2),r([rr({reflect:!0,attribute:"src-lg"})],Lo.prototype,"srcLg",2),r([rr({type:Boolean,reflect:!0})],Lo.prototype,"filter",2),r([a0({slot:"filter",selector:"svg"})],Lo.prototype,"_svg",2),Lo=r([r0("pf-background-image")],Lo);mo();import{LitElement as c0,html as Bm,isServer as s0}from"lit";import{customElement as p0}from"lit/decorators/custom-element.js";import{property as fe}from"lit/decorators/property.js";import{ifDefined as In}from"lit/directives/if-defined.js";ko();import{css as i0}from"lit";var n0=i0`:host {
6935
6935
  display: inline-block;
6936
6936
  position: absolute;
6937
6937
  right: var(--pf-c-back-to-top--Right, var(--pf-global--spacer--2xl, 3rem));
@@ -6994,20 +6994,20 @@ span {
6994
6994
  --pf-c-back-to-top--Bottom: var(--pf-c-back-to-top--md--Bottom, var(--pf-global--spacer--2xl, 3rem));
6995
6995
  }
6996
6996
  }
6997
- `,Cm=n0;var Qa,ot,Uo,Ja,lr,In,ym,ol,Ns,Hn,km,tl,js,el,qs,me,zo=class extends c0{constructor(){super(...arguments);n(this,In);n(this,ol);n(this,Hn);n(this,tl);n(this,el);this.alwaysVisible=!1;this.scrollDistance=400;n(this,Qa,!1);n(this,ot,!1);n(this,Uo,void 0);n(this,Ja,!1);n(this,lr,new k(this));n(this,me,()=>{if(this.alwaysVisible){v(this,ot,!0),this.requestUpdate();return}let o=i(this,ot);if(i(this,Uo)){let e=i(this,Uo)instanceof Window?i(this,Uo).scrollY:i(this,Uo).scrollTop;v(this,ot,e>this.scrollDistance),o!==i(this,ot)&&this.requestUpdate()}})}connectedCallback(){super.connectedCallback(),s(this,el,qs).call(this)}disconnectedCallback(){super.disconnectedCallback(),s(this,tl,js).call(this)}willUpdate(o){o.has("scrollableSelector")&&s(this,el,qs).call(this),o.has("alwaysVisible")&&i(this,me).call(this)}render(){return this.href&&this.href.charAt(0)!=="#"&&(this.href=`#${this.href}`,i(this,lr).warn("missing hash in href fragment link")),this.href?Bm`
6998
- <a href="${this.href}" ?hidden="${!i(this,ot)}" part="trigger" aria-label="${Pn(i(this,ol,Ns))}">
6997
+ `,Cm=n0;var Qa,ot,Uo,Ja,ir,Hn,ym,ol,js,$n,km,tl,qs,el,Vs,me,zo=class extends c0{constructor(){super(...arguments);n(this,Hn);n(this,ol);n(this,$n);n(this,tl);n(this,el);this.alwaysVisible=!1;this.scrollDistance=400;n(this,Qa,!1);n(this,ot,!1);n(this,Uo,void 0);n(this,Ja,!1);n(this,ir,new k(this));n(this,me,()=>{if(this.alwaysVisible){v(this,ot,!0),this.requestUpdate();return}let o=i(this,ot);if(i(this,Uo)){let e=i(this,Uo)instanceof Window?i(this,Uo).scrollY:i(this,Uo).scrollTop;v(this,ot,e>this.scrollDistance),o!==i(this,ot)&&this.requestUpdate()}})}connectedCallback(){super.connectedCallback(),s(this,el,Vs).call(this)}disconnectedCallback(){super.disconnectedCallback(),s(this,tl,qs).call(this)}willUpdate(o){o.has("scrollableSelector")&&s(this,el,Vs).call(this),o.has("alwaysVisible")&&i(this,me).call(this)}render(){return this.href&&this.href.charAt(0)!=="#"&&(this.href=`#${this.href}`,i(this,ir).warn("missing hash in href fragment link")),this.href?Bm`
6998
+ <a href="${this.href}" ?hidden="${!i(this,ot)}" part="trigger" aria-label="${In(i(this,ol,js))}">
6999
6999
  <slot name="icon"></slot>
7000
- <slot @slotchange="${s(this,Hn,km)}"></slot>
7000
+ <slot @slotchange="${s(this,$n,km)}"></slot>
7001
7001
  <pf-icon icon="angle-up" set="fas"></pf-icon>
7002
7002
  </a>
7003
7003
  `:Bm`
7004
7004
  <pf-button
7005
- icon="${Pn(this.icon)}"
7006
- icon-set="${Pn(this.iconSet)}"
7005
+ icon="${In(this.icon)}"
7006
+ icon-set="${In(this.iconSet)}"
7007
7007
  ?hidden="${!i(this,ot)}"
7008
7008
  tabindex="${i(this,ot)?"0":"-1"}"
7009
7009
  part="trigger"
7010
- label="${Pn(i(this,ol,Ns))}"
7010
+ label="${In(i(this,ol,js))}"
7011
7011
  >
7012
7012
  <slot name="icon" slot="icon"></slot>
7013
7013
  <span>
@@ -7015,7 +7015,7 @@ span {
7015
7015
  <pf-icon icon="angle-up" set="fas"></pf-icon>
7016
7016
  </span>
7017
7017
  </pf-button>
7018
- `}};Qa=new WeakMap,ot=new WeakMap,Uo=new WeakMap,Ja=new WeakMap,lr=new WeakMap,In=new WeakSet,ym=function(){let o=null;return s0?null:(o=this.getRootNode())instanceof Document||o instanceof ShadowRoot?o:document},ol=new WeakSet,Ns=function(){if(!i(this,Ja))return this.label??"Back to top"},Hn=new WeakSet,km=function(o){let a=o.currentTarget.assignedNodes();v(this,Ja,a.length>0),this.requestUpdate()},tl=new WeakSet,js=function(){i(this,Uo)?.removeEventListener("scroll",i(this,me))},el=new WeakSet,qs=function(){if(s(this,tl,js).call(this),this.scrollableSelector?.trim()===""){i(this,lr).error("scrollable-selector attribute cannot be empty");return}if(v(this,Qa,!!this.scrollableSelector),i(this,Qa)&&this.scrollableSelector){let o=i(this,In,ym)?.querySelector?.(this.scrollableSelector);if(!o){i(this,lr).error(`unable to find element with selector ${this.scrollableSelector}`);return}v(this,Uo,o)}else v(this,Uo,window);i(this,Uo).addEventListener("scroll",i(this,me),{passive:!0}),i(this,me).call(this)},me=new WeakMap,zo.styles=[Cm],r([fe({reflect:!0})],zo.prototype,"icon",2),r([fe({attribute:"icon-set"})],zo.prototype,"iconSet",2),r([fe({reflect:!0,type:Boolean,attribute:"always-visible"})],zo.prototype,"alwaysVisible",2),r([fe({reflect:!0,attribute:"scrollable-selector"})],zo.prototype,"scrollableSelector",2),r([fe({type:Number,attribute:"scroll-distance"})],zo.prototype,"scrollDistance",2),r([fe()],zo.prototype,"label",2),r([fe({reflect:!0})],zo.prototype,"href",2),zo=r([p0("pf-back-to-top")],zo);import{LitElement as m0,html as Vs}from"lit";import{property as rl}from"lit/decorators/property.js";import{customElement as g0}from"lit/decorators/custom-element.js";import{css as d0}from"lit";var f0=d0`:host {
7018
+ `}};Qa=new WeakMap,ot=new WeakMap,Uo=new WeakMap,Ja=new WeakMap,ir=new WeakMap,Hn=new WeakSet,ym=function(){let o=null;return s0?null:(o=this.getRootNode())instanceof Document||o instanceof ShadowRoot?o:document},ol=new WeakSet,js=function(){if(!i(this,Ja))return this.label??"Back to top"},$n=new WeakSet,km=function(o){let a=o.currentTarget.assignedNodes();v(this,Ja,a.length>0),this.requestUpdate()},tl=new WeakSet,qs=function(){i(this,Uo)?.removeEventListener("scroll",i(this,me))},el=new WeakSet,Vs=function(){if(s(this,tl,qs).call(this),this.scrollableSelector?.trim()===""){i(this,ir).error("scrollable-selector attribute cannot be empty");return}if(v(this,Qa,!!this.scrollableSelector),i(this,Qa)&&this.scrollableSelector){let o=i(this,Hn,ym)?.querySelector?.(this.scrollableSelector);if(!o){i(this,ir).error(`unable to find element with selector ${this.scrollableSelector}`);return}v(this,Uo,o)}else v(this,Uo,window);i(this,Uo).addEventListener("scroll",i(this,me),{passive:!0}),i(this,me).call(this)},me=new WeakMap,zo.styles=[Cm],r([fe({reflect:!0})],zo.prototype,"icon",2),r([fe({attribute:"icon-set"})],zo.prototype,"iconSet",2),r([fe({reflect:!0,type:Boolean,attribute:"always-visible"})],zo.prototype,"alwaysVisible",2),r([fe({reflect:!0,attribute:"scrollable-selector"})],zo.prototype,"scrollableSelector",2),r([fe({type:Number,attribute:"scroll-distance"})],zo.prototype,"scrollDistance",2),r([fe()],zo.prototype,"label",2),r([fe({reflect:!0})],zo.prototype,"href",2),zo=r([p0("pf-back-to-top")],zo);import{LitElement as m0,html as Ys}from"lit";import{property as rl}from"lit/decorators/property.js";import{customElement as g0}from"lit/decorators/custom-element.js";import{css as d0}from"lit";var f0=d0`:host {
7019
7019
  display: inline-block;
7020
7020
  --pf-c-avatar--BorderColor: transparent;
7021
7021
  --pf-c-avatar--BorderWidth: 0;
@@ -7081,25 +7081,25 @@ img {
7081
7081
  --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width);
7082
7082
  --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height);
7083
7083
  }
7084
- `,wm=f0;var Ys=class extends Event{constructor(o){super("load",{bubbles:!0});this.originalEvent=o}},$n,Sm,tt=class extends m0{constructor(){super(...arguments);n(this,$n);this.alt="Avatar image";this.size="sm";this.dark=!1}render(){return this.src!=null?Vs`
7084
+ `,wm=f0;var Xs=class extends Event{constructor(o){super("load",{bubbles:!0});this.originalEvent=o}},An,Sm,tt=class extends m0{constructor(){super(...arguments);n(this,An);this.alt="Avatar image";this.size="sm";this.dark=!1}render(){return this.src!=null?Ys`
7085
7085
  <img id="img"
7086
7086
  alt="${this.alt??""}"
7087
7087
  src=${this.src}
7088
- @load="${s(this,$n,Sm)}">
7089
- `:this.dark?Vs`
7088
+ @load="${s(this,An,Sm)}">
7089
+ `:this.dark?Ys`
7090
7090
  <svg xmlns="http://www.w3.org/2000/svg"
7091
7091
  style="enable-background:new 0 0 36 36"
7092
7092
  viewBox="0 0 36 36">
7093
7093
  <style>.st1,.st2{fill-rule:evenodd;clip-rule:evenodd;fill:#6a6e73}.st2{fill:#4f5255}</style><path d="M0 0h36v36H0z" style="fill:#212427"/>
7094
7094
  <path d="M30.5 36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4 1.2-3.4 2.6C6.7 27 5.8 32.2 5.4 36h25.1zM17.7 20.1c-3.5 0-6.4-2.9-6.4-6.4s2.9-6.4 6.4-6.4 6.4 2.9 6.4 6.4-2.8 6.4-6.4 6.4z" class="st1"/><path d="M13.3 36v-6.7c-2 .4-2.9 1.4-3.1 3.5l-.1 3.2h3.2zM22.7 36v-6.7c2 .4 2.9 1.4 3.1 3.5l.1 3.2h-3.2z" class="st2"/>
7095
7095
  </svg>
7096
- `:Vs`
7096
+ `:Ys`
7097
7097
  <svg xmlns="http://www.w3.org/2000/svg" style="enable-background:new 0 0 36 36" viewBox="0 0 36 36">
7098
7098
  <style>.st2{fill:#b8bbbe}</style><path d="M0 0h36v36H0z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#f0f0f0"/>
7099
7099
  <path d="M17.7 20.1c-3.5 0-6.4-2.9-6.4-6.4s2.9-6.4 6.4-6.4 6.4 2.9 6.4 6.4-2.8 6.4-6.4 6.4z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#d2d2d2"/><path d="M13.3 36v-6.7c-2 .4-2.9 1.4-3.1 3.5l-.1 3.2h3.2z" class="st2"/>
7100
7100
  <path d="m10.1 36 .1-3.2c.2-2.1 1.1-3.1 3.1-3.5V36h9.4v-6.7c2 .4 2.9 1.4 3.1 3.5l.1 3.2h4.7c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4 1.2-3.4 2.6-1.7 1.9-2.6 7.1-3 10.9h4.7z" style="fill:#d2d2d2"/><path d="m25.9 36-.1-3.2c-.2-2.1-1.1-3.1-3.1-3.5V36h3.2z" class="st2"/>
7101
7101
  </svg>
7102
- `}};$n=new WeakSet,Sm=function(o){this.dispatchEvent(new Ys(o))},tt.styles=[wm],r([rl()],tt.prototype,"src",2),r([rl({reflect:!0})],tt.prototype,"alt",2),r([rl({reflect:!0})],tt.prototype,"size",2),r([rl({reflect:!0})],tt.prototype,"border",2),r([rl({type:Boolean,reflect:!0})],tt.prototype,"dark",2),tt=r([g0("pf-avatar")],tt);import{LitElement as S0,html as L0}from"lit";import{property as ll}from"lit/decorators/property.js";import{customElement as z0}from"lit/decorators/custom-element.js";vr();mo();import{LitElement as zm,html as Dt}from"lit";import{customElement as u0}from"lit/decorators/custom-element.js";import{property as ir}from"lit/decorators/property.js";mo();import{css as b0}from"lit";var h0=b0`:host {
7102
+ `}};An=new WeakSet,Sm=function(o){this.dispatchEvent(new Xs(o))},tt.styles=[wm],r([rl()],tt.prototype,"src",2),r([rl({reflect:!0})],tt.prototype,"alt",2),r([rl({reflect:!0})],tt.prototype,"size",2),r([rl({reflect:!0})],tt.prototype,"border",2),r([rl({type:Boolean,reflect:!0})],tt.prototype,"dark",2),tt=r([g0("pf-avatar")],tt);import{LitElement as S0,html as L0}from"lit";import{property as ll}from"lit/decorators/property.js";import{customElement as z0}from"lit/decorators/custom-element.js";_r();mo();import{LitElement as zm,html as Dt}from"lit";import{customElement as u0}from"lit/decorators/custom-element.js";import{property as nr}from"lit/decorators/property.js";mo();import{css as b0}from"lit";var h0=b0`:host {
7103
7103
  --pf-icon--size: var(--pf-c-accordion__toggle--IconSize, 10px);
7104
7104
 
7105
7105
  color: var(--pf-c-accordion__toggle--Color, var(--pf-global--Color--100, #151515));
@@ -7231,15 +7231,15 @@ span {
7231
7231
  font-weight: var(--pf-c-accordion__toggle--active-text--FontWeight,
7232
7232
  var(--pf-global--FontWeight--semi-bold, 700));
7233
7233
  }
7234
- `,Lm=h0;ko();var v0=l=>l instanceof HTMLElement&&!!l.tagName.match(/P|^H[1-6]/),al=class extends Event{constructor(o,e,a){super("change",{bubbles:!0});this.expanded=o;this.toggle=e;this.accordion=a}},et,ge,nr,An,On,Wm,Dn,Tm,Un,Em,po=class extends zm{constructor(){super(...arguments);n(this,On);n(this,Dn);n(this,Un);this.expanded=!1;n(this,et,void 0);n(this,ge,new k(this));n(this,nr,void 0);n(this,An,new T(this,"accents",null))}connectedCallback(){super.connectedCallback(),this.id||=N(this.localName),s(this,On,Wm).call(this)}render(){let o=this.headingText?.trim()??i(this,nr)?.textContent?.trim(),e=Dt`
7234
+ `,Lm=h0;ko();var v0=l=>l instanceof HTMLElement&&!!l.tagName.match(/P|^H[1-6]/),al=class extends Event{constructor(o,e,a){super("change",{bubbles:!0});this.expanded=o;this.toggle=e;this.accordion=a}},et,ge,cr,On,Dn,Wm,Un,Tm,Nn,Em,po=class extends zm{constructor(){super(...arguments);n(this,Dn);n(this,Un);n(this,Nn);this.expanded=!1;n(this,et,void 0);n(this,ge,new k(this));n(this,cr,void 0);n(this,On,new T(this,"accents",null))}connectedCallback(){super.connectedCallback(),this.id||=N(this.localName),s(this,Dn,Wm).call(this)}render(){let o=this.headingText?.trim()??i(this,cr)?.textContent?.trim(),e=Dt`
7235
7235
  <button id="button"
7236
7236
  class="toggle"
7237
- @click="${s(this,Un,Em)}"
7237
+ @click="${s(this,Nn,Em)}"
7238
7238
  aria-expanded="${String(!!this.expanded)}">
7239
7239
  <span part="text">${o??Dt`
7240
7240
  <slot></slot>`}
7241
7241
  </span>
7242
- <span part="accents" ?hidden="${i(this,An).isEmpty("accents")}">
7242
+ <span part="accents" ?hidden="${i(this,On).isEmpty("accents")}">
7243
7243
  <slot name="accents"></slot>
7244
7244
  </span>
7245
7245
  <pf-icon part="icon"
@@ -7249,7 +7249,7 @@ span {
7249
7249
  icon="${this.icon??"angle-right"}"
7250
7250
  ></pf-icon>
7251
7251
  </button>
7252
- `;switch(this.headingTag){case"h1":return Dt`<h1 id="heading">${e}</h1>`;case"h2":return Dt`<h2 id="heading">${e}</h2>`;case"h3":return Dt`<h3 id="heading">${e}</h3>`;case"h4":return Dt`<h4 id="heading">${e}</h4>`;case"h5":return Dt`<h5 id="heading">${e}</h5>`;case"h6":return Dt`<h6 id="heading">${e}</h6>`;default:return e}}};et=new WeakMap,ge=new WeakMap,nr=new WeakMap,An=new WeakMap,On=new WeakSet,Wm=async function(){this.headingText&&(this.headingTag||="h3"),v(this,nr,s(this,Dn,Tm).call(this)),i(this,nr)!==i(this,et)&&v(this,et,void 0);do await this.updateComplete;while(!await this.updateComplete);this.hidden=!1},Dn=new WeakSet,Tm=function(){if(!this.firstElementChild&&!this.firstChild)return void i(this,ge).warn("No header content provided");if(this.firstElementChild){let[o,...e]=Array.from(this.children).filter(a=>!a.hasAttribute("slot")&&v0(a));if(o)e.length&&i(this,ge).warn("Heading currently only supports 1 tag; extra tags will be ignored.");else return void i(this,ge).warn("No heading information was provided.");return o}else return i(this,et)||i(this,ge).warn("Header should contain at least 1 heading tag for correct semantics."),v(this,et,document.createElement("h3")),this.firstChild?.nodeType===Node.TEXT_NODE?i(this,et).textContent=this.firstChild.textContent:i(this,et).textContent=this.textContent,i(this,et)},Un=new WeakSet,Em=function(){let o=!this.expanded,e=this.closest("pf-accordion");e&&this.dispatchEvent(new al(o,this,e))},po.styles=[Lm],po.shadowRootOptions={...zm.shadowRootOptions,delegatesFocus:!0},r([ir({reflect:!0})],po.prototype,"bordered",2),r([ir({reflect:!0})],po.prototype,"icon",2),r([ir({reflect:!0,attribute:"icon-set"})],po.prototype,"iconSet",2),r([ir({type:Boolean,reflect:!0})],po.prototype,"expanded",2),r([ir({reflect:!0,attribute:"heading-text"})],po.prototype,"headingText",2),r([ir({reflect:!0,attribute:"heading-tag"})],po.prototype,"headingTag",2),po=r([u0("pf-accordion-header")],po);import{LitElement as C0,html as B0}from"lit";import{customElement as y0}from"lit/decorators/custom-element.js";import{property as Mm}from"lit/decorators/property.js";import{css as _0}from"lit";var x0=_0`:host {
7252
+ `;switch(this.headingTag){case"h1":return Dt`<h1 id="heading">${e}</h1>`;case"h2":return Dt`<h2 id="heading">${e}</h2>`;case"h3":return Dt`<h3 id="heading">${e}</h3>`;case"h4":return Dt`<h4 id="heading">${e}</h4>`;case"h5":return Dt`<h5 id="heading">${e}</h5>`;case"h6":return Dt`<h6 id="heading">${e}</h6>`;default:return e}}};et=new WeakMap,ge=new WeakMap,cr=new WeakMap,On=new WeakMap,Dn=new WeakSet,Wm=async function(){this.headingText&&(this.headingTag||="h3"),v(this,cr,s(this,Un,Tm).call(this)),i(this,cr)!==i(this,et)&&v(this,et,void 0);do await this.updateComplete;while(!await this.updateComplete);this.hidden=!1},Un=new WeakSet,Tm=function(){if(!this.firstElementChild&&!this.firstChild)return void i(this,ge).warn("No header content provided");if(this.firstElementChild){let[o,...e]=Array.from(this.children).filter(a=>!a.hasAttribute("slot")&&v0(a));if(o)e.length&&i(this,ge).warn("Heading currently only supports 1 tag; extra tags will be ignored.");else return void i(this,ge).warn("No heading information was provided.");return o}else return i(this,et)||i(this,ge).warn("Header should contain at least 1 heading tag for correct semantics."),v(this,et,document.createElement("h3")),this.firstChild?.nodeType===Node.TEXT_NODE?i(this,et).textContent=this.firstChild.textContent:i(this,et).textContent=this.textContent,i(this,et)},Nn=new WeakSet,Em=function(){let o=!this.expanded,e=this.closest("pf-accordion");e&&this.dispatchEvent(new al(o,this,e))},po.styles=[Lm],po.shadowRootOptions={...zm.shadowRootOptions,delegatesFocus:!0},r([nr({reflect:!0})],po.prototype,"bordered",2),r([nr({reflect:!0})],po.prototype,"icon",2),r([nr({reflect:!0,attribute:"icon-set"})],po.prototype,"iconSet",2),r([nr({type:Boolean,reflect:!0})],po.prototype,"expanded",2),r([nr({reflect:!0,attribute:"heading-text"})],po.prototype,"headingText",2),r([nr({reflect:!0,attribute:"heading-tag"})],po.prototype,"headingTag",2),po=r([u0("pf-accordion-header")],po);import{LitElement as C0,html as B0}from"lit";import{customElement as y0}from"lit/decorators/custom-element.js";import{property as Mm}from"lit/decorators/property.js";import{css as _0}from"lit";var x0=_0`:host {
7253
7253
  display: none;
7254
7254
  position: relative;
7255
7255
  overflow: hidden;
@@ -7421,8 +7421,8 @@ span {
7421
7421
  display: block;
7422
7422
  border-bottom: 1px solid var(--accordion__bordered--Color);
7423
7423
  }
7424
- `,Fm=w0;var Xs=class extends Event{constructor(o,e){super("expand",{bubbles:!0,cancelable:!0});this.toggle=o;this.panel=e}},Ks=class extends Event{constructor(o,e){super("collapse",{bubbles:!0,cancelable:!0});this.toggle=o;this.panel=e}},il,Xn,Kn,cr,be,sr,Nn,nl,Gs,pr,jn,dr,qn,fr,Vn,cl,Zs,sl,Qs,pl,Js,dl,op,mr,Yn,yo=class extends S0{constructor(){super(...arguments);n(this,sr);n(this,nl);n(this,pr);n(this,dr);n(this,fr);n(this,cl);n(this,sl);n(this,pl);n(this,dl);n(this,mr);this.single=!1;this.bordered=!1;this.large=!1;this.fixed=!1;n(this,il,new k(this));n(this,Xn,!1);n(this,Kn,new MutationObserver(()=>s(this,nl,Gs).call(this)));n(this,cr,co.of(this,{getItems:()=>this.headers}));n(this,be,[]);this.expandedSets=new Set}get expandedIndex(){return i(this,be)}set expandedIndex(o){let e=i(this,be);v(this,be,o),i(this,cr).atFocusedItemIndex=o.at(-1)??-1,JSON.stringify(e)!==JSON.stringify(o)&&(this.requestUpdate("expandedIndex",e),this.collapseAll().then(async()=>{for(let a of this.expandedIndex)await this.expand(a)}))}get headers(){return s(this,pl,Js).call(this)}get panels(){return s(this,dl,op).call(this)}connectedCallback(){super.connectedCallback(),i(this,Kn).observe(this,{childList:!0}),s(this,nl,Gs).call(this)}render(){return L0`
7424
+ `,Fm=w0;var Ks=class extends Event{constructor(o,e){super("expand",{bubbles:!0,cancelable:!0});this.toggle=o;this.panel=e}},Gs=class extends Event{constructor(o,e){super("collapse",{bubbles:!0,cancelable:!0});this.toggle=o;this.panel=e}},il,Kn,Gn,sr,be,pr,jn,nl,Zs,dr,qn,fr,Vn,mr,Yn,cl,Qs,sl,Js,pl,op,dl,tp,gr,Xn,yo=class extends S0{constructor(){super(...arguments);n(this,pr);n(this,nl);n(this,dr);n(this,fr);n(this,mr);n(this,cl);n(this,sl);n(this,pl);n(this,dl);n(this,gr);this.single=!1;this.bordered=!1;this.large=!1;this.fixed=!1;n(this,il,new k(this));n(this,Kn,!1);n(this,Gn,new MutationObserver(()=>s(this,nl,Zs).call(this)));n(this,sr,co.of(this,{getItems:()=>this.headers}));n(this,be,[]);this.expandedSets=new Set}get expandedIndex(){return i(this,be)}set expandedIndex(o){let e=i(this,be);v(this,be,o),i(this,sr).atFocusedItemIndex=o.at(-1)??-1,JSON.stringify(e)!==JSON.stringify(o)&&(this.requestUpdate("expandedIndex",e),this.collapseAll().then(async()=>{for(let a of this.expandedIndex)await this.expand(a)}))}get headers(){return s(this,pl,op).call(this)}get panels(){return s(this,dl,tp).call(this)}connectedCallback(){super.connectedCallback(),i(this,Gn).observe(this,{childList:!0}),s(this,nl,Zs).call(this)}render(){return L0`
7425
7425
  <slot></slot>
7426
- `}async firstUpdated(){let o,{headers:e,single:a}=this,c=e.filter(p=>p.hasAttribute("expanded")).pop();c&&(o=e.indexOf(c)),e.forEach((p,f)=>{if(p.expanded&&(!a||f===o)){s(this,dr,qn).call(this,p,f);let b=s(this,pr,jn).call(this,p);b&&s(this,fr,Vn).call(this,b)}})}async getUpdateComplete(){let o=await super.getUpdateComplete(),e=await Promise.all([...s(this,pl,Js).call(this).map(a=>a.updateComplete),...s(this,dl,op).call(this).map(a=>a.updateComplete)]);return o&&e.every(Boolean)}largeChanged(){for(let o of[...this.headers,...this.panels])o.toggleAttribute("large",this.large)}updateActiveHeader(){i(this,sr,Nn)&&i(this,sr,Nn)!==this.headers.at(i(this,cr).atFocusedItemIndex)&&(i(this,cr).atFocusedItemIndex=this.headers.indexOf(i(this,sr,Nn)))}onChange(o){if(o instanceof al&&o.accordion===this){let e=s(this,mr,Yn).call(this,o.target);o.expanded?this.expand(e):this.collapse(e),o.stopPropagation()}}updateAccessibility(){let{headers:o}=this;o.forEach(e=>{let a=s(this,pr,jn).call(this,e);a&&(e.setAttribute("aria-controls",a.id),a.setAttribute("aria-labelledby",e.id),a.hidden=!a.expanded)})}async expand(o){if(o===-1)return;this.single&&await Promise.all([...this.headers.map((c,p)=>c.expanded&&this.collapse(p))]);let e=this.headers[o];if(!e)return;let a=s(this,pr,jn).call(this,e);a&&(s(this,dr,qn).call(this,e,o),s(this,fr,Vn).call(this,a),this.dispatchEvent(new Xs(e,a)),await this.updateComplete)}async collapse(o){let e=this.headers.at(o),a=this.panels.at(o);!e||!a||(s(this,cl,Zs).call(this,e),s(this,sl,Qs).call(this,a),this.dispatchEvent(new Ks(e,a)),await this.updateComplete)}async toggle(o){let{headers:e}=this;e[o].expanded?await this.collapse(o):await this.expand(o)}async expandAll(){this.headers.forEach(o=>s(this,dr,qn).call(this,o)),this.panels.forEach(o=>s(this,fr,Vn).call(this,o)),await this.updateComplete}async collapseAll(){this.headers.forEach(o=>s(this,cl,Zs).call(this,o)),this.panels.forEach(o=>s(this,sl,Qs).call(this,o)),await this.updateComplete}};il=new WeakMap,Xn=new WeakMap,Kn=new WeakMap,cr=new WeakMap,be=new WeakMap,sr=new WeakSet,Nn=function(){let{headers:o}=this,e=o.findIndex(a=>a.matches(":focus,:focus-within"));return e>-1?o.at(e):void 0},nl=new WeakSet,Gs=async function(){i(this,Xn)||v(this,Xn,!!await this.updateComplete),this.updateAccessibility()},pr=new WeakSet,jn=function(o){let e=o.nextElementSibling;return e instanceof No?e:void i(this,il).error("Sibling element to a header needs to be a panel")},dr=new WeakSet,qn=function(o,e=s(this,mr,Yn).call(this,o)){this.expandedSets.add(e),v(this,be,[...this.expandedSets]),o.expanded=!0},fr=new WeakSet,Vn=function(o){o.expanded=!0,o.hidden=!1},cl=new WeakSet,Zs=async function(o,e=s(this,mr,Yn).call(this,o)){this.expandedSets||await this.updateComplete,this.expandedSets.delete(e),o.expanded=!1,await o.updateComplete},sl=new WeakSet,Qs=async function(o){await o.updateComplete,o.expanded&&(o.expanded=!1,o.hidden=!0)},pl=new WeakSet,Js=function(o=this){return Array.from(o.children??[]).filter(e=>e instanceof po)},dl=new WeakSet,op=function(o=this){return Array.from(o.children??[]).filter(e=>e instanceof No)},mr=new WeakSet,Yn=function(o){return o instanceof po?this.headers.findIndex(e=>e.id===o.id):o instanceof No?this.panels.findIndex(e=>e.id===o.id):(i(this,il).warn("The #getIndex method expects to receive a header or panel element."),-1)},yo.styles=[Fm],r([ll({reflect:!0,type:Boolean})],yo.prototype,"single",2),r([ll({type:Boolean,reflect:!0})],yo.prototype,"bordered",2),r([ll({type:Boolean,reflect:!0})],yo.prototype,"large",2),r([ll({type:Boolean,reflect:!0})],yo.prototype,"fixed",2),r([ll({attribute:"expanded-index",converter:ap})],yo.prototype,"expandedIndex",1),r([L("large")],yo.prototype,"largeChanged",1),r([yc("focusin")],yo.prototype,"updateActiveHeader",1),r([yc("change")],yo.prototype,"onChange",1),yo=r([z0("pf-accordion")],yo);export{Oa as DropdownItemChange,Xl as IconResolveError,xs as LabelCloseEvent,us as ModalCancelEvent,vs as ModalCloseEvent,_s as ModalOpenEvent,yo as PfAccordion,Ks as PfAccordionCollapseEvent,Xs as PfAccordionExpandEvent,po as PfAccordionHeader,al as PfAccordionHeaderChangeEvent,No as PfAccordionPanel,tt as PfAvatar,Ys as PfAvatarLoadEvent,zo as PfBackToTop,Lo as PfBackgroundImage,Bt as PfBadge,Ot as PfBanner,F as PfButton,ra as PfCaption,Lt as PfCard,Ct as PfChip,eo as PfChipGroup,As as PfChipGroupExpandEvent,Sn as PfChipGroupRemoveEvent,te as PfChipRemoveEvent,q as PfClipboardCopy,Is as PfClipboardCopyCopiedEvent,or as PfCodeBlock,Oo as PfDropdown,wt as PfDropdownGroup,j as PfDropdownItem,Ao as PfDropdownMenu,Es as PfDropdownSelectEvent,W as PfIcon,Ho as PfJumpLinks,Io as PfJumpLinksItem,Aa as PfJumpLinksList,Bo as PfLabel,M as PfModal,so as PfOption,ee as PfOptionGroup,ae as PfPanel,C as PfPopover,xo as PfProgress,Po as PfProgressStep,Jo as PfProgressStepper,w as PfSelect,es as PfSelectChangeEvent,Zt as PfSpinner,Go as PfSwitch,Ro as PfTab,Se as PfTabPanel,ht as PfTable,X as PfTabs,ea as PfTbody,bt as PfTd,ao as PfTextArea,R as PfTextInput,Mo as PfTh,oa as PfThead,jt as PfTile,fo as PfTimestamp,bo as PfTooltip,gt as PfTr,fs as PopoverHiddenEvent,ds as PopoverHideEvent,ms as PopoverShowEvent,gs as PopoverShownEvent,It as RequestExpandEvent,ta as RequestSortEvent};
7426
+ `}async firstUpdated(){let o,{headers:e,single:a}=this,c=e.filter(p=>p.hasAttribute("expanded")).pop();c&&(o=e.indexOf(c)),e.forEach((p,f)=>{if(p.expanded&&(!a||f===o)){s(this,fr,Vn).call(this,p,f);let b=s(this,dr,qn).call(this,p);b&&s(this,mr,Yn).call(this,b)}})}async getUpdateComplete(){let o=await super.getUpdateComplete(),e=await Promise.all([...s(this,pl,op).call(this).map(a=>a.updateComplete),...s(this,dl,tp).call(this).map(a=>a.updateComplete)]);return o&&e.every(Boolean)}largeChanged(){for(let o of[...this.headers,...this.panels])o.toggleAttribute("large",this.large)}updateActiveHeader(){i(this,pr,jn)&&i(this,pr,jn)!==this.headers.at(i(this,sr).atFocusedItemIndex)&&(i(this,sr).atFocusedItemIndex=this.headers.indexOf(i(this,pr,jn)))}onChange(o){if(o instanceof al&&o.accordion===this){let e=s(this,gr,Xn).call(this,o.target);o.expanded?this.expand(e):this.collapse(e),o.stopPropagation()}}updateAccessibility(){let{headers:o}=this;o.forEach(e=>{let a=s(this,dr,qn).call(this,e);a&&(e.setAttribute("aria-controls",a.id),a.setAttribute("aria-labelledby",e.id),a.hidden=!a.expanded)})}async expand(o){if(o===-1)return;this.single&&await Promise.all([...this.headers.map((c,p)=>c.expanded&&this.collapse(p))]);let e=this.headers[o];if(!e)return;let a=s(this,dr,qn).call(this,e);a&&(s(this,fr,Vn).call(this,e,o),s(this,mr,Yn).call(this,a),this.dispatchEvent(new Ks(e,a)),await this.updateComplete)}async collapse(o){let e=this.headers.at(o),a=this.panels.at(o);!e||!a||(s(this,cl,Qs).call(this,e),s(this,sl,Js).call(this,a),this.dispatchEvent(new Gs(e,a)),await this.updateComplete)}async toggle(o){let{headers:e}=this;e[o].expanded?await this.collapse(o):await this.expand(o)}async expandAll(){this.headers.forEach(o=>s(this,fr,Vn).call(this,o)),this.panels.forEach(o=>s(this,mr,Yn).call(this,o)),await this.updateComplete}async collapseAll(){this.headers.forEach(o=>s(this,cl,Qs).call(this,o)),this.panels.forEach(o=>s(this,sl,Js).call(this,o)),await this.updateComplete}};il=new WeakMap,Kn=new WeakMap,Gn=new WeakMap,sr=new WeakMap,be=new WeakMap,pr=new WeakSet,jn=function(){let{headers:o}=this,e=o.findIndex(a=>a.matches(":focus,:focus-within"));return e>-1?o.at(e):void 0},nl=new WeakSet,Zs=async function(){i(this,Kn)||v(this,Kn,!!await this.updateComplete),this.updateAccessibility()},dr=new WeakSet,qn=function(o){let e=o.nextElementSibling;return e instanceof No?e:void i(this,il).error("Sibling element to a header needs to be a panel")},fr=new WeakSet,Vn=function(o,e=s(this,gr,Xn).call(this,o)){this.expandedSets.add(e),v(this,be,[...this.expandedSets]),o.expanded=!0},mr=new WeakSet,Yn=function(o){o.expanded=!0,o.hidden=!1},cl=new WeakSet,Qs=async function(o,e=s(this,gr,Xn).call(this,o)){this.expandedSets||await this.updateComplete,this.expandedSets.delete(e),o.expanded=!1,await o.updateComplete},sl=new WeakSet,Js=async function(o){await o.updateComplete,o.expanded&&(o.expanded=!1,o.hidden=!0)},pl=new WeakSet,op=function(o=this){return Array.from(o.children??[]).filter(e=>e instanceof po)},dl=new WeakSet,tp=function(o=this){return Array.from(o.children??[]).filter(e=>e instanceof No)},gr=new WeakSet,Xn=function(o){return o instanceof po?this.headers.findIndex(e=>e.id===o.id):o instanceof No?this.panels.findIndex(e=>e.id===o.id):(i(this,il).warn("The #getIndex method expects to receive a header or panel element."),-1)},yo.styles=[Fm],r([ll({reflect:!0,type:Boolean})],yo.prototype,"single",2),r([ll({type:Boolean,reflect:!0})],yo.prototype,"bordered",2),r([ll({type:Boolean,reflect:!0})],yo.prototype,"large",2),r([ll({type:Boolean,reflect:!0})],yo.prototype,"fixed",2),r([ll({attribute:"expanded-index",converter:lp})],yo.prototype,"expandedIndex",1),r([L("large")],yo.prototype,"largeChanged",1),r([wc("focusin")],yo.prototype,"updateActiveHeader",1),r([wc("change")],yo.prototype,"onChange",1),yo=r([z0("pf-accordion")],yo);export{Oa as DropdownItemChange,Kl as IconResolveError,Cs as LabelCloseEvent,vs as ModalCancelEvent,_s as ModalCloseEvent,xs as ModalOpenEvent,yo as PfAccordion,Gs as PfAccordionCollapseEvent,Ks as PfAccordionExpandEvent,po as PfAccordionHeader,al as PfAccordionHeaderChangeEvent,No as PfAccordionPanel,tt as PfAvatar,Xs as PfAvatarLoadEvent,zo as PfBackToTop,Lo as PfBackgroundImage,Bt as PfBadge,Ot as PfBanner,F as PfButton,ra as PfCaption,Lt as PfCard,Ct as PfChip,eo as PfChipGroup,Os as PfChipGroupExpandEvent,Ln as PfChipGroupRemoveEvent,te as PfChipRemoveEvent,q as PfClipboardCopy,Hs as PfClipboardCopyCopiedEvent,tr as PfCodeBlock,Oo as PfDropdown,wt as PfDropdownGroup,j as PfDropdownItem,Ao as PfDropdownMenu,Rs as PfDropdownSelectEvent,W as PfIcon,Ho as PfJumpLinks,Io as PfJumpLinksItem,Aa as PfJumpLinksList,Bo as PfLabel,M as PfModal,so as PfOption,ee as PfOptionGroup,ae as PfPanel,C as PfPopover,xo as PfProgress,Po as PfProgressStep,Jo as PfProgressStepper,w as PfSelect,rs as PfSelectChangeEvent,Zt as PfSpinner,Go as PfSwitch,Ro as PfTab,Se as PfTabPanel,ht as PfTable,X as PfTabs,ea as PfTbody,bt as PfTd,ao as PfTextArea,R as PfTextInput,Mo as PfTh,oa as PfThead,jt as PfTile,fo as PfTimestamp,bo as PfTooltip,gt as PfTr,ms as PopoverHiddenEvent,fs as PopoverHideEvent,gs as PopoverShowEvent,bs as PopoverShownEvent,It as RequestExpandEvent,ta as RequestSortEvent};
7427
7427
  /*! For license information please see pfe.min.js.LEGAL.txt */
7428
7428
  //# sourceMappingURL=pfe.min.js.map