@patternfly/react-core 4.192.16 → 4.192.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.192.17 (2022-02-04)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-core
9
+
10
+
11
+
12
+
13
+
6
14
  ## 4.192.16 (2022-02-02)
7
15
 
8
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAgB,SAAS,EAAE,MAAM,eAAe,CAAC;AAExD,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AACD,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS;IAC7F,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9D,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,OAAO,CAAC,EAAE,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G,SAAS,CAAC;IACrG,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAC9B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CAC3B;AAkGD,eAAO,MAAM,MAAM,yEAEjB,CAAC"}
@@ -41,9 +41,10 @@ const ButtonBase = (_a) => {
41
41
  return 0;
42
42
  }
43
43
  };
44
- return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(styles.button, styles.modifiers[variant], isBlock && styles.modifiers.block, isDisabled && styles.modifiers.disabled, isAriaDisabled && styles.modifiers.ariaDisabled, isActive && styles.modifiers.active, isInline && variant === ButtonVariant.link && styles.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && styles.modifiers.danger, isLoading !== null && styles.modifiers.progress, isLoading && styles.modifiers.inProgress, isSmall && styles.modifiers.small, isLarge && styles.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
44
+ return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(styles.button, styles.modifiers[variant], isBlock && styles.modifiers.block, isDisabled && styles.modifiers.disabled, isAriaDisabled && styles.modifiers.ariaDisabled, isActive && styles.modifiers.active, isInline && variant === ButtonVariant.link && styles.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && styles.modifiers.danger, isLoading !== null && children !== null && styles.modifiers.progress, isLoading && styles.modifiers.inProgress, isSmall && styles.modifiers.small, isLarge && styles.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
45
45
  isLoading && (React.createElement("span", { className: css(styles.buttonProgress) },
46
46
  React.createElement(Spinner, { size: spinnerSize.md, "aria-valuetext": spinnerAriaValueText }))),
47
+ variant === ButtonVariant.plain && children === null && icon ? icon : null,
47
48
  variant !== ButtonVariant.plain && icon && iconPosition === 'left' && (React.createElement("span", { className: css(styles.buttonIcon, styles.modifiers.start) }, icon)),
48
49
  children,
49
50
  variant !== ButtonVariant.plain && icon && iconPosition === 'right' && (React.createElement("span", { className: css(styles.buttonIcon, styles.modifiers.end) }, icon))));
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,uDAAuD,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,YAAY,EAAa,MAAM,eAAe,CAAC;AAExD,MAAM,CAAN,IAAY,aASX;AATD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IAC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cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6CAA6C;IAC7C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,iCAAiC;IACjC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IACrG,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAC9B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CAC3B;AAkGD,eAAO,MAAM,MAAM,yEAEjB,CAAC"}
@@ -44,9 +44,10 @@ const ButtonBase = (_a) => {
44
44
  return 0;
45
45
  }
46
46
  };
47
- return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: react_styles_1.css(button_1.default.button, button_1.default.modifiers[variant], isBlock && button_1.default.modifiers.block, isDisabled && button_1.default.modifiers.disabled, isAriaDisabled && button_1.default.modifiers.ariaDisabled, isActive && button_1.default.modifiers.active, isInline && variant === ButtonVariant.link && button_1.default.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && button_1.default.modifiers.danger, isLoading !== null && button_1.default.modifiers.progress, isLoading && button_1.default.modifiers.inProgress, isSmall && button_1.default.modifiers.small, isLarge && button_1.default.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
47
+ return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: react_styles_1.css(button_1.default.button, button_1.default.modifiers[variant], isBlock && button_1.default.modifiers.block, isDisabled && button_1.default.modifiers.disabled, isAriaDisabled && button_1.default.modifiers.ariaDisabled, isActive && button_1.default.modifiers.active, isInline && variant === ButtonVariant.link && button_1.default.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && button_1.default.modifiers.danger, isLoading !== null && children !== null && button_1.default.modifiers.progress, isLoading && button_1.default.modifiers.inProgress, isSmall && button_1.default.modifiers.small, isLarge && button_1.default.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
48
48
  isLoading && (React.createElement("span", { className: react_styles_1.css(button_1.default.buttonProgress) },
49
49
  React.createElement(Spinner_1.Spinner, { size: Spinner_1.spinnerSize.md, "aria-valuetext": spinnerAriaValueText }))),
50
+ variant === ButtonVariant.plain && children === null && icon ? icon : null,
50
51
  variant !== ButtonVariant.plain && icon && iconPosition === 'left' && (React.createElement("span", { className: react_styles_1.css(button_1.default.buttonIcon, button_1.default.modifiers.start) }, icon)),
51
52
  children,
52
53
  variant !== ButtonVariant.plain && icon && iconPosition === 'right' && (React.createElement("span", { className: react_styles_1.css(button_1.default.buttonIcon, button_1.default.modifiers.end) }, icon))));
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2GAA2E;AAC3E,2DAA+C;AAC/C,wCAAkD;AAClD,2CAAwD;AAExD,IAAY,aASX;AATD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EATW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QASxB;AAED,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AA8CD,MAAM,UAAU,GAAyC,CAAC,EAyB5C,EAAE,EAAE;QAzBwC,EACxD,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,SAAS,GAAG,QAAQ,EACpB,QAAQ,GAAG,KAAK,EAChB,OAAO,GAAG,KAAK,EACf,UAAU,GAAG,KAAK,EAClB,cAAc,GAAG,KAAK,EACtB,SAAS,GAAG,IAAI,EAChB,QAAQ,GAAG,KAAK,EAChB,oBAAoB,EACpB,OAAO,GAAG,KAAK,EACf,OAAO,GAAG,KAAK,EACf,gBAAgB,GAAG,CAAC,SAAS,EAAE,YAAY,CAAC,EAC5C,QAAQ,GAAG,KAAK,EAChB,IAAI,GAAG,UAAU,CAAC,MAAM,EACxB,OAAO,GAAG,aAAa,CAAC,OAAO,EAC/B,YAAY,GAAG,MAAM,EACrB,YAAY,EAAE,SA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aDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$1k.button, _default$1k.modifiers[variant], isBlock && _default$1k.modifiers.block, isDisabled && _default$1k.modifiers.disabled, isAriaDisabled && _default$1k.modifiers.ariaDisabled, isActive && _default$1k.modifiers.active, isInline && variant === exports.ButtonVariant.link && _default$1k.modifiers.inline, isDanger && (variant === exports.ButtonVariant.secondary || variant === exports.ButtonVariant.link) && _default$1k.modifiers.danger, isLoading !== null && _default$1k.modifiers.progress, isLoading && _default$1k.modifiers.inProgress, isSmall && _default$1k.modifiers.small, isLarge && _default$1k.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3686
+ return (React__namespace.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$1k.button, _default$1k.modifiers[variant], isBlock && _default$1k.modifiers.block, isDisabled && _default$1k.modifiers.disabled, isAriaDisabled && _default$1k.modifiers.ariaDisabled, isActive && _default$1k.modifiers.active, isInline && variant === exports.ButtonVariant.link && _default$1k.modifiers.inline, isDanger && (variant === exports.ButtonVariant.secondary || variant === exports.ButtonVariant.link) && _default$1k.modifiers.danger, isLoading !== null && children !== null && _default$1k.modifiers.progress, isLoading && _default$1k.modifiers.inProgress, isSmall && _default$1k.modifiers.small, isLarge && _default$1k.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3687
3687
  isLoading && (React__namespace.createElement("span", { className: css(_default$1k.buttonProgress) },
3688
3688
  React__namespace.createElement(Spinner, { size: exports.spinnerSize.md, "aria-valuetext": spinnerAriaValueText }))),
3689
+ variant === exports.ButtonVariant.plain && children === null && icon ? icon : null,
3689
3690
  variant !== exports.ButtonVariant.plain && icon && iconPosition === 'left' && (React__namespace.createElement("span", { className: css(_default$1k.buttonIcon, _default$1k.modifiers.start) }, icon)),
3690
3691
  children,
3691
3692
  variant !== exports.ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(_default$1k.buttonIcon, _default$1k.modifiers.end) }, icon))));
@@ -24935,18 +24935,6 @@ svg.pf-c-spinner.pf-m-xl {
24935
24935
  grid-gap: var(--pf-l-grid--m-gutter--GridGap);
24936
24936
  }
24937
24937
 
24938
- .pf-l-level {
24939
- --pf-l-level--m-gutter--MarginRight: var(--pf-global--gutter);
24940
- display: flex;
24941
- flex-wrap: wrap;
24942
- align-items: center;
24943
- justify-content: space-between;
24944
- }
24945
-
24946
- .pf-l-level.pf-m-gutter > *:not(:last-child) {
24947
- margin-right: var(--pf-l-level--m-gutter--MarginRight);
24948
- }
24949
-
24950
24938
  .pf-l-split {
24951
24939
  --pf-l-split--m-gutter--MarginRight: var(--pf-global--gutter);
24952
24940
  display: flex;
@@ -24966,6 +24954,18 @@ svg.pf-c-spinner.pf-m-xl {
24966
24954
  margin-right: var(--pf-l-split--m-gutter--MarginRight);
24967
24955
  }
24968
24956
 
24957
+ .pf-l-level {
24958
+ --pf-l-level--m-gutter--MarginRight: var(--pf-global--gutter);
24959
+ display: flex;
24960
+ flex-wrap: wrap;
24961
+ align-items: center;
24962
+ justify-content: space-between;
24963
+ }
24964
+
24965
+ .pf-l-level.pf-m-gutter > *:not(:last-child) {
24966
+ margin-right: var(--pf-l-level--m-gutter--MarginRight);
24967
+ }
24968
+
24969
24969
  .pf-l-stack {
24970
24970
  --pf-l-stack--m-gutter--MarginBottom: var(--pf-global--gutter);
24971
24971
  display: flex;
@@ -23,7 +23,7 @@ var b,v=["input","select","textarea","a[href]","button","[tabindex]","audio[cont
23
23
  * focus-trap 6.2.2
24
24
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
25
25
  */
26
- function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var D,P=(D=[],{activateTrap:function(e){if(D.length>0){var t=D[D.length-1];t!==e&&t.pause()}var n=D.indexOf(e);-1===n||D.splice(n,1),D.push(e)},deactivateTrap:function(e){var t=D.indexOf(e);-1!==t&&D.splice(t,1),D.length>0&&D[D.length-1].unpause()}}),R=function(e){return setTimeout(e,0)},M=function(e,t){var n,a=document,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),l={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},s=function(e){return l.containers.some((function(t){return t.contains(e)}))},o=function(e){var t=i[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=a.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},r=function(){var e;if(null!==o("initialFocus"))e=o("initialFocus");else if(s(a.activeElement))e=a.activeElement;else{var t=l.tabbableGroups[0];e=t&&t.firstTabbableNode||o("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},c=function(){if(l.tabbableGroups=l.containers.map((function(e){var t=_(e);if(t.length>0)return{firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),l.tabbableGroups.length<=0&&!o("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){t!==a.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),l.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(r()))},p=function(e){s(e.target)||(i.clickOutsideDeactivates?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!I(e.target)}):i.allowOutsideClick&&("boolean"==typeof i.allowOutsideClick?i.allowOutsideClick:i.allowOutsideClick(e))||e.preventDefault())},m=function(e){var t=s(e.target);t||e.target instanceof Document?t&&(l.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),d(l.mostRecentlyFocusedNode||r()))},u=function(e){if(!1!==i.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){c();var t=null;if(l.tabbableGroups.length>0)if(e.shiftKey){var n=l.tabbableGroups.findIndex((function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var a=0===n?l.tabbableGroups.length-1:n-1;t=l.tabbableGroups[a].lastTabbableNode}}else{var i=l.tabbableGroups.findIndex((function(t){var n=t.lastTabbableNode;return e.target===n}));if(i>=0){var s=i===l.tabbableGroups.length-1?0:i+1;t=l.tabbableGroups[s].firstTabbableNode}}else t=o("fallbackFocus");t&&(e.preventDefault(),d(t))}(e)},f=function(e){i.clickOutsideDeactivates||s(e.target)||i.allowOutsideClick&&("boolean"==typeof i.allowOutsideClick?i.allowOutsideClick:i.allowOutsideClick(e))||(e.preventDefault(),e.stopImmediatePropagation())},h=function(){if(l.active)return P.activateTrap(n),b=i.delayInitialFocus?R((function(){d(r())})):d(r()),a.addEventListener("focusin",m,!0),a.addEventListener("mousedown",p,{capture:!0,passive:!1}),a.addEventListener("touchstart",p,{capture:!0,passive:!1}),a.addEventListener("click",f,{capture:!0,passive:!1}),a.addEventListener("keydown",u,{capture:!0,passive:!1}),n},g=function(){if(l.active)return a.removeEventListener("focusin",m,!0),a.removeEventListener("mousedown",p,!0),a.removeEventListener("touchstart",p,!0),a.removeEventListener("click",f,!0),a.removeEventListener("keydown",u,!0),n};return(n={activate:function(e){if(l.active)return this;c(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=a.activeElement;var t=e&&e.onActivate?e.onActivate:i.onActivate;return t&&t(),h(),this},deactivate:function(e){if(!l.active)return this;clearTimeout(b),g(),l.active=!1,l.paused=!1,P.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:i.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:i.returnFocusOnDeactivate)&&R((function(){var e;d((e=l.nodeFocusedBeforeActivation,o("setReturnFocus")||e))})),this},pause:function(){return l.paused||!l.active||(l.paused=!0,g()),this},unpause:function(){return l.paused&&l.active?(l.paused=!1,c(),h(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return l.containers=t.map((function(e){return"string"==typeof e?a.querySelector(e):e})),l.active&&c(),this}}).updateContainerElements(e),n};class A extends l.Component{constructor(e){super(e),this.divRef=l.createRef(),"undefined"!=typeof document&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=M(this.divRef.current,Object.assign(Object.assign({},this.props.focusTrapOptions),{returnFocusOnDeactivate:!1})),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}componentDidUpdate(e){e.active&&!this.props.active?this.focusTrap.deactivate():!e.active&&this.props.active&&this.focusTrap.activate(),e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}componentWillUnmount(){this.focusTrap.deactivate(),!1!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus({preventScroll:this.props.preventScrollOnDeactivate})}render(){const e=this.props,{children:t,className:n,focusTrapOptions:a,active:i,paused:s,preventScrollOnDeactivate:o}=e,c=r(e,["children","className","focusTrapOptions","active","paused","preventScrollOnDeactivate"]);return l.createElement("div",Object.assign({ref:this.divRef,className:n},c),t)}}A.displayName="FocusTrap",A.defaultProps={active:!0,paused:!1,focusTrapOptions:{},preventScrollOnDeactivate:!1};let B=0;class F extends l.Component{constructor(){super(...arguments),this.id=`${this.props.prefix}${B++}`}render(){return this.props.children(this.id)}}F.displayName="GenerateId",F.defaultProps={prefix:"pf-random-id-"};let j=0;const V="OUIA-Generated-",H={};function $(e,t,n=!0){return{"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":t}}const z=(e,t,n=!0,a)=>({"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":W(e,t,a)}),W=(e,n,a)=>void 0!==n?n:t.useMemo((()=>G(e,a)),[e,a]);function G(e,t){try{let n;return n="undefined"!=typeof window?`${window.location.href}-${e}-${t||""}`:`${e}-${t||""}`,H[n]||(H[n]=0),`${V}${e}-${t?`${t}-`:""}${++H[n]}`}catch(n){return`${V}${e}-${t?`${t}-`:""}${++j}`}}function X(e){return e[0].toUpperCase()+e.substring(1)}function K(e="pf"){return`${e}-${(new Date).getTime()+Math.random().toString(36).slice(2)}`}function U(e,t){let n;return(...a)=>{clearTimeout(n),n=setTimeout((()=>e.apply(this,a)),t)}}function q(e,t,n,a=!1){if(!e||!t)return!1;const i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),s=Math.ceil(i.left),o=Math.floor(i.right),r=Math.ceil(l.left),c=Math.floor(l.right),d=r>=s&&c<=o,p=(n||!a&&i.width<l.width)&&(r<s&&c>s||c>o&&r<o);return d||p}function Y(e,t){return e.replace(/\${(.*?)}/g,((e,n)=>t[n]||""))}function J(e,t,n,a,i,l=!1){if(!Array.isArray(i))return;const s=a.filter((e=>e))[0].constructor===Array;let r=e,c=t;if("up"===n?r=0===e?i.length-1:e-1:"down"===n?r=e===i.length-1?0:e+1:"left"===n?c=0===t?a[e].length-1:t-1:"right"===n&&(c=t===a[e].length-1?0:t+1),null===a[r]||void 0===a[r]||s&&(null===a[r][c]||void 0===a[r][c]))J(r,c,n,a,i,l);else if(l){a[r].focus&&a[r].focus();o.findDOMNode(a[r]).focus()}else"tab"!==n&&(s?a[r][c].focus():a[r].focus())}function Z(e,t){const n=e.current.querySelectorAll(t);return Array.prototype.filter.call(n,(function(e){return e.tabIndex>="0"}))}function Q(e,t,n){let a;return a="up"===t?0===e?n.length-1:e-1:e===n.length-1?0:e+1,void 0===n[a]||null===n[a][0]?Q(a,t,n):a}function ee(e,t,n){return n||(n=`${t}s`),`${e||0} ${1===e?t:n}`}const te=(e,t)=>Object.entries(e||{}).reduce(((e,[n,a])=>"default"===n?Object.assign(Object.assign({},e),{[t]:a}):Object.assign(Object.assign({},e),{[`${t}-on-${n}`]:a})),{}),ne=(e,t,n="",a)=>{if(!e)return"";if(a){if(a in e)return t.modifiers[le(`${n}${e[a]}`)];const i=["2xl","xl","lg","md","sm","default"];for(let l=i.indexOf(a);l<i.length;l++)if(i[l]in e)return t.modifiers[le(`${n}${e[i[l]]}`)];return""}return Object.entries(e||{}).map((([e,t])=>`${n}${t}${"default"!==e?`-on-${e}`:""}`)).map(le).map((e=>e.replace(/-?(\dxl)/gi,((e,t)=>`_${t}`)))).map((e=>t.modifiers[e])).filter(Boolean).join(" ")},ae=e=>null===e?null:e>=1450?"2xl":e>=1200?"xl":e>=992?"lg":e>=768?"md":e>=576?"sm":"default",ie=e=>e.toUpperCase().replace("-","").replace("_",""),le=e=>e.replace(/([-_][a-z])/gi,ie),se=!("undefined"==typeof window||!window.document||!window.document.createElement),oe=(e,t)=>{const n=getComputedStyle(t),a=document.createElement("canvas").getContext("2d");return a.font=n.font||(()=>{let e="";const t={"50%":"ultra-condensed","62.5%":"extra-condensed","75%":"condensed","87.5%":"semi-condensed","100%":"normal","112.5%":"semi-expanded","125%":"expanded","150%":"extra-expanded","200%":"ultra-expanded"};let a;return a=n.fontStretch in t?t[n.fontStretch]:"normal",e=n.fontStyle+" "+n.fontVariant+" "+n.fontWeight+" "+a+" "+n.fontSize+"/"+n.lineHeight+" "+n.fontFamily,e})(),a.measureText(e).width},re=e=>{const t=getComputedStyle(e);let n=e.clientWidth,a=e.clientHeight;return a-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),{height:a,width:n}},ce=(e,t)=>{const n=re(e).width;let a=t;if(oe(t,e)>n){for(;oe(`...${a}`,e)>n;)a=a.substring(1);e.value?e.value=`...${a}`:e.innerText=`...${a}`}else e.value?e.value=t:e.innerText=t},de=e=>e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});class pe extends l.Component{componentDidMount(){const e=o.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}function me(e){const t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function ue(e){if("[object Window]"!==e.toString()){const t=e.ownerDocument;return t?t.defaultView:window}return e}function fe(e){const t=ue(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(e){return e instanceof ue(e).Element||e instanceof Element}function ge(e){return e instanceof ue(e).HTMLElement||e instanceof HTMLElement}function be(e){return e?(e.nodeName||"").toLowerCase():null}function ve(e){return(he(e)?e.ownerDocument:e.document).documentElement}function xe(e){return me(ve(e)).left+fe(e).scrollLeft}function ye(e){return ue(e).getComputedStyle(e)}function Oe(e){const{overflow:t,overflowX:n,overflowY:a}=ye(e);return/auto|scroll|overlay|hidden/.test(t+a+n)}function Ee(e,t,n=!1){const a=ve(t),i=me(e),l=ge(t);let s={scrollLeft:0,scrollTop:0},o={x:0,y:0};var r,c;return(l||!l&&!n)&&(("body"!==be(t)||Oe(a))&&(s=(r=t)!==ue(r)&&ge(r)?{scrollLeft:(c=r).scrollLeft,scrollTop:c.scrollTop}:fe(r)),ge(t)?(o=me(t),o.x+=t.clientLeft,o.y+=t.clientTop):a&&(o.x=xe(a))),{x:i.left+s.scrollLeft-o.x,y:i.top+s.scrollTop-o.y,width:i.width,height:i.height}}function Ce(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Ne(e){return"html"===be(e)?e:e.assignedSlot||e.parentNode||e.host||ve(e)}function we(e){return["html","body","#document"].indexOf(be(e))>=0?e.ownerDocument.body:ge(e)&&Oe(e)?e:we(Ne(e))}function Se(e,t=[]){const n=we(e),a="body"===be(n),i=ue(n),l=a?[i].concat(i.visualViewport||[],Oe(n)?n:[]):n,s=t.concat(l);return a?s:s.concat(Se(Ne(l)))}function _e(e){return["table","td","th"].indexOf(be(e))>=0}function Te(e){if(!ge(e)||"fixed"===ye(e).position)return null;const t=e.offsetParent;if(t){const e=ve(t);if("body"===be(t)&&"static"===ye(t).position&&"static"!==ye(e).position)return e}return t}function Ie(e){const t=ue(e);let n=Te(e);for(;n&&_e(n)&&"static"===ye(n).position;)n=Te(n);return n&&"body"===be(n)&&"static"===ye(n).position?t:n||function(e){let t=Ne(e);for(;ge(t)&&["html","body"].indexOf(be(t))<0;){const e=ye(t);if("none"!==e.transform||"none"!==e.perspective||e.willChange&&"auto"!==e.willChange)return t;t=t.parentNode}return null}(e)||t}pe.displayName="FindRefWrapper";const Le="top",ke="bottom",De="right",Pe="left",Re="auto",Me=[Le,ke,De,Pe],Ae="start",Be="end",Fe="clippingParents",je="viewport",Ve="popper",He=Me.reduce(((e,t)=>e.concat([`${t}-start`,`${t}-end`])),[]),$e=[...Me,Re].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),ze=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function We(e){const t=new Map,n=new Set,a=[];function i(e){n.add(e.name);[...e.requires||[],...e.requiresIfExists||[]].forEach((e=>{if(!n.has(e)){const n=t.get(e);n&&i(n)}})),a.push(e)}return e.forEach((e=>{t.set(e.name,e)})),e.forEach((e=>{n.has(e.name)||i(e)})),a}function Ge(e){let t;return()=>(t||(t=new Promise((n=>{Promise.resolve().then((()=>{t=void 0,n(e())}))}))),t)}function Xe(e){return e.split("-")[0]}function Ke(e,t){const n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){let n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ue(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qe(e,t){return t===je?Ue(function(e){const t=ue(e),n=ve(e),a=t.visualViewport;let i=n.clientWidth,l=n.clientHeight,s=0,o=0;return a&&(i=a.width,l=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=a.offsetLeft,o=a.offsetTop)),{width:i,height:l,x:s+xe(e),y:o}}(e)):ge(t)?function(e){const t=me(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ue(function(e){const t=ve(e),n=fe(e),a=e.ownerDocument.body,i=Math.max(t.scrollWidth,t.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=Math.max(t.scrollHeight,t.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);let s=-n.scrollLeft+xe(e);const o=-n.scrollTop;return"rtl"===ye(a||t).direction&&(s+=Math.max(t.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:o}}(ve(e)))}function Ye(e,t,n){const a="clippingParents"===t?function(e){const t=Se(Ne(e)),n=["absolute","fixed"].indexOf(ye(e).position)>=0&&ge(e)?Ie(e):e;return he(n)?t.filter((e=>he(e)&&Ke(e,n)&&"body"!==be(e))):[]}(e):[].concat(t),i=[...a,n],l=i[0],s=i.reduce(((t,n)=>{const a=qe(e,n);return t.top=Math.max(a.top,t.top),t.right=Math.min(a.right,t.right),t.bottom=Math.min(a.bottom,t.bottom),t.left=Math.max(a.left,t.left),t}),qe(e,l));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Je(e){return e.split("-")[1]}function Ze(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Qe({reference:e,element:t,placement:n}){const a=n?Xe(n):null,i=n?Je(n):null,l=e.x+e.width/2-t.width/2,s=e.y+e.height/2-t.height/2;let o;switch(a){case Le:o={x:l,y:e.y-t.height};break;case ke:o={x:l,y:e.y+e.height};break;case De:o={x:e.x+e.width,y:s};break;case Pe:o={x:e.x-t.width,y:s};break;default:o={x:e.x,y:e.y}}const r=a?Ze(a):null;if(null!=r){const n="y"===r?"height":"width";switch(i){case Ae:o[r]=Math.floor(o[r])-Math.floor(e[n]/2-t[n]/2);break;case Be:o[r]=Math.floor(o[r])+Math.ceil(e[n]/2-t[n]/2)}}return o}function et(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function tt(e,t){return t.reduce(((t,n)=>(t[n]=e,t)),{})}function nt(e,t={}){const{placement:n=e.placement,boundary:a=Fe,rootBoundary:i=je,elementContext:l=Ve,altBoundary:s=!1,padding:o=0}=t,r=et("number"!=typeof o?o:tt(o,Me)),c=l===Ve?"reference":Ve,d=e.elements.reference,p=e.rects.popper,m=e.elements[s?c:l],u=Ye(he(m)?m:m.contextElement||ve(e.elements.popper),a,i),f=me(d),h=Qe({reference:f,element:p,strategy:"absolute",placement:n}),g=Ue(Object.assign(Object.assign({},p),h)),b=l===Ve?g:f,v={top:u.top-b.top+r.top,bottom:b.bottom-u.bottom+r.bottom,left:u.left-b.left+r.left,right:b.right-u.right+r.right},x=e.modifiersData.offset;if(l===Ve&&x){const e=x[n];Object.keys(v).forEach((t=>{const n=[De,ke].indexOf(t)>=0?1:-1,a=[Le,ke].indexOf(t)>=0?"y":"x";v[t]+=e[a]*n}))}return v}const at={placement:"bottom",modifiers:[],strategy:"absolute"};function it(...e){return!e.some((e=>!(e&&"function"==typeof e.getBoundingClientRect)))}const lt={passive:!0};const st={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ot({popper:e,popperRect:t,placement:n,offsets:a,position:i,gpuAcceleration:l,adaptive:s}){let{x:o,y:r}=function({x:e,y:t}){const n=window.devicePixelRatio||1;return{x:Math.round(e*n)/n||0,y:Math.round(t*n)/n||0}}(a);const c=a.hasOwnProperty("x"),d=a.hasOwnProperty("y");let p=Pe,m=Le;const u=window;if(s){let a=Ie(e);a===ue(e)&&(a=ve(e)),n===Le&&(m=ke,r-=a.clientHeight-t.height,r*=l?1:-1),n===Pe&&(p=De,o-=a.clientWidth-t.width,o*=l?1:-1)}const f=Object.assign({position:i},s&&st);return l?Object.assign(Object.assign({},f),{[m]:d?"0":"",[p]:c?"0":"",transform:(u.devicePixelRatio||1)<2?`translate(${o}px, ${r}px)`:`translate3d(${o}px, ${r}px, 0)`}):Object.assign(Object.assign({},f),{[m]:d?`${r}px`:"",[p]:c?`${o}px`:"",transform:""})}var rt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function({state:e,options:t,name:n}){const{offset:a=[0,0]}=t,i=$e.reduce(((t,n)=>(t[n]=function(e,t,n){const a=Xe(e),i=[Pe,Le].indexOf(a)>=0?-1:1;let[l,s]="function"==typeof n?n(Object.assign(Object.assign({},t),{placement:e})):n;return l=l||0,s=(s||0)*i,[Pe,De].indexOf(a)>=0?{x:s,y:l}:{x:l,y:s}}(n,e.rects,a),t)),{}),{x:l,y:s}=i[e.placement];null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=s),e.modifiersData[n]=i}};const ct={left:"right",right:"left",bottom:"top",top:"bottom"};function dt(e){return e.replace(/left|right|bottom|top/g,(e=>ct[e]))}const pt={start:"end",end:"start"};function mt(e){return e.replace(/start|end/g,(e=>pt[e]))}function ut(e,t={}){const{placement:n,boundary:a,rootBoundary:i,padding:l,flipVariations:s,allowedAutoPlacements:o=$e}=t,r=Je(n),c=r?s?He:He.filter((e=>Je(e)===r)):Me;let d=c.filter((e=>o.indexOf(e)>=0));0===d.length&&(d=c);const p=d.reduce(((t,n)=>(t[n]=nt(e,{placement:n,boundary:a,rootBoundary:i,padding:l})[Xe(n)],t)),{});return Object.keys(p).sort(((e,t)=>p[e]-p[t]))}var ft={name:"flip",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){if(e.modifiersData[n]._skip)return;const{mainAxis:a=!0,altAxis:i=!0,fallbackPlacements:l,padding:s,boundary:o,rootBoundary:r,altBoundary:c,flipVariations:d=!0,allowedAutoPlacements:p}=t,m=e.options.placement,u=Xe(m),f=[m,...l||(u===m||!d?[dt(m)]:function(e){if(Xe(e)===Re)return[];const t=dt(e);return[mt(e),t,mt(t)]}(m))].reduce(((t,n)=>t.concat(Xe(n)===Re?ut(e,{placement:n,boundary:o,rootBoundary:r,padding:s,flipVariations:d,allowedAutoPlacements:p}):n)),[]),h=e.rects.reference,g=e.rects.popper,b=new Map;let v=!0,x=f[0];for(let t=0;t<f.length;t++){const n=f[t],l=Xe(n),d=Je(n)===Ae,p=[Le,ke].indexOf(l)>=0,m=p?"width":"height",u=nt(e,{placement:n,boundary:o,rootBoundary:r,altBoundary:c,padding:s});let y=p?d?De:Pe:d?ke:Le;h[m]>g[m]&&(y=dt(y));const O=dt(y),E=[];if(a&&E.push(u[l]<=0),i&&E.push(u[y]<=0,u[O]<=0),E.every((e=>e))){x=n,v=!1;break}b.set(n,E)}if(v){for(let e=d?3:1;e>0;e--){const t=f.find((t=>{const n=b.get(t);if(n)return n.slice(0,e).every((e=>e))}));if(t){x=t;break}}}e.placement!==x&&(e.modifiersData[n]._skip=!0,e.placement=x,e.reset=!0)},requiresIfExists:["offset"],data:{_skip:!1}};function ht(e,t,n){return Math.max(e,Math.min(t,n))}var gt={name:"preventOverflow",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){const{mainAxis:a=!0,altAxis:i=!1,boundary:l,rootBoundary:s,altBoundary:o,padding:r,tether:c=!0,tetherOffset:d=0}=t,p=nt(e,{boundary:l,rootBoundary:s,padding:r,altBoundary:o}),m=Xe(e.placement),u=Je(e.placement),f=!u,h=Ze(m),g="x"===h?"y":"x",b=e.modifiersData.popperOffsets,v=e.rects.reference,x=e.rects.popper,y="function"==typeof d?d(Object.assign(Object.assign({},e.rects),{placement:e.placement})):d,O={x:0,y:0};if(b){if(a){const t="y"===h?Le:Pe,n="y"===h?ke:De,a="y"===h?"height":"width",i=b[h],l=b[h]+p[t],s=b[h]-p[n],o=c?-x[a]/2:0,r=u===Ae?v[a]:x[a],d=u===Ae?-x[a]:-v[a],m=e.elements.arrow,g=c&&m?Ce(m):{width:0,height:0},E=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},C=E[t],N=E[n],w=ht(0,v[a],g[a]),S=f?v[a]/2-o-w-C-y:r-w-C-y,_=f?-v[a]/2+o+w+N+y:d+w+N+y,T=e.elements.arrow&&Ie(e.elements.arrow),I=T?"y"===h?T.clientTop||0:T.clientLeft||0:0,L=e.modifiersData.offset?e.modifiersData.offset[e.placement][h]:0,k=b[h]+S-L-I,D=b[h]+_-L,P=ht(c?Math.min(l,k):l,i,c?Math.max(s,D):s);b[h]=P,O[h]=P-i}if(i){const e="x"===h?Le:Pe,t="x"===h?ke:De,n=b[g],a=ht(n+p[e],n,n-p[t]);b[g]=a,O[g]=a-n}e.modifiersData[n]=O}},requiresIfExists:["offset"]};var bt={name:"arrow",enabled:!0,phase:"main",fn:function({state:e,name:t}){const n=e.elements.arrow,a=e.modifiersData.popperOffsets,i=Xe(e.placement),l=Ze(i),s=[Pe,De].indexOf(i)>=0?"height":"width";if(!n||!a)return;const o=e.modifiersData[`${t}#persistent`].padding,r=Ce(n),c="y"===l?Le:Pe,d="y"===l?ke:De,p=e.rects.reference[s]+e.rects.reference[l]-a[l]-e.rects.popper[s],m=a[l]-e.rects.reference[l],u=Ie(n),f=u?"y"===l?u.clientHeight||0:u.clientWidth||0:0,h=p/2-m/2,g=o[c],b=f-r[s]-o[d],v=f/2-r[s]/2+h,x=ht(g,v,b),y=l;e.modifiersData[t]={[y]:x,centerOffset:x-v}},effect:function({state:e,options:t,name:n}){let{element:a="[data-popper-arrow]",padding:i=0}=t;null!=a&&("string"!=typeof a||(a=e.elements.popper.querySelector(a),a))&&Ke(e.elements.popper,a)&&(e.elements.arrow=a,e.modifiersData[`${n}#persistent`]={padding:et("number"!=typeof i?i:tt(i,Me))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vt(e,t,n={x:0,y:0}){return{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function xt(e){return[Le,De,ke,Pe].some((t=>e[t]>=0))}const yt=function(e={}){const{defaultModifiers:t=[],defaultOptions:n=at}=e;return function(e,a,i=n){let l={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},at),n),modifiersData:{},elements:{reference:e,popper:a},attributes:{},styles:{}},s=[],o=!1;const r={state:l,setOptions(i){c(),l.options=Object.assign(Object.assign(Object.assign({},n),l.options),i),l.scrollParents={reference:he(e)?Se(e):e.contextElement?Se(e.contextElement):[],popper:Se(a)};const o=function(e){const t=We(e);return ze.reduce(((e,n)=>e.concat(t.filter((e=>e.phase===n)))),[])}(function(e){const t=e.reduce(((e,t)=>{const n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((e=>t[e]))}([...t,...l.options.modifiers]));return l.orderedModifiers=o.filter((e=>e.enabled)),l.orderedModifiers.forEach((({name:e,options:t={},effect:n})=>{if("function"==typeof n){const a=n({state:l,name:e,instance:r,options:t}),i=()=>{};s.push(a||i)}})),r.update()},forceUpdate(){if(o)return;const{reference:e,popper:t}=l.elements;if(it(e,t)){l.rects={reference:Ee(e,Ie(t),"fixed"===l.options.strategy),popper:Ce(t)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((e=>l.modifiersData[e.name]=Object.assign({},e.data)));for(let e=0;e<l.orderedModifiers.length;e++){if(!0===l.reset){l.reset=!1,e=-1;continue}const{fn:t,options:n={},name:a}=l.orderedModifiers[e];"function"==typeof t&&(l=t({state:l,options:n,name:a,instance:r})||l)}}},update:Ge((()=>new Promise((e=>{r.forceUpdate(),e(l)})))),destroy(){c(),o=!0}};if(!it(e,a))return r;function c(){s.forEach((e=>e())),s=[]}return r.setOptions(i).then((e=>{!o&&i.onFirstUpdate&&i.onFirstUpdate(e)})),r}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:function({state:e,instance:t,options:n}){const{scroll:a=!0,resize:i=!0}=n,l=ue(e.elements.popper),s=[...e.scrollParents.reference,...e.scrollParents.popper];return a&&s.forEach((e=>{e.addEventListener("scroll",t.update,lt)})),i&&l.addEventListener("resize",t.update,lt),()=>{a&&s.forEach((e=>{e.removeEventListener("scroll",t.update,lt)})),i&&l.removeEventListener("resize",t.update,lt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function({state:e,name:t}){e.modifiersData[t]=Qe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function({state:e,options:t}){const{gpuAcceleration:n=!0,adaptive:a=!0}=t,i={placement:Xe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),ot(Object.assign(Object.assign({},i),{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),ot(Object.assign(Object.assign({},i),{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function({state:e}){Object.keys(e.elements).forEach((t=>{const n=e.styles[t]||{},a=e.attributes[t]||{},i=e.elements[t];ge(i)&&be(i)&&(Object.assign(i.style,n),Object.keys(a).forEach((e=>{const t=a[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function({state:e}){const t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),()=>{Object.keys(e.elements).forEach((n=>{const a=e.elements[n],i=e.attributes[n]||{},l=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(((e,t)=>(e[t]="",e)),{});ge(a)&&be(a)&&(Object.assign(a.style,l),Object.keys(i).forEach((e=>{a.removeAttribute(e)})))}))}},requires:["computeStyles"]},rt,ft,gt,bt,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function({state:e,name:t}){const n=e.rects.reference,a=e.rects.popper,i=e.modifiersData.preventOverflow,l=nt(e,{elementContext:"reference"}),s=nt(e,{altBoundary:!0}),o=vt(l,n),r=vt(s,a,i),c=xt(o),d=xt(r);e.modifiersData[t]={referenceClippingOffsets:o,popperEscapeOffsets:r,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),Ot=se?l.useLayoutEffect:l.useEffect,Et=e=>e.reduce(((e,[t,n])=>(e[t]=n,e)),{}),Ct=[],Nt=(e,t,n={})=>{const a=l.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Ct},[s,o]=l.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"}},attributes:{}}),r=l.useMemo((()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=Object.keys(e.elements);o({styles:Et(t.map((t=>[t,e.styles[t]||{}]))),attributes:Et(t.map((t=>[t,e.attributes[t]])))})},requires:["computeStyles"]})),[]),c=l.useMemo((()=>{const e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[...i.modifiers,r,{name:"applyStyles",enabled:!1}]};return t=a.current,n=e,JSON.stringify(t)===JSON.stringify(n)?a.current||e:(a.current=e,e);var t,n}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,r]),d=l.useRef();return Ot((()=>{d&&d.current&&d.current.setOptions(c)}),[c]),Ot((()=>{if(null==e||null==t)return;const a=(n.createPopper||yt)(e,t,c);return d.current=a,()=>{a.destroy(),d.current=null}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}},wt={left:"right",right:"left",bottom:"top",top:"bottom"},St=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,_t=({trigger:e,popper:t,popperMatchesTriggerWidth:n=!0,direction:a="down",position:i="left",placement:s,appendTo:r=(()=>document.body),zIndex:c=9999,isVisible:p=!0,positionModifiers:m,distance:u=0,onMouseEnter:f,onMouseLeave:h,onFocus:g,onBlur:b,onDocumentClick:v,onTriggerClick:x,onTriggerEnter:y,onPopperClick:O,onDocumentKeyDown:E,enableFlip:C=!0,flipBehavior:N="flip",reference:w})=>{const[S,_]=l.useState(null),[T,I]=l.useState(null),[L,k]=l.useState(null),[D,P]=l.useState(!1),R=T||S,M=l.useCallback((e=>v(e,R,L)),[p,S,T,L,v]);l.useEffect((()=>{P(!0)}),[]),l.useEffect((()=>{w&&(w.current?I(w.current):"function"==typeof w&&I(w()))}),[w]);const A=(e,t,n)=>{e&&t&&t.addEventListener(n,e)},B=(e,t,n)=>{e&&t&&t.removeEventListener(n,e)};l.useEffect((()=>(A(f,R,"mouseenter"),A(h,R,"mouseleave"),A(g,R,"focus"),A(b,R,"blur"),A(x,R,"click"),A(y,R,"keydown"),A(O,L,"click"),v&&A(M,document,"click"),A(E,document,"keydown"),()=>{B(f,R,"mouseenter"),B(h,R,"mouseleave"),B(g,R,"focus"),B(b,R,"blur"),B(x,R,"click"),B(y,R,"keydown"),B(O,L,"click"),v&&B(M,document,"click"),B(E,document,"keydown")})),[S,L,f,h,g,b,x,y,O,v,E,T]);const F=()=>{if(s)return s;let e="up"===a?"top":"bottom";return"center"!==i&&(e=`${e}-${"right"===i?"end":"start"}`),e},j=l.useMemo(F,[a,i,s]),V=l.useMemo((()=>(e=>e.replace(/left|right|bottom|top/g,(e=>wt[e])))(F())),[a,i,s]),H=l.useMemo((()=>({name:"sameWidth",enabled:n,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>(e.elements.popper.style.width=`${e.elements.reference.offsetWidth}px`,()=>{})})),[n]),{styles:$,attributes:z,forceUpdate:W}=Nt(R,L,{placement:j,modifiers:[{name:"offset",options:{offset:[0,u]}},{name:"preventOverflow",enabled:!1},{name:"hide",enabled:!0},{name:"flip",enabled:j.startsWith("auto")||C,options:{fallbackPlacements:"flip"===N?[V]:N}},H]});l.useEffect((()=>{W&&W()}),[t]);const G=l.cloneElement(t,Object.assign({className:d(t.props&&t.props.className,m&&(()=>{if(z&&z.popper&&z.popper["data-popper-placement"]){const e=z.popper["data-popper-placement"];return m[e]}return m.top})()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),$.popper),{zIndex:c})},z.popper));return l.createElement(l.Fragment,null,!w&&e&&l.createElement(pe,{onFoundRef:e=>_(e)},e),D&&p&&o.createPortal(l.createElement(pe,{onFoundRef:e=>k(e)},G),"function"==typeof r?r():r))};_t.displayName="Popper";const Tt=(e,t,n=(e=>document.activeElement.contains(e)),a=(e=>e),i=["A","BUTTON","INPUT"],l=!1,s=!1,o=!0,r=!0)=>{const c=document.activeElement,d=e.key;let p=null;if(!l&&["ArrowUp","ArrowDown"].includes(d)){e.preventDefault(),e.stopImmediatePropagation();let i=-1;t.forEach(((e,l)=>{if(n(e)){let e=0;for(;!p&&e<t.length&&-1*e<t.length;)"ArrowUp"===d?e--:e++,i=l+e,i>=t.length&&(i=0),i<0&&(i=t.length-1),p=a(t[i])}}))}if(!s&&["ArrowLeft","ArrowRight"].includes(d)){e.preventDefault(),e.stopImmediatePropagation();let a=-1;t.forEach(((l,s)=>{if(n(l)){const n=t[s].querySelectorAll(i.join(","));if(!n.length||r){let e=c;for(;e;)if(e="ArrowLeft"===d?e.previousElementSibling:e.nextElementSibling,e&&i.includes(e.tagName)){p=e;break}}else n.forEach(((t,i)=>{if(e.target===t){a=i+("ArrowLeft"===d?-1:1),a>=n.length&&(a=0),a<0&&(a=n.length-1),p=n[a]}}))}}))}p&&(o&&(c.tabIndex=-1,p.tabIndex=0),p.focus())};class It extends l.Component{constructor(){super(...arguments),this.keyHandler=e=>{const{isEventFromContainer:t}=this.props;if(t?!t(e):!this._isEventFromContainer(e))return;const{isActiveElement:n,getFocusableElement:a,noVerticalArrowHandling:i,noHorizontalArrowHandling:l,noEnterHandling:s,noSpaceHandling:o,updateTabIndex:r,validSiblingTags:c,additionalKeyHandler:d,createNavigableElements:p}=this.props;d&&d(e);const m=p();if(!m)return void console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");const u=e.key;s||"Enter"===u&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),o||" "===u&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),Tt(e,m,n,a,c,i,l,r)},this._isEventFromContainer=e=>{const{containerRef:t}=this.props;return t.current&&t.current.contains(e.target)}}componentDidMount(){se&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){se&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}It.displayName="KeyboardHandler",It.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:e=>document.activeElement===e,getFocusableElement:e=>e,validSiblingTags:["BUTTON","A"],updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1};const Lt=(e,t)=>{let n;if(se){const{ResizeObserver:a}=window;if(e&&a){const i=new a((e=>{window.requestAnimationFrame((()=>{Array.isArray(e)&&e.length>0&&t()}))}));i.observe(e),n=()=>i.unobserve(e)}else window.addEventListener("resize",t),n=()=>window.removeEventListener("resize",t)}return()=>{n&&n()}};var kt="pf-l-bullseye",Dt="pf-c-about-modal-box",Pt="pf-c-about-modal-box__brand",Rt="pf-c-about-modal-box__brand-image",Mt="pf-c-about-modal-box__close",At="pf-c-about-modal-box__content",Bt="pf-c-about-modal-box__header",Ft="pf-c-about-modal-box__hero",jt="pf-c-about-modal-box__strapline",Vt="pf-c-content",Ht={visited:"pf-m-visited",overpassFont:"pf-m-overpass-font"};const $t=e=>{var{children:t,className:n="",trademark:a,id:i,noAboutModalBoxContentContainer:s=!1}=e,o=r(e,["children","className","trademark","id","noAboutModalBoxContentContainer"]);return l.createElement("div",Object.assign({className:d(At,n),id:i},o),l.createElement("div",{className:d("pf-c-about-modal-box__body")},s?t:l.createElement("div",{className:d(Vt)},t)),l.createElement("p",{className:d(jt)},a))};$t.displayName="AboutModalBoxContent";var zt,Wt,Gt={modifiers:{"4xl":"pf-m-4xl","3xl":"pf-m-3xl","2xl":"pf-m-2xl",xl:"pf-m-xl",lg:"pf-m-lg",md:"pf-m-md",overpassFont:"pf-m-overpass-font"},title:"pf-c-title"};e.TitleSizes=void 0,(zt=e.TitleSizes||(e.TitleSizes={})).md="md",zt.lg="lg",zt.xl="xl",zt["2xl"]="2xl",zt["3xl"]="3xl",zt["4xl"]="4xl",function(e){e.h1="2xl",e.h2="xl",e.h3="lg",e.h4="md",e.h5="md",e.h6="md"}(Wt||(Wt={}));const Xt=e=>{var{className:t="",children:n="",headingLevel:a,size:i=Wt[a],ouiaId:s,ouiaSafe:o=!0}=e,c=r(e,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const p=z(Xt.displayName,s,o);return l.createElement(a,Object.assign({},p,c,{className:d(Gt.title,i&&Gt.modifiers[i],t)}),n)};Xt.displayName="Title";const Kt=e=>{var{className:t="",productName:n="",id:a}=e,i=r(e,["className","productName","id"]);return l.createElement("div",Object.assign({className:d(Bt,t)},i),l.createElement(Xt,{headingLevel:"h1",size:"4xl",id:a},n))};Kt.displayName="AboutModalBoxHeader";var Ut={name:"--pf-c-about-modal-box__hero--sm--BackgroundImage",value:'url("../../assets/images/pfbg_992@2x.jpg")',var:"var(--pf-c-about-modal-box__hero--sm--BackgroundImage)"};const qt=e=>{var{className:t,backgroundImageSrc:n}=e,a=r(e,["className","backgroundImageSrc"]);return l.createElement("div",Object.assign({style:""!==n?{[Ut.name]:`url(${n})`}:{},className:d(Ft,t)},a))};qt.displayName="AboutModalBoxHero";const Yt=e=>{var{className:t="",src:n="",alt:a}=e,i=r(e,["className","src","alt"]);return l.createElement("div",Object.assign({className:d(Pt,t)},i),l.createElement("img",{className:d(Rt),src:n,alt:a}))};Yt.displayName="AboutModalBoxBrand";var Jt,Zt={button:"pf-c-button",buttonIcon:"pf-c-button__icon",buttonProgress:"pf-c-button__progress",modifiers:{active:"pf-m-active",block:"pf-m-block",small:"pf-m-small",primary:"pf-m-primary",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",tertiary:"pf-m-tertiary",link:"pf-m-link",inline:"pf-m-inline",danger:"pf-m-danger",warning:"pf-m-warning",control:"pf-m-control",expanded:"pf-m-expanded",plain:"pf-m-plain",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",start:"pf-m-start",end:"pf-m-end",overpassFont:"pf-m-overpass-font"},spinner:"pf-c-spinner"},Qt={modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},spinner:"pf-c-spinner",spinnerClipper:"pf-c-spinner__clipper",spinnerLeadBall:"pf-c-spinner__lead-ball",spinnerPath:"pf-c-spinner__path",spinnerTailBall:"pf-c-spinner__tail-ball"};e.spinnerSize=void 0,(Jt=e.spinnerSize||(e.spinnerSize={})).sm="sm",Jt.md="md",Jt.lg="lg",Jt.xl="xl";const en=e=>{var{className:t="",size:n="xl","aria-valuetext":a="Loading...",isSVG:i=!1,diameter:s}=e,o=r(e,["className","size","aria-valuetext","isSVG","diameter"]);const c=i?"svg":"span";return l.createElement(c,Object.assign({className:d(Qt.spinner,Qt.modifiers[n],t),role:"progressbar","aria-valuetext":a},i&&{viewBox:"0 0 100 100"},s&&{style:{"--pf-c-spinner--diameter":s}},o),i?l.createElement("circle",{className:Qt.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):l.createElement(l.Fragment,null,l.createElement("span",{className:d(Qt.spinnerClipper)}),l.createElement("span",{className:d(Qt.spinnerLeadBall)}),l.createElement("span",{className:d(Qt.spinnerTailBall)})))};var tn,nn;en.displayName="Spinner",e.ButtonVariant=void 0,(tn=e.ButtonVariant||(e.ButtonVariant={})).primary="primary",tn.secondary="secondary",tn.tertiary="tertiary",tn.danger="danger",tn.warning="warning",tn.link="link",tn.plain="plain",tn.control="control",e.ButtonType=void 0,(nn=e.ButtonType||(e.ButtonType={})).button="button",nn.submit="submit",nn.reset="reset";const an=t=>{var{children:n=null,className:a="",component:i="button",isActive:s=!1,isBlock:o=!1,isDisabled:c=!1,isAriaDisabled:p=!1,isLoading:m=null,isDanger:u=!1,spinnerAriaValueText:f,isSmall:h=!1,isLarge:g=!1,inoperableEvents:b=["onClick","onKeyPress"],isInline:v=!1,type:x=e.ButtonType.button,variant:y=e.ButtonVariant.primary,iconPosition:O="left","aria-label":E=null,icon:C=null,ouiaId:N,ouiaSafe:w=!0,tabIndex:S=null,innerRef:_}=t,T=r(t,["children","className","component","isActive","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","spinnerAriaValueText","isSmall","isLarge","inoperableEvents","isInline","type","variant","iconPosition","aria-label","icon","ouiaId","ouiaSafe","tabIndex","innerRef"]);const I=z(ln.displayName,N,w,y),L=i,k="button"===L,D=v&&"span"===L,P=b.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});return l.createElement(L,Object.assign({},T,p?P:null,{"aria-disabled":c||p,"aria-label":E,className:d(Zt.button,Zt.modifiers[y],o&&Zt.modifiers.block,c&&Zt.modifiers.disabled,p&&Zt.modifiers.ariaDisabled,s&&Zt.modifiers.active,v&&y===e.ButtonVariant.link&&Zt.modifiers.inline,u&&(y===e.ButtonVariant.secondary||y===e.ButtonVariant.link)&&Zt.modifiers.danger,null!==m&&Zt.modifiers.progress,m&&Zt.modifiers.inProgress,h&&Zt.modifiers.small,g&&Zt.modifiers.displayLg,a),disabled:k?c:null,tabIndex:null!==S?S:c?k?null:-1:p?null:D?0:void 0,type:k||D?x:null,role:D?"button":null,ref:_},I),m&&l.createElement("span",{className:d(Zt.buttonProgress)},l.createElement(en,{size:e.spinnerSize.md,"aria-valuetext":f})),y!==e.ButtonVariant.plain&&C&&"left"===O&&l.createElement("span",{className:d(Zt.buttonIcon,Zt.modifiers.start)},C),n,y!==e.ButtonVariant.plain&&C&&"right"===O&&l.createElement("span",{className:d(Zt.buttonIcon,Zt.modifiers.end)},C))},ln=l.forwardRef(((e,t)=>l.createElement(an,Object.assign({innerRef:t},e))));var sn;ln.displayName="Button",function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(sn||(sn={}));let on=0;function rn({name:e,xOffset:t=0,yOffset:n=0,width:a,height:i,svgPath:s}){var o;return o=class extends l.Component{constructor(){super(...arguments),this.id="icon-title-"+on++}render(){const e=this.props,{size:o,color:r,title:c,noVerticalAlign:d}=e,p=
26
+ function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var D,P=(D=[],{activateTrap:function(e){if(D.length>0){var t=D[D.length-1];t!==e&&t.pause()}var n=D.indexOf(e);-1===n||D.splice(n,1),D.push(e)},deactivateTrap:function(e){var t=D.indexOf(e);-1!==t&&D.splice(t,1),D.length>0&&D[D.length-1].unpause()}}),R=function(e){return setTimeout(e,0)},M=function(e,t){var n,a=document,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),l={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},s=function(e){return l.containers.some((function(t){return t.contains(e)}))},o=function(e){var t=i[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=a.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},r=function(){var e;if(null!==o("initialFocus"))e=o("initialFocus");else if(s(a.activeElement))e=a.activeElement;else{var t=l.tabbableGroups[0];e=t&&t.firstTabbableNode||o("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},c=function(){if(l.tabbableGroups=l.containers.map((function(e){var t=_(e);if(t.length>0)return{firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),l.tabbableGroups.length<=0&&!o("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){t!==a.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),l.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(r()))},p=function(e){s(e.target)||(i.clickOutsideDeactivates?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!I(e.target)}):i.allowOutsideClick&&("boolean"==typeof i.allowOutsideClick?i.allowOutsideClick:i.allowOutsideClick(e))||e.preventDefault())},m=function(e){var t=s(e.target);t||e.target instanceof Document?t&&(l.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),d(l.mostRecentlyFocusedNode||r()))},u=function(e){if(!1!==i.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){c();var t=null;if(l.tabbableGroups.length>0)if(e.shiftKey){var n=l.tabbableGroups.findIndex((function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var a=0===n?l.tabbableGroups.length-1:n-1;t=l.tabbableGroups[a].lastTabbableNode}}else{var i=l.tabbableGroups.findIndex((function(t){var n=t.lastTabbableNode;return e.target===n}));if(i>=0){var s=i===l.tabbableGroups.length-1?0:i+1;t=l.tabbableGroups[s].firstTabbableNode}}else t=o("fallbackFocus");t&&(e.preventDefault(),d(t))}(e)},f=function(e){i.clickOutsideDeactivates||s(e.target)||i.allowOutsideClick&&("boolean"==typeof i.allowOutsideClick?i.allowOutsideClick:i.allowOutsideClick(e))||(e.preventDefault(),e.stopImmediatePropagation())},h=function(){if(l.active)return P.activateTrap(n),b=i.delayInitialFocus?R((function(){d(r())})):d(r()),a.addEventListener("focusin",m,!0),a.addEventListener("mousedown",p,{capture:!0,passive:!1}),a.addEventListener("touchstart",p,{capture:!0,passive:!1}),a.addEventListener("click",f,{capture:!0,passive:!1}),a.addEventListener("keydown",u,{capture:!0,passive:!1}),n},g=function(){if(l.active)return a.removeEventListener("focusin",m,!0),a.removeEventListener("mousedown",p,!0),a.removeEventListener("touchstart",p,!0),a.removeEventListener("click",f,!0),a.removeEventListener("keydown",u,!0),n};return(n={activate:function(e){if(l.active)return this;c(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=a.activeElement;var t=e&&e.onActivate?e.onActivate:i.onActivate;return t&&t(),h(),this},deactivate:function(e){if(!l.active)return this;clearTimeout(b),g(),l.active=!1,l.paused=!1,P.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:i.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:i.returnFocusOnDeactivate)&&R((function(){var e;d((e=l.nodeFocusedBeforeActivation,o("setReturnFocus")||e))})),this},pause:function(){return l.paused||!l.active||(l.paused=!0,g()),this},unpause:function(){return l.paused&&l.active?(l.paused=!1,c(),h(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return l.containers=t.map((function(e){return"string"==typeof e?a.querySelector(e):e})),l.active&&c(),this}}).updateContainerElements(e),n};class A extends l.Component{constructor(e){super(e),this.divRef=l.createRef(),"undefined"!=typeof document&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=M(this.divRef.current,Object.assign(Object.assign({},this.props.focusTrapOptions),{returnFocusOnDeactivate:!1})),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}componentDidUpdate(e){e.active&&!this.props.active?this.focusTrap.deactivate():!e.active&&this.props.active&&this.focusTrap.activate(),e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}componentWillUnmount(){this.focusTrap.deactivate(),!1!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus({preventScroll:this.props.preventScrollOnDeactivate})}render(){const e=this.props,{children:t,className:n,focusTrapOptions:a,active:i,paused:s,preventScrollOnDeactivate:o}=e,c=r(e,["children","className","focusTrapOptions","active","paused","preventScrollOnDeactivate"]);return l.createElement("div",Object.assign({ref:this.divRef,className:n},c),t)}}A.displayName="FocusTrap",A.defaultProps={active:!0,paused:!1,focusTrapOptions:{},preventScrollOnDeactivate:!1};let B=0;class F extends l.Component{constructor(){super(...arguments),this.id=`${this.props.prefix}${B++}`}render(){return this.props.children(this.id)}}F.displayName="GenerateId",F.defaultProps={prefix:"pf-random-id-"};let j=0;const V="OUIA-Generated-",H={};function $(e,t,n=!0){return{"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":t}}const z=(e,t,n=!0,a)=>({"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":W(e,t,a)}),W=(e,n,a)=>void 0!==n?n:t.useMemo((()=>G(e,a)),[e,a]);function G(e,t){try{let n;return n="undefined"!=typeof window?`${window.location.href}-${e}-${t||""}`:`${e}-${t||""}`,H[n]||(H[n]=0),`${V}${e}-${t?`${t}-`:""}${++H[n]}`}catch(n){return`${V}${e}-${t?`${t}-`:""}${++j}`}}function X(e){return e[0].toUpperCase()+e.substring(1)}function K(e="pf"){return`${e}-${(new Date).getTime()+Math.random().toString(36).slice(2)}`}function U(e,t){let n;return(...a)=>{clearTimeout(n),n=setTimeout((()=>e.apply(this,a)),t)}}function q(e,t,n,a=!1){if(!e||!t)return!1;const i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),s=Math.ceil(i.left),o=Math.floor(i.right),r=Math.ceil(l.left),c=Math.floor(l.right),d=r>=s&&c<=o,p=(n||!a&&i.width<l.width)&&(r<s&&c>s||c>o&&r<o);return d||p}function Y(e,t){return e.replace(/\${(.*?)}/g,((e,n)=>t[n]||""))}function J(e,t,n,a,i,l=!1){if(!Array.isArray(i))return;const s=a.filter((e=>e))[0].constructor===Array;let r=e,c=t;if("up"===n?r=0===e?i.length-1:e-1:"down"===n?r=e===i.length-1?0:e+1:"left"===n?c=0===t?a[e].length-1:t-1:"right"===n&&(c=t===a[e].length-1?0:t+1),null===a[r]||void 0===a[r]||s&&(null===a[r][c]||void 0===a[r][c]))J(r,c,n,a,i,l);else if(l){a[r].focus&&a[r].focus();o.findDOMNode(a[r]).focus()}else"tab"!==n&&(s?a[r][c].focus():a[r].focus())}function Z(e,t){const n=e.current.querySelectorAll(t);return Array.prototype.filter.call(n,(function(e){return e.tabIndex>="0"}))}function Q(e,t,n){let a;return a="up"===t?0===e?n.length-1:e-1:e===n.length-1?0:e+1,void 0===n[a]||null===n[a][0]?Q(a,t,n):a}function ee(e,t,n){return n||(n=`${t}s`),`${e||0} ${1===e?t:n}`}const te=(e,t)=>Object.entries(e||{}).reduce(((e,[n,a])=>"default"===n?Object.assign(Object.assign({},e),{[t]:a}):Object.assign(Object.assign({},e),{[`${t}-on-${n}`]:a})),{}),ne=(e,t,n="",a)=>{if(!e)return"";if(a){if(a in e)return t.modifiers[le(`${n}${e[a]}`)];const i=["2xl","xl","lg","md","sm","default"];for(let l=i.indexOf(a);l<i.length;l++)if(i[l]in e)return t.modifiers[le(`${n}${e[i[l]]}`)];return""}return Object.entries(e||{}).map((([e,t])=>`${n}${t}${"default"!==e?`-on-${e}`:""}`)).map(le).map((e=>e.replace(/-?(\dxl)/gi,((e,t)=>`_${t}`)))).map((e=>t.modifiers[e])).filter(Boolean).join(" ")},ae=e=>null===e?null:e>=1450?"2xl":e>=1200?"xl":e>=992?"lg":e>=768?"md":e>=576?"sm":"default",ie=e=>e.toUpperCase().replace("-","").replace("_",""),le=e=>e.replace(/([-_][a-z])/gi,ie),se=!("undefined"==typeof window||!window.document||!window.document.createElement),oe=(e,t)=>{const n=getComputedStyle(t),a=document.createElement("canvas").getContext("2d");return a.font=n.font||(()=>{let e="";const t={"50%":"ultra-condensed","62.5%":"extra-condensed","75%":"condensed","87.5%":"semi-condensed","100%":"normal","112.5%":"semi-expanded","125%":"expanded","150%":"extra-expanded","200%":"ultra-expanded"};let a;return a=n.fontStretch in t?t[n.fontStretch]:"normal",e=n.fontStyle+" "+n.fontVariant+" "+n.fontWeight+" "+a+" "+n.fontSize+"/"+n.lineHeight+" "+n.fontFamily,e})(),a.measureText(e).width},re=e=>{const t=getComputedStyle(e);let n=e.clientWidth,a=e.clientHeight;return a-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),{height:a,width:n}},ce=(e,t)=>{const n=re(e).width;let a=t;if(oe(t,e)>n){for(;oe(`...${a}`,e)>n;)a=a.substring(1);e.value?e.value=`...${a}`:e.innerText=`...${a}`}else e.value?e.value=t:e.innerText=t},de=e=>e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});class pe extends l.Component{componentDidMount(){const e=o.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}function me(e){const t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function ue(e){if("[object Window]"!==e.toString()){const t=e.ownerDocument;return t?t.defaultView:window}return e}function fe(e){const t=ue(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(e){return e instanceof ue(e).Element||e instanceof Element}function ge(e){return e instanceof ue(e).HTMLElement||e instanceof HTMLElement}function be(e){return e?(e.nodeName||"").toLowerCase():null}function ve(e){return(he(e)?e.ownerDocument:e.document).documentElement}function xe(e){return me(ve(e)).left+fe(e).scrollLeft}function ye(e){return ue(e).getComputedStyle(e)}function Oe(e){const{overflow:t,overflowX:n,overflowY:a}=ye(e);return/auto|scroll|overlay|hidden/.test(t+a+n)}function Ee(e,t,n=!1){const a=ve(t),i=me(e),l=ge(t);let s={scrollLeft:0,scrollTop:0},o={x:0,y:0};var r,c;return(l||!l&&!n)&&(("body"!==be(t)||Oe(a))&&(s=(r=t)!==ue(r)&&ge(r)?{scrollLeft:(c=r).scrollLeft,scrollTop:c.scrollTop}:fe(r)),ge(t)?(o=me(t),o.x+=t.clientLeft,o.y+=t.clientTop):a&&(o.x=xe(a))),{x:i.left+s.scrollLeft-o.x,y:i.top+s.scrollTop-o.y,width:i.width,height:i.height}}function Ce(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Ne(e){return"html"===be(e)?e:e.assignedSlot||e.parentNode||e.host||ve(e)}function we(e){return["html","body","#document"].indexOf(be(e))>=0?e.ownerDocument.body:ge(e)&&Oe(e)?e:we(Ne(e))}function Se(e,t=[]){const n=we(e),a="body"===be(n),i=ue(n),l=a?[i].concat(i.visualViewport||[],Oe(n)?n:[]):n,s=t.concat(l);return a?s:s.concat(Se(Ne(l)))}function _e(e){return["table","td","th"].indexOf(be(e))>=0}function Te(e){if(!ge(e)||"fixed"===ye(e).position)return null;const t=e.offsetParent;if(t){const e=ve(t);if("body"===be(t)&&"static"===ye(t).position&&"static"!==ye(e).position)return e}return t}function Ie(e){const t=ue(e);let n=Te(e);for(;n&&_e(n)&&"static"===ye(n).position;)n=Te(n);return n&&"body"===be(n)&&"static"===ye(n).position?t:n||function(e){let t=Ne(e);for(;ge(t)&&["html","body"].indexOf(be(t))<0;){const e=ye(t);if("none"!==e.transform||"none"!==e.perspective||e.willChange&&"auto"!==e.willChange)return t;t=t.parentNode}return null}(e)||t}pe.displayName="FindRefWrapper";const Le="top",ke="bottom",De="right",Pe="left",Re="auto",Me=[Le,ke,De,Pe],Ae="start",Be="end",Fe="clippingParents",je="viewport",Ve="popper",He=Me.reduce(((e,t)=>e.concat([`${t}-start`,`${t}-end`])),[]),$e=[...Me,Re].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),ze=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function We(e){const t=new Map,n=new Set,a=[];function i(e){n.add(e.name);[...e.requires||[],...e.requiresIfExists||[]].forEach((e=>{if(!n.has(e)){const n=t.get(e);n&&i(n)}})),a.push(e)}return e.forEach((e=>{t.set(e.name,e)})),e.forEach((e=>{n.has(e.name)||i(e)})),a}function Ge(e){let t;return()=>(t||(t=new Promise((n=>{Promise.resolve().then((()=>{t=void 0,n(e())}))}))),t)}function Xe(e){return e.split("-")[0]}function Ke(e,t){const n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){let n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ue(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qe(e,t){return t===je?Ue(function(e){const t=ue(e),n=ve(e),a=t.visualViewport;let i=n.clientWidth,l=n.clientHeight,s=0,o=0;return a&&(i=a.width,l=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=a.offsetLeft,o=a.offsetTop)),{width:i,height:l,x:s+xe(e),y:o}}(e)):ge(t)?function(e){const t=me(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ue(function(e){const t=ve(e),n=fe(e),a=e.ownerDocument.body,i=Math.max(t.scrollWidth,t.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=Math.max(t.scrollHeight,t.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);let s=-n.scrollLeft+xe(e);const o=-n.scrollTop;return"rtl"===ye(a||t).direction&&(s+=Math.max(t.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:o}}(ve(e)))}function Ye(e,t,n){const a="clippingParents"===t?function(e){const t=Se(Ne(e)),n=["absolute","fixed"].indexOf(ye(e).position)>=0&&ge(e)?Ie(e):e;return he(n)?t.filter((e=>he(e)&&Ke(e,n)&&"body"!==be(e))):[]}(e):[].concat(t),i=[...a,n],l=i[0],s=i.reduce(((t,n)=>{const a=qe(e,n);return t.top=Math.max(a.top,t.top),t.right=Math.min(a.right,t.right),t.bottom=Math.min(a.bottom,t.bottom),t.left=Math.max(a.left,t.left),t}),qe(e,l));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Je(e){return e.split("-")[1]}function Ze(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Qe({reference:e,element:t,placement:n}){const a=n?Xe(n):null,i=n?Je(n):null,l=e.x+e.width/2-t.width/2,s=e.y+e.height/2-t.height/2;let o;switch(a){case Le:o={x:l,y:e.y-t.height};break;case ke:o={x:l,y:e.y+e.height};break;case De:o={x:e.x+e.width,y:s};break;case Pe:o={x:e.x-t.width,y:s};break;default:o={x:e.x,y:e.y}}const r=a?Ze(a):null;if(null!=r){const n="y"===r?"height":"width";switch(i){case Ae:o[r]=Math.floor(o[r])-Math.floor(e[n]/2-t[n]/2);break;case Be:o[r]=Math.floor(o[r])+Math.ceil(e[n]/2-t[n]/2)}}return o}function et(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function tt(e,t){return t.reduce(((t,n)=>(t[n]=e,t)),{})}function nt(e,t={}){const{placement:n=e.placement,boundary:a=Fe,rootBoundary:i=je,elementContext:l=Ve,altBoundary:s=!1,padding:o=0}=t,r=et("number"!=typeof o?o:tt(o,Me)),c=l===Ve?"reference":Ve,d=e.elements.reference,p=e.rects.popper,m=e.elements[s?c:l],u=Ye(he(m)?m:m.contextElement||ve(e.elements.popper),a,i),f=me(d),h=Qe({reference:f,element:p,strategy:"absolute",placement:n}),g=Ue(Object.assign(Object.assign({},p),h)),b=l===Ve?g:f,v={top:u.top-b.top+r.top,bottom:b.bottom-u.bottom+r.bottom,left:u.left-b.left+r.left,right:b.right-u.right+r.right},x=e.modifiersData.offset;if(l===Ve&&x){const e=x[n];Object.keys(v).forEach((t=>{const n=[De,ke].indexOf(t)>=0?1:-1,a=[Le,ke].indexOf(t)>=0?"y":"x";v[t]+=e[a]*n}))}return v}const at={placement:"bottom",modifiers:[],strategy:"absolute"};function it(...e){return!e.some((e=>!(e&&"function"==typeof e.getBoundingClientRect)))}const lt={passive:!0};const st={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ot({popper:e,popperRect:t,placement:n,offsets:a,position:i,gpuAcceleration:l,adaptive:s}){let{x:o,y:r}=function({x:e,y:t}){const n=window.devicePixelRatio||1;return{x:Math.round(e*n)/n||0,y:Math.round(t*n)/n||0}}(a);const c=a.hasOwnProperty("x"),d=a.hasOwnProperty("y");let p=Pe,m=Le;const u=window;if(s){let a=Ie(e);a===ue(e)&&(a=ve(e)),n===Le&&(m=ke,r-=a.clientHeight-t.height,r*=l?1:-1),n===Pe&&(p=De,o-=a.clientWidth-t.width,o*=l?1:-1)}const f=Object.assign({position:i},s&&st);return l?Object.assign(Object.assign({},f),{[m]:d?"0":"",[p]:c?"0":"",transform:(u.devicePixelRatio||1)<2?`translate(${o}px, ${r}px)`:`translate3d(${o}px, ${r}px, 0)`}):Object.assign(Object.assign({},f),{[m]:d?`${r}px`:"",[p]:c?`${o}px`:"",transform:""})}var rt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function({state:e,options:t,name:n}){const{offset:a=[0,0]}=t,i=$e.reduce(((t,n)=>(t[n]=function(e,t,n){const a=Xe(e),i=[Pe,Le].indexOf(a)>=0?-1:1;let[l,s]="function"==typeof n?n(Object.assign(Object.assign({},t),{placement:e})):n;return l=l||0,s=(s||0)*i,[Pe,De].indexOf(a)>=0?{x:s,y:l}:{x:l,y:s}}(n,e.rects,a),t)),{}),{x:l,y:s}=i[e.placement];null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=s),e.modifiersData[n]=i}};const ct={left:"right",right:"left",bottom:"top",top:"bottom"};function dt(e){return e.replace(/left|right|bottom|top/g,(e=>ct[e]))}const pt={start:"end",end:"start"};function mt(e){return e.replace(/start|end/g,(e=>pt[e]))}function ut(e,t={}){const{placement:n,boundary:a,rootBoundary:i,padding:l,flipVariations:s,allowedAutoPlacements:o=$e}=t,r=Je(n),c=r?s?He:He.filter((e=>Je(e)===r)):Me;let d=c.filter((e=>o.indexOf(e)>=0));0===d.length&&(d=c);const p=d.reduce(((t,n)=>(t[n]=nt(e,{placement:n,boundary:a,rootBoundary:i,padding:l})[Xe(n)],t)),{});return Object.keys(p).sort(((e,t)=>p[e]-p[t]))}var ft={name:"flip",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){if(e.modifiersData[n]._skip)return;const{mainAxis:a=!0,altAxis:i=!0,fallbackPlacements:l,padding:s,boundary:o,rootBoundary:r,altBoundary:c,flipVariations:d=!0,allowedAutoPlacements:p}=t,m=e.options.placement,u=Xe(m),f=[m,...l||(u===m||!d?[dt(m)]:function(e){if(Xe(e)===Re)return[];const t=dt(e);return[mt(e),t,mt(t)]}(m))].reduce(((t,n)=>t.concat(Xe(n)===Re?ut(e,{placement:n,boundary:o,rootBoundary:r,padding:s,flipVariations:d,allowedAutoPlacements:p}):n)),[]),h=e.rects.reference,g=e.rects.popper,b=new Map;let v=!0,x=f[0];for(let t=0;t<f.length;t++){const n=f[t],l=Xe(n),d=Je(n)===Ae,p=[Le,ke].indexOf(l)>=0,m=p?"width":"height",u=nt(e,{placement:n,boundary:o,rootBoundary:r,altBoundary:c,padding:s});let y=p?d?De:Pe:d?ke:Le;h[m]>g[m]&&(y=dt(y));const O=dt(y),E=[];if(a&&E.push(u[l]<=0),i&&E.push(u[y]<=0,u[O]<=0),E.every((e=>e))){x=n,v=!1;break}b.set(n,E)}if(v){for(let e=d?3:1;e>0;e--){const t=f.find((t=>{const n=b.get(t);if(n)return n.slice(0,e).every((e=>e))}));if(t){x=t;break}}}e.placement!==x&&(e.modifiersData[n]._skip=!0,e.placement=x,e.reset=!0)},requiresIfExists:["offset"],data:{_skip:!1}};function ht(e,t,n){return Math.max(e,Math.min(t,n))}var gt={name:"preventOverflow",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){const{mainAxis:a=!0,altAxis:i=!1,boundary:l,rootBoundary:s,altBoundary:o,padding:r,tether:c=!0,tetherOffset:d=0}=t,p=nt(e,{boundary:l,rootBoundary:s,padding:r,altBoundary:o}),m=Xe(e.placement),u=Je(e.placement),f=!u,h=Ze(m),g="x"===h?"y":"x",b=e.modifiersData.popperOffsets,v=e.rects.reference,x=e.rects.popper,y="function"==typeof d?d(Object.assign(Object.assign({},e.rects),{placement:e.placement})):d,O={x:0,y:0};if(b){if(a){const t="y"===h?Le:Pe,n="y"===h?ke:De,a="y"===h?"height":"width",i=b[h],l=b[h]+p[t],s=b[h]-p[n],o=c?-x[a]/2:0,r=u===Ae?v[a]:x[a],d=u===Ae?-x[a]:-v[a],m=e.elements.arrow,g=c&&m?Ce(m):{width:0,height:0},E=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},C=E[t],N=E[n],w=ht(0,v[a],g[a]),S=f?v[a]/2-o-w-C-y:r-w-C-y,_=f?-v[a]/2+o+w+N+y:d+w+N+y,T=e.elements.arrow&&Ie(e.elements.arrow),I=T?"y"===h?T.clientTop||0:T.clientLeft||0:0,L=e.modifiersData.offset?e.modifiersData.offset[e.placement][h]:0,k=b[h]+S-L-I,D=b[h]+_-L,P=ht(c?Math.min(l,k):l,i,c?Math.max(s,D):s);b[h]=P,O[h]=P-i}if(i){const e="x"===h?Le:Pe,t="x"===h?ke:De,n=b[g],a=ht(n+p[e],n,n-p[t]);b[g]=a,O[g]=a-n}e.modifiersData[n]=O}},requiresIfExists:["offset"]};var bt={name:"arrow",enabled:!0,phase:"main",fn:function({state:e,name:t}){const n=e.elements.arrow,a=e.modifiersData.popperOffsets,i=Xe(e.placement),l=Ze(i),s=[Pe,De].indexOf(i)>=0?"height":"width";if(!n||!a)return;const o=e.modifiersData[`${t}#persistent`].padding,r=Ce(n),c="y"===l?Le:Pe,d="y"===l?ke:De,p=e.rects.reference[s]+e.rects.reference[l]-a[l]-e.rects.popper[s],m=a[l]-e.rects.reference[l],u=Ie(n),f=u?"y"===l?u.clientHeight||0:u.clientWidth||0:0,h=p/2-m/2,g=o[c],b=f-r[s]-o[d],v=f/2-r[s]/2+h,x=ht(g,v,b),y=l;e.modifiersData[t]={[y]:x,centerOffset:x-v}},effect:function({state:e,options:t,name:n}){let{element:a="[data-popper-arrow]",padding:i=0}=t;null!=a&&("string"!=typeof a||(a=e.elements.popper.querySelector(a),a))&&Ke(e.elements.popper,a)&&(e.elements.arrow=a,e.modifiersData[`${n}#persistent`]={padding:et("number"!=typeof i?i:tt(i,Me))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vt(e,t,n={x:0,y:0}){return{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function xt(e){return[Le,De,ke,Pe].some((t=>e[t]>=0))}const yt=function(e={}){const{defaultModifiers:t=[],defaultOptions:n=at}=e;return function(e,a,i=n){let l={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},at),n),modifiersData:{},elements:{reference:e,popper:a},attributes:{},styles:{}},s=[],o=!1;const r={state:l,setOptions(i){c(),l.options=Object.assign(Object.assign(Object.assign({},n),l.options),i),l.scrollParents={reference:he(e)?Se(e):e.contextElement?Se(e.contextElement):[],popper:Se(a)};const o=function(e){const t=We(e);return ze.reduce(((e,n)=>e.concat(t.filter((e=>e.phase===n)))),[])}(function(e){const t=e.reduce(((e,t)=>{const n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((e=>t[e]))}([...t,...l.options.modifiers]));return l.orderedModifiers=o.filter((e=>e.enabled)),l.orderedModifiers.forEach((({name:e,options:t={},effect:n})=>{if("function"==typeof n){const a=n({state:l,name:e,instance:r,options:t}),i=()=>{};s.push(a||i)}})),r.update()},forceUpdate(){if(o)return;const{reference:e,popper:t}=l.elements;if(it(e,t)){l.rects={reference:Ee(e,Ie(t),"fixed"===l.options.strategy),popper:Ce(t)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((e=>l.modifiersData[e.name]=Object.assign({},e.data)));for(let e=0;e<l.orderedModifiers.length;e++){if(!0===l.reset){l.reset=!1,e=-1;continue}const{fn:t,options:n={},name:a}=l.orderedModifiers[e];"function"==typeof t&&(l=t({state:l,options:n,name:a,instance:r})||l)}}},update:Ge((()=>new Promise((e=>{r.forceUpdate(),e(l)})))),destroy(){c(),o=!0}};if(!it(e,a))return r;function c(){s.forEach((e=>e())),s=[]}return r.setOptions(i).then((e=>{!o&&i.onFirstUpdate&&i.onFirstUpdate(e)})),r}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:function({state:e,instance:t,options:n}){const{scroll:a=!0,resize:i=!0}=n,l=ue(e.elements.popper),s=[...e.scrollParents.reference,...e.scrollParents.popper];return a&&s.forEach((e=>{e.addEventListener("scroll",t.update,lt)})),i&&l.addEventListener("resize",t.update,lt),()=>{a&&s.forEach((e=>{e.removeEventListener("scroll",t.update,lt)})),i&&l.removeEventListener("resize",t.update,lt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function({state:e,name:t}){e.modifiersData[t]=Qe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function({state:e,options:t}){const{gpuAcceleration:n=!0,adaptive:a=!0}=t,i={placement:Xe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),ot(Object.assign(Object.assign({},i),{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),ot(Object.assign(Object.assign({},i),{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function({state:e}){Object.keys(e.elements).forEach((t=>{const n=e.styles[t]||{},a=e.attributes[t]||{},i=e.elements[t];ge(i)&&be(i)&&(Object.assign(i.style,n),Object.keys(a).forEach((e=>{const t=a[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function({state:e}){const t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),()=>{Object.keys(e.elements).forEach((n=>{const a=e.elements[n],i=e.attributes[n]||{},l=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(((e,t)=>(e[t]="",e)),{});ge(a)&&be(a)&&(Object.assign(a.style,l),Object.keys(i).forEach((e=>{a.removeAttribute(e)})))}))}},requires:["computeStyles"]},rt,ft,gt,bt,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function({state:e,name:t}){const n=e.rects.reference,a=e.rects.popper,i=e.modifiersData.preventOverflow,l=nt(e,{elementContext:"reference"}),s=nt(e,{altBoundary:!0}),o=vt(l,n),r=vt(s,a,i),c=xt(o),d=xt(r);e.modifiersData[t]={referenceClippingOffsets:o,popperEscapeOffsets:r,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),Ot=se?l.useLayoutEffect:l.useEffect,Et=e=>e.reduce(((e,[t,n])=>(e[t]=n,e)),{}),Ct=[],Nt=(e,t,n={})=>{const a=l.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Ct},[s,o]=l.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"}},attributes:{}}),r=l.useMemo((()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=Object.keys(e.elements);o({styles:Et(t.map((t=>[t,e.styles[t]||{}]))),attributes:Et(t.map((t=>[t,e.attributes[t]])))})},requires:["computeStyles"]})),[]),c=l.useMemo((()=>{const e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[...i.modifiers,r,{name:"applyStyles",enabled:!1}]};return t=a.current,n=e,JSON.stringify(t)===JSON.stringify(n)?a.current||e:(a.current=e,e);var t,n}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,r]),d=l.useRef();return Ot((()=>{d&&d.current&&d.current.setOptions(c)}),[c]),Ot((()=>{if(null==e||null==t)return;const a=(n.createPopper||yt)(e,t,c);return d.current=a,()=>{a.destroy(),d.current=null}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}},wt={left:"right",right:"left",bottom:"top",top:"bottom"},St=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,_t=({trigger:e,popper:t,popperMatchesTriggerWidth:n=!0,direction:a="down",position:i="left",placement:s,appendTo:r=(()=>document.body),zIndex:c=9999,isVisible:p=!0,positionModifiers:m,distance:u=0,onMouseEnter:f,onMouseLeave:h,onFocus:g,onBlur:b,onDocumentClick:v,onTriggerClick:x,onTriggerEnter:y,onPopperClick:O,onDocumentKeyDown:E,enableFlip:C=!0,flipBehavior:N="flip",reference:w})=>{const[S,_]=l.useState(null),[T,I]=l.useState(null),[L,k]=l.useState(null),[D,P]=l.useState(!1),R=T||S,M=l.useCallback((e=>v(e,R,L)),[p,S,T,L,v]);l.useEffect((()=>{P(!0)}),[]),l.useEffect((()=>{w&&(w.current?I(w.current):"function"==typeof w&&I(w()))}),[w]);const A=(e,t,n)=>{e&&t&&t.addEventListener(n,e)},B=(e,t,n)=>{e&&t&&t.removeEventListener(n,e)};l.useEffect((()=>(A(f,R,"mouseenter"),A(h,R,"mouseleave"),A(g,R,"focus"),A(b,R,"blur"),A(x,R,"click"),A(y,R,"keydown"),A(O,L,"click"),v&&A(M,document,"click"),A(E,document,"keydown"),()=>{B(f,R,"mouseenter"),B(h,R,"mouseleave"),B(g,R,"focus"),B(b,R,"blur"),B(x,R,"click"),B(y,R,"keydown"),B(O,L,"click"),v&&B(M,document,"click"),B(E,document,"keydown")})),[S,L,f,h,g,b,x,y,O,v,E,T]);const F=()=>{if(s)return s;let e="up"===a?"top":"bottom";return"center"!==i&&(e=`${e}-${"right"===i?"end":"start"}`),e},j=l.useMemo(F,[a,i,s]),V=l.useMemo((()=>(e=>e.replace(/left|right|bottom|top/g,(e=>wt[e])))(F())),[a,i,s]),H=l.useMemo((()=>({name:"sameWidth",enabled:n,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>(e.elements.popper.style.width=`${e.elements.reference.offsetWidth}px`,()=>{})})),[n]),{styles:$,attributes:z,forceUpdate:W}=Nt(R,L,{placement:j,modifiers:[{name:"offset",options:{offset:[0,u]}},{name:"preventOverflow",enabled:!1},{name:"hide",enabled:!0},{name:"flip",enabled:j.startsWith("auto")||C,options:{fallbackPlacements:"flip"===N?[V]:N}},H]});l.useEffect((()=>{W&&W()}),[t]);const G=l.cloneElement(t,Object.assign({className:d(t.props&&t.props.className,m&&(()=>{if(z&&z.popper&&z.popper["data-popper-placement"]){const e=z.popper["data-popper-placement"];return m[e]}return m.top})()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),$.popper),{zIndex:c})},z.popper));return l.createElement(l.Fragment,null,!w&&e&&l.createElement(pe,{onFoundRef:e=>_(e)},e),D&&p&&o.createPortal(l.createElement(pe,{onFoundRef:e=>k(e)},G),"function"==typeof r?r():r))};_t.displayName="Popper";const Tt=(e,t,n=(e=>document.activeElement.contains(e)),a=(e=>e),i=["A","BUTTON","INPUT"],l=!1,s=!1,o=!0,r=!0)=>{const c=document.activeElement,d=e.key;let p=null;if(!l&&["ArrowUp","ArrowDown"].includes(d)){e.preventDefault(),e.stopImmediatePropagation();let i=-1;t.forEach(((e,l)=>{if(n(e)){let e=0;for(;!p&&e<t.length&&-1*e<t.length;)"ArrowUp"===d?e--:e++,i=l+e,i>=t.length&&(i=0),i<0&&(i=t.length-1),p=a(t[i])}}))}if(!s&&["ArrowLeft","ArrowRight"].includes(d)){e.preventDefault(),e.stopImmediatePropagation();let a=-1;t.forEach(((l,s)=>{if(n(l)){const n=t[s].querySelectorAll(i.join(","));if(!n.length||r){let e=c;for(;e;)if(e="ArrowLeft"===d?e.previousElementSibling:e.nextElementSibling,e&&i.includes(e.tagName)){p=e;break}}else n.forEach(((t,i)=>{if(e.target===t){a=i+("ArrowLeft"===d?-1:1),a>=n.length&&(a=0),a<0&&(a=n.length-1),p=n[a]}}))}}))}p&&(o&&(c.tabIndex=-1,p.tabIndex=0),p.focus())};class It extends l.Component{constructor(){super(...arguments),this.keyHandler=e=>{const{isEventFromContainer:t}=this.props;if(t?!t(e):!this._isEventFromContainer(e))return;const{isActiveElement:n,getFocusableElement:a,noVerticalArrowHandling:i,noHorizontalArrowHandling:l,noEnterHandling:s,noSpaceHandling:o,updateTabIndex:r,validSiblingTags:c,additionalKeyHandler:d,createNavigableElements:p}=this.props;d&&d(e);const m=p();if(!m)return void console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");const u=e.key;s||"Enter"===u&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),o||" "===u&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),Tt(e,m,n,a,c,i,l,r)},this._isEventFromContainer=e=>{const{containerRef:t}=this.props;return t.current&&t.current.contains(e.target)}}componentDidMount(){se&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){se&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}It.displayName="KeyboardHandler",It.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:e=>document.activeElement===e,getFocusableElement:e=>e,validSiblingTags:["BUTTON","A"],updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1};const Lt=(e,t)=>{let n;if(se){const{ResizeObserver:a}=window;if(e&&a){const i=new a((e=>{window.requestAnimationFrame((()=>{Array.isArray(e)&&e.length>0&&t()}))}));i.observe(e),n=()=>i.unobserve(e)}else window.addEventListener("resize",t),n=()=>window.removeEventListener("resize",t)}return()=>{n&&n()}};var kt="pf-l-bullseye",Dt="pf-c-about-modal-box",Pt="pf-c-about-modal-box__brand",Rt="pf-c-about-modal-box__brand-image",Mt="pf-c-about-modal-box__close",At="pf-c-about-modal-box__content",Bt="pf-c-about-modal-box__header",Ft="pf-c-about-modal-box__hero",jt="pf-c-about-modal-box__strapline",Vt="pf-c-content",Ht={visited:"pf-m-visited",overpassFont:"pf-m-overpass-font"};const $t=e=>{var{children:t,className:n="",trademark:a,id:i,noAboutModalBoxContentContainer:s=!1}=e,o=r(e,["children","className","trademark","id","noAboutModalBoxContentContainer"]);return l.createElement("div",Object.assign({className:d(At,n),id:i},o),l.createElement("div",{className:d("pf-c-about-modal-box__body")},s?t:l.createElement("div",{className:d(Vt)},t)),l.createElement("p",{className:d(jt)},a))};$t.displayName="AboutModalBoxContent";var zt,Wt,Gt={modifiers:{"4xl":"pf-m-4xl","3xl":"pf-m-3xl","2xl":"pf-m-2xl",xl:"pf-m-xl",lg:"pf-m-lg",md:"pf-m-md",overpassFont:"pf-m-overpass-font"},title:"pf-c-title"};e.TitleSizes=void 0,(zt=e.TitleSizes||(e.TitleSizes={})).md="md",zt.lg="lg",zt.xl="xl",zt["2xl"]="2xl",zt["3xl"]="3xl",zt["4xl"]="4xl",function(e){e.h1="2xl",e.h2="xl",e.h3="lg",e.h4="md",e.h5="md",e.h6="md"}(Wt||(Wt={}));const Xt=e=>{var{className:t="",children:n="",headingLevel:a,size:i=Wt[a],ouiaId:s,ouiaSafe:o=!0}=e,c=r(e,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const p=z(Xt.displayName,s,o);return l.createElement(a,Object.assign({},p,c,{className:d(Gt.title,i&&Gt.modifiers[i],t)}),n)};Xt.displayName="Title";const Kt=e=>{var{className:t="",productName:n="",id:a}=e,i=r(e,["className","productName","id"]);return l.createElement("div",Object.assign({className:d(Bt,t)},i),l.createElement(Xt,{headingLevel:"h1",size:"4xl",id:a},n))};Kt.displayName="AboutModalBoxHeader";var Ut={name:"--pf-c-about-modal-box__hero--sm--BackgroundImage",value:'url("../../assets/images/pfbg_992@2x.jpg")',var:"var(--pf-c-about-modal-box__hero--sm--BackgroundImage)"};const qt=e=>{var{className:t,backgroundImageSrc:n}=e,a=r(e,["className","backgroundImageSrc"]);return l.createElement("div",Object.assign({style:""!==n?{[Ut.name]:`url(${n})`}:{},className:d(Ft,t)},a))};qt.displayName="AboutModalBoxHero";const Yt=e=>{var{className:t="",src:n="",alt:a}=e,i=r(e,["className","src","alt"]);return l.createElement("div",Object.assign({className:d(Pt,t)},i),l.createElement("img",{className:d(Rt),src:n,alt:a}))};Yt.displayName="AboutModalBoxBrand";var Jt,Zt={button:"pf-c-button",buttonIcon:"pf-c-button__icon",buttonProgress:"pf-c-button__progress",modifiers:{active:"pf-m-active",block:"pf-m-block",small:"pf-m-small",primary:"pf-m-primary",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",tertiary:"pf-m-tertiary",link:"pf-m-link",inline:"pf-m-inline",danger:"pf-m-danger",warning:"pf-m-warning",control:"pf-m-control",expanded:"pf-m-expanded",plain:"pf-m-plain",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",start:"pf-m-start",end:"pf-m-end",overpassFont:"pf-m-overpass-font"},spinner:"pf-c-spinner"},Qt={modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},spinner:"pf-c-spinner",spinnerClipper:"pf-c-spinner__clipper",spinnerLeadBall:"pf-c-spinner__lead-ball",spinnerPath:"pf-c-spinner__path",spinnerTailBall:"pf-c-spinner__tail-ball"};e.spinnerSize=void 0,(Jt=e.spinnerSize||(e.spinnerSize={})).sm="sm",Jt.md="md",Jt.lg="lg",Jt.xl="xl";const en=e=>{var{className:t="",size:n="xl","aria-valuetext":a="Loading...",isSVG:i=!1,diameter:s}=e,o=r(e,["className","size","aria-valuetext","isSVG","diameter"]);const c=i?"svg":"span";return l.createElement(c,Object.assign({className:d(Qt.spinner,Qt.modifiers[n],t),role:"progressbar","aria-valuetext":a},i&&{viewBox:"0 0 100 100"},s&&{style:{"--pf-c-spinner--diameter":s}},o),i?l.createElement("circle",{className:Qt.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):l.createElement(l.Fragment,null,l.createElement("span",{className:d(Qt.spinnerClipper)}),l.createElement("span",{className:d(Qt.spinnerLeadBall)}),l.createElement("span",{className:d(Qt.spinnerTailBall)})))};var tn,nn;en.displayName="Spinner",e.ButtonVariant=void 0,(tn=e.ButtonVariant||(e.ButtonVariant={})).primary="primary",tn.secondary="secondary",tn.tertiary="tertiary",tn.danger="danger",tn.warning="warning",tn.link="link",tn.plain="plain",tn.control="control",e.ButtonType=void 0,(nn=e.ButtonType||(e.ButtonType={})).button="button",nn.submit="submit",nn.reset="reset";const an=t=>{var{children:n=null,className:a="",component:i="button",isActive:s=!1,isBlock:o=!1,isDisabled:c=!1,isAriaDisabled:p=!1,isLoading:m=null,isDanger:u=!1,spinnerAriaValueText:f,isSmall:h=!1,isLarge:g=!1,inoperableEvents:b=["onClick","onKeyPress"],isInline:v=!1,type:x=e.ButtonType.button,variant:y=e.ButtonVariant.primary,iconPosition:O="left","aria-label":E=null,icon:C=null,ouiaId:N,ouiaSafe:w=!0,tabIndex:S=null,innerRef:_}=t,T=r(t,["children","className","component","isActive","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","spinnerAriaValueText","isSmall","isLarge","inoperableEvents","isInline","type","variant","iconPosition","aria-label","icon","ouiaId","ouiaSafe","tabIndex","innerRef"]);const I=z(ln.displayName,N,w,y),L=i,k="button"===L,D=v&&"span"===L,P=b.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});return l.createElement(L,Object.assign({},T,p?P:null,{"aria-disabled":c||p,"aria-label":E,className:d(Zt.button,Zt.modifiers[y],o&&Zt.modifiers.block,c&&Zt.modifiers.disabled,p&&Zt.modifiers.ariaDisabled,s&&Zt.modifiers.active,v&&y===e.ButtonVariant.link&&Zt.modifiers.inline,u&&(y===e.ButtonVariant.secondary||y===e.ButtonVariant.link)&&Zt.modifiers.danger,null!==m&&null!==n&&Zt.modifiers.progress,m&&Zt.modifiers.inProgress,h&&Zt.modifiers.small,g&&Zt.modifiers.displayLg,a),disabled:k?c:null,tabIndex:null!==S?S:c?k?null:-1:p?null:D?0:void 0,type:k||D?x:null,role:D?"button":null,ref:_},I),m&&l.createElement("span",{className:d(Zt.buttonProgress)},l.createElement(en,{size:e.spinnerSize.md,"aria-valuetext":f})),y===e.ButtonVariant.plain&&null===n&&C?C:null,y!==e.ButtonVariant.plain&&C&&"left"===O&&l.createElement("span",{className:d(Zt.buttonIcon,Zt.modifiers.start)},C),n,y!==e.ButtonVariant.plain&&C&&"right"===O&&l.createElement("span",{className:d(Zt.buttonIcon,Zt.modifiers.end)},C))},ln=l.forwardRef(((e,t)=>l.createElement(an,Object.assign({innerRef:t},e))));var sn;ln.displayName="Button",function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(sn||(sn={}));let on=0;function rn({name:e,xOffset:t=0,yOffset:n=0,width:a,height:i,svgPath:s}){var o;return o=class extends l.Component{constructor(){super(...arguments),this.id="icon-title-"+on++}render(){const e=this.props,{size:o,color:r,title:c,noVerticalAlign:d}=e,p=
27
27
  /*! *****************************************************************************
28
28
  Copyright (c) Microsoft Corporation.
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "4.192.16",
3
+ "version": "4.192.17",
4
4
  "description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -34,9 +34,9 @@
34
34
  "generate": "node scripts/copyStyles.js"
35
35
  },
36
36
  "dependencies": {
37
- "@patternfly/react-icons": "^4.43.16",
38
- "@patternfly/react-styles": "^4.42.16",
39
- "@patternfly/react-tokens": "^4.44.16",
37
+ "@patternfly/react-icons": "^4.43.17",
38
+ "@patternfly/react-styles": "^4.42.17",
39
+ "@patternfly/react-tokens": "^4.44.17",
40
40
  "focus-trap": "6.2.2",
41
41
  "react-dropzone": "9.0.0",
42
42
  "tippy.js": "5.1.2",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.8.0 || ^17.0.0",
61
61
  "react-dom": "^16.8.0 || ^17.0.0"
62
62
  },
63
- "gitHead": "ab8881705440faa1a8f31a49214067790be5c228"
63
+ "gitHead": "5725f196663d6603379b0467e33d5ebc677951cb"
64
64
  }
@@ -131,7 +131,7 @@ const ButtonBase: React.FunctionComponent<ButtonProps> = ({
131
131
  isActive && styles.modifiers.active,
132
132
  isInline && variant === ButtonVariant.link && styles.modifiers.inline,
133
133
  isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && styles.modifiers.danger,
134
- isLoading !== null && styles.modifiers.progress,
134
+ isLoading !== null && children !== null && styles.modifiers.progress,
135
135
  isLoading && styles.modifiers.inProgress,
136
136
  isSmall && styles.modifiers.small,
137
137
  isLarge && styles.modifiers.displayLg,
@@ -149,6 +149,7 @@ const ButtonBase: React.FunctionComponent<ButtonProps> = ({
149
149
  <Spinner size={spinnerSize.md} aria-valuetext={spinnerAriaValueText} />
150
150
  </span>
151
151
  )}
152
+ {variant === ButtonVariant.plain && children === null && icon ? icon : null}
152
153
  {variant !== ButtonVariant.plain && icon && iconPosition === 'left' && (
153
154
  <span className={css(styles.buttonIcon, styles.modifiers.start)}>{icon}</span>
154
155
  )}
@@ -124,3 +124,8 @@ test('setting tab index through props', () => {
124
124
  const view = mount(<Button tabIndex={0}>TabIndex 0 Button</Button>);
125
125
  expect(view.find('button').props().tabIndex).toBe(0);
126
126
  });
127
+
128
+ test('isLoading icon only', () => {
129
+ const view = mount(<Button variant="plain" isLoading aria-label="Upload" isLoading spinnerAriaValueText="Loading" icon={<div>ICON</div>} />)
130
+ expect(view).toMatchSnapshot();
131
+ })
@@ -350,6 +350,73 @@ exports[`isLoading 1`] = `
350
350
  </Button>
351
351
  `;
352
352
 
353
+ exports[`isLoading icon only 1`] = `
354
+ <Button
355
+ aria-label="Upload"
356
+ icon={
357
+ <div>
358
+ ICON
359
+ </div>
360
+ }
361
+ isLoading={true}
362
+ spinnerAriaValueText="Loading"
363
+ variant="plain"
364
+ >
365
+ <ButtonBase
366
+ aria-label="Upload"
367
+ icon={
368
+ <div>
369
+ ICON
370
+ </div>
371
+ }
372
+ innerRef={null}
373
+ isLoading={true}
374
+ spinnerAriaValueText="Loading"
375
+ variant="plain"
376
+ >
377
+ <button
378
+ aria-disabled={false}
379
+ aria-label="Upload"
380
+ className="pf-c-button pf-m-plain pf-m-in-progress"
381
+ data-ouia-component-id="OUIA-Generated-Button-plain-2"
382
+ data-ouia-component-type="PF4/Button"
383
+ data-ouia-safe={true}
384
+ disabled={false}
385
+ role={null}
386
+ type="button"
387
+ >
388
+ <span
389
+ className="pf-c-button__progress"
390
+ >
391
+ <Spinner
392
+ aria-valuetext="Loading"
393
+ size="md"
394
+ >
395
+ <span
396
+ aria-valuetext="Loading"
397
+ className="pf-c-spinner pf-m-md"
398
+ role="progressbar"
399
+ >
400
+ <span
401
+ className="pf-c-spinner__clipper"
402
+ />
403
+ <span
404
+ className="pf-c-spinner__lead-ball"
405
+ />
406
+ <span
407
+ className="pf-c-spinner__tail-ball"
408
+ />
409
+ </span>
410
+ </Spinner>
411
+ </span>
412
+ <div>
413
+ ICON
414
+ </div>
415
+ </button>
416
+ </ButtonBase>
417
+ </Button>
418
+ `;
419
+
353
420
  exports[`isSmall 1`] = `
354
421
  <Button
355
422
  isSmall={true}
@@ -11,6 +11,7 @@ import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-i
11
11
  import ExternalLinkSquareAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-square-alt-icon';
12
12
  import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
13
13
  import ArrowRightIcon from '@patternfly/react-icons/dist/esm/icons/arrow-right-icon';
14
+ import UploadIcon from '@patternfly/react-icons/dist/esm/icons/upload-icon';
14
15
  import { Link } from '@reach/router';
15
16
 
16
17
  ## Examples
@@ -79,3 +80,4 @@ import { Link } from '@reach/router';
79
80
 
80
81
  ```ts file="./ButtonRouterLink.tsx"
81
82
  ```
83
+
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
2
  import { Button } from '@patternfly/react-core';
3
+ import UploadIcon from '@patternfly/react-icons/dist/esm/icons/upload-icon';
3
4
 
4
5
  export const ButtonProgress: React.FunctionComponent = () => {
5
6
  const [isPrimaryLoading, setIsPrimaryLoading] = React.useState<boolean>(true);
6
7
  const [isSecondaryLoading, setIsSecondaryLoading] = React.useState<boolean>(true);
8
+ const [isUploading, setIsUploading] = React.useState(true);
7
9
 
8
10
  return (
9
11
  <React.Fragment>
@@ -24,7 +26,14 @@ export const ButtonProgress: React.FunctionComponent = () => {
24
26
  {...(isSecondaryLoading && { spinnerAriaValueText: 'Loading' })}
25
27
  >
26
28
  {isSecondaryLoading ? 'Click to stop loading' : 'Click to start loading'}
27
- </Button>
29
+ </Button>{' '}
30
+ <Button
31
+ spinnerAriaValueText={isUploading ? 'Loading' : undefined}
32
+ isLoading={isUploading}
33
+ variant="plain"
34
+ onClick={() => setIsUploading(!isUploading)}
35
+ icon={<UploadIcon />}
36
+ />
28
37
  <br />
29
38
  <br />
30
39
  </React.Fragment>