@patternfly/react-core 4.175.0 → 4.175.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/esm/helpers/Popper/Popper.d.ts.map +1 -1
- package/dist/esm/helpers/Popper/Popper.js +6 -1
- package/dist/esm/helpers/Popper/Popper.js.map +1 -1
- package/dist/js/helpers/Popper/Popper.d.ts.map +1 -1
- package/dist/js/helpers/Popper/Popper.js +6 -1
- package/dist/js/helpers/Popper/Popper.js.map +1 -1
- package/dist/umd/react-core.js +6 -1
- package/dist/umd/react-core.min.css +69 -69
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +6 -6
- package/src/components/Tooltip/examples/Tooltip.md +18 -12
- package/src/helpers/Popper/Popper.tsx +7 -1
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.175.1 (2021-11-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# 4.175.0 (2021-11-12)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/helpers/Popper/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,SAAS,EAA2B,MAAM,0BAA0B,CAAC;AAE9E,OAAO,2DAA2D,CAAC;AAUnE,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,CAAC,MAAM,WAAW,CAAC,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACxE;AAED,eA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AAa,KAAK,IAAI,CAAC;IACpD,6DAA6D;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,wEAAwE;IACxE,YAAY,CAAC,EACT,MAAM,GACN,CACI,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,CACd,EAAE,CAAC;CACT;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CA0MvD,CAAC"}
|
|
@@ -107,7 +107,7 @@ export const Popper = ({ trigger, popper, popperMatchesTriggerWidth = true, dire
|
|
|
107
107
|
return () => { };
|
|
108
108
|
}
|
|
109
109
|
}), [popperMatchesTriggerWidth]);
|
|
110
|
-
const { styles: popperStyles, attributes } = usePopper(refOrTrigger, popperElement, {
|
|
110
|
+
const { styles: popperStyles, attributes, forceUpdate } = usePopper(refOrTrigger, popperElement, {
|
|
111
111
|
placement: getPlacementMemo,
|
|
112
112
|
modifiers: [
|
|
113
113
|
{
|
|
@@ -135,6 +135,11 @@ export const Popper = ({ trigger, popper, popperMatchesTriggerWidth = true, dire
|
|
|
135
135
|
sameWidthMod
|
|
136
136
|
]
|
|
137
137
|
});
|
|
138
|
+
// force update when content changes
|
|
139
|
+
// https://github.com/patternfly/patternfly-react/issues/5620
|
|
140
|
+
React.useEffect(() => {
|
|
141
|
+
forceUpdate && forceUpdate();
|
|
142
|
+
}, [popper]);
|
|
138
143
|
// Returns the CSS modifier class in order to place the Popper's arrow properly
|
|
139
144
|
// Depends on the position of the Popper relative to the reference element
|
|
140
145
|
const modifierFromPopperPosition = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.js","sourceRoot":"","sources":["../../../../src/helpers/Popper/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,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,GACV,aAAa,GACb,WAAW,CACd,EAAE,CAAC;CACT;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CA0MvD,CAAC"}
|
|
@@ -112,7 +112,7 @@ const Popper = ({ trigger, popper, popperMatchesTriggerWidth = true, direction =
|
|
|
112
112
|
return () => { };
|
|
113
113
|
}
|
|
114
114
|
}), [popperMatchesTriggerWidth]);
|
|
115
|
-
const { styles: popperStyles, attributes } = usePopper_1.usePopper(refOrTrigger, popperElement, {
|
|
115
|
+
const { styles: popperStyles, attributes, forceUpdate } = usePopper_1.usePopper(refOrTrigger, popperElement, {
|
|
116
116
|
placement: getPlacementMemo,
|
|
117
117
|
modifiers: [
|
|
118
118
|
{
|
|
@@ -140,6 +140,11 @@ const Popper = ({ trigger, popper, popperMatchesTriggerWidth = true, direction =
|
|
|
140
140
|
sameWidthMod
|
|
141
141
|
]
|
|
142
142
|
});
|
|
143
|
+
// force update when content changes
|
|
144
|
+
// https://github.com/patternfly/patternfly-react/issues/5620
|
|
145
|
+
React.useEffect(() => {
|
|
146
|
+
forceUpdate && forceUpdate();
|
|
147
|
+
}, [popper]);
|
|
143
148
|
// Returns the CSS modifier class in order to place the Popper's arrow properly
|
|
144
149
|
// Depends on the position of the Popper relative to the reference element
|
|
145
150
|
const modifierFromPopperPosition = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.js","sourceRoot":"","sources":["../../../../src/helpers/Popper/Popper.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,4DAAsC;AACtC,qDAAkD;AAClD,mEAAgE;AAEhE,2DAA+C;AAC/C,qEAAmE;AAEnE,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAE5E,MAAM,oBAAoB,GAAG,CAAC,SAAoB,EAAO,EAAE,CACzD,SAA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J,CAAC,CAAC;AA1MW,QAAA,MAAM,UA0MjB;AACF,cAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
|
package/dist/umd/react-core.js
CHANGED
|
@@ -3075,7 +3075,7 @@
|
|
|
3075
3075
|
return () => { };
|
|
3076
3076
|
}
|
|
3077
3077
|
}), [popperMatchesTriggerWidth]);
|
|
3078
|
-
const { styles: popperStyles, attributes } = usePopper(refOrTrigger, popperElement, {
|
|
3078
|
+
const { styles: popperStyles, attributes, forceUpdate } = usePopper(refOrTrigger, popperElement, {
|
|
3079
3079
|
placement: getPlacementMemo,
|
|
3080
3080
|
modifiers: [
|
|
3081
3081
|
{
|
|
@@ -3103,6 +3103,11 @@
|
|
|
3103
3103
|
sameWidthMod
|
|
3104
3104
|
]
|
|
3105
3105
|
});
|
|
3106
|
+
// force update when content changes
|
|
3107
|
+
// https://github.com/patternfly/patternfly-react/issues/5620
|
|
3108
|
+
React__namespace.useEffect(() => {
|
|
3109
|
+
forceUpdate && forceUpdate();
|
|
3110
|
+
}, [popper]);
|
|
3106
3111
|
// Returns the CSS modifier class in order to place the Popper's arrow properly
|
|
3107
3112
|
// Depends on the position of the Popper relative to the reference element
|
|
3108
3113
|
const modifierFromPopperPosition = () => {
|
|
@@ -23391,6 +23391,75 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
23391
23391
|
--pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);
|
|
23392
23392
|
}
|
|
23393
23393
|
}
|
|
23394
|
+
.pf-l-gallery {
|
|
23395
|
+
--pf-l-gallery--m-gutter--GridGap: var(--pf-global--gutter);
|
|
23396
|
+
--pf-l-gallery--GridTemplateColumns--min: 250px;
|
|
23397
|
+
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min);
|
|
23398
|
+
--pf-l-gallery--GridTemplateColumns--max: 1fr;
|
|
23399
|
+
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max);
|
|
23400
|
+
--pf-l-gallery--GridTemplateColumns: repeat(auto-fill, minmax(var(--pf-l-gallery--GridTemplateColumns--minmax--min), var(--pf-l-gallery--GridTemplateColumns--minmax--max)));
|
|
23401
|
+
--pf-l-gallery--GridTemplateRows: auto;
|
|
23402
|
+
display: grid;
|
|
23403
|
+
grid-template-columns: var(--pf-l-gallery--GridTemplateColumns);
|
|
23404
|
+
grid-template-rows: var(--pf-l-gallery--GridTemplateRows);
|
|
23405
|
+
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min);
|
|
23406
|
+
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max);
|
|
23407
|
+
}
|
|
23408
|
+
|
|
23409
|
+
.pf-l-gallery.pf-m-gutter {
|
|
23410
|
+
grid-gap: var(--pf-l-gallery--m-gutter--GridGap);
|
|
23411
|
+
}
|
|
23412
|
+
|
|
23413
|
+
@media (min-width: 576px) {
|
|
23414
|
+
.pf-l-gallery {
|
|
23415
|
+
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min));
|
|
23416
|
+
}
|
|
23417
|
+
}
|
|
23418
|
+
@media (min-width: 768px) {
|
|
23419
|
+
.pf-l-gallery {
|
|
23420
|
+
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min)));
|
|
23421
|
+
}
|
|
23422
|
+
}
|
|
23423
|
+
@media (min-width: 992px) {
|
|
23424
|
+
.pf-l-gallery {
|
|
23425
|
+
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min))));
|
|
23426
|
+
}
|
|
23427
|
+
}
|
|
23428
|
+
@media (min-width: 1200px) {
|
|
23429
|
+
.pf-l-gallery {
|
|
23430
|
+
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min)))));
|
|
23431
|
+
}
|
|
23432
|
+
}
|
|
23433
|
+
@media (min-width: 1450px) {
|
|
23434
|
+
.pf-l-gallery {
|
|
23435
|
+
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-2xl, var(--pf-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min))))));
|
|
23436
|
+
}
|
|
23437
|
+
}
|
|
23438
|
+
@media (min-width: 576px) {
|
|
23439
|
+
.pf-l-gallery {
|
|
23440
|
+
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max));
|
|
23441
|
+
}
|
|
23442
|
+
}
|
|
23443
|
+
@media (min-width: 768px) {
|
|
23444
|
+
.pf-l-gallery {
|
|
23445
|
+
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max)));
|
|
23446
|
+
}
|
|
23447
|
+
}
|
|
23448
|
+
@media (min-width: 992px) {
|
|
23449
|
+
.pf-l-gallery {
|
|
23450
|
+
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max))));
|
|
23451
|
+
}
|
|
23452
|
+
}
|
|
23453
|
+
@media (min-width: 1200px) {
|
|
23454
|
+
.pf-l-gallery {
|
|
23455
|
+
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-xl, var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max)))));
|
|
23456
|
+
}
|
|
23457
|
+
}
|
|
23458
|
+
@media (min-width: 1450px) {
|
|
23459
|
+
.pf-l-gallery {
|
|
23460
|
+
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-2xl, var(--pf-l-gallery--GridTemplateColumns--max-on-xl, var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max))))));
|
|
23461
|
+
}
|
|
23462
|
+
}
|
|
23394
23463
|
.pf-l-grid {
|
|
23395
23464
|
--pf-l-grid--m-gutter--GridGap: var(--pf-global--gutter);
|
|
23396
23465
|
--pf-l-grid__item--GridColumnStart: auto;
|
|
@@ -24605,75 +24674,6 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
24605
24674
|
grid-gap: var(--pf-l-grid--m-gutter--GridGap);
|
|
24606
24675
|
}
|
|
24607
24676
|
|
|
24608
|
-
.pf-l-gallery {
|
|
24609
|
-
--pf-l-gallery--m-gutter--GridGap: var(--pf-global--gutter);
|
|
24610
|
-
--pf-l-gallery--GridTemplateColumns--min: 250px;
|
|
24611
|
-
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min);
|
|
24612
|
-
--pf-l-gallery--GridTemplateColumns--max: 1fr;
|
|
24613
|
-
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max);
|
|
24614
|
-
--pf-l-gallery--GridTemplateColumns: repeat(auto-fill, minmax(var(--pf-l-gallery--GridTemplateColumns--minmax--min), var(--pf-l-gallery--GridTemplateColumns--minmax--max)));
|
|
24615
|
-
--pf-l-gallery--GridTemplateRows: auto;
|
|
24616
|
-
display: grid;
|
|
24617
|
-
grid-template-columns: var(--pf-l-gallery--GridTemplateColumns);
|
|
24618
|
-
grid-template-rows: var(--pf-l-gallery--GridTemplateRows);
|
|
24619
|
-
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min);
|
|
24620
|
-
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max);
|
|
24621
|
-
}
|
|
24622
|
-
|
|
24623
|
-
.pf-l-gallery.pf-m-gutter {
|
|
24624
|
-
grid-gap: var(--pf-l-gallery--m-gutter--GridGap);
|
|
24625
|
-
}
|
|
24626
|
-
|
|
24627
|
-
@media (min-width: 576px) {
|
|
24628
|
-
.pf-l-gallery {
|
|
24629
|
-
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min));
|
|
24630
|
-
}
|
|
24631
|
-
}
|
|
24632
|
-
@media (min-width: 768px) {
|
|
24633
|
-
.pf-l-gallery {
|
|
24634
|
-
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min)));
|
|
24635
|
-
}
|
|
24636
|
-
}
|
|
24637
|
-
@media (min-width: 992px) {
|
|
24638
|
-
.pf-l-gallery {
|
|
24639
|
-
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min))));
|
|
24640
|
-
}
|
|
24641
|
-
}
|
|
24642
|
-
@media (min-width: 1200px) {
|
|
24643
|
-
.pf-l-gallery {
|
|
24644
|
-
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min)))));
|
|
24645
|
-
}
|
|
24646
|
-
}
|
|
24647
|
-
@media (min-width: 1450px) {
|
|
24648
|
-
.pf-l-gallery {
|
|
24649
|
-
--pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-2xl, var(--pf-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min))))));
|
|
24650
|
-
}
|
|
24651
|
-
}
|
|
24652
|
-
@media (min-width: 576px) {
|
|
24653
|
-
.pf-l-gallery {
|
|
24654
|
-
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max));
|
|
24655
|
-
}
|
|
24656
|
-
}
|
|
24657
|
-
@media (min-width: 768px) {
|
|
24658
|
-
.pf-l-gallery {
|
|
24659
|
-
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max)));
|
|
24660
|
-
}
|
|
24661
|
-
}
|
|
24662
|
-
@media (min-width: 992px) {
|
|
24663
|
-
.pf-l-gallery {
|
|
24664
|
-
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max))));
|
|
24665
|
-
}
|
|
24666
|
-
}
|
|
24667
|
-
@media (min-width: 1200px) {
|
|
24668
|
-
.pf-l-gallery {
|
|
24669
|
-
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-xl, var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max)))));
|
|
24670
|
-
}
|
|
24671
|
-
}
|
|
24672
|
-
@media (min-width: 1450px) {
|
|
24673
|
-
.pf-l-gallery {
|
|
24674
|
-
--pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-2xl, var(--pf-l-gallery--GridTemplateColumns--max-on-xl, var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max))))));
|
|
24675
|
-
}
|
|
24676
|
-
}
|
|
24677
24677
|
.pf-l-level {
|
|
24678
24678
|
--pf-l-level--m-gutter--MarginRight: var(--pf-global--gutter);
|
|
24679
24679
|
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)},A=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&&!T(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 M extends l.Component{constructor(e){super(e),this.divRef=l.createRef(),"undefined"!=typeof document&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=A(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)}}M.displayName="FocusTrap",M.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 z(e,t,n=!0){return{"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":t}}const $=(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{const n=`${window.location.href}-${e}-${t||""}`;return 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){if(!e||!t)return!1;const a=e.getBoundingClientRect(),i=t.getBoundingClientRect(),l=Math.floor(a.left),s=Math.floor(a.right),o=Math.floor(i.left),r=Math.floor(i.right);return o>=l&&r<=s||n&&(o<l&&r>l||r>s&&o<s)}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,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]?Z(a,t,n):a}function Q(e,t,n){return n||(n=`${t}s`),`${e||0} ${1===e?t:n}`}const ee=(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})),{}),te=(e,t,n="")=>Object.entries(e||{}).map((([e,t])=>`${n}${t}${"default"!==e?`-on-${e}`:""}`)).map(ae).map((e=>e.replace(/-?(\dxl)/gi,((e,t)=>`_${t}`)))).map((e=>t.modifiers[e])).filter(Boolean).join(" "),ne=e=>e.toUpperCase().replace("-","").replace("_",""),ae=e=>e.replace(/([-_][a-z])/gi,ne),ie=!("undefined"==typeof window||!window.document||!window.document.createElement),le=(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},se=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}},oe=(e,t)=>{const n=se(e).width;let a=t;if(le(t,e)>n){for(;le(`...${a}`,e)>n;)a=a.substring(1);e.value?e.value=`...${a}`:e.innerText=`...${a}`}else e.value?e.value=t:e.innerText=t},re=e=>e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});class ce extends l.Component{componentDidMount(){const e=o.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}function de(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 pe(e){if("[object Window]"!==e.toString()){const t=e.ownerDocument;return t?t.defaultView:window}return e}function me(e){const t=pe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return e instanceof pe(e).Element||e instanceof Element}function fe(e){return e instanceof pe(e).HTMLElement||e instanceof HTMLElement}function he(e){return e?(e.nodeName||"").toLowerCase():null}function ge(e){return(ue(e)?e.ownerDocument:e.document).documentElement}function be(e){return de(ge(e)).left+me(e).scrollLeft}function ve(e){return pe(e).getComputedStyle(e)}function xe(e){const{overflow:t,overflowX:n,overflowY:a}=ve(e);return/auto|scroll|overlay|hidden/.test(t+a+n)}function ye(e,t,n=!1){const a=ge(t),i=de(e),l=fe(t);let s={scrollLeft:0,scrollTop:0},o={x:0,y:0};var r,c;return(l||!l&&!n)&&(("body"!==he(t)||xe(a))&&(s=(r=t)!==pe(r)&&fe(r)?{scrollLeft:(c=r).scrollLeft,scrollTop:c.scrollTop}:me(r)),fe(t)?(o=de(t),o.x+=t.clientLeft,o.y+=t.clientTop):a&&(o.x=be(a))),{x:i.left+s.scrollLeft-o.x,y:i.top+s.scrollTop-o.y,width:i.width,height:i.height}}function Oe(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Ee(e){return"html"===he(e)?e:e.assignedSlot||e.parentNode||e.host||ge(e)}function Ce(e){return["html","body","#document"].indexOf(he(e))>=0?e.ownerDocument.body:fe(e)&&xe(e)?e:Ce(Ee(e))}function Ne(e,t=[]){const n=Ce(e),a="body"===he(n),i=pe(n),l=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n,s=t.concat(l);return a?s:s.concat(Ne(Ee(l)))}function we(e){return["table","td","th"].indexOf(he(e))>=0}function Se(e){if(!fe(e)||"fixed"===ve(e).position)return null;const t=e.offsetParent;if(t){const e=ge(t);if("body"===he(t)&&"static"===ve(t).position&&"static"!==ve(e).position)return e}return t}function _e(e){const t=pe(e);let n=Se(e);for(;n&&we(n)&&"static"===ve(n).position;)n=Se(n);return n&&"body"===he(n)&&"static"===ve(n).position?t:n||function(e){let t=Ee(e);for(;fe(t)&&["html","body"].indexOf(he(t))<0;){const e=ve(t);if("none"!==e.transform||"none"!==e.perspective||e.willChange&&"auto"!==e.willChange)return t;t=t.parentNode}return null}(e)||t}ce.displayName="FindRefWrapper";const Ie="top",Te="bottom",Le="right",ke="left",De="auto",Pe=[Ie,Te,Le,ke],Re="start",Ae="end",Me="clippingParents",Be="viewport",Fe="popper",je=Pe.reduce(((e,t)=>e.concat([`${t}-start`,`${t}-end`])),[]),Ve=[...Pe,De].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),He=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ze(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 $e(e){let t;return()=>(t||(t=new Promise((n=>{Promise.resolve().then((()=>{t=void 0,n(e())}))}))),t)}function We(e){return e.split("-")[0]}function Ge(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 Xe(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ke(e,t){return t===Be?Xe(function(e){const t=pe(e),n=ge(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+be(e),y:o}}(e)):fe(t)?function(e){const t=de(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):Xe(function(e){const t=ge(e),n=me(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+be(e);const o=-n.scrollTop;return"rtl"===ve(a||t).direction&&(s+=Math.max(t.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:o}}(ge(e)))}function Ue(e,t,n){const a="clippingParents"===t?function(e){const t=Ne(Ee(e)),n=["absolute","fixed"].indexOf(ve(e).position)>=0&&fe(e)?_e(e):e;return ue(n)?t.filter((e=>ue(e)&&Ge(e,n)&&"body"!==he(e))):[]}(e):[].concat(t),i=[...a,n],l=i[0],s=i.reduce(((t,n)=>{const a=Ke(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}),Ke(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 qe(e){return e.split("-")[1]}function Ye(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Je({reference:e,element:t,placement:n}){const a=n?We(n):null,i=n?qe(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 Ie:o={x:l,y:e.y-t.height};break;case Te:o={x:l,y:e.y+e.height};break;case Le:o={x:e.x+e.width,y:s};break;case ke:o={x:e.x-t.width,y:s};break;default:o={x:e.x,y:e.y}}const r=a?Ye(a):null;if(null!=r){const n="y"===r?"height":"width";switch(i){case Re:o[r]=Math.floor(o[r])-Math.floor(e[n]/2-t[n]/2);break;case Ae:o[r]=Math.floor(o[r])+Math.ceil(e[n]/2-t[n]/2)}}return o}function Ze(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Qe(e,t){return t.reduce(((t,n)=>(t[n]=e,t)),{})}function et(e,t={}){const{placement:n=e.placement,boundary:a=Me,rootBoundary:i=Be,elementContext:l=Fe,altBoundary:s=!1,padding:o=0}=t,r=Ze("number"!=typeof o?o:Qe(o,Pe)),c=l===Fe?"reference":Fe,d=e.elements.reference,p=e.rects.popper,m=e.elements[s?c:l],u=Ue(ue(m)?m:m.contextElement||ge(e.elements.popper),a,i),f=de(d),h=Je({reference:f,element:p,strategy:"absolute",placement:n}),g=Xe(Object.assign(Object.assign({},p),h)),b=l===Fe?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===Fe&&x){const e=x[n];Object.keys(v).forEach((t=>{const n=[Le,Te].indexOf(t)>=0?1:-1,a=[Ie,Te].indexOf(t)>=0?"y":"x";v[t]+=e[a]*n}))}return v}const tt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(...e){return!e.some((e=>!(e&&"function"==typeof e.getBoundingClientRect)))}const at={passive:!0};const it={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lt({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=ke,m=Ie;const u=window;if(s){let a=_e(e);a===pe(e)&&(a=ge(e)),n===Ie&&(m=Te,r-=a.clientHeight-t.height,r*=l?1:-1),n===ke&&(p=Le,o-=a.clientWidth-t.width,o*=l?1:-1)}const f=Object.assign({position:i},s&&it);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 st={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function({state:e,options:t,name:n}){const{offset:a=[0,0]}=t,i=Ve.reduce(((t,n)=>(t[n]=function(e,t,n){const a=We(e),i=[ke,Ie].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,[ke,Le].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 ot={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(e){return e.replace(/left|right|bottom|top/g,(e=>ot[e]))}const ct={start:"end",end:"start"};function dt(e){return e.replace(/start|end/g,(e=>ct[e]))}function pt(e,t={}){const{placement:n,boundary:a,rootBoundary:i,padding:l,flipVariations:s,allowedAutoPlacements:o=Ve}=t,r=qe(n),c=r?s?je:je.filter((e=>qe(e)===r)):Pe;let d=c.filter((e=>o.indexOf(e)>=0));0===d.length&&(d=c);const p=d.reduce(((t,n)=>(t[n]=et(e,{placement:n,boundary:a,rootBoundary:i,padding:l})[We(n)],t)),{});return Object.keys(p).sort(((e,t)=>p[e]-p[t]))}var mt={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=We(m),f=[m,...l||(u===m||!d?[rt(m)]:function(e){if(We(e)===De)return[];const t=rt(e);return[dt(e),t,dt(t)]}(m))].reduce(((t,n)=>t.concat(We(n)===De?pt(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=We(n),d=qe(n)===Re,p=[Ie,Te].indexOf(l)>=0,m=p?"width":"height",u=et(e,{placement:n,boundary:o,rootBoundary:r,altBoundary:c,padding:s});let y=p?d?Le:ke:d?Te:Ie;h[m]>g[m]&&(y=rt(y));const O=rt(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 ut(e,t,n){return Math.max(e,Math.min(t,n))}var ft={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=et(e,{boundary:l,rootBoundary:s,padding:r,altBoundary:o}),m=We(e.placement),u=qe(e.placement),f=!u,h=Ye(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?Ie:ke,n="y"===h?Te:Le,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===Re?v[a]:x[a],d=u===Re?-x[a]:-v[a],m=e.elements.arrow,g=c&&m?Oe(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=ut(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,I=e.elements.arrow&&_e(e.elements.arrow),T=I?"y"===h?I.clientTop||0:I.clientLeft||0:0,L=e.modifiersData.offset?e.modifiersData.offset[e.placement][h]:0,k=b[h]+S-L-T,D=b[h]+_-L,P=ut(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?Ie:ke,t="x"===h?Te:Le,n=b[g],a=ut(n+p[e],n,n-p[t]);b[g]=a,O[g]=a-n}e.modifiersData[n]=O}},requiresIfExists:["offset"]};var ht={name:"arrow",enabled:!0,phase:"main",fn:function({state:e,name:t}){const n=e.elements.arrow,a=e.modifiersData.popperOffsets,i=We(e.placement),l=Ye(i),s=[ke,Le].indexOf(i)>=0?"height":"width";if(!n||!a)return;const o=e.modifiersData[`${t}#persistent`].padding,r=Oe(n),c="y"===l?Ie:ke,d="y"===l?Te:Le,p=e.rects.reference[s]+e.rects.reference[l]-a[l]-e.rects.popper[s],m=a[l]-e.rects.reference[l],u=_e(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=ut(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))&&Ge(e.elements.popper,a)&&(e.elements.arrow=a,e.modifiersData[`${n}#persistent`]={padding:Ze("number"!=typeof i?i:Qe(i,Pe))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gt(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 bt(e){return[Ie,Le,Te,ke].some((t=>e[t]>=0))}const vt=function(e={}){const{defaultModifiers:t=[],defaultOptions:n=tt}=e;return function(e,a,i=n){let l={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},tt),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:ue(e)?Ne(e):e.contextElement?Ne(e.contextElement):[],popper:Ne(a)};const o=function(e){const t=ze(e);return He.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(nt(e,t)){l.rects={reference:ye(e,_e(t),"fixed"===l.options.strategy),popper:Oe(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:$e((()=>new Promise((e=>{r.forceUpdate(),e(l)})))),destroy(){c(),o=!0}};if(!nt(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=pe(e.elements.popper),s=[...e.scrollParents.reference,...e.scrollParents.popper];return a&&s.forEach((e=>{e.addEventListener("scroll",t.update,at)})),i&&l.addEventListener("resize",t.update,at),()=>{a&&s.forEach((e=>{e.removeEventListener("scroll",t.update,at)})),i&&l.removeEventListener("resize",t.update,at)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function({state:e,name:t}){e.modifiersData[t]=Je({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:We(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),lt(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),lt(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];fe(i)&&he(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)),{});fe(a)&&he(a)&&(Object.assign(a.style,l),Object.keys(i).forEach((e=>{a.removeAttribute(e)})))}))}},requires:["computeStyles"]},st,mt,ft,ht,{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=et(e,{elementContext:"reference"}),s=et(e,{altBoundary:!0}),o=gt(l,n),r=gt(s,a,i),c=bt(o),d=bt(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})}}]}),xt=ie?l.useLayoutEffect:l.useEffect,yt=e=>e.reduce(((e,[t,n])=>(e[t]=n,e)),{}),Ot=[],Et=(e,t,n={})=>{const a=l.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Ot},[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:yt(t.map((t=>[t,e.styles[t]||{}]))),attributes:yt(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 xt((()=>{d&&d.current&&d.current.setOptions(c)}),[c]),xt((()=>{if(null==e||null==t)return;const a=(n.createPopper||vt)(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}},Ct={left:"right",right:"left",bottom:"top",top:"bottom"},Nt=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,wt=({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),[I,T]=l.useState(null),[L,k]=l.useState(null),[D,P]=l.useState(!1),R=I||S,A=l.useCallback((e=>v(e,R,L)),[p,S,I,L,v]);l.useEffect((()=>{P(!0)}),[]),l.useEffect((()=>{w&&(w.current?T(w.current):"function"==typeof w&&T(w()))}),[w]);const M=(e,t,n)=>{e&&t&&t.addEventListener(n,e)},B=(e,t,n)=>{e&&t&&t.removeEventListener(n,e)};l.useEffect((()=>(M(f,R,"mouseenter"),M(h,R,"mouseleave"),M(g,R,"focus"),M(b,R,"blur"),M(x,R,"click"),M(y,R,"keydown"),M(O,L,"click"),v&&M(A,document,"click"),M(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(A,document,"click"),B(E,document,"keydown")})),[S,L,f,h,g,b,x,y,O,v,E,I]);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=>Ct[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:z,attributes:$}=Et(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]}),W=l.cloneElement(t,Object.assign({className:d(t.props&&t.props.className,m&&(()=>{if($&&$.popper&&$.popper["data-popper-placement"]){const e=$.popper["data-popper-placement"];return m[e]}return m.top})()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),z.popper),{zIndex:c})},$.popper));return l.createElement(l.Fragment,null,!w&&e&&l.createElement(ce,{onFoundRef:e=>_(e)},e),D&&p&&o.createPortal(l.createElement(ce,{onFoundRef:e=>k(e)},W),"function"==typeof r?r():r))};wt.displayName="Popper";const St=(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 _t 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()),St(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(){ie&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){ie&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}_t.displayName="KeyboardHandler",_t.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 It=(e,t)=>{let n;if(ie){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 Tt="pf-l-bullseye",Lt="pf-c-about-modal-box",kt="pf-c-about-modal-box__brand",Dt="pf-c-about-modal-box__brand-image",Pt="pf-c-about-modal-box__close",Rt="pf-c-about-modal-box__content",At="pf-c-about-modal-box__header",Mt="pf-c-about-modal-box__hero",Bt="pf-c-about-modal-box__strapline",Ft="pf-c-content",jt={visited:"pf-m-visited",overpassFont:"pf-m-overpass-font"};const Vt=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(Rt,n),id:i},o),l.createElement("div",{className:d("pf-c-about-modal-box__body")},s?t:l.createElement("div",{className:d(Ft)},t)),l.createElement("p",{className:d(Bt)},a))};Vt.displayName="AboutModalBoxContent";var Ht,zt,$t={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,(Ht=e.TitleSizes||(e.TitleSizes={})).md="md",Ht.lg="lg",Ht.xl="xl",Ht["2xl"]="2xl",Ht["3xl"]="3xl",Ht["4xl"]="4xl",function(e){e.h1="2xl",e.h2="xl",e.h3="lg",e.h4="md",e.h5="md",e.h6="md"}(zt||(zt={}));const Wt=e=>{var{className:t="",children:n="",headingLevel:a,size:i=zt[a],ouiaId:s,ouiaSafe:o=!0}=e,c=r(e,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const p=$(Wt.displayName,s,o);return l.createElement(a,Object.assign({},p,c,{className:d($t.title,i&&$t.modifiers[i],t)}),n)};Wt.displayName="Title";const Gt=e=>{var{className:t="",productName:n="",id:a}=e,i=r(e,["className","productName","id"]);return l.createElement("div",Object.assign({className:d(At,t)},i),l.createElement(Wt,{headingLevel:"h1",size:"4xl",id:a},n))};Gt.displayName="AboutModalBoxHeader";var Xt={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 Kt=e=>{var{className:t,backgroundImageSrc:n}=e,a=r(e,["className","backgroundImageSrc"]);return l.createElement("div",Object.assign({style:""!==n?{[Xt.name]:`url(${n})`}:{},className:d(Mt,t)},a))};Kt.displayName="AboutModalBoxHero";const Ut=e=>{var{className:t="",src:n="",alt:a}=e,i=r(e,["className","src","alt"]);return l.createElement("div",Object.assign({className:d(kt,t)},i),l.createElement("img",{className:d(Dt),src:n,alt:a}))};Ut.displayName="AboutModalBoxBrand";var qt,Yt={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"},Jt={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,(qt=e.spinnerSize||(e.spinnerSize={})).sm="sm",qt.md="md",qt.lg="lg",qt.xl="xl";const Zt=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(Jt.spinner,Jt.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:Jt.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):l.createElement(l.Fragment,null,l.createElement("span",{className:d(Jt.spinnerClipper)}),l.createElement("span",{className:d(Jt.spinnerLeadBall)}),l.createElement("span",{className:d(Jt.spinnerTailBall)})))};var Qt,en;Zt.displayName="Spinner",e.ButtonVariant=void 0,(Qt=e.ButtonVariant||(e.ButtonVariant={})).primary="primary",Qt.secondary="secondary",Qt.tertiary="tertiary",Qt.danger="danger",Qt.warning="warning",Qt.link="link",Qt.plain="plain",Qt.control="control",e.ButtonType=void 0,(en=e.ButtonType||(e.ButtonType={})).button="button",en.submit="submit",en.reset="reset";const tn=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,I=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 T=$(nn.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({},I,p?P:null,{"aria-disabled":c||p,"aria-label":E,className:d(Yt.button,Yt.modifiers[y],o&&Yt.modifiers.block,c&&Yt.modifiers.disabled,p&&Yt.modifiers.ariaDisabled,s&&Yt.modifiers.active,v&&y===e.ButtonVariant.link&&Yt.modifiers.inline,u&&(y===e.ButtonVariant.secondary||y===e.ButtonVariant.link)&&Yt.modifiers.danger,null!==m&&Yt.modifiers.progress,m&&Yt.modifiers.inProgress,h&&Yt.modifiers.small,g&&Yt.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:_},T),m&&l.createElement("span",{className:d(Yt.buttonProgress)},l.createElement(Zt,{size:e.spinnerSize.md,"aria-valuetext":f})),y!==e.ButtonVariant.plain&&C&&"left"===O&&l.createElement("span",{className:d(Yt.buttonIcon,Yt.modifiers.start)},C),n,y!==e.ButtonVariant.plain&&C&&"right"===O&&l.createElement("span",{className:d(Yt.buttonIcon,Yt.modifiers.end)},C))},nn=l.forwardRef(((e,t)=>l.createElement(tn,Object.assign({innerRef:t},e))));var an;nn.displayName="Button",function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(an||(an={}));let ln=0;function sn({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-"+ln++}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)},A=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&&!T(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 M extends l.Component{constructor(e){super(e),this.divRef=l.createRef(),"undefined"!=typeof document&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=A(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)}}M.displayName="FocusTrap",M.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 z(e,t,n=!0){return{"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":t}}const $=(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{const n=`${window.location.href}-${e}-${t||""}`;return 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){if(!e||!t)return!1;const a=e.getBoundingClientRect(),i=t.getBoundingClientRect(),l=Math.floor(a.left),s=Math.floor(a.right),o=Math.floor(i.left),r=Math.floor(i.right);return o>=l&&r<=s||n&&(o<l&&r>l||r>s&&o<s)}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,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]?Z(a,t,n):a}function Q(e,t,n){return n||(n=`${t}s`),`${e||0} ${1===e?t:n}`}const ee=(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})),{}),te=(e,t,n="")=>Object.entries(e||{}).map((([e,t])=>`${n}${t}${"default"!==e?`-on-${e}`:""}`)).map(ae).map((e=>e.replace(/-?(\dxl)/gi,((e,t)=>`_${t}`)))).map((e=>t.modifiers[e])).filter(Boolean).join(" "),ne=e=>e.toUpperCase().replace("-","").replace("_",""),ae=e=>e.replace(/([-_][a-z])/gi,ne),ie=!("undefined"==typeof window||!window.document||!window.document.createElement),le=(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},se=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}},oe=(e,t)=>{const n=se(e).width;let a=t;if(le(t,e)>n){for(;le(`...${a}`,e)>n;)a=a.substring(1);e.value?e.value=`...${a}`:e.innerText=`...${a}`}else e.value?e.value=t:e.innerText=t},re=e=>e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});class ce extends l.Component{componentDidMount(){const e=o.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}function de(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 pe(e){if("[object Window]"!==e.toString()){const t=e.ownerDocument;return t?t.defaultView:window}return e}function me(e){const t=pe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return e instanceof pe(e).Element||e instanceof Element}function fe(e){return e instanceof pe(e).HTMLElement||e instanceof HTMLElement}function he(e){return e?(e.nodeName||"").toLowerCase():null}function ge(e){return(ue(e)?e.ownerDocument:e.document).documentElement}function be(e){return de(ge(e)).left+me(e).scrollLeft}function ve(e){return pe(e).getComputedStyle(e)}function xe(e){const{overflow:t,overflowX:n,overflowY:a}=ve(e);return/auto|scroll|overlay|hidden/.test(t+a+n)}function ye(e,t,n=!1){const a=ge(t),i=de(e),l=fe(t);let s={scrollLeft:0,scrollTop:0},o={x:0,y:0};var r,c;return(l||!l&&!n)&&(("body"!==he(t)||xe(a))&&(s=(r=t)!==pe(r)&&fe(r)?{scrollLeft:(c=r).scrollLeft,scrollTop:c.scrollTop}:me(r)),fe(t)?(o=de(t),o.x+=t.clientLeft,o.y+=t.clientTop):a&&(o.x=be(a))),{x:i.left+s.scrollLeft-o.x,y:i.top+s.scrollTop-o.y,width:i.width,height:i.height}}function Oe(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Ee(e){return"html"===he(e)?e:e.assignedSlot||e.parentNode||e.host||ge(e)}function Ce(e){return["html","body","#document"].indexOf(he(e))>=0?e.ownerDocument.body:fe(e)&&xe(e)?e:Ce(Ee(e))}function Ne(e,t=[]){const n=Ce(e),a="body"===he(n),i=pe(n),l=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n,s=t.concat(l);return a?s:s.concat(Ne(Ee(l)))}function we(e){return["table","td","th"].indexOf(he(e))>=0}function Se(e){if(!fe(e)||"fixed"===ve(e).position)return null;const t=e.offsetParent;if(t){const e=ge(t);if("body"===he(t)&&"static"===ve(t).position&&"static"!==ve(e).position)return e}return t}function _e(e){const t=pe(e);let n=Se(e);for(;n&&we(n)&&"static"===ve(n).position;)n=Se(n);return n&&"body"===he(n)&&"static"===ve(n).position?t:n||function(e){let t=Ee(e);for(;fe(t)&&["html","body"].indexOf(he(t))<0;){const e=ve(t);if("none"!==e.transform||"none"!==e.perspective||e.willChange&&"auto"!==e.willChange)return t;t=t.parentNode}return null}(e)||t}ce.displayName="FindRefWrapper";const Ie="top",Te="bottom",Le="right",ke="left",De="auto",Pe=[Ie,Te,Le,ke],Re="start",Ae="end",Me="clippingParents",Be="viewport",Fe="popper",je=Pe.reduce(((e,t)=>e.concat([`${t}-start`,`${t}-end`])),[]),Ve=[...Pe,De].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),He=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ze(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 $e(e){let t;return()=>(t||(t=new Promise((n=>{Promise.resolve().then((()=>{t=void 0,n(e())}))}))),t)}function We(e){return e.split("-")[0]}function Ge(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 Xe(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ke(e,t){return t===Be?Xe(function(e){const t=pe(e),n=ge(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+be(e),y:o}}(e)):fe(t)?function(e){const t=de(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):Xe(function(e){const t=ge(e),n=me(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+be(e);const o=-n.scrollTop;return"rtl"===ve(a||t).direction&&(s+=Math.max(t.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:o}}(ge(e)))}function Ue(e,t,n){const a="clippingParents"===t?function(e){const t=Ne(Ee(e)),n=["absolute","fixed"].indexOf(ve(e).position)>=0&&fe(e)?_e(e):e;return ue(n)?t.filter((e=>ue(e)&&Ge(e,n)&&"body"!==he(e))):[]}(e):[].concat(t),i=[...a,n],l=i[0],s=i.reduce(((t,n)=>{const a=Ke(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}),Ke(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 qe(e){return e.split("-")[1]}function Ye(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Je({reference:e,element:t,placement:n}){const a=n?We(n):null,i=n?qe(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 Ie:o={x:l,y:e.y-t.height};break;case Te:o={x:l,y:e.y+e.height};break;case Le:o={x:e.x+e.width,y:s};break;case ke:o={x:e.x-t.width,y:s};break;default:o={x:e.x,y:e.y}}const r=a?Ye(a):null;if(null!=r){const n="y"===r?"height":"width";switch(i){case Re:o[r]=Math.floor(o[r])-Math.floor(e[n]/2-t[n]/2);break;case Ae:o[r]=Math.floor(o[r])+Math.ceil(e[n]/2-t[n]/2)}}return o}function Ze(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Qe(e,t){return t.reduce(((t,n)=>(t[n]=e,t)),{})}function et(e,t={}){const{placement:n=e.placement,boundary:a=Me,rootBoundary:i=Be,elementContext:l=Fe,altBoundary:s=!1,padding:o=0}=t,r=Ze("number"!=typeof o?o:Qe(o,Pe)),c=l===Fe?"reference":Fe,d=e.elements.reference,p=e.rects.popper,m=e.elements[s?c:l],u=Ue(ue(m)?m:m.contextElement||ge(e.elements.popper),a,i),f=de(d),h=Je({reference:f,element:p,strategy:"absolute",placement:n}),g=Xe(Object.assign(Object.assign({},p),h)),b=l===Fe?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===Fe&&x){const e=x[n];Object.keys(v).forEach((t=>{const n=[Le,Te].indexOf(t)>=0?1:-1,a=[Ie,Te].indexOf(t)>=0?"y":"x";v[t]+=e[a]*n}))}return v}const tt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(...e){return!e.some((e=>!(e&&"function"==typeof e.getBoundingClientRect)))}const at={passive:!0};const it={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lt({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=ke,m=Ie;const u=window;if(s){let a=_e(e);a===pe(e)&&(a=ge(e)),n===Ie&&(m=Te,r-=a.clientHeight-t.height,r*=l?1:-1),n===ke&&(p=Le,o-=a.clientWidth-t.width,o*=l?1:-1)}const f=Object.assign({position:i},s&&it);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 st={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function({state:e,options:t,name:n}){const{offset:a=[0,0]}=t,i=Ve.reduce(((t,n)=>(t[n]=function(e,t,n){const a=We(e),i=[ke,Ie].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,[ke,Le].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 ot={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(e){return e.replace(/left|right|bottom|top/g,(e=>ot[e]))}const ct={start:"end",end:"start"};function dt(e){return e.replace(/start|end/g,(e=>ct[e]))}function pt(e,t={}){const{placement:n,boundary:a,rootBoundary:i,padding:l,flipVariations:s,allowedAutoPlacements:o=Ve}=t,r=qe(n),c=r?s?je:je.filter((e=>qe(e)===r)):Pe;let d=c.filter((e=>o.indexOf(e)>=0));0===d.length&&(d=c);const p=d.reduce(((t,n)=>(t[n]=et(e,{placement:n,boundary:a,rootBoundary:i,padding:l})[We(n)],t)),{});return Object.keys(p).sort(((e,t)=>p[e]-p[t]))}var mt={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=We(m),f=[m,...l||(u===m||!d?[rt(m)]:function(e){if(We(e)===De)return[];const t=rt(e);return[dt(e),t,dt(t)]}(m))].reduce(((t,n)=>t.concat(We(n)===De?pt(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=We(n),d=qe(n)===Re,p=[Ie,Te].indexOf(l)>=0,m=p?"width":"height",u=et(e,{placement:n,boundary:o,rootBoundary:r,altBoundary:c,padding:s});let y=p?d?Le:ke:d?Te:Ie;h[m]>g[m]&&(y=rt(y));const O=rt(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 ut(e,t,n){return Math.max(e,Math.min(t,n))}var ft={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=et(e,{boundary:l,rootBoundary:s,padding:r,altBoundary:o}),m=We(e.placement),u=qe(e.placement),f=!u,h=Ye(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?Ie:ke,n="y"===h?Te:Le,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===Re?v[a]:x[a],d=u===Re?-x[a]:-v[a],m=e.elements.arrow,g=c&&m?Oe(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=ut(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,I=e.elements.arrow&&_e(e.elements.arrow),T=I?"y"===h?I.clientTop||0:I.clientLeft||0:0,L=e.modifiersData.offset?e.modifiersData.offset[e.placement][h]:0,k=b[h]+S-L-T,D=b[h]+_-L,P=ut(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?Ie:ke,t="x"===h?Te:Le,n=b[g],a=ut(n+p[e],n,n-p[t]);b[g]=a,O[g]=a-n}e.modifiersData[n]=O}},requiresIfExists:["offset"]};var ht={name:"arrow",enabled:!0,phase:"main",fn:function({state:e,name:t}){const n=e.elements.arrow,a=e.modifiersData.popperOffsets,i=We(e.placement),l=Ye(i),s=[ke,Le].indexOf(i)>=0?"height":"width";if(!n||!a)return;const o=e.modifiersData[`${t}#persistent`].padding,r=Oe(n),c="y"===l?Ie:ke,d="y"===l?Te:Le,p=e.rects.reference[s]+e.rects.reference[l]-a[l]-e.rects.popper[s],m=a[l]-e.rects.reference[l],u=_e(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=ut(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))&&Ge(e.elements.popper,a)&&(e.elements.arrow=a,e.modifiersData[`${n}#persistent`]={padding:Ze("number"!=typeof i?i:Qe(i,Pe))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gt(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 bt(e){return[Ie,Le,Te,ke].some((t=>e[t]>=0))}const vt=function(e={}){const{defaultModifiers:t=[],defaultOptions:n=tt}=e;return function(e,a,i=n){let l={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},tt),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:ue(e)?Ne(e):e.contextElement?Ne(e.contextElement):[],popper:Ne(a)};const o=function(e){const t=ze(e);return He.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(nt(e,t)){l.rects={reference:ye(e,_e(t),"fixed"===l.options.strategy),popper:Oe(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:$e((()=>new Promise((e=>{r.forceUpdate(),e(l)})))),destroy(){c(),o=!0}};if(!nt(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=pe(e.elements.popper),s=[...e.scrollParents.reference,...e.scrollParents.popper];return a&&s.forEach((e=>{e.addEventListener("scroll",t.update,at)})),i&&l.addEventListener("resize",t.update,at),()=>{a&&s.forEach((e=>{e.removeEventListener("scroll",t.update,at)})),i&&l.removeEventListener("resize",t.update,at)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function({state:e,name:t}){e.modifiersData[t]=Je({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:We(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),lt(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),lt(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];fe(i)&&he(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)),{});fe(a)&&he(a)&&(Object.assign(a.style,l),Object.keys(i).forEach((e=>{a.removeAttribute(e)})))}))}},requires:["computeStyles"]},st,mt,ft,ht,{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=et(e,{elementContext:"reference"}),s=et(e,{altBoundary:!0}),o=gt(l,n),r=gt(s,a,i),c=bt(o),d=bt(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})}}]}),xt=ie?l.useLayoutEffect:l.useEffect,yt=e=>e.reduce(((e,[t,n])=>(e[t]=n,e)),{}),Ot=[],Et=(e,t,n={})=>{const a=l.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Ot},[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:yt(t.map((t=>[t,e.styles[t]||{}]))),attributes:yt(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 xt((()=>{d&&d.current&&d.current.setOptions(c)}),[c]),xt((()=>{if(null==e||null==t)return;const a=(n.createPopper||vt)(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}},Ct={left:"right",right:"left",bottom:"top",top:"bottom"},Nt=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,wt=({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),[I,T]=l.useState(null),[L,k]=l.useState(null),[D,P]=l.useState(!1),R=I||S,A=l.useCallback((e=>v(e,R,L)),[p,S,I,L,v]);l.useEffect((()=>{P(!0)}),[]),l.useEffect((()=>{w&&(w.current?T(w.current):"function"==typeof w&&T(w()))}),[w]);const M=(e,t,n)=>{e&&t&&t.addEventListener(n,e)},B=(e,t,n)=>{e&&t&&t.removeEventListener(n,e)};l.useEffect((()=>(M(f,R,"mouseenter"),M(h,R,"mouseleave"),M(g,R,"focus"),M(b,R,"blur"),M(x,R,"click"),M(y,R,"keydown"),M(O,L,"click"),v&&M(A,document,"click"),M(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(A,document,"click"),B(E,document,"keydown")})),[S,L,f,h,g,b,x,y,O,v,E,I]);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=>Ct[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:z,attributes:$,forceUpdate:W}=Et(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($&&$.popper&&$.popper["data-popper-placement"]){const e=$.popper["data-popper-placement"];return m[e]}return m.top})()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),z.popper),{zIndex:c})},$.popper));return l.createElement(l.Fragment,null,!w&&e&&l.createElement(ce,{onFoundRef:e=>_(e)},e),D&&p&&o.createPortal(l.createElement(ce,{onFoundRef:e=>k(e)},G),"function"==typeof r?r():r))};wt.displayName="Popper";const St=(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 _t 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()),St(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(){ie&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){ie&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}_t.displayName="KeyboardHandler",_t.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 It=(e,t)=>{let n;if(ie){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 Tt="pf-l-bullseye",Lt="pf-c-about-modal-box",kt="pf-c-about-modal-box__brand",Dt="pf-c-about-modal-box__brand-image",Pt="pf-c-about-modal-box__close",Rt="pf-c-about-modal-box__content",At="pf-c-about-modal-box__header",Mt="pf-c-about-modal-box__hero",Bt="pf-c-about-modal-box__strapline",Ft="pf-c-content",jt={visited:"pf-m-visited",overpassFont:"pf-m-overpass-font"};const Vt=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(Rt,n),id:i},o),l.createElement("div",{className:d("pf-c-about-modal-box__body")},s?t:l.createElement("div",{className:d(Ft)},t)),l.createElement("p",{className:d(Bt)},a))};Vt.displayName="AboutModalBoxContent";var Ht,zt,$t={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,(Ht=e.TitleSizes||(e.TitleSizes={})).md="md",Ht.lg="lg",Ht.xl="xl",Ht["2xl"]="2xl",Ht["3xl"]="3xl",Ht["4xl"]="4xl",function(e){e.h1="2xl",e.h2="xl",e.h3="lg",e.h4="md",e.h5="md",e.h6="md"}(zt||(zt={}));const Wt=e=>{var{className:t="",children:n="",headingLevel:a,size:i=zt[a],ouiaId:s,ouiaSafe:o=!0}=e,c=r(e,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const p=$(Wt.displayName,s,o);return l.createElement(a,Object.assign({},p,c,{className:d($t.title,i&&$t.modifiers[i],t)}),n)};Wt.displayName="Title";const Gt=e=>{var{className:t="",productName:n="",id:a}=e,i=r(e,["className","productName","id"]);return l.createElement("div",Object.assign({className:d(At,t)},i),l.createElement(Wt,{headingLevel:"h1",size:"4xl",id:a},n))};Gt.displayName="AboutModalBoxHeader";var Xt={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 Kt=e=>{var{className:t,backgroundImageSrc:n}=e,a=r(e,["className","backgroundImageSrc"]);return l.createElement("div",Object.assign({style:""!==n?{[Xt.name]:`url(${n})`}:{},className:d(Mt,t)},a))};Kt.displayName="AboutModalBoxHero";const Ut=e=>{var{className:t="",src:n="",alt:a}=e,i=r(e,["className","src","alt"]);return l.createElement("div",Object.assign({className:d(kt,t)},i),l.createElement("img",{className:d(Dt),src:n,alt:a}))};Ut.displayName="AboutModalBoxBrand";var qt,Yt={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"},Jt={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,(qt=e.spinnerSize||(e.spinnerSize={})).sm="sm",qt.md="md",qt.lg="lg",qt.xl="xl";const Zt=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(Jt.spinner,Jt.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:Jt.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):l.createElement(l.Fragment,null,l.createElement("span",{className:d(Jt.spinnerClipper)}),l.createElement("span",{className:d(Jt.spinnerLeadBall)}),l.createElement("span",{className:d(Jt.spinnerTailBall)})))};var Qt,en;Zt.displayName="Spinner",e.ButtonVariant=void 0,(Qt=e.ButtonVariant||(e.ButtonVariant={})).primary="primary",Qt.secondary="secondary",Qt.tertiary="tertiary",Qt.danger="danger",Qt.warning="warning",Qt.link="link",Qt.plain="plain",Qt.control="control",e.ButtonType=void 0,(en=e.ButtonType||(e.ButtonType={})).button="button",en.submit="submit",en.reset="reset";const tn=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,I=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 T=$(nn.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({},I,p?P:null,{"aria-disabled":c||p,"aria-label":E,className:d(Yt.button,Yt.modifiers[y],o&&Yt.modifiers.block,c&&Yt.modifiers.disabled,p&&Yt.modifiers.ariaDisabled,s&&Yt.modifiers.active,v&&y===e.ButtonVariant.link&&Yt.modifiers.inline,u&&(y===e.ButtonVariant.secondary||y===e.ButtonVariant.link)&&Yt.modifiers.danger,null!==m&&Yt.modifiers.progress,m&&Yt.modifiers.inProgress,h&&Yt.modifiers.small,g&&Yt.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:_},T),m&&l.createElement("span",{className:d(Yt.buttonProgress)},l.createElement(Zt,{size:e.spinnerSize.md,"aria-valuetext":f})),y!==e.ButtonVariant.plain&&C&&"left"===O&&l.createElement("span",{className:d(Yt.buttonIcon,Yt.modifiers.start)},C),n,y!==e.ButtonVariant.plain&&C&&"right"===O&&l.createElement("span",{className:d(Yt.buttonIcon,Yt.modifiers.end)},C))},nn=l.forwardRef(((e,t)=>l.createElement(tn,Object.assign({innerRef:t},e))));var an;nn.displayName="Button",function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(an||(an={}));let ln=0;function sn({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-"+ln++}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.175.
|
|
3
|
+
"version": "4.175.1",
|
|
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,16 +34,16 @@
|
|
|
34
34
|
"generate": "node scripts/copyStyles.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@patternfly/react-icons": "^4.26.
|
|
38
|
-
"@patternfly/react-styles": "^4.25.
|
|
39
|
-
"@patternfly/react-tokens": "^4.27.
|
|
37
|
+
"@patternfly/react-icons": "^4.26.1",
|
|
38
|
+
"@patternfly/react-styles": "^4.25.1",
|
|
39
|
+
"@patternfly/react-tokens": "^4.27.1",
|
|
40
40
|
"focus-trap": "6.2.2",
|
|
41
41
|
"react-dropzone": "10.2.2",
|
|
42
42
|
"tippy.js": "5.1.2",
|
|
43
43
|
"tslib": "^2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@patternfly/patternfly": "4.159.
|
|
46
|
+
"@patternfly/patternfly": "4.159.1",
|
|
47
47
|
"@rollup/plugin-commonjs": "^21.0.0",
|
|
48
48
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
49
49
|
"@rollup/plugin-replace": "^3.0.0",
|
|
@@ -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": "
|
|
63
|
+
"gitHead": "bdc63f6a091228f1c3a77726c3cfae7a5fb46d8b"
|
|
64
64
|
}
|
|
@@ -6,6 +6,7 @@ propComponents: ['Tooltip']
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
import OutlinedQuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/outlined-question-circle-icon';
|
|
9
|
+
import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
|
|
9
10
|
import './TooltipExamples.css';
|
|
10
11
|
|
|
11
12
|
## Examples
|
|
@@ -66,19 +67,24 @@ import { Tooltip } from '@patternfly/react-core';
|
|
|
66
67
|
### On icon
|
|
67
68
|
```js
|
|
68
69
|
import React from 'react';
|
|
69
|
-
import { Tooltip } from '@patternfly/react-core';
|
|
70
|
-
import
|
|
70
|
+
import { Tooltip, Button } from '@patternfly/react-core';
|
|
71
|
+
import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
IconExample = () => {
|
|
74
|
+
const [showSuccessContent, setShowSuccessContent] = React.useState(false);
|
|
75
|
+
const copyText = 'Copy to clipboard';
|
|
76
|
+
const doneCopyText = 'Successfully copied to clipboard!';
|
|
77
|
+
const [content, setContent] = React.useState(copyText);
|
|
78
|
+
return (
|
|
79
|
+
<div style={{ margin: '100px' }}>
|
|
80
|
+
<Tooltip content={showSuccessContent ? doneCopyText : copyText}>
|
|
81
|
+
<Button variant="plain" id="tt-ref" onClick={() => setShowSuccessContent(!showSuccessContent)}>
|
|
82
|
+
<CopyIcon />
|
|
83
|
+
</Button>
|
|
84
|
+
</Tooltip>
|
|
85
|
+
</div>
|
|
86
|
+
);
|
|
87
|
+
};
|
|
82
88
|
```
|
|
83
89
|
|
|
84
90
|
### Options
|
|
@@ -246,7 +246,7 @@ export const Popper: React.FunctionComponent<PopperProps> = ({
|
|
|
246
246
|
[popperMatchesTriggerWidth]
|
|
247
247
|
);
|
|
248
248
|
|
|
249
|
-
const { styles: popperStyles, attributes } = usePopper(refOrTrigger, popperElement, {
|
|
249
|
+
const { styles: popperStyles, attributes, forceUpdate } = usePopper(refOrTrigger, popperElement, {
|
|
250
250
|
placement: getPlacementMemo,
|
|
251
251
|
modifiers: [
|
|
252
252
|
{
|
|
@@ -275,6 +275,12 @@ export const Popper: React.FunctionComponent<PopperProps> = ({
|
|
|
275
275
|
]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
+
// force update when content changes
|
|
279
|
+
// https://github.com/patternfly/patternfly-react/issues/5620
|
|
280
|
+
React.useEffect(() => {
|
|
281
|
+
forceUpdate && forceUpdate();
|
|
282
|
+
}, [popper]);
|
|
283
|
+
|
|
278
284
|
// Returns the CSS modifier class in order to place the Popper's arrow properly
|
|
279
285
|
// Depends on the position of the Popper relative to the reference element
|
|
280
286
|
const modifierFromPopperPosition = () => {
|