From f51406cb2971aeb5b93dd9ad8e030d10535f15bf Mon Sep 17 00:00:00 2001
From: adoroshk
Date: Wed, 29 Nov 2023 14:34:59 +0000
Subject: [PATCH] deploy: 249074f8216b6c3cd1b135c8e2fe6e978c054b35
---
...84ca264df59d6ac2624.css => 13893-da514f2c09ec99b871f7.css} | 0
...-384ca264df59d6ac2624.js => 13893-da514f2c09ec99b871f7.js} | 2 +-
...72715ee5257466853d5.css => 28905-5f46fd89017d90ceb720.css} | 0
...-c72715ee5257466853d5.js => 28905-5f46fd89017d90ceb720.js} | 0
...8319d4930c3ed7b4eda.css => 42673-fd56af9f90298b7c3429.css} | 0
...-58319d4930c3ed7b4eda.js => 42673-fd56af9f90298b7c3429.js} | 2 +-
...35d2906fb3b76084f16.css => 46944-71d5651aea99c897dddd.css} | 0
...-335d2906fb3b76084f16.js => 46944-71d5651aea99c897dddd.js} | 0
pull/1916/47782-4297fb349c92fb5ff39b.js | 1 -
...297fb349c92fb5ff39b.css => 47782-9a954b209972f27d3c9a.css} | 0
pull/1916/47782-9a954b209972f27d3c9a.js | 1 +
...81216a5347e7facaf2e.css => 54380-de0e4e15779c56c8a22c.css} | 0
...-781216a5347e7facaf2e.js => 54380-de0e4e15779c56c8a22c.js} | 0
...05991053288ac544292.css => 54545-94ea1a4cc329c6004ce0.css} | 2 +-
...-305991053288ac544292.js => 54545-94ea1a4cc329c6004ce0.js} | 0
...d0b7676c2f0785eec93.css => 59726-ef565c78acbcfe661e97.css} | 0
...-dd0b7676c2f0785eec93.js => 59726-ef565c78acbcfe661e97.js} | 0
...519a0711fef55c0bb48.css => 75611-2c382a3b8afb255fadc0.css} | 0
...-1519a0711fef55c0bb48.js => 75611-2c382a3b8afb255fadc0.js} | 2 +-
...93111732a3e70feddf9.css => 76018-bbb25ad3677855f8b3e1.css} | 0
...-593111732a3e70feddf9.js => 76018-bbb25ad3677855f8b3e1.js} | 0
pull/1916/77138-37b544fc3135a922379a.js | 1 -
...7b544fc3135a922379a.css => 77138-af1fdce68d5ed22e7f90.css} | 0
pull/1916/77138-af1fdce68d5ed22e7f90.js | 1 +
pull/1916/84923-4b9ee0e069b8f6680ab2.js | 1 -
...b9ee0e069b8f6680ab2.css => 84923-a17fc4f0bd5f0a039dde.css} | 0
pull/1916/84923-a17fc4f0bd5f0a039dde.js | 1 +
...321ba3d723daff011fd.css => 90445-bde083c6571774f65084.css} | 0
...-a321ba3d723daff011fd.js => 90445-bde083c6571774f65084.js} | 0
...9d5cd02a622ee6bb0c4.css => 91016-5d0c5256185abe3c54e6.css} | 0
...-d9d5cd02a622ee6bb0c4.js => 91016-5d0c5256185abe3c54e6.js} | 0
...238e704318ba6d251e6.css => index-3573256da02dca867acb.css} | 0
...-2238e704318ba6d251e6.js => index-3573256da02dca867acb.js} | 4 ++--
....LICENSE.txt => index-3573256da02dca867acb.js.LICENSE.txt} | 0
pull/1916/index.html | 2 +-
35 files changed, 10 insertions(+), 10 deletions(-)
rename pull/1916/{13893-384ca264df59d6ac2624.css => 13893-da514f2c09ec99b871f7.css} (100%)
rename pull/1916/{13893-384ca264df59d6ac2624.js => 13893-da514f2c09ec99b871f7.js} (99%)
rename pull/1916/{28905-c72715ee5257466853d5.css => 28905-5f46fd89017d90ceb720.css} (100%)
rename pull/1916/{28905-c72715ee5257466853d5.js => 28905-5f46fd89017d90ceb720.js} (100%)
rename pull/1916/{42673-58319d4930c3ed7b4eda.css => 42673-fd56af9f90298b7c3429.css} (100%)
rename pull/1916/{42673-58319d4930c3ed7b4eda.js => 42673-fd56af9f90298b7c3429.js} (99%)
rename pull/1916/{46944-335d2906fb3b76084f16.css => 46944-71d5651aea99c897dddd.css} (100%)
rename pull/1916/{46944-335d2906fb3b76084f16.js => 46944-71d5651aea99c897dddd.js} (100%)
delete mode 100644 pull/1916/47782-4297fb349c92fb5ff39b.js
rename pull/1916/{47782-4297fb349c92fb5ff39b.css => 47782-9a954b209972f27d3c9a.css} (100%)
create mode 100644 pull/1916/47782-9a954b209972f27d3c9a.js
rename pull/1916/{54380-781216a5347e7facaf2e.css => 54380-de0e4e15779c56c8a22c.css} (100%)
rename pull/1916/{54380-781216a5347e7facaf2e.js => 54380-de0e4e15779c56c8a22c.js} (100%)
rename pull/1916/{54545-305991053288ac544292.css => 54545-94ea1a4cc329c6004ce0.css} (99%)
rename pull/1916/{54545-305991053288ac544292.js => 54545-94ea1a4cc329c6004ce0.js} (100%)
rename pull/1916/{59726-dd0b7676c2f0785eec93.css => 59726-ef565c78acbcfe661e97.css} (100%)
rename pull/1916/{59726-dd0b7676c2f0785eec93.js => 59726-ef565c78acbcfe661e97.js} (100%)
rename pull/1916/{75611-1519a0711fef55c0bb48.css => 75611-2c382a3b8afb255fadc0.css} (100%)
rename pull/1916/{75611-1519a0711fef55c0bb48.js => 75611-2c382a3b8afb255fadc0.js} (99%)
rename pull/1916/{76018-593111732a3e70feddf9.css => 76018-bbb25ad3677855f8b3e1.css} (100%)
rename pull/1916/{76018-593111732a3e70feddf9.js => 76018-bbb25ad3677855f8b3e1.js} (100%)
delete mode 100644 pull/1916/77138-37b544fc3135a922379a.js
rename pull/1916/{77138-37b544fc3135a922379a.css => 77138-af1fdce68d5ed22e7f90.css} (100%)
create mode 100644 pull/1916/77138-af1fdce68d5ed22e7f90.js
delete mode 100644 pull/1916/84923-4b9ee0e069b8f6680ab2.js
rename pull/1916/{84923-4b9ee0e069b8f6680ab2.css => 84923-a17fc4f0bd5f0a039dde.css} (100%)
create mode 100644 pull/1916/84923-a17fc4f0bd5f0a039dde.js
rename pull/1916/{90445-a321ba3d723daff011fd.css => 90445-bde083c6571774f65084.css} (100%)
rename pull/1916/{90445-a321ba3d723daff011fd.js => 90445-bde083c6571774f65084.js} (100%)
rename pull/1916/{91016-d9d5cd02a622ee6bb0c4.css => 91016-5d0c5256185abe3c54e6.css} (100%)
rename pull/1916/{91016-d9d5cd02a622ee6bb0c4.js => 91016-5d0c5256185abe3c54e6.js} (100%)
rename pull/1916/{index-2238e704318ba6d251e6.css => index-3573256da02dca867acb.css} (100%)
rename pull/1916/{index-2238e704318ba6d251e6.js => index-3573256da02dca867acb.js} (86%)
rename pull/1916/{index-2238e704318ba6d251e6.js.LICENSE.txt => index-3573256da02dca867acb.js.LICENSE.txt} (100%)
diff --git a/pull/1916/13893-384ca264df59d6ac2624.css b/pull/1916/13893-da514f2c09ec99b871f7.css
similarity index 100%
rename from pull/1916/13893-384ca264df59d6ac2624.css
rename to pull/1916/13893-da514f2c09ec99b871f7.css
diff --git a/pull/1916/13893-384ca264df59d6ac2624.js b/pull/1916/13893-da514f2c09ec99b871f7.js
similarity index 99%
rename from pull/1916/13893-384ca264df59d6ac2624.js
rename to pull/1916/13893-da514f2c09ec99b871f7.js
index 10d02fbc3f6..f005e4f515d 100644
--- a/pull/1916/13893-384ca264df59d6ac2624.js
+++ b/pull/1916/13893-da514f2c09ec99b871f7.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[13893],{22863:function(t,a,r){var e=r(64836);a.Z=void 0;var n=e(r(67294)),l=e(r(45697)),d=e(r(47166)),o=e(r(17422)),m=d.default.bind(o.default),u={name:l.default.string.isRequired,src:l.default.string,url:l.default.string,version:l.default.string.isRequired},s=function(t){var a=t.src,r=t.name,e=t.url,l=t.version,d=n.default.createElement("a",{className:m("badge"),href:e||"https://www.npmjs.org/package/".concat(r,"/v/").concat(l)},n.default.createElement("span",{className:m("badge-name")},e?"package":"npm"),n.default.createElement("span",{className:m("badge-version")},"v".concat(l))),o=a?n.default.createElement("a",{className:m("badge"),href:a},n.default.createElement("span",{className:m("badge-name")},"github"),n.default.createElement("span",{className:m("badge-version")},"source")):void 0;return n.default.createElement("div",{className:m("badge-container")},d,o)};s.propTypes=u;var b=s;a.Z=b},13893:function(t,a,r){r.r(a),r.d(a,{default:function(){return s}});var e=r(87462),n=r(44925),l=(r(67294),r(81254)),d=r(63718),o=["components"],m={},u="wrapper";function s(t){var a=t.components,r=(0,n.Z)(t,o);return(0,l.mdx)(u,(0,e.Z)({},m,r,{components:a,mdxType:"MDXLayout"}),(0,l.mdx)(d.C,{mdxType:"Badge"}),(0,l.mdx)("h1",{id:"terra-tabs-upgrade-guide"},"Terra Tabs Upgrade Guide"),(0,l.mdx)("h2",{id:"changes-from-version-6-to-version-7"},"Changes from version 6 to version 7"),(0,l.mdx)("h3",{id:"removed-props"},"Removed props"),(0,l.mdx)("ul",null,(0,l.mdx)("li",{parentName:"ul"},"Removed responsiveTo")),(0,l.mdx)("h2",{id:"changes-from-version-3-to-version-4"},"Changes from version 3 to version 4"),(0,l.mdx)("h3",{id:"changes-to-css-custom-properties"},"Changes to CSS Custom Properties"),(0,l.mdx)("h4",{id:"renamed"},"Renamed"),(0,l.mdx)("table",null,(0,l.mdx)("thead",{parentName:"table"},(0,l.mdx)("tr",{parentName:"thead"},(0,l.mdx)("th",{parentName:"tr",align:null},"Previous"),(0,l.mdx)("th",{parentName:"tr",align:null},"New"))),(0,l.mdx)("tbody",{parentName:"table"},(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-width"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-bottom-width")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-active-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-hover-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-width"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-bottom-width")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-disabled-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-disabled-hover-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-background-image"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-active-focus-background-image")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-focus-border-radius"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-active-focus-border-radius")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-rtl-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-active-focus-rtl-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-ltr-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-active-focus-ltr-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-selection-bar-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-selection-bar-background-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-menu-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-menu-bar-border-radius"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-border-radius")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-width"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-bottom-width")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-margin-between-tabs"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-between-tabs-margin-left")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-timing"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-timing-function")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-duration"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-active-before-transition-duration")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-timing"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-active-before-transition-timing-function")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-background-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-hover-background-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-hover-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-opacity"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-hover-opacity")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-background-image"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-active-focus-background-image")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-rtl-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-active-focus-rtl-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-ltr-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-active-focus-ltr-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-label-margin-next-to-icon"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-label-next-to-icon-margin-left")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-menu-arrow-left-margin"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-menu-arrow-margin-left")))),(0,l.mdx)("h4",{id:"added"},"Added"),(0,l.mdx)("ul",null,(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-content-background-image"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-border-bottom-width"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-position"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-before-content-background"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-before-content-height"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-extended-tabs-border-radius"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-active-background-image"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-focus-background-image"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-menu-bar-focus-border-bottom-color"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-menu-bar-focus-border-bottom-width")))}s.isMDXComponent=!0},63718:function(t,a,r){r.d(a,{C:function(){return l}});var e=r(67294),n=r(22863),l=function(t){var a=t.url;return e.createElement(n.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-tabs",name:"terra-tabs",version:"7.12.0",url:a})}},17422:function(t,a,r){r.r(a),a.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},87462:function(t,a,r){function e(){return e=Object.assign?Object.assign.bind():function(t){for(var a=1;a=0||(n[r]=t[r]);return n}(t,a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(e=0;e=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}r.d(a,{Z:function(){return e}})}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[13893],{22863:function(t,a,r){var e=r(64836);a.Z=void 0;var n=e(r(67294)),l=e(r(45697)),d=e(r(47166)),o=e(r(17422)),m=d.default.bind(o.default),u={name:l.default.string.isRequired,src:l.default.string,url:l.default.string,version:l.default.string.isRequired},s=function(t){var a=t.src,r=t.name,e=t.url,l=t.version,d=n.default.createElement("a",{className:m("badge"),href:e||"https://www.npmjs.org/package/".concat(r,"/v/").concat(l)},n.default.createElement("span",{className:m("badge-name")},e?"package":"npm"),n.default.createElement("span",{className:m("badge-version")},"v".concat(l))),o=a?n.default.createElement("a",{className:m("badge"),href:a},n.default.createElement("span",{className:m("badge-name")},"github"),n.default.createElement("span",{className:m("badge-version")},"source")):void 0;return n.default.createElement("div",{className:m("badge-container")},d,o)};s.propTypes=u;var b=s;a.Z=b},13893:function(t,a,r){r.r(a),r.d(a,{default:function(){return s}});var e=r(87462),n=r(44925),l=(r(67294),r(81254)),d=r(63718),o=["components"],m={},u="wrapper";function s(t){var a=t.components,r=(0,n.Z)(t,o);return(0,l.mdx)(u,(0,e.Z)({},m,r,{components:a,mdxType:"MDXLayout"}),(0,l.mdx)(d.C,{mdxType:"Badge"}),(0,l.mdx)("h1",{id:"terra-tabs-upgrade-guide"},"Terra Tabs Upgrade Guide"),(0,l.mdx)("h2",{id:"changes-from-version-6-to-version-7"},"Changes from version 6 to version 7"),(0,l.mdx)("h3",{id:"removed-props"},"Removed props"),(0,l.mdx)("ul",null,(0,l.mdx)("li",{parentName:"ul"},"Removed responsiveTo")),(0,l.mdx)("h2",{id:"changes-from-version-3-to-version-4"},"Changes from version 3 to version 4"),(0,l.mdx)("h3",{id:"changes-to-css-custom-properties"},"Changes to CSS Custom Properties"),(0,l.mdx)("h4",{id:"renamed"},"Renamed"),(0,l.mdx)("table",null,(0,l.mdx)("thead",{parentName:"table"},(0,l.mdx)("tr",{parentName:"thead"},(0,l.mdx)("th",{parentName:"tr",align:null},"Previous"),(0,l.mdx)("th",{parentName:"tr",align:null},"New"))),(0,l.mdx)("tbody",{parentName:"table"},(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-width"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-collapsed-modular-tab-bar-border-bottom-width")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-active-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-hover-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-width"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-tab-bar-border-bottom-width")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-disabled-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-disabled-hover-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-background-image"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-active-focus-background-image")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-focus-border-radius"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-active-focus-border-radius")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-rtl-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-active-focus-rtl-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-ltr-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-active-focus-ltr-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-selection-bar-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-modular-selection-bar-background-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-menu-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-menu-bar-border-radius"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-collapsed-border-radius")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-bottom-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-width"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-tab-bar-border-bottom-width")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-margin-between-tabs"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-between-tabs-margin-left")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-timing"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-timing-function")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-duration"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-active-before-transition-duration")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-transition-timing"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-active-before-transition-timing-function")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-background-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-hover-background-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-color"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-hover-color")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-opacity"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-disabled-hover-opacity")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-background-image"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-structural-active-focus-background-image")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-rtl-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-active-focus-rtl-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-focus-ltr-box-shadow"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-keyboard-active-focus-ltr-box-shadow")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-label-margin-next-to-icon"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-label-next-to-icon-margin-left")),(0,l.mdx)("tr",{parentName:"tbody"},(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-menu-arrow-left-margin"),(0,l.mdx)("td",{parentName:"tr",align:null},"--terra-tabs-menu-arrow-margin-left")))),(0,l.mdx)("h4",{id:"added"},"Added"),(0,l.mdx)("ul",null,(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-content-background-image"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-border-bottom-width"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-position"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-before-content-background"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-before-content-height"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-extended-tabs-border-radius"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-active-background-image"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-focus-background-image"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-menu-bar-focus-border-bottom-color"),(0,l.mdx)("li",{parentName:"ul"},"--terra-tabs-structural-collapsed-menu-bar-focus-border-bottom-width")))}s.isMDXComponent=!0},63718:function(t,a,r){r.d(a,{C:function(){return l}});var e=r(67294),n=r(22863),l=function(t){var a=t.url;return e.createElement(n.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-tabs",name:"terra-tabs",version:"7.13.0",url:a})}},17422:function(t,a,r){r.r(a),a.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},87462:function(t,a,r){function e(){return e=Object.assign?Object.assign.bind():function(t){for(var a=1;a=0||(n[r]=t[r]);return n}(t,a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(e=0;e=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}r.d(a,{Z:function(){return e}})}}]);
\ No newline at end of file
diff --git a/pull/1916/28905-c72715ee5257466853d5.css b/pull/1916/28905-5f46fd89017d90ceb720.css
similarity index 100%
rename from pull/1916/28905-c72715ee5257466853d5.css
rename to pull/1916/28905-5f46fd89017d90ceb720.css
diff --git a/pull/1916/28905-c72715ee5257466853d5.js b/pull/1916/28905-5f46fd89017d90ceb720.js
similarity index 100%
rename from pull/1916/28905-c72715ee5257466853d5.js
rename to pull/1916/28905-5f46fd89017d90ceb720.js
diff --git a/pull/1916/42673-58319d4930c3ed7b4eda.css b/pull/1916/42673-fd56af9f90298b7c3429.css
similarity index 100%
rename from pull/1916/42673-58319d4930c3ed7b4eda.css
rename to pull/1916/42673-fd56af9f90298b7c3429.css
diff --git a/pull/1916/42673-58319d4930c3ed7b4eda.js b/pull/1916/42673-fd56af9f90298b7c3429.js
similarity index 99%
rename from pull/1916/42673-58319d4930c3ed7b4eda.js
rename to pull/1916/42673-fd56af9f90298b7c3429.js
index 8e2b126f92f..a7abdd5ae9c 100644
--- a/pull/1916/42673-58319d4930c3ed7b4eda.js
+++ b/pull/1916/42673-fd56af9f90298b7c3429.js
@@ -1 +1 @@
-(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[42673],{22863:function(e,n,a){"use strict";var t=a(64836);n.Z=void 0;var l=t(a(67294)),o=t(a(45697)),r=t(a(47166)),i=t(a(17422)),s=r.default.bind(i.default),d={name:o.default.string.isRequired,src:o.default.string,url:o.default.string,version:o.default.string.isRequired},c=function(e){var n=e.src,a=e.name,t=e.url,o=e.version,r=l.default.createElement("a",{className:s("badge"),href:t||"https://www.npmjs.org/package/".concat(a,"/v/").concat(o)},l.default.createElement("span",{className:s("badge-name")},t?"package":"npm"),l.default.createElement("span",{className:s("badge-version")},"v".concat(o))),i=n?l.default.createElement("a",{className:s("badge"),href:n},l.default.createElement("span",{className:s("badge-name")},"github"),l.default.createElement("span",{className:s("badge-version")},"source")):void 0;return l.default.createElement("div",{className:s("badge-container")},r,i)};c.propTypes=d;var m=c;n.Z=m},49271:function(e,n,a){"use strict";var t=a(64836),l=a(18698);n.Z=void 0;var o=t(a(27424)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var a=b(n);if(a&&a.has(e))return a.get(e);var t={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=o?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(t,r,i):t[r]=e[r]}t.default=e,a&&a.set(e,t);return t}(a(67294)),i=t(a(45697)),s=t(a(47166)),d=a(21538),c=t(a(33864)),m=t(a(23399)),u=a(51051),p=t(a(53560));function b(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,a=new WeakMap;return(b=function(e){return e?a:n})(e)}var f=s.default.bind(p.default),y={example:i.default.element,exampleSrc:i.default.element,exampleCssSrc:i.default.element,title:i.default.string,description:i.default.node,isExpanded:i.default.bool},h=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},T=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},x=function(e){var n=e.example,a=e.exampleSrc,t=e.exampleCssSrc,l=e.title,i=e.description,s=e.isExpanded,p=(0,r.useState)(s),b=(0,o.default)(p,2),y=b[0],x=b[1],v=(0,r.useState)(!1),g=(0,o.default)(v,2),C=g[0],E=g[1],w=r.default.useContext(d.ThemeContext),P=void 0!==t,k=function(){E(!C),y&&x(!y)},N=function(){x(!y),C&&E(!C)},I=function(e,n){e.nativeEvent.keyCode!==u.KEY_SPACE&&e.nativeEvent.keyCode!==u.KEY_RETURN||(e.preventDefault(),n())};return r.default.createElement("div",{className:f("template",w.className)},r.default.createElement("div",{className:f("header")},l&&r.default.createElement("h2",{className:f("title")},l)),r.default.createElement("div",{className:f("content")},i&&r.default.createElement("div",{className:f("description")},i),n),r.default.createElement("div",{className:f("footer")},a?r.default.createElement("div",{className:f("button-container")},P&&r.default.createElement("button",{type:"button",className:f("css-toggle","item",{"is-selected":C}),onClick:k,onKeyDown:function(e){return I(e,k)},onBlur:h,onMouseDown:T,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(c.default,{className:f("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(m.default,{className:f("chevron")})),r.default.createElement("button",{type:"button",className:f("code-toggle","item",{"is-selected":y}),onClick:N,onKeyDown:function(e){return I(e,N)},onBlur:h,onMouseDown:T,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(c.default,{className:f("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(m.default,{className:f("chevron")}))):null,r.default.createElement("div",null,C&&r.default.createElement("div",{className:f("css")},t),y&&r.default.createElement("div",{className:f("code")},a))))};x.propTypes=y,x.defaultProps={isExpanded:!1};var v=x;n.Z=v},42673:function(e,n,a){"use strict";a.r(n),a.d(n,{default:function(){return _e}});var t=a(87462),l=a(44925),o=a(67294),r=a(81254),i=a(63718),s=a(78530),d=["components"],c={},m="wrapper";function u(e){var n=e.components,a=(0,l.Z)(e,d);return(0,r.mdx)(m,(0,t.Z)({},c,a,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(s.ZP,{mdxType:"PropsTable"},(0,r.mdx)(s.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"tabFill"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Indicates if tabs should fill the width available in the tab bar."))),(0,r.mdx)(s.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"fill"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Indicates if the pane content should fill to the height of the parent container."))),(0,r.mdx)(s.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"onChange"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Callback function when selection has changed.\nParameters: 1. Event 2. Selected pane's key"))),(0,r.mdx)(s.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"children"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"node\n"))),(0,r.mdx)(s.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Tabs.Pane components to be displayed."))),(0,r.mdx)(s.X2,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"activeKey"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Key of the pane that should be active. Use this prop along with onChange to create controlled tabs."))),(0,r.mdx)(s.X2,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"defaultActiveKey"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Key of the pane that should be open initially."))),(0,r.mdx)(s.X2,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"isClosable"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Whether or not the tab is closable."))),(0,r.mdx)(s.X2,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"isDraggable"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Whether or not the tab is draggable."))),(0,r.mdx)(s.X2,{key:"ROW9",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"onTabOrderChange"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Callback function triggered when tab is drag and dropped."))),(0,r.mdx)(s.X2,{key:"ROW10",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"onTabClose"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Callback function triggered on close button click. will be available only when ",(0,r.mdx)("inlineCode",{parentName:"p"},"isClosable")," is set to true."))),(0,r.mdx)(s.X2,{key:"ROW11",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"onSelectAddButton"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Callback function triggered when add button is clicked.\nParameters: 1. Event 2. Selected pane's key"))),(0,r.mdx)(s.X2,{key:"ROW12",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"ariaLabelAddTab"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The label to set on the add icon element."))),(0,r.mdx)(s.X2,{key:"ROW13",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"verticalOrientation"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"By Default Orientation will be Horizontal and Orientation will be Vertical When verticalOrientation set to ",(0,r.mdx)("inlineCode",{parentName:"p"},"true"),"."))),(0,r.mdx)(s.X2,{key:"ROW14",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"setFocusOnContent"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Sets focus on content when set to ",(0,r.mdx)("inlineCode",{parentName:"p"},"true"),".")))))}u.isMDXComponent=!0;var p=["components"],b={},f="wrapper";function y(e){var n=e.components,a=(0,l.Z)(e,p);return(0,r.mdx)(f,(0,t.Z)({},b,a,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(s.ZP,{mdxType:"PropsTable"},(0,r.mdx)(s.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"icon"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"element\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Icon to be displayed on the tab."))),(0,r.mdx)(s.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"label"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(s.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Text to be displayed on the tab."))),(0,r.mdx)(s.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"customDisplay"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"node\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"A custom display for the tab. Component will fallback to label text when collapsed into the menu."))),(0,r.mdx)(s.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"children"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"node\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Content to be displayed when the tab is selected."))),(0,r.mdx)(s.X2,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"isDisabled"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Indicates if the pane should be disabled."))),(0,r.mdx)(s.X2,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"isIconOnly"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Indicates if the pane label should only display the icon. When tab collapses into menu the label text will be used."))),(0,r.mdx)(s.X2,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"isActive"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"If enabled, this prop will apply the ",(0,r.mdx)("inlineCode",{parentName:"p"},"aria-selected")," style to the pane."))),(0,r.mdx)(s.X2,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(s.O,{mdxType:"PropNameCell"},"showIcon"),(0,r.mdx)(s.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"If enabled, this prop will show the icon on the tab and also in the menu if pane is collapsed.")))))}y.isMDXComponent=!0;var h=a(55653),T=["components"],x={};function v(e){var n=e.components,a=(0,l.Z)(e,T);return(0,r.mdx)("wrapper",(0,t.Z)({},x,a,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport PropTypes from 'prop-types';\nimport IconBriefcase from 'terra-icon/lib/icon/IconBriefcase';\nimport Tabs from 'terra-tabs';\nimport TabContentTemplate from './TabContentTemplate';\nimport styles from './common/TabExample.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst propTypes = {\n id: PropTypes.string,\n};\n\nconst TabsTemplate = (props) => {\n const tabKey = props.id ? props.id : 'compact';\n const labelTab = (\n \n \n \n );\n\n const iconTab = (\n } key={`${tabKey}IconTab`} id={`${tabKey}IconTab`}>\n \n \n );\n return (\n
\n );\n};\n\nTabsTemplate.propTypes = propTypes;\n\nconst TabExpanded = () => (\n \n);\nexport default TabExpanded;\n\n')))}D.isMDXComponent=!0;var _=function(e){var n=e.title,a=e.description,t=e.isExpanded;return o.createElement(g.Z,{title:n||"Tabs Template Expanded",description:a,example:o.createElement(k.Z,null),exampleCssSrc:o.createElement(w,null),exampleSrc:o.createElement(D,null),isExpanded:t})},A=a(76465),O=["components"],S={};function R(e){var n=e.components,a=(0,l.Z)(e,O);return(0,r.mdx)("wrapper",(0,t.Z)({},S,a,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport classNames from \'classnames/bind\';\nimport Tabs from \'terra-tabs\';\nimport TabContent from \'./TabContentTemplate\';\nimport styles from \'./common/TabExample.module.scss\';\n\nconst cx = classNames.bind(styles);\n\nconst TabsWithFilledContent = () => {\n const tab1 = (\n \n \n
\n Users need to know what is going on, and get appropriate feedback during interaction. For example, users need confirmation messages when actions are completed, such as when forms are submitted. Also, error messages must provide clear directions rather than confuse users.\n People with some cognitive and learning disabilities, who may be easily confused by unexpected behavior and unclear error messages.\n People with partial sight and blindness, who rely on notifications, instructions, and errors messages to understand the context and interactions.\n Content is more usable for people who are new to the particular website or application.\n
\n
\n Content is more usable for people who are not confident using computers and the web.\n Content is less confusing and daunting to everyone, regardless of skills.\n Use clear and simple language to make error messages more understandable. For example, describe how to fix an error. When forms are submitted, provide a confirmation message. When a change is made on the screen, such as new content added, alert users to the change.\n Content must be easy to follow and understand for many users. For most content, this means simply avoiding overly complex sentences and jargon, and providing clear layout and design. For some complex content such as medical information, separate, easy-to-read information may be necessary.\n People with learning disabilities who cannot understand complex sentence structures and vocabulary.\n
\n
\n People with cognitive disabilities who have difficulty focusing on long passages of dense text.\n Content is more usable for people with lower language skills, such as people who are not fluent in the language of the website and people with low literacy.\n Content is easier to understand by users who are not familiar with the topic.\n Content is easier to skim, and get an overview of the information.\n
\n
\n Avoid overly complex words, jargon, and acronyms, or provide explanations when they need to be used. Provide structure using headings, lists, and spacing. Provide illustrations that clarify the content, when helpful. Provide clear layout and design with consistent orientation and navigation cues.\n Some users need to be able to change the way text is displayed so that they can read the text. This includes changing the size, spacing, font, color, and other text properties. When users change these properties, no information or functionality should be lost, and the text should re-flow so users don’t have to scroll horizontally to read sentences. Text customization is more than the zoom functionality, which only changes the text size.\n People with low vision who are not using screen magnification software.\n People with some forms of dyslexia and other cognitive and learning disabilities who need a particular presentation of text to read it.\n Content is more adaptable to smaller and larger screen sizes.\n Content is more adaptable to personal preferences and comfort.\n
\n
\n Content is more adaptable when translated, since words and sentences are different lengths in different languages.\n Content must be properly designed and coded so that it can adapt to different customization settings. This includes using relative rather than absolute units for the size of fonts, controls, and other objects. Applications should use the operating system and web browser text settings. Websites and applications could also provide information to help users change their settings. Web browsers and other web tools need to provide users with text customization functionality.\n The area for clicking and tapping controls must be large enough for people to activate them. This includes links, buttons, checkboxes, and other controls. Small controls, and controls that are placed too close to each other, are difficult for many people to use. This is particularly relevant on mobile devices with small screens.\n People with physical disabilities who have reduced dexterity.\n Content is more usable on touch screens, especially on smaller mobile devices.\n
\n
\n Content is more usable for people who are not experienced with the mouse or touch-pad on the computer they are using.\n Content is more usable in situations where the device cannot be held steady.\n Design large controls or activation areas around the controls. (Increasing the font size of the control sometimes isn’t enough.) Provide adequate separation between selectable controls. Provide labels for controls, which enlarges the activation area in many browsers because the label for checkboxes and option buttons is also clickable.\n
\n Radiology represents a branch of medicine that deals with radiant energy in the diagnosis and treatment of diseases.\n This field can be divided into two broad areas - diagnostic radiology and interventional radiology.\n A physician who specializes in radiology is called radiologist.\n
\n \n );\n\n const tab2 = (\n \n
\n Hematology is the study of blood and blood disorders.\n Hematologists and hematopathologists are highly trained healthcare providers who specialize in diseases of the blood and blood components.\n These include blood and bone marrow cells.\n
\n \n );\n\n const tab3 = (\n \n
\n The term cardiology is derived from the Greek words “cardia,” which refers to the heart and “logy” meaning “study of.”\n Cardiology is a branch of medicine that concerns diseases and disorders of the heart.\n It may range from congenital defects through to acquired heart diseases such as coronary artery disease and congestive heart failure.\n Physicians who specialize in cardiology are called cardiologists and they are responsible for the medical management of various heart diseases.\n Cardiac surgeons are the specialist physicians who perform surgical procedures to correct heart disorders.\n
\n Orthopaedic surgery refers to surgical intervention in the case of diseases or injuries concerning the musculoskeletal system.\n After proper diagnoses and consultation, orthopaedic surgeons treat several conditions that affect the bones, joints, ligaments, nerves and muscles.\n
\n Pediatrics is the branch of medicine dealing with the health and medical care of infants, children, and adolescents from birth up to the age of 18.\n The word “paediatrics” means “healer of children”; they are derived from two Greek words: (pais = child) and (iatros = doctor or healer).\n Paediatrics is a relatively new medical specialty, developing only in the mid-19th century. Abraham Jacobi (1830–1919) is known as the father of paediatrics.\n
\n \n );\n\n const tab6 = (\n \n
\n Oncology is the study of cancer.\n An oncologist is a doctor who treats cancer and provides medical care for a person diagnosed with cancer.\n An oncologist may also be called a cancer specialist.\n The field of oncology has 3 major areas based on treatments: medical oncology, radiation oncology, and surgical oncology.\n
\n );\n};\n\nexport default VerticalTabs;\n\n')))}Pe.isMDXComponent=!0;var ke=function(e){var n=e.title,a=e.description,t=e.isExpanded;return o.createElement(g.Z,{title:n||"Vertical Tabs",description:a,example:o.createElement(Ce.Z,null),exampleCssSrc:o.createElement(w,null),exampleSrc:o.createElement(Pe,null),isExpanded:t})},Ne=["components"],Ie={},De="wrapper";function _e(e){var n=e.components,a=(0,l.Z)(e,Ne);return(0,r.mdx)(De,(0,t.Z)({},Ie,a,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(i.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-tabs"},"Terra Tabs"),(0,r.mdx)("p",null,"Tabs are containers used to organize content. They allow for quick switching between groups of contextually related content. Content is divided into different containers and each container is viewable one at a time. The user can switch between containers by selecting the corresponding tab control."),(0,r.mdx)("p",null,"Tabs are meant to organize content as to provide quick access to a group of contextually related content that does not need to be compared or accessed simultaneously. Tabs are not intended for navigation."),(0,r.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Install with ",(0,r.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,r.mdx)("ul",{parentName:"li"},(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"npm install terra-tabs"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,r.mdx)("td",{parentName:"tr",align:null},"^2.8.0")))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("h3",{id:"note"},"Note"),(0,r.mdx)("p",null,"The tabs component will apply the prop ",(0,r.mdx)("inlineCode",{parentName:"p"},"isLabelHidden")," to all components passed as content for Tabs.Pane. This will indicate if any of the tabs are icon only or have been truncated. When this prop is true a header should be rendered in the content area to for accessibility purposes."),(0,r.mdx)("h3",{id:"controlled-vs-uncontrolled-tabs"},"Controlled vs. Uncontrolled Tabs"),(0,r.mdx)("p",null,"Terra-tabs allows you to use either a controlled or uncontrolled mode in order to have the amount control over the state that you need."),(0,r.mdx)("h3",{id:"uncontrolled-tabs"},"Uncontrolled Tabs"),(0,r.mdx)("p",null,"Uncontrolled tabs is the default mode of terra-tabs. In this mode the tabs will handle all state internally and the initial active tab can optionally be set using ",(0,r.mdx)("inlineCode",{parentName:"p"},"defaultActiveKey")," on the ",(0,r.mdx)("inlineCode",{parentName:"p"},"")," component."),(0,r.mdx)("h3",{id:"controlled-tabs"},"Controlled Tabs"),(0,r.mdx)("p",null,"In controlled mode terra-tabs does not handle any of the selection state internally, it is left up to the consumer. This mode is enabled by setting the ",(0,r.mdx)("inlineCode",{parentName:"p"},"activeKey")," prop on the ",(0,r.mdx)("inlineCode",{parentName:"p"},"")," component. A handler is needed for ",(0,r.mdx)("inlineCode",{parentName:"p"},"onChange")," to be notified of user selection and update the state. If both ",(0,r.mdx)("inlineCode",{parentName:"p"},"activeKey")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"defaultActiveKey")," are set, then ",(0,r.mdx)("inlineCode",{parentName:"p"},"defaultActiveKey")," will have no effect."),(0,r.mdx)("h3",{id:"keyboard-navigation-guide"},"Keyboard Navigation Guide"),(0,r.mdx)("h4",{id:"performing-drag-and-drop"},"Performing Drag and Drop"),(0,r.mdx)("p",null,"When a draggable tab has focus press the ",(0,r.mdx)("inlineCode",{parentName:"p"},"Spacebar")," key to start the drag. Once a drag is started, the following keyboard shortcuts can be used:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"Spacebar")," - Drop the tab"),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"Escape")," - Cancel the drag"),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"Left arrow")," - move the tab to the left."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"Right arrow")," - move the tab to the right.")),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import Tabs from 'terra-tabs';\n")),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#internationalization-i18n"},"Internationalization Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#internationalization-i18n"},"Localization Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#ltr--rtl"},"LTR/RTL Support"))),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(P,{title:"Compact",mdxType:"TabsTemplate"}),(0,r.mdx)(_,{title:"Expanded",mdxType:"TabsTemplateExpanded"}),(0,r.mdx)(V,{title:"Icon Only",mdxType:"IconOnlyTabs"}),(0,r.mdx)(G,{title:"Will Display Icons in Menu When Collapsed",mdxType:"IconsInMenuTabs"}),(0,r.mdx)(M,{title:"Fill Parent Container",mdxType:"TabsWithFilledContent"}),(0,r.mdx)(z,{title:"Toggle responsiveTo Variants",mdxType:"ResponsiveTabsVariant"}),(0,r.mdx)(ne,{title:"Draggable Tabs",mdxType:"DraggableTabs"}),(0,r.mdx)(re,{title:"Add New Tab",mdxType:"AddTab"}),(0,r.mdx)(me,{title:"Closable Tabs",mdxType:"ClosableTab"}),(0,r.mdx)(ye,{title:"Add and Close Tab",mdxType:"AddCloseTab"}),(0,r.mdx)(ge,{title:"Add and Close with Interactive Content",mdxType:"AddCloseTabInteractive"}),(0,r.mdx)(ke,{title:"Vertical Tabs",mdxType:"VerticalTabs"}),(0,r.mdx)("h2",{id:"tabs-props-table"},"Tabs Props Table"),(0,r.mdx)(u,{mdxType:"TabsPropsTable"}),(0,r.mdx)("h2",{id:"tabs-pane-props-table"},"Tabs Pane Props Table"),(0,r.mdx)(y,{mdxType:"PanePropsTable"}),(0,r.mdx)("h2",{id:"testing"},"Testing"),(0,r.mdx)("p",null,"Tabs uses ",(0,r.mdx)("inlineCode",{parentName:"p"},"uuid")," which changes the component's description id dynamically. To mock the return value with the Jest testing library, ",(0,r.mdx)("inlineCode",{parentName:"p"},"jest.spyOn")," can be used."),(0,r.mdx)("p",null,"If Enzyme ",(0,r.mdx)("inlineCode",{parentName:"p"},"shallow")," rendering is being used for the tests then the mock may not be required. However, if ",(0,r.mdx)("inlineCode",{parentName:"p"},"mount")," is used then ",(0,r.mdx)("inlineCode",{parentName:"p"},"uuid")," should be mocked as shown below:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-js"},"import { v4 as uuidv4 } from 'uuid';\n\nlet mockSpyUuid;\n\n// using a variable may result in failures. For best results, mock return value.\nbeforeAll(() => {\n mockSpyUuid = jest.spyOn(uuidv4, 'v4').mockReturnValue('00000000-0000-0000-0000-000000000000');\n});\n\n// restore the mock\nafterAll(() => {\n mockSpyUuid.mockRestore();\n});\n\n")))}_e.isMDXComponent=!0},63718:function(e,n,a){"use strict";a.d(n,{C:function(){return o}});var t=a(67294),l=a(22863),o=function(e){var n=e.url;return t.createElement(l.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-tabs",name:"terra-tabs",version:"7.12.0",url:n})}},19747:function(e,n,a){"use strict";var t=a(64836),l=a(18698);n.Z=void 0;var o=t(a(861)),r=t(a(27424)),i=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var a=b(n);if(a&&a.has(e))return a.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=o?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,a&&a.set(e,t),t}(a(67294)),s=t(a(47166)),d=t(a(68766)),c=t(a(50826)),m=t(a(76414)),u=t(a(2331)),p=t(a(85492));function b(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,a=new WeakMap;return(b=function(e){return e?a:n})(e)}var f=s.default.bind(p.default),y=-1;n.Z=function(){var e=[],n=(0,i.useState)(e),a=(0,r.default)(n,2),t=a[0],l=a[1],s=(0,i.useState)(),p=(0,r.default)(s,2),b=p[0],h=p[1];e.push({label:"Patient Information",key:"AddcloseLabelTab",content:"Patient Information"}),e.push({label:"Add Patient",icon:i.default.createElement(d.default,null),isIconOnly:!0,key:"AddcloseIconTab",content:"Add Patient"}),e.push({label:"TPA & Insurance",customDisplay:i.default.createElement("div",{className:f("custom-display")},"TPA & Insurance"),key:"AddcloseCustomTab",content:"TPA & Insurance"}),e.push({label:"Disabled Tab",key:"AddcloseDisabledTab",icon:i.default.createElement(c.default,null),isDisabled:!0}),e.push({label:"List of Out-Patient Details Department Wise",key:"AddcloselongLabel",content:"List of Out-Patient Details Department Wise"}),e.push({label:"Ambulance Service",key:"AddcloselastTab",content:"Ambulance Service"});return i.default.createElement("div",{className:f("content-wrapper")},i.default.createElement(m.default,{id:"Addclose",onChange:function(e,n){n!==b&&h(n)},activeKey:b,setFocusOnContent:!0,isClosable:!0,onSelectAddButton:function(){y+=1;var e=t;e.push({label:"Added New Tab_".concat(y),isIconOnly:!1,key:"AddcloseTab_".concat(y),content:"Added New Tab_".concat(y),isActive:!0}),h("AddcloseTab_".concat(y)),l(e)},ariaLabelAddTab:"Add Tab",onTabClose:function(e,n){var a=(0,o.default)(t),r=a.findIndex((function(e){return e.key===n}));-1!==r&&(a.splice(r,1),l(a))}},t.map((function(e){return i.default.createElement(m.default.Pane,{label:e.label,isIconOnly:e.isIconOnly,customDisplay:e.customDisplay,isDisabled:e.isDisabled,icon:e.icon,key:e.key,id:e.key},i.default.createElement(u.default,{label:e.content}))}))))}},10514:function(e,n,a){"use strict";var t=a(64836),l=a(18698);n.Z=void 0;var o=t(a(861)),r=t(a(27424)),i=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var a=T(n);if(a&&a.has(e))return a.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=o?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,a&&a.set(e,t),t}(a(67294)),s=t(a(47166)),d=t(a(68766)),c=t(a(50826)),m=t(a(76414)),u=t(a(79029)),p=t(a(47717)),b=t(a(55142)),f=t(a(96388)),y=t(a(2331)),h=t(a(85492));function T(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,a=new WeakMap;return(T=function(e){return e?a:n})(e)}var x=s.default.bind(h.default),v=-1;n.Z=function(){var e=[],n=(0,i.useState)(e),a=(0,r.default)(n,2),t=a[0],l=a[1],s=(0,i.useState)(),h=(0,r.default)(s,2),T=h[0],g=h[1];e.push({label:"Patient Information",key:"AddcloseInteractiveLabelTab",content:"Patient Information",children:i.default.createElement(i.default.Fragment,null,i.default.createElement(u.default,{id:"default-radio",labelText:"Default Radio",name:"default",disabled:!0}),i.default.createElement(u.default,{id:"default1-radio",labelText:"Default Radio",name:"default"}))}),e.push({label:"Add Patient",icon:i.default.createElement(d.default,null),isIconOnly:!0,key:"AddcloseInteractiveIconTab",children:i.default.createElement(i.default.Fragment,null,i.default.createElement("div",null,i.default.createElement(f.default,{type:"checkbox",legend:"Give your full name here",name:"children_present",value:"children_present",error:"All fields must be filled out",required:!0},i.default.createElement(p.default,{label:"First",isInline:!0,required:!0,htmlFor:"first"},i.default.createElement(b.default,{id:"first",type:"text",name:"first",defaultValue:""})),i.default.createElement(p.default,{label:"Middle",isInline:!0,required:!0,htmlFor:"middle"},i.default.createElement(b.default,{id:"middle",type:"text",name:"middle",defaultValue:""})),i.default.createElement(p.default,{label:"Last",isInline:!0,required:!0,htmlFor:"last"},i.default.createElement(b.default,{id:"last",type:"text",name:"last",defaultValue:""})))))}),e.push({label:"TPA & Insurance",customDisplay:i.default.createElement("div",{className:x("custom-display")},"TPA & Insurance"),key:"AddcloseInteractiveCustomTab",content:"TPA & Insurance",children:i.default.createElement(i.default.Fragment,null,i.default.createElement(u.default,{id:"default-radio",labelText:"Default Radio",name:"default",disabled:!0}),i.default.createElement(u.default,{id:"default1-radio",labelText:"Default Radio",name:"default"}))}),e.push({label:"Disabled Tab",key:"AddcloseInteractiveDisabledTab",icon:i.default.createElement(c.default,null),isDisabled:!0}),e.push({label:"List of Out-Patient Details Department Wise",key:"AddcloseInteractivelongLabel",content:"List of Out-Patient Details Department Wise"}),e.push({label:"Ambulance Service",key:"AddcloseInteractivelastTab",content:"Ambulance Service"});return i.default.createElement("div",{className:x("content-wrapper")},i.default.createElement(m.default,{id:"AddcloseInteractive",onChange:function(e,n){n!==T&&g(n)},activeKey:T,isClosable:!0,onSelectAddButton:function(){v+=1;var e=t;e.push({label:"Added New Tab_".concat(v),isIconOnly:!1,key:"AddcloseInteractiveTab_".concat(v),content:"Added New Tab_".concat(v),isActive:!0}),g("AddcloseInteractiveTab_".concat(v)),l(e)},ariaLabelAddTab:"Add Tab",onTabClose:function(e,n){var a=(0,o.default)(t),r=a.findIndex((function(e){return e.key===n}));-1!==r&&(a.splice(r,1),l(a))}},t.map((function(e){return i.default.createElement(m.default.Pane,{label:e.label,isIconOnly:e.isIconOnly,customDisplay:e.customDisplay,isDisabled:e.isDisabled,icon:e.icon,key:e.key,id:e.key},i.default.createElement(y.default,{label:e.content},e.children))}))))}},90643:function(e,n,a){"use strict";var t=a(64836),l=a(18698);n.Z=void 0;var o=t(a(27424)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var a=p(n);if(a&&a.has(e))return a.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=o?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,a&&a.set(e,t),t}(a(67294)),i=t(a(47166)),s=t(a(56468)),d=t(a(50826)),c=t(a(76414)),m=t(a(2331)),u=t(a(85492));function p(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:n})(e)}var b=i.default.bind(u.default),f=-1;n.Z=function(){var e=[],n=(0,r.useState)(e),a=(0,o.default)(n,2),t=a[0],l=a[1],i=(0,r.useState)(),u=(0,o.default)(i,2),p=u[0],y=u[1];e.push({label:"Self Registration",key:"AddLabelTab",content:"Self Registration"}),e.push({label:"Find A Doctor",icon:r.default.createElement(d.default,null),isIconOnly:!0,key:"AddIconTab",content:"Find A Doctor"}),e.push({label:"View Specialities",customDisplay:r.default.createElement("div",{className:b("custom-display")},"View Specialities"),key:"AddCustomTab",content:"View Specialities"}),e.push({label:"Pharmacy",key:"AddDisabledTab",icon:r.default.createElement(s.default,null)}),e.push({label:"Billing, Insurance & Payment",key:"AddlongLabel",content:"Billing, Insurance & Payment"}),e.push({label:"Lab Medicine",key:"AddlastTab",content:"Lab Medicine"});return r.default.createElement("div",{className:b("content-wrapper")},r.default.createElement(c.default,{id:"AddTab",onChange:function(e,n){n!==p&&y(n)},isDraggable:!0,setFocusOnContent:!0,activeKey:p,onSelectAddButton:function(){f+=1;var e=t;e.push({label:"Added New Tab_".concat(f),isIconOnly:!1,key:"AddTab_".concat(f),content:"Added New Tab_".concat(f),isActive:!0}),y("AddTab_".concat(f)),l(e)},ariaLabelAddTab:"Add Tab"},t.map((function(e){return r.default.createElement(c.default.Pane,{label:e.label,isIconOnly:e.isIconOnly,customDisplay:e.customDisplay,isDisabled:e.isDisabled,icon:e.icon,key:e.key,id:e.key},r.default.createElement(m.default,{label:e.content}))}))))}},37902:function(e,n,a){"use strict";var t=a(64836),l=a(18698);n.Z=void 0;var o=t(a(861)),r=t(a(27424)),i=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var a=b(n);if(a&&a.has(e))return a.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=o?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,a&&a.set(e,t),t}(a(67294)),s=t(a(47166)),d=t(a(56468)),c=t(a(50826)),m=t(a(76414)),u=t(a(2331)),p=t(a(85492));function b(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,a=new WeakMap;return(b=function(e){return e?a:n})(e)}var f=s.default.bind(p.default);n.Z=function(){var e=[],n=(0,i.useState)(e),a=(0,r.default)(n,2),t=a[0],l=a[1];e.push({label:"Doctors",key:"CloseLabelTab",content:"Doctor details"}),e.push({label:"Pharmacy",icon:i.default.createElement(d.default,null),isIconOnly:!0,key:"CloseIconTab",content:"Pharmacy details"}),e.push({label:"Customized Tab",customDisplay:i.default.createElement("div",{className:f("custom-display")},"Customized Tab"),key:"CloseCustomTab",content:"Custom display"}),e.push({label:"Disabled Tab",key:"CloseDisabledTab",icon:i.default.createElement(c.default,null),isDisabled:!0}),e.push({label:"List of In-Patient Details Department Wise",key:"CloselongLabel",content:"List for In-Patient Details Department Wise"}),e.push({label:"Appointments",key:"CloselastTab",content:"Appointments"});return i.default.createElement("div",{className:f("content-wrapper")},i.default.createElement(m.default,{id:"Closabletab",setFocusOnContent:!0,isClosable:!0,ariaLabelAddTab:"Add Tab",onTabClose:function(e,n){var a=(0,o.default)(t),r=a.findIndex((function(e){return e.key===n}));-1!==r&&(a.splice(r,1),l(a))}},t.map((function(e){return i.default.createElement(m.default.Pane,{label:e.label,isIconOnly:e.isIconOnly,customDisplay:e.customDisplay,isDisabled:e.isDisabled,icon:e.icon,key:e.key,id:e.key},i.default.createElement(u.default,{label:e.content}))}))))}},19762:function(e,n,a){"use strict";var t=a(64836);n.Z=void 0;var l=t(a(56690)),o=t(a(89728)),r=t(a(66115)),i=t(a(61655)),s=t(a(94993)),d=t(a(73808)),c=t(a(67294)),m=t(a(76414)),u=t(a(62936));function p(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,t=(0,d.default)(e);if(n){var l=(0,d.default)(this).constructor;a=Reflect.construct(t,arguments,l)}else a=t.apply(this,arguments);return(0,s.default)(this,a)}}var b=function(e){(0,i.default)(a,e);var n=p(a);function a(e){var t;return(0,l.default)(this,a),(t=n.call(this,e)).state={activeKey:"Hematology"},t.handleSelection=t.handleSelection.bind((0,r.default)(t)),t.handleTabActivation=t.handleTabActivation.bind((0,r.default)(t)),t}return(0,o.default)(a,[{key:"handleSelection",value:function(e,n){n!==this.state.activeKey&&this.setState({activeKey:n})}},{key:"handleTabActivation",value:function(){this.setState({activeKey:"Radiology"})}},{key:"render",value:function(){var e=c.default.createElement(m.default.Pane,{label:"Radiology",key:"Radiology",id:"tab1"},c.default.createElement("p",{id:"tab1"},"Radiology represents a branch of medicine that deals with radiant energy in the diagnosis and treatment of diseases. This field can be divided into two broad areas - diagnostic radiology and interventional radiology. A physician who specializes in radiology is called radiologist.")),n=c.default.createElement(m.default.Pane,{label:"Hematology",key:"Hematology",id:"tab2"},c.default.createElement("p",{id:"tab2"},"Hematology is the study of blood and blood disorders. Hematologists and hematopathologists are highly trained healthcare providers who specialize in diseases of the blood and blood components. These include blood and bone marrow cells.")),a=c.default.createElement(m.default.Pane,{label:"Cardiology",key:"Cardiology",id:"tab3"},c.default.createElement("p",{id:"tab3"},"The term cardiology is derived from the Greek words “cardia,” which refers to the heart and “logy” meaning “study of.” Cardiology is a branch of medicine that concerns diseases and disorders of the heart. It may range from congenital defects through to acquired heart diseases such as coronary artery disease and congestive heart failure. Physicians who specialize in cardiology are called cardiologists and they are responsible for the medical management of various heart diseases. Cardiac surgeons are the specialist physicians who perform surgical procedures to correct heart disorders.")),t=c.default.createElement(m.default.Pane,{icon:c.default.createElement(u.default,null),isIconOnly:!0,label:"Orthopaedics",key:"Orthopaedics",id:"tab4"},c.default.createElement("p",{id:"tab4"},"Orthopaedic surgery refers to surgical intervention in the case of diseases or injuries concerning the musculoskeletal system. After proper diagnoses and consultation, orthopaedic surgeons treat several conditions that affect the bones, joints, ligaments, nerves and muscles.")),l=c.default.createElement(m.default.Pane,{icon:c.default.createElement(u.default,null),showIcon:!0,label:"Paediatrics",key:"Paediatrics",id:"tab5"},c.default.createElement("p",{id:"tab5"},"Pediatrics is the branch of medicine dealing with the health and medical care of infants, children, and adolescents from birth up to the age of 18. The word “paediatrics” means “healer of children”; they are derived from two Greek words: (pais = child) and (iatros = doctor or healer). Paediatrics is a relatively new medical specialty, developing only in the mid-19th century. Abraham Jacobi (1830–1919) is known as the father of paediatrics.")),o=c.default.createElement(m.default.Pane,{label:"Oncology",key:"Oncology",id:"tab6"},c.default.createElement("p",{id:"tab6"},"Oncology is the study of cancer. An oncologist is a doctor who treats cancer and provides medical care for a person diagnosed with cancer. An oncologist may also be called a cancer specialist. The field of oncology has 3 major areas based on treatments: medical oncology, radiation oncology, and surgical oncology."));return c.default.createElement("div",null,c.default.createElement("button",{id:"activate-tab",type:"button",onClick:this.handleTabActivation},"Activate Tab"),c.default.createElement("div",{id:"current-selection"},c.default.createElement("p",null,"Last Triggered Tab:",this.state.activeKey)),c.default.createElement(m.default,{setFocusOnContent:!0,isDraggable:!0,id:"controlledTabs",onChange:this.handleSelection,activeKey:this.state.activeKey},e,n,a,t,l,o))}}]),a}(c.default.Component);n.Z=b},29230:function(e,n,a){"use strict";var t=a(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var l=t(a(67294)),o=t(a(47166)),r=t(a(56468)),i=t(a(50826)),s=t(a(78878)),d=t(a(45697)),c=t(a(88245)),m=t(a(76414)),u=t(a(2331)),p=t(a(85492)),b=o.default.bind(p.default),f={id:d.default.string},y=function(e){var n=l.default.createElement(m.default.Pane,{label:"Search",icon:l.default.createElement(i.default,null),isIconOnly:!0,key:"Search"},l.default.createElement(u.default,{label:"Search"})),a=l.default.createElement(m.default.Pane,{label:"Briefcase",icon:l.default.createElement(r.default,null),isIconOnly:!0,key:"Briefcase"},l.default.createElement(u.default,{label:"Briefcase"})),t=l.default.createElement(m.default.Pane,{label:"Bookmark",icon:l.default.createElement(s.default,null),isIconOnly:!0,key:"Bookmark"},l.default.createElement(u.default,{label:"Bookmark"})),o=l.default.createElement(m.default.Pane,{label:"Calendar",icon:l.default.createElement(c.default,null),isIconOnly:!0,key:"Calendar"},l.default.createElement(u.default,{label:"Calendar"}));return l.default.createElement("div",{className:b("content-wrapper")},l.default.createElement(m.default,{id:e.id,setFocusOnContent:!0},n,a,t,o))};y.propTypes=f;n.default=y},86196:function(e,n,a){"use strict";var t=a(64836);n.Z=void 0;var l=t(a(67294)),o=t(a(47166)),r=t(a(76414)),i=t(a(50826)),s=t(a(56468)),d=t(a(78878)),c=t(a(88245)),m=t(a(71739)),u=t(a(87491)),p=t(a(2331)),b=t(a(85492)),f=o.default.bind(b.default);n.Z=function(){var e=l.default.createElement(r.default.Pane,{label:"Search",icon:l.default.createElement(i.default,null),showIcon:!0,key:"MenuTabSearch"},l.default.createElement(p.default,{label:"Search",id:"MenuTabSearchContent"})),n=l.default.createElement(r.default.Pane,{label:"Briefcase",icon:l.default.createElement(s.default,null),showIcon:!0,key:"MenuTabBriefcase"},l.default.createElement(p.default,{label:"Briefcase",id:"MenuTabBriefcaseContent"})),a=l.default.createElement(r.default.Pane,{label:"Bookmark",icon:l.default.createElement(d.default,null),showIcon:!0,key:"MenuTabBookmark"},l.default.createElement(p.default,{label:"Bookmark",id:"MenuTabBookmarkContent"})),t=l.default.createElement(r.default.Pane,{label:"Calendar",icon:l.default.createElement(c.default,null),showIcon:!0,key:"MenuTabCalendar"},l.default.createElement(p.default,{label:"Calendar",id:"MenuTabCalendarContent"})),o=l.default.createElement(r.default.Pane,{label:"Envelope",icon:l.default.createElement(m.default,null),showIcon:!0,key:"MenuTabEnvelope"},l.default.createElement(p.default,{label:"Envelope",id:"MenuTabEnvelopeContent"})),b=l.default.createElement(r.default.Pane,{label:"Printer",icon:l.default.createElement(u.default,null),showIcon:!0,key:"MenuTabPrinter"},l.default.createElement(p.default,{label:"Printer",id:"MenuTabPrinterContent"}));return l.default.createElement("div",{className:f("content-wrapper")},l.default.createElement(r.default,{setFocusOnContent:!0,id:"icons-only-menu"},e,n,a,t,o,b))}},74584:function(e,n,a){"use strict";var t=a(64836);n.Z=void 0;var l=t(a(10434)),o=t(a(13012)),r=t(a(67294)),i=t(a(45697)),s=t(a(84423)),d=t(a(55653)),c=t(a(29230)),m={renderIconTabs:i.default.bool},u=function(e){var n=(0,l.default)({},((0,o.default)(e),e));return n.renderIconTabs?r.default.createElement(c.default,(0,l.default)({},n,{id:"iconOnlyTabsId"})):r.default.createElement(d.default,(0,l.default)({},n,{id:"responsive"}))};u.propTypes=m;n.Z=(0,s.default)(u)},84423:function(e,n,a){"use strict";var t=a(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var l=t(a(10434)),o=t(a(56690)),r=t(a(89728)),i=t(a(66115)),s=t(a(61655)),d=t(a(94993)),c=t(a(73808)),m=t(a(67294)),u=t(a(47166)),p=t(a(91940));function b(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,t=(0,c.default)(e);if(n){var l=(0,c.default)(this).constructor;a=Reflect.construct(t,arguments,l)}else a=t.apply(this,arguments);return(0,d.default)(this,a)}}var f=u.default.bind(p.default);n.default=function(e){return function(n){(0,s.default)(t,n);var a=b(t);function t(e){var n;return(0,o.default)(this,t),(n=a.call(this,e)).handleOnSelect=n.handleOnSelect.bind((0,i.default)(n)),n.state={containerClassName:"parent-container-650",renderIconTabs:!1},n}return(0,r.default)(t,[{key:"handleOnSelect",value:function(e){this.setState({renderIconTabs:"default"!==e.target.value.split("-")[0],containerClassName:e.target.value})}},{key:"render",value:function(){return m.default.createElement("div",{className:f(this.state.containerClassName)},m.default.createElement(e,(0,l.default)({renderIconTabs:this.state.renderIconTabs},this.props)),m.default.createElement("div",{className:f("options-container")},m.default.createElement("p",null,m.default.createElement("label",{htmlFor:"responsiveTabsVariant"},"Select a responsiveTo variant:")),m.default.createElement("select",{className:f("options"),id:"responsiveTabsVariant",name:"responsiveTabsVariant",value:this.state.containerClassName,onChange:this.handleOnSelect},m.default.createElement("option",{value:"default-window"},"Default Tabs - Window"),m.default.createElement("option",{value:"default-parent-container-220"},"Default Tabs - Parent (Container Width: 220px)"),m.default.createElement("option",{value:"default-parent-container-650"},"Default Tabs - Parent (Container Width: 650px)"),m.default.createElement("option",{value:"icon-window"},"Icon Only Tabs - Window"),m.default.createElement("option",{value:"icon-none-container-220"},"Icon Only Tabs - None (Container Width: 220px)"),m.default.createElement("option",{value:"icon-none-container-650"},"Icon Only Tabs - None (Container Width: 650px)"),m.default.createElement("option",{value:"icon-parent-container-220"},"Icon Only Tabs - Parent (Container Width: 220px)"))))}}]),t}(m.default.Component)}},2331:function(e,n,a){"use strict";var t=a(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var l=t(a(67294)),o=t(a(47166)),r=t(a(45697)),i=t(a(85492)),s=o.default.bind(i.default),d={isLabelHidden:r.default.bool,label:r.default.string,children:r.default.node,id:r.default.string},c=function(e){var n=e.isLabelHidden,a=e.label,t=e.id,o=e.children;return l.default.createElement("div",{className:s("tab-content-template"),id:t},n?l.default.createElement("h3",null,a):null,o||l.default.createElement("div",null,"Content for"," ",l.default.createElement("i",null,a)))};c.propTypes=d;n.default=c},55653:function(e,n,a){"use strict";var t=a(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var l=t(a(67294)),o=t(a(47166)),r=t(a(45697)),i=t(a(56468)),s=t(a(76414)),d=t(a(2331)),c=t(a(85492)),m=o.default.bind(c.default),u={id:r.default.string},p=function(e){var n=e.id?e.id:"compact",a=l.default.createElement(s.default.Pane,{label:"Tab with label",key:"".concat(n,"LabelTab"),id:"".concat(n,"LabelTab")},l.default.createElement(d.default,{label:"Tab with label",id:"".concat(n,"LabelTabContent")})),t=l.default.createElement(s.default.Pane,{label:"Tab with icon",icon:l.default.createElement(i.default,null),key:"".concat(n,"IconTab"),id:"".concat(n,"IconTab")},l.default.createElement(d.default,{id:"".concat(n,"IconTabContent"),label:"Tab with icon"}));return l.default.createElement("div",{className:m("content-wrapper"),id:"".concat(n,"content")},l.default.createElement(s.default,{setFocusOnContent:!0,defaultActiveKey:"".concat(n,"LabelTab"),id:n},a,t))};p.propTypes=u;n.default=p},45856:function(e,n,a){"use strict";var t=a(64836);n.Z=void 0;var l=t(a(67294)),o=t(a(47166)),r=t(a(45697)),i=t(a(56468)),s=t(a(50826)),d=t(a(76414)),c=t(a(2331)),m=t(a(85492)),u=o.default.bind(m.default),p={tabFill:r.default.bool},b=function(e){var n=l.default.createElement(d.default.Pane,{label:"Tab with label",key:"ExpandedLabelTab"},l.default.createElement(c.default,{label:"Tab with label",id:"ExpandedLabelTab"})),a=l.default.createElement(d.default.Pane,{label:"Tab with icon",icon:l.default.createElement(i.default,null),key:"ExpandedIconTab"},l.default.createElement(c.default,{label:"Tab with icon",id:"ExpandedIconTabContent"})),t=l.default.createElement(d.default.Pane,{customDisplay:l.default.createElement("div",{className:u("custom-display")},"Custom display"),label:"Custom display",key:"ExpandedCustomTab"},l.default.createElement(c.default,{id:"ExpandedCustomTabContent",label:"Custom display"})),o=l.default.createElement(d.default.Pane,{label:"Longer text tab name with label for application",key:"ExpandedlongLabel"},l.default.createElement(c.default,{id:"ExpandedlongLabelContent",label:"Longer text tab name with label for application"})),r=l.default.createElement(d.default.Pane,{label:"Last Tab",key:"ExpandedlastTab"},l.default.createElement(c.default,{id:"ExpandedlastTabContent",label:"Last Tab"})),m=l.default.createElement(d.default.Pane,{label:"Disabled Tab",icon:l.default.createElement(s.default,null),isDisabled:!0,key:"ExpandedDisabledTab"});return l.default.createElement("div",{className:u("content-wrapper")},l.default.createElement(d.default,{setFocusOnContent:!0,defaultActiveKey:"ExpandedLabelTab",tabFill:e.tabFill,id:"icon-in-menu"},n,a,t,m,o,r))};b.propTypes=p;n.Z=function(){return l.default.createElement(b,{tabFill:!0,id:"expanded"})}},76465:function(e,n,a){"use strict";var t=a(64836);n.Z=void 0;var l=t(a(67294)),o=t(a(47166)),r=t(a(76414)),i=t(a(2331)),s=t(a(85492)),d=o.default.bind(s.default),c=function(){var e=l.default.createElement(r.default.Pane,{label:"Large content",key:"LargeContent"},l.default.createElement(i.default,{label:"Large Content"},l.default.createElement("p",null,"Users need to know what is going on, and get appropriate feedback during interaction. For example, users need confirmation messages when actions are completed, such as when forms are submitted. Also, error messages must provide clear directions rather than confuse users. People with some cognitive and learning disabilities, who may be easily confused by unexpected behavior and unclear error messages. People with partial sight and blindness, who rely on notifications, instructions, and errors messages to understand the context and interactions. Content is more usable for people who are new to the particular website or application."),l.default.createElement("p",null,"Content is more usable for people who are not confident using computers and the web. Content is less confusing and daunting to everyone, regardless of skills. Use clear and simple language to make error messages more understandable. For example, describe how to fix an error. When forms are submitted, provide a confirmation message. When a change is made on the screen, such as new content added, alert users to the change. Content must be easy to follow and understand for many users. For most content, this means simply avoiding overly complex sentences and jargon, and providing clear layout and design. For some complex content such as medical information, separate, easy-to-read information may be necessary. People with learning disabilities who cannot understand complex sentence structures and vocabulary."),l.default.createElement("p",null,"People with cognitive disabilities who have difficulty focusing on long passages of dense text. Content is more usable for people with lower language skills, such as people who are not fluent in the language of the website and people with low literacy. Content is easier to understand by users who are not familiar with the topic. Content is easier to skim, and get an overview of the information."),l.default.createElement("p",null,"Avoid overly complex words, jargon, and acronyms, or provide explanations when they need to be used. Provide structure using headings, lists, and spacing. Provide illustrations that clarify the content, when helpful. Provide clear layout and design with consistent orientation and navigation cues. Some users need to be able to change the way text is displayed so that they can read the text. This includes changing the size, spacing, font, color, and other text properties. When users change these properties, no information or functionality should be lost, and the text should re-flow so users don’t have to scroll horizontally to read sentences. Text customization is more than the zoom functionality, which only changes the text size. People with low vision who are not using screen magnification software. People with some forms of dyslexia and other cognitive and learning disabilities who need a particular presentation of text to read it. Content is more adaptable to smaller and larger screen sizes. Content is more adaptable to personal preferences and comfort."),l.default.createElement("p",null,"Content is more adaptable when translated, since words and sentences are different lengths in different languages. Content must be properly designed and coded so that it can adapt to different customization settings. This includes using relative rather than absolute units for the size of fonts, controls, and other objects. Applications should use the operating system and web browser text settings. Websites and applications could also provide information to help users change their settings. Web browsers and other web tools need to provide users with text customization functionality. The area for clicking and tapping controls must be large enough for people to activate them. This includes links, buttons, checkboxes, and other controls. Small controls, and controls that are placed too close to each other, are difficult for many people to use. This is particularly relevant on mobile devices with small screens. People with physical disabilities who have reduced dexterity. Content is more usable on touch screens, especially on smaller mobile devices."),l.default.createElement("p",null,"Content is more usable for people who are not experienced with the mouse or touch-pad on the computer they are using. Content is more usable in situations where the device cannot be held steady. Design large controls or activation areas around the controls. (Increasing the font size of the control sometimes isn’t enough.) Provide adequate separation between selectable controls. Provide labels for controls, which enlarges the activation area in many browsers because the label for checkboxes and option buttons is also clickable."))),n=l.default.createElement(r.default.Pane,{label:"Short Content",key:"ShortContent"},l.default.createElement(i.default,{label:"Short Content"}));return l.default.createElement("div",{className:d("content-container")},l.default.createElement(r.default,{setFocusOnContent:!0,fill:!0,id:"filledcontent"},e,n))};n.Z=function(){return l.default.createElement(c,{fill:!0})}},89527:function(e,n,a){"use strict";var t=a(64836);n.Z=void 0;var l=t(a(67294)),o=t(a(47166)),r=t(a(30217)),i=t(a(41086)),s=t(a(76414)),d=t(a(2331)),c=t(a(85492)),m=o.default.bind(c.default);n.Z=function(){var e=l.default.createElement(s.default.Pane,{label:"Medical Department",key:"tLabelTab"},l.default.createElement(d.default,{label:"Medical Department"})),n=l.default.createElement(s.default.Pane,{label:"Pharmacy Deparment",isIconOnly:!0,icon:l.default.createElement(r.default,null),key:"tonlyIconTab"},l.default.createElement(d.default,{label:"Pharmacy Deparment"})),a=l.default.createElement(s.default.Pane,{label:"Patient Department",icon:l.default.createElement(i.default,null),key:"tIconTab"},l.default.createElement(d.default,{label:"Patient Department"})),t=l.default.createElement(s.default.Pane,{customDisplay:l.default.createElement("div",{className:m("custom-display")},"Surgical Department"),label:"Surgical Department",key:"tCustomTab"},l.default.createElement(d.default,{label:"Surgical Department"})),o=l.default.createElement(s.default.Pane,{label:"Department of Hospital Administration",key:"tlongLabel"},l.default.createElement(d.default,{label:"Department of Hospital Administration"})),c=l.default.createElement(s.default.Pane,{label:"Academic Department",key:"tlastTab"},l.default.createElement(d.default,{label:"Academic Department"}));return l.default.createElement("div",{className:m("content-container-vertical")},l.default.createElement(s.default,{isDraggable:!0,fill:!0,verticalOrientation:!0,setFocusOnContent:!0,id:"verticaltab"},n,e,a,t,o,c))}},17422:function(e,n,a){"use strict";a.r(n),n.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},53560:function(e,n,a){"use strict";a.r(n),n.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},91940:function(e,n,a){"use strict";a.r(n),n.default={"default-window":"ResponsiveTabsVariantWrapper-module__default-window___OILOY","icon-window":"ResponsiveTabsVariantWrapper-module__icon-window___rE8aT","default-parent-container-220":"ResponsiveTabsVariantWrapper-module__default-parent-container-220___rR3aL","icon-parent-container-220":"ResponsiveTabsVariantWrapper-module__icon-parent-container-220___puNHZ","default-parent-container-650":"ResponsiveTabsVariantWrapper-module__default-parent-container-650___nY0Av","icon-none-container-220":"ResponsiveTabsVariantWrapper-module__icon-none-container-220___zM+OX","icon-none-container-650":"ResponsiveTabsVariantWrapper-module__icon-none-container-650___TvPPB","options-container":"ResponsiveTabsVariantWrapper-module__options-container___CijBI",options:"ResponsiveTabsVariantWrapper-module__options___62gtP"}},85492:function(e,n,a){"use strict";a.r(n),n.default={"content-wrapper":"TabExample-module__content-wrapper___SHHo6","tab-content-template":"TabExample-module__tab-content-template___eY-9-","custom-display":"TabExample-module__custom-display___DNeb7","content-container":"TabExample-module__content-container___eAfPQ","content-container-vertical":"TabExample-module__content-container-vertical___nzztQ"}},78878:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=o(a(67294)),l=o(a(99139));function o(e){return e&&e.__esModule?e:{default:e}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n {\n const tabKey = props.id ? props.id : 'compact';\n const labelTab = (\n \n \n \n );\n\n const iconTab = (\n } key={`${tabKey}IconTab`} id={`${tabKey}IconTab`}>\n \n \n );\n return (\n
\n );\n};\n\nTabsTemplate.propTypes = propTypes;\n\nconst TabExpanded = () => (\n \n);\nexport default TabExpanded;\n\n')))}D.isMDXComponent=!0;var _=function(e){var n=e.title,a=e.description,t=e.isExpanded;return o.createElement(g.Z,{title:n||"Tabs Template Expanded",description:a,example:o.createElement(k.Z,null),exampleCssSrc:o.createElement(w,null),exampleSrc:o.createElement(D,null),isExpanded:t})},A=a(76465),O=["components"],S={};function R(e){var n=e.components,a=(0,l.Z)(e,O);return(0,r.mdx)("wrapper",(0,t.Z)({},S,a,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport classNames from \'classnames/bind\';\nimport Tabs from \'terra-tabs\';\nimport TabContent from \'./TabContentTemplate\';\nimport styles from \'./common/TabExample.module.scss\';\n\nconst cx = classNames.bind(styles);\n\nconst TabsWithFilledContent = () => {\n const tab1 = (\n \n \n
\n Users need to know what is going on, and get appropriate feedback during interaction. For example, users need confirmation messages when actions are completed, such as when forms are submitted. Also, error messages must provide clear directions rather than confuse users.\n People with some cognitive and learning disabilities, who may be easily confused by unexpected behavior and unclear error messages.\n People with partial sight and blindness, who rely on notifications, instructions, and errors messages to understand the context and interactions.\n Content is more usable for people who are new to the particular website or application.\n
\n
\n Content is more usable for people who are not confident using computers and the web.\n Content is less confusing and daunting to everyone, regardless of skills.\n Use clear and simple language to make error messages more understandable. For example, describe how to fix an error. When forms are submitted, provide a confirmation message. When a change is made on the screen, such as new content added, alert users to the change.\n Content must be easy to follow and understand for many users. For most content, this means simply avoiding overly complex sentences and jargon, and providing clear layout and design. For some complex content such as medical information, separate, easy-to-read information may be necessary.\n People with learning disabilities who cannot understand complex sentence structures and vocabulary.\n
\n
\n People with cognitive disabilities who have difficulty focusing on long passages of dense text.\n Content is more usable for people with lower language skills, such as people who are not fluent in the language of the website and people with low literacy.\n Content is easier to understand by users who are not familiar with the topic.\n Content is easier to skim, and get an overview of the information.\n
\n
\n Avoid overly complex words, jargon, and acronyms, or provide explanations when they need to be used. Provide structure using headings, lists, and spacing. Provide illustrations that clarify the content, when helpful. Provide clear layout and design with consistent orientation and navigation cues.\n Some users need to be able to change the way text is displayed so that they can read the text. This includes changing the size, spacing, font, color, and other text properties. When users change these properties, no information or functionality should be lost, and the text should re-flow so users don’t have to scroll horizontally to read sentences. Text customization is more than the zoom functionality, which only changes the text size.\n People with low vision who are not using screen magnification software.\n People with some forms of dyslexia and other cognitive and learning disabilities who need a particular presentation of text to read it.\n Content is more adaptable to smaller and larger screen sizes.\n Content is more adaptable to personal preferences and comfort.\n
\n
\n Content is more adaptable when translated, since words and sentences are different lengths in different languages.\n Content must be properly designed and coded so that it can adapt to different customization settings. This includes using relative rather than absolute units for the size of fonts, controls, and other objects. Applications should use the operating system and web browser text settings. Websites and applications could also provide information to help users change their settings. Web browsers and other web tools need to provide users with text customization functionality.\n The area for clicking and tapping controls must be large enough for people to activate them. This includes links, buttons, checkboxes, and other controls. Small controls, and controls that are placed too close to each other, are difficult for many people to use. This is particularly relevant on mobile devices with small screens.\n People with physical disabilities who have reduced dexterity.\n Content is more usable on touch screens, especially on smaller mobile devices.\n
\n
\n Content is more usable for people who are not experienced with the mouse or touch-pad on the computer they are using.\n Content is more usable in situations where the device cannot be held steady.\n Design large controls or activation areas around the controls. (Increasing the font size of the control sometimes isn’t enough.) Provide adequate separation between selectable controls. Provide labels for controls, which enlarges the activation area in many browsers because the label for checkboxes and option buttons is also clickable.\n
\n Radiology represents a branch of medicine that deals with radiant energy in the diagnosis and treatment of diseases.\n This field can be divided into two broad areas - diagnostic radiology and interventional radiology.\n A physician who specializes in radiology is called radiologist.\n
\n \n );\n\n const tab2 = (\n \n
\n Hematology is the study of blood and blood disorders.\n Hematologists and hematopathologists are highly trained healthcare providers who specialize in diseases of the blood and blood components.\n These include blood and bone marrow cells.\n
\n \n );\n\n const tab3 = (\n \n
\n The term cardiology is derived from the Greek words “cardia,” which refers to the heart and “logy” meaning “study of.”\n Cardiology is a branch of medicine that concerns diseases and disorders of the heart.\n It may range from congenital defects through to acquired heart diseases such as coronary artery disease and congestive heart failure.\n Physicians who specialize in cardiology are called cardiologists and they are responsible for the medical management of various heart diseases.\n Cardiac surgeons are the specialist physicians who perform surgical procedures to correct heart disorders.\n
\n Orthopaedic surgery refers to surgical intervention in the case of diseases or injuries concerning the musculoskeletal system.\n After proper diagnoses and consultation, orthopaedic surgeons treat several conditions that affect the bones, joints, ligaments, nerves and muscles.\n
\n Pediatrics is the branch of medicine dealing with the health and medical care of infants, children, and adolescents from birth up to the age of 18.\n The word “paediatrics” means “healer of children”; they are derived from two Greek words: (pais = child) and (iatros = doctor or healer).\n Paediatrics is a relatively new medical specialty, developing only in the mid-19th century. Abraham Jacobi (1830–1919) is known as the father of paediatrics.\n
\n \n );\n\n const tab6 = (\n \n
\n Oncology is the study of cancer.\n An oncologist is a doctor who treats cancer and provides medical care for a person diagnosed with cancer.\n An oncologist may also be called a cancer specialist.\n The field of oncology has 3 major areas based on treatments: medical oncology, radiation oncology, and surgical oncology.\n
A custom event can be registered with the consumer and intiated by the provider. What this means is that the embedded-content-consumer will listen for an event message that will be sent by the embedded web content. When it receives that message, the embedded-content-consumer is then responsible for handling the message for the corresponding iframe.
\n
This example demonstrates that the custom event `EventA` has been registered and received by the embedded-content-container that has been registered with the XFC Consumer app broker.
\n \n
Click the button below for the provider (i.e. embedded web content) to send the message `EventA`.
\n
The embedded-content-consumer receives this message and handles the message by adding a border to the embedded content
Communication Between the Consumer and Embedded Content
\n
Multiple custom events can be registered with the consumer and intiated by the provider to enable seamless communication. Thus the embedded-content-consumer will listen for an event message, handle it and send a reply to the provider.
\n
This example demonstrates that both custom events `EventA` and `EventB` has been registered and received by the embedded-content-container and that communication occurs between the consumer and embbedded content.
\n \n
Click the button `Trigger Event A!` below for the provider (i.e. embedded web content) to send the message `EventA`.
\n
The embedded-content-consumer receives this message and handles the message by adding a border around the embedded content iframe and send a reply to the provider.
\n
Click the button `Trigger Event B!` below for the provider to send the second event message `EventB`.
\n
The embedded-content-consumer receives this message and will change the border around the embedded content iframe and send a reply to the provider.
\n \n
Then, to demonstrate seamless communication, click the button and read message sent by the embbedded-content-consumer to the embedded content.
The embedded container consumer will go through three lifecyle stages as it loads. These statuses are communicated via `data-status` attributes on the iframe wrapper and listeners can be add to listen for the lifecyle changes of the frame.
\n
In this example the consumer listens for each lifecyle stage and adds its status value below after a small delay (to help differentiate each lifecycle stages):
\n
\n
\n \n);\n\nexport default DataStatusProvider2;\n\n")))}D.isMDXComponent=!0;var R=function(e){var t=e.title,n=e.description,a=e.isExpanded;return o.createElement(b.Z,{title:t||"Data Status Provider Provider",description:n,example:o.createElement(A.default,null),exampleCssSrc:o.createElement(E.Z,null),exampleSrc:o.createElement(D,null),isExpanded:a})},Z=["components"],L={},O="wrapper";function j(e){var t=e.components,n=(0,r.Z)(e,Z);return(0,d.mdx)(O,(0,a.Z)({},L,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)(l.C,{mdxType:"Badge"}),(0,d.mdx)("h1",{id:"testing-embedded-content"},"Testing Embedded Content"),(0,d.mdx)("p",null,"The Embedded Content Provider Test Template is a test template component which should be used to verify that the provided content does indeed resize and behave as expected when embedded in an terra-embedded-content-consumer XFC Consumer iframe."),(0,d.mdx)("p",null,"By default, when the embedded-content-consumer provides the iframe with the url of the embedded content, it will resize the iframe's height to be the height of the content supplied in the url. This resize logic, however, does not recognize height 100% and will continoulsy re-trigger resize events until the iframe collapes with a height of zero if the root style sets height to 100%."),(0,d.mdx)("p",null,"This test template provides the styles needed to correctly set the iframed container's height to the actual height of the provided content when the XFC's default height resizing logic is triggered."),(0,d.mdx)("h2",{id:"examples"},"Examples"),(0,d.mdx)(g,{title:"Provider for the Basic Consumer Example",mdxType:"BasicProvider"}),(0,d.mdx)(R,{title:"Provider Content for the Lifecycle Statuses Consumer Example",mdxType:"DataStatusProvider"}),(0,d.mdx)(T,{title:"Provider Content for the Custom Event Consumer Example",mdxType:"CustomEventProvider"}),(0,d.mdx)(B,{title:"Provider Content for the Seamless Communication Consumer Example",mdxType:"CustomEventsProvider"}),(0,d.mdx)("h2",{id:"embedded-content-provider-test-template-props-table"},"Embedded Content Provider Test Template Props Table"),(0,d.mdx)(u,{mdxType:"EmbeddedContentProviderTestTemplate"}))}j.isMDXComponent=!0},28963:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(87462),r=n(44925),o=(n(67294),n(81254)),d=["components"],l={},s="wrapper";function i(e){var t=e.components,n=(0,r.Z)(e,d);return(0,o.mdx)(s,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n padding: 1.25rem;\n }\n\n iframe {\n border: 0;\n width: 100%;\n }\n}\n\n")))}i.isMDXComponent=!0},95753:function(e,t,n){n.d(t,{C:function(){return o}});var a=n(67294),r=n(22863),o=function(e){var t=e.url;return a.createElement(r.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-embedded-content-consumer",name:"terra-embedded-content-consumer",version:"3.40.0",url:t})}},33317:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(10434)),o=a(n(70215)),d=a(n(56690)),l=a(n(89728)),s=a(n(61655)),i=a(n(94993)),c=a(n(73808)),m=a(n(67294)),u=a(n(45697));n(28633),n(56904);var p=["children"];function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,c.default)(e);if(t){var r=(0,c.default)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,i.default)(this,n)}}var h={children:u.default.node.isRequired},v=function(e){(0,s.default)(n,e);var t=f(n);function n(){return(0,d.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"componentDidMount",value:function(){document.body.classList.toggle("embedded-content-provider-test-template-body")}},{key:"componentWillUnmount",value:function(){document.body.classList.toggle("embedded-content-provider-test-template-body")}},{key:"render",value:function(){var e=this.props,t=e.children,n=(0,o.default)(e,p);return m.default.createElement("div",(0,r.default)({"data-embedded-content-consumer-provider-test-template":!0},n),t)}}]),n}(m.default.Component);v.propTypes=h;t.default=v},50461:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(67294)),o=a(n(47166)),d=a(n(33317)),l=a(n(15653)),s=o.default.bind(l.default);t.default=function(){return r.default.createElement(d.default,null,r.default.createElement("div",{className:s("content-wrapper")},r.default.createElement("h1",null,"Basic Content"),r.default.createElement("p",null,"This example demonstrates that the embedded content consumer will display the providers web content within an iframe.")))}},70832:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(56690)),o=a(n(89728)),d=a(n(66115)),l=a(n(61655)),s=a(n(94993)),i=a(n(73808)),c=a(n(67294)),m=n(19100),u=a(n(47166)),p=a(n(33317)),f=a(n(15653));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,i.default)(e);if(t){var r=(0,i.default)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var v=u.default.bind(f.default),b=function(e){(0,l.default)(n,e);var t=h(n);function n(e){var a;return(0,r.default)(this,n),(a=t.call(this,e)).onClick=a.onClick.bind((0,d.default)(a)),a}return(0,o.default)(n,[{key:"onClick",value:function(){m.Provider.trigger("EventA")}},{key:"render",value:function(){return c.default.createElement("div",{className:v("content-wrapper")},c.default.createElement("h1",null,"Listening to Custom Event"),c.default.createElement("p",null,"A custom event can be registered with the consumer and intiated by the provider. What this means is that the embedded-content-consumer will listen for an event message that will be sent by the embedded web content. When it receives that message, the embedded-content-consumer is then responsible for handling the message for the corresponding iframe. "),c.default.createElement("p",null,"This example demonstrates that the custom event `EventA` has been registered and received by the embedded-content-container that has been registered with the XFC Consumer app broker."),c.default.createElement("ol",null,c.default.createElement("li",null,c.default.createElement("p",null,"Click the button below for the provider (i.e. embedded web content) to send the message `EventA`.")),c.default.createElement("li",null,c.default.createElement("p",null,"The embedded-content-consumer receives this message and handles the message by adding a border to the embedded content"))),c.default.createElement("button",{id:"EventA",onClick:this.onClick,type:"button"},"Set Border Color!"))}}]),n}(c.default.Component);t.default=function(){return c.default.createElement(p.default,null,c.default.createElement(b,null))}},72520:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(56690)),o=a(n(89728)),d=a(n(66115)),l=a(n(61655)),s=a(n(94993)),i=a(n(73808)),c=a(n(67294)),m=n(19100),u=a(n(47166)),p=a(n(33317)),f=a(n(15653));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,i.default)(e);if(t){var r=(0,i.default)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var v=u.default.bind(f.default),b=function(e){(0,l.default)(n,e);var t=h(n);function n(e){var a;return(0,r.default)(this,n),(a=t.call(this,e)).addEventListener=a.addEventListener.bind((0,d.default)(a)),a.onClickA=a.onClickA.bind((0,d.default)(a)),a.onClickB=a.onClickB.bind((0,d.default)(a)),a.addEventListener("Event-Reply"),a}return(0,o.default)(n,[{key:"onClickA",value:function(){m.Provider.trigger("EventA")}},{key:"onClickB",value:function(){m.Provider.trigger("EventB")}},{key:"addEventListener",value:function(e){m.Provider.on(e,(function(e){document.getElementById("embedded-content-consumer-reply").innerHTML="embedded-content-consumer reply: ".concat(JSON.stringify(e))}))}},{key:"render",value:function(){return c.default.createElement("div",{className:v("content-wrapper")},c.default.createElement("h1",null,"Communication Between the Consumer and Embedded Content"),c.default.createElement("p",null,"Multiple custom events can be registered with the consumer and intiated by the provider to enable seamless communication. Thus the embedded-content-consumer will listen for an event message, handle it and send a reply to the provider."),c.default.createElement("p",null,"This example demonstrates that both custom events `EventA` and `EventB` has been registered and received by the embedded-content-container and that communication occurs between the consumer and embbedded content."),c.default.createElement("ol",{id:"embedded-content-custom-events-communication-explination"},c.default.createElement("li",null,c.default.createElement("p",null,"Click the button `Trigger Event A!` below for the provider (i.e. embedded web content) to send the message `EventA`.")),c.default.createElement("li",null,c.default.createElement("p",null,"The embedded-content-consumer receives this message and handles the message by adding a border around the embedded content iframe and send a reply to the provider.")),c.default.createElement("li",null,c.default.createElement("p",null,"Click the button `Trigger Event B!` below for the provider to send the second event message `EventB`.")),c.default.createElement("li",null,c.default.createElement("p",null,"The embedded-content-consumer receives this message and will change the border around the embedded content iframe and send a reply to the provider."))),c.default.createElement("p",null,"Then, to demonstrate seamless communication, click the button and read message sent by the embbedded-content-consumer to the embedded content. "),c.default.createElement("button",{id:"EventA",onClick:this.onClickA,type:"button"},"Trigger Event A!"),c.default.createElement("button",{id:"EventB",onClick:this.onClickB,type:"button"},"Trigger Event B!"),c.default.createElement("div",{id:"embedded-content-consumer-reply"},"No message has been sent."))}}]),n}(c.default.Component);t.default=function(){return c.default.createElement(p.default,null,c.default.createElement(b,null))}},59407:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(67294)),o=a(n(47166)),d=a(n(33317)),l=a(n(15653)),s=o.default.bind(l.default);t.default=function(){return r.default.createElement(d.default,null,r.default.createElement("div",{className:s("content-wrapper")},r.default.createElement("h1",null,"Embedded Application Lifecycle"),r.default.createElement("p",null,"The embedded container consumer will go through three lifecyle stages as it loads. These statuses are communicated via `data-status` attributes on the iframe wrapper and listeners can be add to listen for the lifecyle changes of the frame."),r.default.createElement("p",null,"In this example the consumer listens for each lifecyle stage and adds its status value below after a small delay (to help differentiate each lifecycle stages):"),r.default.createElement("ul",{id:"DataStatus-LifeCycleStatuses"})))}},17422:function(e,t,n){n.r(t),t.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},53560:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},28633:function(e,t,n){n.r(t),t.default={}},56904:function(e,t,n){n.r(t),t.default={}},15653:function(e,t,n){n.r(t),t.default={"content-wrapper":"EmbeddedContentConsumerCommon-module__content-wrapper___UX69F"}},33864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(67294)),r=o(n(99139));function o(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n \n
\n
Basic Content
\n
This example demonstrates that the embedded content consumer will display the providers web content within an iframe.
A custom event can be registered with the consumer and intiated by the provider. What this means is that the embedded-content-consumer will listen for an event message that will be sent by the embedded web content. When it receives that message, the embedded-content-consumer is then responsible for handling the message for the corresponding iframe.
\n
This example demonstrates that the custom event `EventA` has been registered and received by the embedded-content-container that has been registered with the XFC Consumer app broker.
\n \n
Click the button below for the provider (i.e. embedded web content) to send the message `EventA`.
\n
The embedded-content-consumer receives this message and handles the message by adding a border to the embedded content
Communication Between the Consumer and Embedded Content
\n
Multiple custom events can be registered with the consumer and intiated by the provider to enable seamless communication. Thus the embedded-content-consumer will listen for an event message, handle it and send a reply to the provider.
\n
This example demonstrates that both custom events `EventA` and `EventB` has been registered and received by the embedded-content-container and that communication occurs between the consumer and embbedded content.
\n \n
Click the button `Trigger Event A!` below for the provider (i.e. embedded web content) to send the message `EventA`.
\n
The embedded-content-consumer receives this message and handles the message by adding a border around the embedded content iframe and send a reply to the provider.
\n
Click the button `Trigger Event B!` below for the provider to send the second event message `EventB`.
\n
The embedded-content-consumer receives this message and will change the border around the embedded content iframe and send a reply to the provider.
\n \n
Then, to demonstrate seamless communication, click the button and read message sent by the embbedded-content-consumer to the embedded content.
The embedded container consumer will go through three lifecyle stages as it loads. These statuses are communicated via `data-status` attributes on the iframe wrapper and listeners can be add to listen for the lifecyle changes of the frame.
\n
In this example the consumer listens for each lifecyle stage and adds its status value below after a small delay (to help differentiate each lifecycle stages):
\n
\n
\n \n);\n\nexport default DataStatusProvider2;\n\n")))}D.isMDXComponent=!0;var R=function(e){var t=e.title,n=e.description,a=e.isExpanded;return o.createElement(b.Z,{title:t||"Data Status Provider Provider",description:n,example:o.createElement(A.default,null),exampleCssSrc:o.createElement(E.Z,null),exampleSrc:o.createElement(D,null),isExpanded:a})},Z=["components"],L={},O="wrapper";function j(e){var t=e.components,n=(0,r.Z)(e,Z);return(0,d.mdx)(O,(0,a.Z)({},L,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)(l.C,{mdxType:"Badge"}),(0,d.mdx)("h1",{id:"testing-embedded-content"},"Testing Embedded Content"),(0,d.mdx)("p",null,"The Embedded Content Provider Test Template is a test template component which should be used to verify that the provided content does indeed resize and behave as expected when embedded in an terra-embedded-content-consumer XFC Consumer iframe."),(0,d.mdx)("p",null,"By default, when the embedded-content-consumer provides the iframe with the url of the embedded content, it will resize the iframe's height to be the height of the content supplied in the url. This resize logic, however, does not recognize height 100% and will continoulsy re-trigger resize events until the iframe collapes with a height of zero if the root style sets height to 100%."),(0,d.mdx)("p",null,"This test template provides the styles needed to correctly set the iframed container's height to the actual height of the provided content when the XFC's default height resizing logic is triggered."),(0,d.mdx)("h2",{id:"examples"},"Examples"),(0,d.mdx)(g,{title:"Provider for the Basic Consumer Example",mdxType:"BasicProvider"}),(0,d.mdx)(R,{title:"Provider Content for the Lifecycle Statuses Consumer Example",mdxType:"DataStatusProvider"}),(0,d.mdx)(T,{title:"Provider Content for the Custom Event Consumer Example",mdxType:"CustomEventProvider"}),(0,d.mdx)(B,{title:"Provider Content for the Seamless Communication Consumer Example",mdxType:"CustomEventsProvider"}),(0,d.mdx)("h2",{id:"embedded-content-provider-test-template-props-table"},"Embedded Content Provider Test Template Props Table"),(0,d.mdx)(u,{mdxType:"EmbeddedContentProviderTestTemplate"}))}j.isMDXComponent=!0},28963:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(87462),r=n(44925),o=(n(67294),n(81254)),d=["components"],l={},s="wrapper";function i(e){var t=e.components,n=(0,r.Z)(e,d);return(0,o.mdx)(s,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n padding: 1.25rem;\n }\n\n iframe {\n border: 0;\n width: 100%;\n }\n}\n\n")))}i.isMDXComponent=!0},95753:function(e,t,n){n.d(t,{C:function(){return o}});var a=n(67294),r=n(22863),o=function(e){var t=e.url;return a.createElement(r.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-embedded-content-consumer",name:"terra-embedded-content-consumer",version:"3.41.0",url:t})}},33317:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(10434)),o=a(n(70215)),d=a(n(56690)),l=a(n(89728)),s=a(n(61655)),i=a(n(94993)),c=a(n(73808)),m=a(n(67294)),u=a(n(45697));n(28633),n(56904);var p=["children"];function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,c.default)(e);if(t){var r=(0,c.default)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,i.default)(this,n)}}var h={children:u.default.node.isRequired},v=function(e){(0,s.default)(n,e);var t=f(n);function n(){return(0,d.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"componentDidMount",value:function(){document.body.classList.toggle("embedded-content-provider-test-template-body")}},{key:"componentWillUnmount",value:function(){document.body.classList.toggle("embedded-content-provider-test-template-body")}},{key:"render",value:function(){var e=this.props,t=e.children,n=(0,o.default)(e,p);return m.default.createElement("div",(0,r.default)({"data-embedded-content-consumer-provider-test-template":!0},n),t)}}]),n}(m.default.Component);v.propTypes=h;t.default=v},50461:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(67294)),o=a(n(47166)),d=a(n(33317)),l=a(n(15653)),s=o.default.bind(l.default);t.default=function(){return r.default.createElement(d.default,null,r.default.createElement("div",{className:s("content-wrapper")},r.default.createElement("h1",null,"Basic Content"),r.default.createElement("p",null,"This example demonstrates that the embedded content consumer will display the providers web content within an iframe.")))}},70832:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(56690)),o=a(n(89728)),d=a(n(66115)),l=a(n(61655)),s=a(n(94993)),i=a(n(73808)),c=a(n(67294)),m=n(19100),u=a(n(47166)),p=a(n(33317)),f=a(n(15653));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,i.default)(e);if(t){var r=(0,i.default)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var v=u.default.bind(f.default),b=function(e){(0,l.default)(n,e);var t=h(n);function n(e){var a;return(0,r.default)(this,n),(a=t.call(this,e)).onClick=a.onClick.bind((0,d.default)(a)),a}return(0,o.default)(n,[{key:"onClick",value:function(){m.Provider.trigger("EventA")}},{key:"render",value:function(){return c.default.createElement("div",{className:v("content-wrapper")},c.default.createElement("h1",null,"Listening to Custom Event"),c.default.createElement("p",null,"A custom event can be registered with the consumer and intiated by the provider. What this means is that the embedded-content-consumer will listen for an event message that will be sent by the embedded web content. When it receives that message, the embedded-content-consumer is then responsible for handling the message for the corresponding iframe. "),c.default.createElement("p",null,"This example demonstrates that the custom event `EventA` has been registered and received by the embedded-content-container that has been registered with the XFC Consumer app broker."),c.default.createElement("ol",null,c.default.createElement("li",null,c.default.createElement("p",null,"Click the button below for the provider (i.e. embedded web content) to send the message `EventA`.")),c.default.createElement("li",null,c.default.createElement("p",null,"The embedded-content-consumer receives this message and handles the message by adding a border to the embedded content"))),c.default.createElement("button",{id:"EventA",onClick:this.onClick,type:"button"},"Set Border Color!"))}}]),n}(c.default.Component);t.default=function(){return c.default.createElement(p.default,null,c.default.createElement(b,null))}},72520:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(56690)),o=a(n(89728)),d=a(n(66115)),l=a(n(61655)),s=a(n(94993)),i=a(n(73808)),c=a(n(67294)),m=n(19100),u=a(n(47166)),p=a(n(33317)),f=a(n(15653));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,i.default)(e);if(t){var r=(0,i.default)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var v=u.default.bind(f.default),b=function(e){(0,l.default)(n,e);var t=h(n);function n(e){var a;return(0,r.default)(this,n),(a=t.call(this,e)).addEventListener=a.addEventListener.bind((0,d.default)(a)),a.onClickA=a.onClickA.bind((0,d.default)(a)),a.onClickB=a.onClickB.bind((0,d.default)(a)),a.addEventListener("Event-Reply"),a}return(0,o.default)(n,[{key:"onClickA",value:function(){m.Provider.trigger("EventA")}},{key:"onClickB",value:function(){m.Provider.trigger("EventB")}},{key:"addEventListener",value:function(e){m.Provider.on(e,(function(e){document.getElementById("embedded-content-consumer-reply").innerHTML="embedded-content-consumer reply: ".concat(JSON.stringify(e))}))}},{key:"render",value:function(){return c.default.createElement("div",{className:v("content-wrapper")},c.default.createElement("h1",null,"Communication Between the Consumer and Embedded Content"),c.default.createElement("p",null,"Multiple custom events can be registered with the consumer and intiated by the provider to enable seamless communication. Thus the embedded-content-consumer will listen for an event message, handle it and send a reply to the provider."),c.default.createElement("p",null,"This example demonstrates that both custom events `EventA` and `EventB` has been registered and received by the embedded-content-container and that communication occurs between the consumer and embbedded content."),c.default.createElement("ol",{id:"embedded-content-custom-events-communication-explination"},c.default.createElement("li",null,c.default.createElement("p",null,"Click the button `Trigger Event A!` below for the provider (i.e. embedded web content) to send the message `EventA`.")),c.default.createElement("li",null,c.default.createElement("p",null,"The embedded-content-consumer receives this message and handles the message by adding a border around the embedded content iframe and send a reply to the provider.")),c.default.createElement("li",null,c.default.createElement("p",null,"Click the button `Trigger Event B!` below for the provider to send the second event message `EventB`.")),c.default.createElement("li",null,c.default.createElement("p",null,"The embedded-content-consumer receives this message and will change the border around the embedded content iframe and send a reply to the provider."))),c.default.createElement("p",null,"Then, to demonstrate seamless communication, click the button and read message sent by the embbedded-content-consumer to the embedded content. "),c.default.createElement("button",{id:"EventA",onClick:this.onClickA,type:"button"},"Trigger Event A!"),c.default.createElement("button",{id:"EventB",onClick:this.onClickB,type:"button"},"Trigger Event B!"),c.default.createElement("div",{id:"embedded-content-consumer-reply"},"No message has been sent."))}}]),n}(c.default.Component);t.default=function(){return c.default.createElement(p.default,null,c.default.createElement(b,null))}},59407:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(67294)),o=a(n(47166)),d=a(n(33317)),l=a(n(15653)),s=o.default.bind(l.default);t.default=function(){return r.default.createElement(d.default,null,r.default.createElement("div",{className:s("content-wrapper")},r.default.createElement("h1",null,"Embedded Application Lifecycle"),r.default.createElement("p",null,"The embedded container consumer will go through three lifecyle stages as it loads. These statuses are communicated via `data-status` attributes on the iframe wrapper and listeners can be add to listen for the lifecyle changes of the frame."),r.default.createElement("p",null,"In this example the consumer listens for each lifecyle stage and adds its status value below after a small delay (to help differentiate each lifecycle stages):"),r.default.createElement("ul",{id:"DataStatus-LifeCycleStatuses"})))}},17422:function(e,t,n){n.r(t),t.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},53560:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},28633:function(e,t,n){n.r(t),t.default={}},56904:function(e,t,n){n.r(t),t.default={}},15653:function(e,t,n){n.r(t),t.default={"content-wrapper":"EmbeddedContentConsumerCommon-module__content-wrapper___UX69F"}},33864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(67294)),r=o(n(99139));function o(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n \n);\n\nexport default BasicConsumer;\n\n")))}h.isMDXComponent=!0;var v=n(49271),b=n(28963),C=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(v.Z,{title:t||"Basic Consumer",description:n,example:a.createElement(p.Z,null),exampleCssSrc:a.createElement(b.Z,null),exampleSrc:a.createElement(h,null),isExpanded:r})},g=n(89646),y=["components"],E={};function w(e){var t=e.components,n=(0,o.Z)(e,y);return(0,d.mdx)("wrapper",(0,r.Z)({},E,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\nimport '../providers/EmbeddedContentConsumerCommon.module.scss';\n\nConsumer.init();\nconst BasicConsumerWithSrcDoc = () => {\n const inlineHtml = '
The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.
<iframe>...</iframe>
An inline frame places another HTML document in a frame. Unlike an <object /> element, an <iframe> can be the "target" frame for links defined by other elements, and it can be selected by the user agent as the focus for printing, viewing its source, and so on.
The content of the element is used as alternative text to be displayed if the browser does not support inline frames.
First introduced by Microsoft Internet Explorer in 1997, standardized in HTML 4.0 Transitional, allowed in HTML5.
';\n\n return (\n \n );\n};\n\nexport default BasicConsumerWithSrcDoc;\n\n")))}w.isMDXComponent=!0;var T=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(v.Z,{title:t||"Basic Consumer With Src Doc",description:n,example:a.createElement(g.Z,null),exampleCssSrc:a.createElement(b.Z,null),exampleSrc:a.createElement(w,null),isExpanded:r})},N=n(91452),_=["components"],k={};function q(e){var t=e.components,n=(0,o.Z)(e,_);return(0,d.mdx)("wrapper",(0,r.Z)({},k,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\n\nConsumer.init();\n\nconst BasicConsumerWithScrolling = () => (\n \n);\n\nexport default BasicConsumerWithScrolling;\n\n")))}q.isMDXComponent=!0;var M=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(v.Z,{title:t||"Basic Consumer With Scrolling",description:n,example:a.createElement(N.Z,null),exampleSrc:a.createElement(q,null),isExpanded:r})},S=n(99027),D=["components"],R={};function B(e){var t=e.components,n=(0,o.Z)(e,D);return(0,d.mdx)("wrapper",(0,r.Z)({},R,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\nimport '../providers/EmbeddedContentConsumerCommon.module.scss';\n\nConsumer.init();\n\nconst eventHandlers = [{\n key: 'EventA',\n handler: () => {\n document.getElementById('CustomEvent').style.border = 'thick dashed #0000FF';\n },\n}];\n\nconst CustomEventConsumer = () => (\n
\n );\n }\n}\n\nexport default CustomEventsConsumer;\n\n")))}j.isMDXComponent=!0;var P=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(v.Z,{title:t||"Custom Events Consumer",description:n,example:a.createElement(L.Z,null),exampleCssSrc:a.createElement(b.Z,null),exampleSrc:a.createElement(j,null),isExpanded:r})},F=n(27723),z=["components"],I={};function H(e){var t=e.components,n=(0,o.Z)(e,z);return(0,d.mdx)("wrapper",(0,r.Z)({},I,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\nimport '../providers/EmbeddedContentConsumerCommon.module.scss';\n\nConsumer.init();\n\nconst createListItem = (itemName) => {\n const listItem = document.createElement('li');\n listItem.appendChild(document.createTextNode(itemName));\n\n return listItem;\n};\n\nconst appendLifeCycleStatuses = (statuses) => {\n const frame = document.getElementById('data-embedded-consumer-data-status');\n if (!frame) {\n return;\n }\n\n const frameContent = frame.contentWindow.document.getElementById('DataStatus-LifeCycleStatuses');\n if (frameContent) {\n statuses.forEach((status) => { frameContent.appendChild(createListItem(status)); });\n }\n};\n\nconst options = { secret: 'OAuth Secret', iframeAttrs: { id: 'data-embedded-consumer-data-status' } };\n\nconst onMount = () => {\n setTimeout(() => { appendLifeCycleStatuses(['Mounted']); }, 2000);\n};\n\nconst onLaunch = () => {\n setTimeout(() => { appendLifeCycleStatuses(['Launched']); }, 3000);\n};\n\nconst onAuthorize = () => {\n setTimeout(() => { appendLifeCycleStatuses(['Authorized']); }, 4000);\n};\n\nconst DataStatusConsumer = () => (\n \n);\n\nexport default DataStatusConsumer;\n\n")))}H.isMDXComponent=!0;var W=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(v.Z,{title:t||"Data Status Consumer",description:n,example:a.createElement(F.Z,null),exampleCssSrc:a.createElement(b.Z,null),exampleSrc:a.createElement(H,null),isExpanded:r})},X=(n(19100),["components"]),U={},V="wrapper";function G(e){var t=e.components,n=(0,o.Z)(e,X);return(0,d.mdx)(V,(0,r.Z)({},U,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)(i.C,{mdxType:"Badge"}),(0,d.mdx)("h1",{id:"terra-embedded-content-consumer"},"Terra Embedded Content Consumer"),(0,d.mdx)("p",null,"The Embedded Content Consumer is the managed application component which is embedding web content within an iframe. The Embedded Content Consumer is responsible for the communication between its embedded content to its framework, such that interaction with embedded content appears seemless."),(0,d.mdx)("p",null,"Under the hood, the embedded-content-consumer utilizes an ",(0,d.mdx)("a",{parentName:"p",href:"https://www.npmjs.com/package/xfc"},(0,d.mdx)("inlineCode",{parentName:"a"},"XFC (Cross-Frame-Container)"))," Consumer to manage the iframe size and to listen for messages bridged out from the embedded content through an XFC provider."),(0,d.mdx)("p",null,"The embedded-content-consumer will use the messages sent from the embedded content to determine if updates are neeed within itself. Otherwise if the embedded content needs to be updated, embedded-content-consumer should send a reply message to the embedded content provider. Then, the embedded content will update itself when it receives the embedded-content-consumer message."),(0,d.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Install with ",(0,d.mdx)("a",{parentName:"p",href:"https://www.npmjs.com/"},"npmjs"),":"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"npm install terra-embedded-content-consumer")))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Install the ",(0,d.mdx)("a",{parentName:"p",href:"https://www.npmjs.com/package/xfc"},(0,d.mdx)("inlineCode",{parentName:"a"},"xfc"))," peer dependency:"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"npm install xfc --save-dev")))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Then, initalize the XFC Consumer at the root of your application to use the ",(0,d.mdx)("inlineCode",{parentName:"p"},"terra-embedded-content-consumer"),". This will create an app broker to manage embedded applications."))),(0,d.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,d.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,d.mdx)("table",null,(0,d.mdx)("thead",{parentName:"table"},(0,d.mdx)("tr",{parentName:"thead"},(0,d.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,d.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,d.mdx)("tbody",{parentName:"table"},(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"react"),(0,d.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,d.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"xfc"),(0,d.mdx)("td",{parentName:"tr",align:null},"^1.2.1")))),(0,d.mdx)("h2",{id:"usage"},"Usage"),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import { Consumer } from 'xfc';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nConsumer.init();\n")),(0,d.mdx)("h2",{id:"component-features"},"Component Features"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support"))),(0,d.mdx)("h2",{id:"examples"},"Examples"),(0,d.mdx)(C,{title:"Basic Embedded Content Consumer",mdxType:"BasicConsumer"}),(0,d.mdx)(T,{title:"Consumer with inline HTML content using `srcdoc`",mdxType:"BasicConsumerWithSrcDoc"}),(0,d.mdx)(M,{title:"Scrollable Content",mdxType:"BasicConsumerWithScrolling"}),(0,d.mdx)(W,{title:"Embedded Content Consumer Lifecycle Statuses",mdxType:"DataStatusConsumer"}),(0,d.mdx)(O,{title:"Embedded Content Consumer that Listens for a Custom Event",mdxType:"CustomEventConsumer"}),(0,d.mdx)(P,{title:"Embedded Content Consumer with Seamless Communication",mdxType:"CustomEventsConsumer"}),(0,d.mdx)("h2",{id:"embedded-content-consumer-props-table"},"Embedded Content Consumer Props Table"),(0,d.mdx)(c,{mdxType:"EmbeddedContentConsumerPropsTable"}))}G.isMDXComponent=!0},28963:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(87462),o=n(44925),a=(n(67294),n(81254)),d=["components"],i={},l="wrapper";function m(e){var t=e.components,n=(0,o.Z)(e,d);return(0,a.mdx)(l,(0,r.Z)({},i,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n padding: 1.25rem;\n }\n\n iframe {\n border: 0;\n width: 100%;\n }\n}\n\n")))}m.isMDXComponent=!0},95753:function(e,t,n){n.d(t,{C:function(){return a}});var r=n(67294),o=n(22863),a=function(e){var t=e.url;return r.createElement(o.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-embedded-content-consumer",name:"terra-embedded-content-consumer",version:"3.40.0",url:t})}},67157:function(e,t,n){var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(70215)),a=r(n(10434)),d=r(n(38416)),i=r(n(56690)),l=r(n(89728)),m=r(n(61655)),s=r(n(94993)),u=r(n(73808)),c=r(n(67294)),p=n(25387),f=r(n(45697)),x=r(n(47166)),h=n(19100),v=r(n(29270)),b=r(n(43526)),C=["src","title","onMount","onLaunch","onAuthorize","options","eventHandlers","intl"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var o=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var E=x.default.bind(b.default),w={src:f.default.string.isRequired,title:f.default.string,onMount:f.default.func,onLaunch:f.default.func,onAuthorize:f.default.func,options:f.default.object,eventHandlers:f.default.arrayOf(f.default.shape({key:f.default.string,handler:f.default.func})),intl:f.default.shape({formatMessage:f.default.func}).isRequired},T=function(e){(0,m.default)(n,e);var t=y(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"componentDidMount",value:function(){var e=function(e){for(var t=1;tThe HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.
<iframe>...</iframe>
An inline frame places another HTML document in a frame. Unlike an <object /> element, an <iframe> can be the "target" frame for links defined by other elements, and it can be selected by the user agent as the focus for printing, viewing its source, and so on.
The content of the element is used as alternative text to be displayed if the browser does not support inline frames.
First introduced by Microsoft Internet Explorer in 1997, standardized in HTML 4.0 Transitional, allowed in HTML5.
',width:"100%",height:"200px"}}})}},99027:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(67294)),a=r(n(67157)),d=n(19100);n(15653),d.Consumer.init();var i=[{key:"EventA",handler:function(){document.getElementById("CustomEvent").style.border="thick dashed #0000FF"}}];t.Z=function(){return o.default.createElement("div",{id:"CustomEvent"},o.default.createElement(a.default,{src:"/terra-framework/#/raw/provider/cerner-terra-framework-docs/embedded-content-consumer/providers/custom-event-provider",title:"Custom Event Example",options:{resizeConfig:{scrolling:!0}},eventHandlers:i}))}},48766:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(56690)),a=r(n(89728)),d=r(n(66115)),i=r(n(61655)),l=r(n(94993)),m=r(n(73808)),s=r(n(67294)),u=r(n(67157)),c=n(19100);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,m.default)(e);if(t){var o=(0,m.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}n(15653),c.Consumer.init();var f=function(e){(0,i.default)(n,e);var t=p(n);function n(e){var r;return(0,o.default)(this,n),(r=t.call(this,e)).onMount=r.onMount.bind((0,d.default)(r)),r.handleEventA=r.handleEventA.bind((0,d.default)(r)),r.handleEventB=r.handleEventB.bind((0,d.default)(r)),r}return(0,a.default)(n,[{key:"handleEventA",value:function(){document.getElementById("CustomEvents").style.border="thick dashed #0000FF",this.frame.trigger("Event-Reply",{eventReply:"eventA",borderColor:"#0000FF"})}},{key:"handleEventB",value:function(){document.getElementById("CustomEvents").style.border="thick dashed #00FF00",this.frame.trigger("Event-Reply",{eventReply:"eventB",borderColor:"#00FF00"})}},{key:"onMount",value:function(e){this.frame=e}},{key:"render",value:function(){var e=[{key:"EventA",handler:this.handleEventA},{key:"EventB",handler:this.handleEventB}];return s.default.createElement("div",{id:"CustomEvents"},s.default.createElement(u.default,{src:"/terra-framework/#/raw/provider/cerner-terra-framework-docs/embedded-content-consumer/providers/custom-events-provider",title:"Custom events example",options:{},onMount:this.onMount,eventHandlers:e}))}}]),n}(s.default.Component);t.Z=f},27723:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(67294)),a=r(n(67157)),d=n(19100);n(15653),d.Consumer.init();var i=function(e){var t=document.getElementById("data-embedded-consumer-data-status");if(t){var n=t.contentWindow.document.getElementById("DataStatus-LifeCycleStatuses");n&&e.forEach((function(e){var t,r;n.appendChild((t=e,(r=document.createElement("li")).appendChild(document.createTextNode(t)),r))}))}},l={secret:"OAuth Secret",iframeAttrs:{id:"data-embedded-consumer-data-status"}},m=function(){setTimeout((function(){i(["Mounted"])}),2e3)},s=function(){setTimeout((function(){i(["Launched"])}),3e3)},u=function(){setTimeout((function(){i(["Authorized"])}),4e3)};t.Z=function(){return o.default.createElement(a.default,{src:"/terra-framework/#/raw/provider/cerner-terra-framework-docs/embedded-content-consumer/providers/data-status-provider",onMount:m,onLaunch:s,onAuthorize:u,title:"Embedded application lifecycle example",options:l})}},17422:function(e,t,n){n.r(t),t.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},53560:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},43526:function(e,t,n){n.r(t),t.default={"visually-hidden-text":"EmbeddedContentConsumer-module__visually-hidden-text___yOT75"}},15653:function(e,t,n){n.r(t),t.default={"content-wrapper":"EmbeddedContentConsumerCommon-module__content-wrapper___UX69F"}},33864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(67294)),o=a(n(99139));function a(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=o.default.bind(i.default),p=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},h={children:a.default.string},x=function(e){var t=e.children,n=u(e,l),a=r.default.useContext(d.default),i=(0,o.default)(c(["button",a.className]),n.className);return r.default.createElement("button",m({},n,{type:"button",className:i,onBlur:p,onMouseDown:f,"data-focus-styles-enabled":!0}),t)};x.propTypes=h;var b=x;t.default=b},59278:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(67294)),a=l(n(45697)),o=l(n(47166)),d=l(n(47341)),i=l(n(30866));function l(e){return e&&e.__esModule?e:{default:e}}var s=o.default.bind(i.default),m={ariaLevel:a.default.oneOf(["2","3","4","5","6"]),children:a.default.node,variant:a.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},u=function(e){var t=e.ariaLevel,n=e.variant,a=e.children,o=r.default.useContext(d.default);return r.default.createElement("div",{className:s("notice",n,o.className)},r.default.createElement("div",{className:s("accessory"),"aria-hidden":"true",focusable:"false"}),r.default.createElement("div",{role:"heading",className:s("title"),"aria-level":t},r.default.createElement("span",null,function(e){return"ux-recommendation"===e?"UX Recommendation":"caution"===e?"Caution":"deprecation"===e?"Deprecation Notice":"maintenance"===e?"In Maintenance":"important"===e?"Important":"not-supported"===e?"Hazards for Incorrect Usage":"error"}(n))),r.default.createElement("div",{className:s("children")},function(e){return"not-supported"===e?r.default.createElement(r.default.Fragment,null,r.default.createElement("p",{className:s("paragraph")},"This component was designed and tested according to the documented implementation."),r.default.createElement("p",{className:s("paragraph")},"Using the component incorrectly:",r.default.createElement("ul",{className:s("list")},r.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),r.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),r.default.createElement("li",null,r.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(n),r.default.Children.map(a,(function(e){return"string"==typeof e?r.default.createElement("p",null,e):e}))))};u.propTypes=m,u.defaultProps={ariaLevel:"2",variant:"important"};var c=u;t.default=c},47306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=m(n(67294)),a=m(n(45697)),o=m(n(94184)),d=m(n(47166)),i=m(n(47341)),l=m(n(42620)),s=["title"];function m(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=d.default.bind(l.default),f={title:a.default.string},h=function(e){var t=e.title,n=c(e,s),a=r.default.useContext(i.default),d=(0,o.default)(p(["placeholder",a.className]),n.className),l=p(["inner"]);return r.default.createElement("div",u({},n,{className:d}),r.default.createElement("div",{className:l},r.default.createElement("p",{className:p("title")},t)))};h.propTypes=f,h.defaultProps={title:""};var x=h;t.default=x},34261:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return a.default}});var r=d(n(59278)),a=d(n(47306)),o=d(n(40996));function d(e){return e&&e.__esModule?e:{default:e}}},49454:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var r=n(87462),a=n(44925),o=n(67294),d=n(81254),i=n(95753),l=n(34261),s=n(78530),m=["components"],u={},c="wrapper";function p(e){var t=e.components,n=(0,a.Z)(e,m);return(0,d.mdx)(c,(0,r.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)(s.ZP,{mdxType:"PropsTable"},(0,d.mdx)(s.X2,{key:"ROW1",mdxType:"Row"},(0,d.mdx)(s.O,{mdxType:"PropNameCell"},"src"),(0,d.mdx)(s.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(s.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,d.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"The source URL of the content to load."))),(0,d.mdx)(s.X2,{key:"ROW2",mdxType:"Row"},(0,d.mdx)(s.O,{mdxType:"PropNameCell"},"title"),(0,d.mdx)(s.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"The title of the content in the frame."),(0,d.mdx)("p",null,(0,d.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/UX/Accessibility/blue",alt:"IMPORTANT"})," It is critical to screen reader users that the\ntitle of the frame is set to a meaningful title for the content inside the frame, because the iframe content\nis not accessible without having a proper Title applied, the ",(0,d.mdx)("inlineCode",{parentName:"p"},"title")," prop will be required in a future release."))),(0,d.mdx)(s.X2,{key:"ROW3",mdxType:"Row"},(0,d.mdx)(s.O,{mdxType:"PropNameCell"},"onMount"),(0,d.mdx)(s.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,d.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Notifies the component that the container has been mounted. Provides a reference\nto this component to allow triggering messages on the embedded application."))),(0,d.mdx)(s.X2,{key:"ROW4",mdxType:"Row"},(0,d.mdx)(s.O,{mdxType:"PropNameCell"},"onLaunch"),(0,d.mdx)(s.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,d.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Notifies the component that the container has been launched."))),(0,d.mdx)(s.X2,{key:"ROW5",mdxType:"Row"},(0,d.mdx)(s.O,{mdxType:"PropNameCell"},"onAuthorize"),(0,d.mdx)(s.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,d.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Notifies the component that the container has been authorized."))),(0,d.mdx)(s.X2,{key:"ROW6",mdxType:"Row"},(0,d.mdx)(s.O,{mdxType:"PropNameCell"},"options"),(0,d.mdx)(s.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"object\n"))),(0,d.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"The component can be configured with consumer frame options."),(0,d.mdx)("p",null,(0,d.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/prop/deprecated/red",alt:"IMPORTANT"}),"\nUsage of ",(0,d.mdx)("inlineCode",{parentName:"p"},"iframeAttrs: { title: 'Embedded Content Title' }")," with the ",(0,d.mdx)("inlineCode",{parentName:"p"},"options")," prop to set the title is deprecated in favor of the new ",(0,d.mdx)("inlineCode",{parentName:"p"},"title")," prop."),(0,d.mdx)("p",null,"Example ",(0,d.mdx)("inlineCode",{parentName:"p"},"options")," object:"),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre"},"options = {{\n iframeAttrs: {\n id: 'iframe-id', // Sets iframe id\n srcdoc: 'inline html', // Sets the inline HTML content to render within the iframe\n width: '100%', // Width of the iframe\n height: '400px', // Height of the iframe, must not be 100%\n },\n resizeConfig: {\n scrolling: true, // true - enable scrolling within the frame, false - disable scrolling within the frame\n },\n}}\n")),(0,d.mdx)("p",null,"Note: when ",(0,d.mdx)("inlineCode",{parentName:"p"},"srcdoc")," is set, this will override the ",(0,d.mdx)("inlineCode",{parentName:"p"},"src")," URL.\nIt's important to know that when this option is used,\nthe ",(0,d.mdx)("a",{parentName:"p",href:"https://github.com/cerner/xfc"},"xfc")," library does not manage\n",(0,d.mdx)("a",{parentName:"p",href:"https://github.com/cerner/xfc#iframe-resizing-config"},"auto resizing"),"\nof the content of the iframe even if ",(0,d.mdx)("inlineCode",{parentName:"p"},"resizeConfig")," option is set. It's\nimportant to specify the ",(0,d.mdx)("inlineCode",{parentName:"p"},"width")," and ",(0,d.mdx)("inlineCode",{parentName:"p"},"height")," of the frame within ",(0,d.mdx)("inlineCode",{parentName:"p"},"iframeAttrs"),"."),(0,d.mdx)("p",null,(0,d.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/UX/Accessibility/blue",alt:"IMPORTANT"})," Iframes that are scrollable but have no actionable elements inside the frames are not natively scrollable by keyboard-only users.\nIt is critical to keyboard-only users that the embedded content is scrollable when it's not fully visible in the current viewport."),(0,d.mdx)("p",null,(0,d.mdx)("inlineCode",{parentName:"p"},"resizeConfig.scrolling")," - Indicates whether the content inside of the iframe should be scrollable or not. The default is false.\nWhen scrolling is set to ",(0,d.mdx)("inlineCode",{parentName:"p"},"true"),", it is possible to use keyboard navigation to scroll the content even when there is no\ninteractable element inside the content. When using ",(0,d.mdx)("inlineCode",{parentName:"p"},"srcdoc")," attribute, ",(0,d.mdx)("inlineCode",{parentName:"p"},"scrolling")," can be set to ",(0,d.mdx)("inlineCode",{parentName:"p"},"'yes'")," or ",(0,d.mdx)("inlineCode",{parentName:"p"},"'no'")," within ",(0,d.mdx)("inlineCode",{parentName:"p"},"iframeAttrs"),"."),(0,d.mdx)("p",null,"See xfc consumer configuration for details: ",(0,d.mdx)("a",{parentName:"p",href:"https://github.com/cerner/xfc"},"https://github.com/cerner/xfc")),(0,d.mdx)("p",null,(0,d.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/UX/Accessibility/blue",alt:"IMPORTANT"})," It is critical to keyboard-only users that they see where they are on the page.\nTerra Embedded Content Consumer adds a visible keyboard focus indicator to the content iframe by default to support these users when the iframe\ncontent has focus, (or is scrollable) but has no actionable elements inside it."))),(0,d.mdx)(s.X2,{key:"ROW7",mdxType:"Row"},(0,d.mdx)(s.O,{mdxType:"PropNameCell"},"eventHandlers"),(0,d.mdx)(s.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"arrayOf: [{\n shape: {\n key: {\n type: 'string',\n },\n handler: {\n type: 'func',\n },\n },\n}],\n"))),(0,d.mdx)(s.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(s.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(s.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"A set of event handlers keyed by the event name.\nNote: Binding the event handler is necessary to make ",(0,d.mdx)("inlineCode",{parentName:"p"},"this")," work in the callback.")))))}p.isMDXComponent=!0;var f=n(59467),h=["components"],x={};function b(e){var t=e.components,n=(0,a.Z)(e,h);return(0,d.mdx)("wrapper",(0,r.Z)({},x,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\nimport '../providers/EmbeddedContentConsumerCommon.module.scss';\n\nConsumer.init();\n\nconst BasicConsumer = () => (\n \n);\n\nexport default BasicConsumer;\n\n")))}b.isMDXComponent=!0;var v=n(49271),g=n(28963),y=function(e){var t=e.title,n=e.description,r=e.isExpanded;return o.createElement(v.Z,{title:t||"Basic Consumer",description:n,example:o.createElement(f.Z,null),exampleCssSrc:o.createElement(g.Z,null),exampleSrc:o.createElement(b,null),isExpanded:r})},C=n(89646),_=["components"],E={};function N(e){var t=e.components,n=(0,a.Z)(e,_);return(0,d.mdx)("wrapper",(0,r.Z)({},E,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\nimport '../providers/EmbeddedContentConsumerCommon.module.scss';\n\nConsumer.init();\nconst BasicConsumerWithSrcDoc = () => {\n const inlineHtml = '
The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.
<iframe>...</iframe>
An inline frame places another HTML document in a frame. Unlike an <object /> element, an <iframe> can be the "target" frame for links defined by other elements, and it can be selected by the user agent as the focus for printing, viewing its source, and so on.
The content of the element is used as alternative text to be displayed if the browser does not support inline frames.
First introduced by Microsoft Internet Explorer in 1997, standardized in HTML 4.0 Transitional, allowed in HTML5.
';\n\n return (\n \n );\n};\n\nexport default BasicConsumerWithSrcDoc;\n\n")))}N.isMDXComponent=!0;var w=function(e){var t=e.title,n=e.description,r=e.isExpanded;return o.createElement(v.Z,{title:t||"Basic Consumer With Src Doc",description:n,example:o.createElement(C.Z,null),exampleCssSrc:o.createElement(g.Z,null),exampleSrc:o.createElement(N,null),isExpanded:r})},T=n(91452),k=["components"],O={};function M(e){var t=e.components,n=(0,a.Z)(e,k);return(0,d.mdx)("wrapper",(0,r.Z)({},O,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\n\nConsumer.init();\n\nconst BasicConsumerWithScrolling = () => (\n \n);\n\nexport default BasicConsumerWithScrolling;\n\n")))}M.isMDXComponent=!0;var q=function(e){var t=e.title,n=e.description,r=e.isExpanded;return o.createElement(v.Z,{title:t||"Basic Consumer With Scrolling",description:n,example:o.createElement(T.Z,null),exampleSrc:o.createElement(M,null),isExpanded:r})},S=n(99027),j=["components"],B={};function D(e){var t=e.components,n=(0,a.Z)(e,j);return(0,d.mdx)("wrapper",(0,r.Z)({},B,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\nimport '../providers/EmbeddedContentConsumerCommon.module.scss';\n\nConsumer.init();\n\nconst eventHandlers = [{\n key: 'EventA',\n handler: () => {\n document.getElementById('CustomEvent').style.border = 'thick dashed #0000FF';\n },\n}];\n\nconst CustomEventConsumer = () => (\n
\n );\n }\n}\n\nexport default CustomEventsConsumer;\n\n")))}Z.isMDXComponent=!0;var F=function(e){var t=e.title,n=e.description,r=e.isExpanded;return o.createElement(v.Z,{title:t||"Custom Events Consumer",description:n,example:o.createElement(P.Z,null),exampleCssSrc:o.createElement(g.Z,null),exampleSrc:o.createElement(Z,null),isExpanded:r})},I=n(27723),W=["components"],H={};function z(e){var t=e.components,n=(0,a.Z)(e,W);return(0,d.mdx)("wrapper",(0,r.Z)({},H,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nimport { Consumer } from 'xfc';\nimport '../providers/EmbeddedContentConsumerCommon.module.scss';\n\nConsumer.init();\n\nconst createListItem = (itemName) => {\n const listItem = document.createElement('li');\n listItem.appendChild(document.createTextNode(itemName));\n\n return listItem;\n};\n\nconst appendLifeCycleStatuses = (statuses) => {\n const frame = document.getElementById('data-embedded-consumer-data-status');\n if (!frame) {\n return;\n }\n\n const frameContent = frame.contentWindow.document.getElementById('DataStatus-LifeCycleStatuses');\n if (frameContent) {\n statuses.forEach((status) => { frameContent.appendChild(createListItem(status)); });\n }\n};\n\nconst options = { secret: 'OAuth Secret', iframeAttrs: { id: 'data-embedded-consumer-data-status' } };\n\nconst onMount = () => {\n setTimeout(() => { appendLifeCycleStatuses(['Mounted']); }, 2000);\n};\n\nconst onLaunch = () => {\n setTimeout(() => { appendLifeCycleStatuses(['Launched']); }, 3000);\n};\n\nconst onAuthorize = () => {\n setTimeout(() => { appendLifeCycleStatuses(['Authorized']); }, 4000);\n};\n\nconst DataStatusConsumer = () => (\n \n);\n\nexport default DataStatusConsumer;\n\n")))}z.isMDXComponent=!0;var X=function(e){var t=e.title,n=e.description,r=e.isExpanded;return o.createElement(v.Z,{title:t||"Data Status Consumer",description:n,example:o.createElement(I.Z,null),exampleCssSrc:o.createElement(g.Z,null),exampleSrc:o.createElement(z,null),isExpanded:r})},U=(n(19100),["components"]),V={},G="wrapper";function K(e){var t=e.components,n=(0,a.Z)(e,U);return(0,d.mdx)(G,(0,r.Z)({},V,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)(i.C,{mdxType:"Badge"}),(0,d.mdx)("h1",{id:"terra-embedded-content-consumer"},"Terra Embedded Content Consumer"),(0,d.mdx)("p",null,"The Embedded Content Consumer is the managed application component which is embedding web content within an iframe. The Embedded Content Consumer is responsible for the communication between its embedded content to its framework, such that interaction with embedded content appears seemless."),(0,d.mdx)("p",null,"Under the hood, the embedded-content-consumer utilizes an ",(0,d.mdx)("a",{parentName:"p",href:"https://www.npmjs.com/package/xfc"},(0,d.mdx)("inlineCode",{parentName:"a"},"XFC (Cross-Frame-Container)"))," Consumer to manage the iframe size and to listen for messages bridged out from the embedded content through an XFC provider."),(0,d.mdx)("p",null,"The embedded-content-consumer will use the messages sent from the embedded content to determine if updates are neeed within itself. Otherwise if the embedded content needs to be updated, embedded-content-consumer should send a reply message to the embedded content provider. Then, the embedded content will update itself when it receives the embedded-content-consumer message."),(0,d.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Install with ",(0,d.mdx)("a",{parentName:"p",href:"https://www.npmjs.com/"},"npmjs"),":"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"npm install terra-embedded-content-consumer")))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Install the ",(0,d.mdx)("a",{parentName:"p",href:"https://www.npmjs.com/package/xfc"},(0,d.mdx)("inlineCode",{parentName:"a"},"xfc"))," peer dependency:"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"npm install xfc --save-dev")))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Then, initalize the XFC Consumer at the root of your application to use the ",(0,d.mdx)("inlineCode",{parentName:"p"},"terra-embedded-content-consumer"),". This will create an app broker to manage embedded applications."))),(0,d.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,d.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,d.mdx)("table",null,(0,d.mdx)("thead",{parentName:"table"},(0,d.mdx)("tr",{parentName:"thead"},(0,d.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,d.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,d.mdx)("tbody",{parentName:"table"},(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"react"),(0,d.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,d.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"xfc"),(0,d.mdx)("td",{parentName:"tr",align:null},"^1.2.1")))),(0,d.mdx)("h2",{id:"usage"},"Usage"),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import { Consumer } from 'xfc';\nimport EmbeddedContentConsumer from 'terra-embedded-content-consumer';\nConsumer.init();\n")),(0,d.mdx)("h2",{id:"component-features"},"Component Features"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support"))),(0,d.mdx)("h2",{id:"accessibility"},"Accessibility"),(0,d.mdx)(l.Notice,{variant:"important",ariaLevel:"3",mdxType:"Notice"},(0,d.mdx)("h4",{id:"accessibility-guidance-title"},"Accessibility Guidance: Title"),(0,d.mdx)("p",null,"For the purposes of accessibility compliance, it is ",(0,d.mdx)("strong",{parentName:"p"},"critical")," to screen reader users that the title of the iframe is set, and describes the content inside the iframe. Without having a proper ",(0,d.mdx)("inlineCode",{parentName:"p"},"title")," set for the iframe, the content embedded within the iframe is not accessible. By having a title for the iframe, it helps to inform screen reader users about the content that is embedded inside of the iframe."),(0,d.mdx)("h4",{id:"accessibility-guidance-scrolling"},"Accessibility Guidance: Scrolling"),(0,d.mdx)("p",null,"When using this Embedded Content Consumer component to embed another page, the default behavior is set to auto resize the content such that the content will display fully inside of the iframe. In scenarios where custom configuration of XFC is made to set a ",(0,d.mdx)("inlineCode",{parentName:"p"},"fixedWidth")," or ",(0,d.mdx)("inlineCode",{parentName:"p"},"fixedHeight")," or both ",(0,d.mdx)("inlineCode",{parentName:"p"},"fixedWidth")," and ",(0,d.mdx)("inlineCode",{parentName:"p"},"fixedHeight")," of the content, the content may not be fully visible in the viewport. For keyboard only users, it is critical that users can navigate to the iframe, and scroll using keyboard controls to view the content fully."),(0,d.mdx)("p",null,"When specifying a ",(0,d.mdx)("inlineCode",{parentName:"p"},"fixedWidth")," or ",(0,d.mdx)("inlineCode",{parentName:"p"},"fixedHeight")," ",(0,d.mdx)("a",{parentName:"p",href:"https://github.com/cerner/xfc#iframe-resizing-config"},"attribute for XFC"),", it's also necessary to set ",(0,d.mdx)("inlineCode",{parentName:"p"},"scrolling")," option to ",(0,d.mdx)("inlineCode",{parentName:"p"},"true")," so that the content can be scrolled when not fully displayed. This is required for accessibility for keyboard only users."),(0,d.mdx)("p",null,"See the ",(0,d.mdx)("a",{parentName:"p",href:"#embedded-content-consumer-props-table"},"Embedded Content Consumer Props Table")," below for an example configuration.")),(0,d.mdx)("h2",{id:"examples"},"Examples"),(0,d.mdx)(y,{title:"Basic Embedded Content Consumer",mdxType:"BasicConsumer"}),(0,d.mdx)(w,{title:"Consumer with inline HTML content using `srcdoc`",mdxType:"BasicConsumerWithSrcDoc"}),(0,d.mdx)(q,{title:"Scrollable Content",mdxType:"BasicConsumerWithScrolling"}),(0,d.mdx)(X,{title:"Embedded Content Consumer Lifecycle Statuses",mdxType:"DataStatusConsumer"}),(0,d.mdx)(R,{title:"Embedded Content Consumer that Listens for a Custom Event",mdxType:"CustomEventConsumer"}),(0,d.mdx)(F,{title:"Embedded Content Consumer with Seamless Communication",mdxType:"CustomEventsConsumer"}),(0,d.mdx)("h2",{id:"embedded-content-consumer-props-table"},"Embedded Content Consumer Props Table"),(0,d.mdx)(p,{mdxType:"EmbeddedContentConsumerPropsTable"}))}K.isMDXComponent=!0},28963:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(87462),a=n(44925),o=(n(67294),n(81254)),d=["components"],i={},l="wrapper";function s(e){var t=e.components,n=(0,a.Z)(e,d);return(0,o.mdx)(l,(0,r.Z)({},i,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n padding: 1.25rem;\n }\n\n iframe {\n border: 0;\n width: 100%;\n }\n}\n\n")))}s.isMDXComponent=!0},95753:function(e,t,n){n.d(t,{C:function(){return o}});var r=n(67294),a=n(22863),o=function(e){var t=e.url;return r.createElement(a.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-embedded-content-consumer",name:"terra-embedded-content-consumer",version:"3.41.0",url:t})}},67157:function(e,t,n){var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(70215)),o=r(n(10434)),d=r(n(38416)),i=r(n(56690)),l=r(n(89728)),s=r(n(61655)),m=r(n(94993)),u=r(n(73808)),c=r(n(67294)),p=n(25387),f=r(n(45697)),h=r(n(47166)),x=n(19100),b=r(n(29270)),v=r(n(43526)),g=["src","title","onMount","onLaunch","onAuthorize","options","eventHandlers","intl"];function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var a=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,m.default)(this,n)}}var _=h.default.bind(v.default),E={src:f.default.string.isRequired,title:f.default.string,onMount:f.default.func,onLaunch:f.default.func,onAuthorize:f.default.func,options:f.default.object,eventHandlers:f.default.arrayOf(f.default.shape({key:f.default.string,handler:f.default.func})),intl:f.default.shape({formatMessage:f.default.func}).isRequired},N=function(e){(0,s.default)(n,e);var t=C(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"componentDidMount",value:function(){var e=function(e){for(var t=1;tThe HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.
<iframe>...</iframe>
An inline frame places another HTML document in a frame. Unlike an <object /> element, an <iframe> can be the "target" frame for links defined by other elements, and it can be selected by the user agent as the focus for printing, viewing its source, and so on.
The content of the element is used as alternative text to be displayed if the browser does not support inline frames.
First introduced by Microsoft Internet Explorer in 1997, standardized in HTML 4.0 Transitional, allowed in HTML5.
',width:"100%",height:"200px"}}})}},99027:function(e,t,n){var r=n(64836);t.Z=void 0;var a=r(n(67294)),o=r(n(67157)),d=n(19100);n(15653),d.Consumer.init();var i=[{key:"EventA",handler:function(){document.getElementById("CustomEvent").style.border="thick dashed #0000FF"}}];t.Z=function(){return a.default.createElement("div",{id:"CustomEvent"},a.default.createElement(o.default,{src:"/terra-framework/#/raw/provider/cerner-terra-framework-docs/embedded-content-consumer/providers/custom-event-provider",title:"Custom Event Example",options:{resizeConfig:{scrolling:!0}},eventHandlers:i}))}},48766:function(e,t,n){var r=n(64836);t.Z=void 0;var a=r(n(56690)),o=r(n(89728)),d=r(n(66115)),i=r(n(61655)),l=r(n(94993)),s=r(n(73808)),m=r(n(67294)),u=r(n(67157)),c=n(19100);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}n(15653),c.Consumer.init();var f=function(e){(0,i.default)(n,e);var t=p(n);function n(e){var r;return(0,a.default)(this,n),(r=t.call(this,e)).onMount=r.onMount.bind((0,d.default)(r)),r.handleEventA=r.handleEventA.bind((0,d.default)(r)),r.handleEventB=r.handleEventB.bind((0,d.default)(r)),r}return(0,o.default)(n,[{key:"handleEventA",value:function(){document.getElementById("CustomEvents").style.border="thick dashed #0000FF",this.frame.trigger("Event-Reply",{eventReply:"eventA",borderColor:"#0000FF"})}},{key:"handleEventB",value:function(){document.getElementById("CustomEvents").style.border="thick dashed #00FF00",this.frame.trigger("Event-Reply",{eventReply:"eventB",borderColor:"#00FF00"})}},{key:"onMount",value:function(e){this.frame=e}},{key:"render",value:function(){var e=[{key:"EventA",handler:this.handleEventA},{key:"EventB",handler:this.handleEventB}];return m.default.createElement("div",{id:"CustomEvents"},m.default.createElement(u.default,{src:"/terra-framework/#/raw/provider/cerner-terra-framework-docs/embedded-content-consumer/providers/custom-events-provider",title:"Custom events example",options:{},onMount:this.onMount,eventHandlers:e}))}}]),n}(m.default.Component);t.Z=f},27723:function(e,t,n){var r=n(64836);t.Z=void 0;var a=r(n(67294)),o=r(n(67157)),d=n(19100);n(15653),d.Consumer.init();var i=function(e){var t=document.getElementById("data-embedded-consumer-data-status");if(t){var n=t.contentWindow.document.getElementById("DataStatus-LifeCycleStatuses");n&&e.forEach((function(e){var t,r;n.appendChild((t=e,(r=document.createElement("li")).appendChild(document.createTextNode(t)),r))}))}},l={secret:"OAuth Secret",iframeAttrs:{id:"data-embedded-consumer-data-status"}},s=function(){setTimeout((function(){i(["Mounted"])}),2e3)},m=function(){setTimeout((function(){i(["Launched"])}),3e3)},u=function(){setTimeout((function(){i(["Authorized"])}),4e3)};t.Z=function(){return a.default.createElement(o.default,{src:"/terra-framework/#/raw/provider/cerner-terra-framework-docs/embedded-content-consumer/providers/data-status-provider",onMount:s,onLaunch:m,onAuthorize:u,title:"Embedded application lifecycle example",options:l})}},17422:function(e,t,n){n.r(t),t.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},53560:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},66983:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Button-module__clinical-lowlight-theme___TyZWB","orion-fusion-theme":"Button-module__orion-fusion-theme___q-FcQ",button:"Button-module__button___QuCn2","is-active":"Button-module__is-active___Z8AuK"}},30866:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Notice-module__clinical-lowlight-theme___aa5xV","orion-fusion-theme":"Notice-module__orion-fusion-theme___QAE-T",notice:"Notice-module__notice___GWkPA",children:"Notice-module__children___lDYsm",accessory:"Notice-module__accessory___wkLOG",title:"Notice-module__title___6H5tc","ux-recommendation":"Notice-module__ux-recommendation___N8BuK",caution:"Notice-module__caution___hPrVl",deprecation:"Notice-module__deprecation___g1drA",maintenance:"Notice-module__maintenance___kWLIZ",important:"Notice-module__important___p5DiF","not-supported":"Notice-module__not-supported___34bHd",paragraph:"Notice-module__paragraph___5h-w1",list:"Notice-module__list___M2Kxj"}},42620:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Placeholder-module__clinical-lowlight-theme___Obm9K","orion-fusion-theme":"Placeholder-module__orion-fusion-theme___svHY+",placeholder:"Placeholder-module__placeholder___ZZDXd",inner:"Placeholder-module__inner___fJq9o",title:"Placeholder-module__title___teBSo"}},43526:function(e,t,n){n.r(t),t.default={"visually-hidden-text":"EmbeddedContentConsumer-module__visually-hidden-text___yOT75"}},15653:function(e,t,n){n.r(t),t.default={"content-wrapper":"EmbeddedContentConsumerCommon-module__content-wrapper___UX69F"}},33864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(67294)),a=o(n(99139));function o(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t wdio testing.")))),(0,n.mdx)("h2",{id:"2140---june-28-2018"},"2.14.0 - (June 28, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added change log to the documentation on terra-dev-site")))),(0,n.mdx)("h2",{id:"2130---june-22-2018"},"2.13.0 - (June 22, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved terra-base from dependency to peerDependency")))),(0,n.mdx)("h2",{id:"2120---june-12-2018"},"2.12.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Updated "test:jest" script to work on windows.')))),(0,n.mdx)("h2",{id:"2110---may-30-2018"},"2.11.0 - (May 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated structure to match terra-dev-site 1.0 and moved doc examples internal.")))),(0,n.mdx)("h2",{id:"2100---may-23-2018"},"2.10.0 - (May 23, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"290---may-16-2018"},"2.9.0 - (May 16, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"280---may-9-2018"},"2.8.0 - (May 9, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"270---may-2-2018"},"2.7.0 - (May 2, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"260---april-20-2018"},"2.6.0 - (April 20, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"250---april-15-2018"},"2.5.0 - (April 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"240---april-5-2018"},"2.4.0 - (April 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"230---march-30-2018"},"2.3.0 - (March 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"220---march-6-2018"},"2.2.0 - (March 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed props-table script from package.json")))),(0,n.mdx)("h2",{id:"210---february-26-2018"},"2.1.0 - (February 26, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"201---february-13-2018"},"2.0.1 - (February 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated peerDependencies")))),(0,n.mdx)("h2",{id:"200---february-12-2018"},"2.0.0 - (February 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use React 16")))),(0,n.mdx)("h2",{id:"1120---february-1-2018"},"1.12.0 - (February 1, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"1110---january-18-2018"},"1.11.0 - (January 18, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"1100---january-5-2018"},"1.10.0 - (January 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"190---november-28-2017"},"1.9.0 - (November 28, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"180---november-16-2017"},"1.8.0 - (November 16, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"170---october-31-2017"},"1.7.0 - (October 31, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Allow EmbeddedContentConsumer to trigger events on its application")))),(0,n.mdx)("h2",{id:"160---october-6-2017"},"1.6.0 - (October 6, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"150---september-26-2017"},"1.5.0 - (September 26, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"140---september-19-2017"},"1.4.0 - (September 19, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"130---september-12-2017"},"1.3.0 - (September 12, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"120---september-7-2017"},"1.2.0 - (September 7, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"110---september-5-2017"},"1.1.0 - (September 5, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,n.mdx)("h2",{id:"100---august-31-2017"},"1.0.0 - (August 31, 2017)"),(0,n.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"],o={},N="wrapper";function s(e){var a=e.components,m=(0,l.Z)(e,x);return(0,n.mdx)(N,(0,d.Z)({},o,m,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(r.C,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}s.isMDXComponent=!0},95753:function(e,a,m){m.d(a,{C:function(){return n}});var d=m(67294),l=m(22863),n=function(e){var a=e.url;return d.createElement(l.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-embedded-content-consumer",name:"terra-embedded-content-consumer",version:"3.40.0",url:a})}},17422:function(e,a,m){m.r(a),a.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},87462:function(e,a,m){function d(){return d=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(l[m]=e[m]);return l}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,m)&&(l[m]=e[m])}return l}m.d(a,{Z:function(){return d}})}}]);
\ No newline at end of file
diff --git a/pull/1916/84923-4b9ee0e069b8f6680ab2.css b/pull/1916/84923-a17fc4f0bd5f0a039dde.css
similarity index 100%
rename from pull/1916/84923-4b9ee0e069b8f6680ab2.css
rename to pull/1916/84923-a17fc4f0bd5f0a039dde.css
diff --git a/pull/1916/84923-a17fc4f0bd5f0a039dde.js b/pull/1916/84923-a17fc4f0bd5f0a039dde.js
new file mode 100644
index 00000000000..ad99297f0e8
--- /dev/null
+++ b/pull/1916/84923-a17fc4f0bd5f0a039dde.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[84923],{22863:function(e,a,d){var m=d(64836);a.Z=void 0;var l=m(d(67294)),n=m(d(45697)),r=m(d(47166)),t=m(d(17422)),i=r.default.bind(t.default),u={name:n.default.string.isRequired,src:n.default.string,url:n.default.string,version:n.default.string.isRequired},p=function(e){var a=e.src,d=e.name,m=e.url,n=e.version,r=l.default.createElement("a",{className:i("badge"),href:m||"https://www.npmjs.org/package/".concat(d,"/v/").concat(n)},l.default.createElement("span",{className:i("badge-name")},m?"package":"npm"),l.default.createElement("span",{className:i("badge-version")},"v".concat(n))),t=a?l.default.createElement("a",{className:i("badge"),href:a},l.default.createElement("span",{className:i("badge-name")},"github"),l.default.createElement("span",{className:i("badge-version")},"source")):void 0;return l.default.createElement("div",{className:i("badge-container")},r,t)};p.propTypes=u;var x=p;a.Z=x},84923:function(e,a,d){d.r(a),d.d(a,{default:function(){return s}});var m=d(87462),l=d(44925),n=(d(67294),d(81254)),r=d(95753),t=["components"],i={},u="wrapper";function p(e){var a=e.components,d=(0,l.Z)(e,t);return(0,n.mdx)(u,(0,m.Z)({},i,d,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)("h1",{id:"changelog"},"Changelog"),(0,n.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,n.mdx)("h2",{id:"3410---november-29-2023"},"3.41.0 - (November 29, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added documentation relating to accessibility guidance for Embedded Content Consumer props.")))),(0,n.mdx)("h2",{id:"3400---november-9-2023"},"3.40.0 - (November 9, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added screenreader support to announce context of embedded iframe content.")))),(0,n.mdx)("h2",{id:"3390---october-3-2023"},"3.39.0 - (October 3, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ",(0,n.mdx)("inlineCode",{parentName:"li"},"title")," prop for consumers to set the title of the embedded content in the iframe."))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Deprecated ",(0,n.mdx)("inlineCode",{parentName:"li"},"options.iframeAttrs.title")," in favor of the new ",(0,n.mdx)("inlineCode",{parentName:"li"},"title")," prop.")))),(0,n.mdx)("h2",{id:"3380---september-26-2023"},"3.38.0 - (September 26, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Updated",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated documentation for ",(0,n.mdx)("inlineCode",{parentName:"li"},"options")," prop to include ",(0,n.mdx)("inlineCode",{parentName:"li"},"srcdoc")," iframe atttribute for inline html content in iframe.")))),(0,n.mdx)("h2",{id:"3370---july-31-2023"},"3.37.0 - (July 31, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"3360---february-14-2023"},"3.36.0 - (February 14, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra and\nterra-functional-testing upgrade.")))),(0,n.mdx)("h2",{id:"3350---march-15-2022"},"3.35.0 - (March 15, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Migrate docs to terra-framework-docs.")))),(0,n.mdx)("h2",{id:"3340---september-20-2021"},"3.34.0 - (September 20, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra sass upgrade."),(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO snapshots due to terra-functional-testing v2 upgrade.")))),(0,n.mdx)("h2",{id:"3330---june-8-2021"},"3.33.0 - (June 8, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"3320---april-6-2021"},"3.32.0 - (April 6, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,n.mdx)("h2",{id:"3310---march-9-2021"},"3.31.0 - (March 9, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to terra-functional-testing")))),(0,n.mdx)("h2",{id:"3300---january-5-2021"},"3.30.0 - (January 5, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,n.mdx)("h2",{id:"3290---december-8-2020"},"3.29.0 - (December 8, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,n.mdx)("h2",{id:"3280---november-10-2020"},"3.28.0 - (November 10, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed build failures due to the react/sort-comp rule")))),(0,n.mdx)("h2",{id:"3270---august-4-2020"},"3.27.0 - (August 4, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Changelog format")))),(0,n.mdx)("h2",{id:"3260---july-14-2020"},"3.26.0 - (July 14, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"master")," references to ",(0,n.mdx)("inlineCode",{parentName:"li"},"main"),"."),(0,n.mdx)("li",{parentName:"ul"},"Remove unused disable eslint directives")))),(0,n.mdx)("h2",{id:"3250---may-19-2020"},"3.25.0 - (May 19, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Spacing typo in doc")))),(0,n.mdx)("h2",{id:"3240---april-28-2020"},"3.24.0 - (April 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ",(0,n.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,n.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,n.mdx)("h2",{id:"3230---march-31-2020"},"3.23.0 - (March 31, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio screenshots")))),(0,n.mdx)("h2",{id:"3220---march-17-2020"},"3.22.0 - (March 17, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update docs to use MDX syntax")))),(0,n.mdx)("h2",{id:"3210---february-18-2020"},"3.21.0 - (February 18, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added generated-themes to .npmignore")))),(0,n.mdx)("h2",{id:"3200---january-28-2020"},"3.20.0 - (January 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,n.mdx)("h2",{id:"3190---december-10-2019"},"3.19.0 - (December 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Added reference wdio screenshots for "orion-fusion-theme".')))),(0,n.mdx)("h2",{id:"3180---november-7-2019"},"3.18.0 - (November 7, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Resolved lint warnings for multiple empty lines")))),(0,n.mdx)("h2",{id:"3170---october-16-2019"},"3.17.0 - (October 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"3160---october-3-2019"},"3.16.0 - (October 3, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"3150---september-26-2019"},"3.15.0 - (September 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"3140---september-19-2019"},"3.14.0 - (September 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed ",(0,n.mdx)("inlineCode",{parentName:"li"},"details")," tag from doc-site."),(0,n.mdx)("li",{parentName:"ul"},"Doc site example module import syntax modified to use package.json name resolution")))),(0,n.mdx)("h2",{id:"3130---september-6-2019"},"3.13.0 - (September 6, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,n.mdx)("h2",{id:"3120---august-14-2019"},"3.12.0 - (August 14, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated package.json test scripts")))),(0,n.mdx)("h2",{id:"3110---july-30-2019"},"3.11.0 - (July 30, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed DEPENDENCIES.md file")))),(0,n.mdx)("h2",{id:"3100---july-16-2019"},"3.10.0 - (July 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added documentation on required peerDependencies")))),(0,n.mdx)("h2",{id:"390---july-10-2019"},"3.9.0 - (July 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump"),(0,n.mdx)("li",{parentName:"ul"},"Fixed test routes.")))),(0,n.mdx)("h2",{id:"380---july-2-2019"},"3.8.0 - (July 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Renamed test and example SCSS files to end with ",(0,n.mdx)("inlineCode",{parentName:"li"},".module.scss")," extension")))),(0,n.mdx)("h2",{id:"370---june-19-2019"},"3.7.0 - (June 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"360---june-12-2019"},"3.6.0 - (June 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed all inline styles from Dev-site components and implemented the same styles using external css."),(0,n.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,n.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports")))),(0,n.mdx)("h2",{id:"350---april-24-2019"},"3.5.0 - (April 24, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved packages we use solely in doc examples and tests to devDependencies")))),(0,n.mdx)("h2",{id:"340---april-18-2019"},"3.4.0 - (April 18, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Within DataStatusConsumer example - add guard clause for iframe query")))),(0,n.mdx)("h2",{id:"330---april-9-2019"},"3.3.0 - (April 9, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"EmbeddedContentProviderTestTemplate for testing embedded applications"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated existing provider examples to use the EmbeddedContentProviderTestTemplate"),(0,n.mdx)("li",{parentName:"ul"},"Changed Provider examples to use ",(0,n.mdx)("inlineCode",{parentName:"li"},".provider")," extension to fix provider examples in terra-ui"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Dead code tests / examples that tested XFC implementation")))),(0,n.mdx)("h2",{id:"320---march-26-2019"},"3.2.0 - (March 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,n.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,n.mdx)("h2",{id:"310---february-5-2019"},"3.1.0 - (February 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"300---january-25-2019"},"3.0.0 - (January 25, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated terra-core dependencies")))),(0,n.mdx)("h2",{id:"2310---january-5-2019"},"2.31.0 - (January 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"2300---january-2-2019"},"2.30.0 - (January 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Migrate package to the terra-framework repository"),(0,n.mdx)("li",{parentName:"ul"},"Added title attribute to example iframes.")))),(0,n.mdx)("h2",{id:"2290---november-19-2018"},"2.29.0 - (November 19, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2280---november-13-2018"},"2.28.0 - (November 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2270---november-9-2018"},"2.27.0 - (November 9, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2260---october-24-2018"},"2.26.0 - (October 24, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2250---october-16-2018"},"2.25.0 - (October 16, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2240---october-8-2018"},"2.24.0 - (October 8, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2230---september-25-2018"},"2.23.0 - (September 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2221---september-6-2018"},"2.22.1 - (September 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Patch dependency version bump")))),(0,n.mdx)("h2",{id:"2220---september-5-2018"},"2.22.0 - (September 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,n.mdx)("h2",{id:"2210---september-4-2018"},"2.21.0 - (September 4, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2200---august-29-2018"},"2.20.0 - (August 29, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2190---august-1-2018"},"2.19.0 - (August 1, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2180---july-19-2018"},"2.18.0 - (July 19, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add .module extension to SCSS file(s)")))),(0,n.mdx)("h2",{id:"2170---july-17-2018"},"2.17.0 - (July 17, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump"),(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v4 update")))),(0,n.mdx)("h2",{id:"2160---july-10-2018"},"2.16.0 - (July 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"2150---july-3-2018"},"2.15.0 - (July 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Migrate Nightwatch -> wdio testing.")))),(0,n.mdx)("h2",{id:"2140---june-28-2018"},"2.14.0 - (June 28, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added change log to the documentation on terra-dev-site")))),(0,n.mdx)("h2",{id:"2130---june-22-2018"},"2.13.0 - (June 22, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved terra-base from dependency to peerDependency")))),(0,n.mdx)("h2",{id:"2120---june-12-2018"},"2.12.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Updated "test:jest" script to work on windows.')))),(0,n.mdx)("h2",{id:"2110---may-30-2018"},"2.11.0 - (May 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated structure to match terra-dev-site 1.0 and moved doc examples internal.")))),(0,n.mdx)("h2",{id:"2100---may-23-2018"},"2.10.0 - (May 23, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"290---may-16-2018"},"2.9.0 - (May 16, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"280---may-9-2018"},"2.8.0 - (May 9, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"270---may-2-2018"},"2.7.0 - (May 2, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"260---april-20-2018"},"2.6.0 - (April 20, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"250---april-15-2018"},"2.5.0 - (April 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"240---april-5-2018"},"2.4.0 - (April 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"230---march-30-2018"},"2.3.0 - (March 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"220---march-6-2018"},"2.2.0 - (March 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed props-table script from package.json")))),(0,n.mdx)("h2",{id:"210---february-26-2018"},"2.1.0 - (February 26, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"201---february-13-2018"},"2.0.1 - (February 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated peerDependencies")))),(0,n.mdx)("h2",{id:"200---february-12-2018"},"2.0.0 - (February 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use React 16")))),(0,n.mdx)("h2",{id:"1120---february-1-2018"},"1.12.0 - (February 1, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"1110---january-18-2018"},"1.11.0 - (January 18, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"1100---january-5-2018"},"1.10.0 - (January 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"190---november-28-2017"},"1.9.0 - (November 28, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"180---november-16-2017"},"1.8.0 - (November 16, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"170---october-31-2017"},"1.7.0 - (October 31, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Allow EmbeddedContentConsumer to trigger events on its application")))),(0,n.mdx)("h2",{id:"160---october-6-2017"},"1.6.0 - (October 6, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"150---september-26-2017"},"1.5.0 - (September 26, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"140---september-19-2017"},"1.4.0 - (September 19, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"130---september-12-2017"},"1.3.0 - (September 12, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"120---september-7-2017"},"1.2.0 - (September 7, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"110---september-5-2017"},"1.1.0 - (September 5, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,n.mdx)("h2",{id:"100---august-31-2017"},"1.0.0 - (August 31, 2017)"),(0,n.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"],o={},N="wrapper";function s(e){var a=e.components,d=(0,l.Z)(e,x);return(0,n.mdx)(N,(0,m.Z)({},o,d,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(r.C,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}s.isMDXComponent=!0},95753:function(e,a,d){d.d(a,{C:function(){return n}});var m=d(67294),l=d(22863),n=function(e){var a=e.url;return m.createElement(l.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-embedded-content-consumer",name:"terra-embedded-content-consumer",version:"3.41.0",url:a})}},17422:function(e,a,d){d.r(a),a.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},87462:function(e,a,d){function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(l[d]=e[d]);return l}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(m=0;m=0||Object.prototype.propertyIsEnumerable.call(e,d)&&(l[d]=e[d])}return l}d.d(a,{Z:function(){return m}})}}]);
\ No newline at end of file
diff --git a/pull/1916/90445-a321ba3d723daff011fd.css b/pull/1916/90445-bde083c6571774f65084.css
similarity index 100%
rename from pull/1916/90445-a321ba3d723daff011fd.css
rename to pull/1916/90445-bde083c6571774f65084.css
diff --git a/pull/1916/90445-a321ba3d723daff011fd.js b/pull/1916/90445-bde083c6571774f65084.js
similarity index 100%
rename from pull/1916/90445-a321ba3d723daff011fd.js
rename to pull/1916/90445-bde083c6571774f65084.js
diff --git a/pull/1916/91016-d9d5cd02a622ee6bb0c4.css b/pull/1916/91016-5d0c5256185abe3c54e6.css
similarity index 100%
rename from pull/1916/91016-d9d5cd02a622ee6bb0c4.css
rename to pull/1916/91016-5d0c5256185abe3c54e6.css
diff --git a/pull/1916/91016-d9d5cd02a622ee6bb0c4.js b/pull/1916/91016-5d0c5256185abe3c54e6.js
similarity index 100%
rename from pull/1916/91016-d9d5cd02a622ee6bb0c4.js
rename to pull/1916/91016-5d0c5256185abe3c54e6.js
diff --git a/pull/1916/index-2238e704318ba6d251e6.css b/pull/1916/index-3573256da02dca867acb.css
similarity index 100%
rename from pull/1916/index-2238e704318ba6d251e6.css
rename to pull/1916/index-3573256da02dca867acb.css
diff --git a/pull/1916/index-2238e704318ba6d251e6.js b/pull/1916/index-3573256da02dca867acb.js
similarity index 86%
rename from pull/1916/index-2238e704318ba6d251e6.js
rename to pull/1916/index-3573256da02dca867acb.js
index 7039d6b9a65..62f73b16aef 100644
--- a/pull/1916/index-2238e704318ba6d251e6.js
+++ b/pull/1916/index-3573256da02dca867acb.js
@@ -1,2 +1,2 @@
-/*! For license information please see index-2238e704318ba6d251e6.js.LICENSE.txt */
-!function(){var e,t,n,r,a={16673:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){try{return window.sessionStorage}catch(e){return void 0}};t.default=n},70713:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(47166)),l=n(21538),u=r(n(70284)),s=i.default.bind(u.default),c={type:o.default.string,children:o.default.element.isRequired,isScrollContainer:o.default.bool},d=function(e){var t=e.children,n=e.type,r=e.isScrollContainer,o=a.default.useContext(l.ThemeContext);return a.default.createElement("div",{id:"site","data-terra-dev-site-content":!0,"data-terra-test-content":!0,className:s(o.className,"dev-site-content",{markdown:["md","mdx"].includes(n),scroll:r})},t)};d.propTypes=c;var f=d;t.default=f},86175:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(27424)),o=r(n(67294)),i=n(39711),l=r(n(86442)),u=r(n(56599)),s=r(n(70713)),c=n(78747),d=r(n(82906)),f={pageContentConfig:c.pageContentConfigShape.isRequired,contentImports:c.contentImportsShape.isRequired},p=function(e){var t=e.pageContentConfig,n=e.contentImports[(0,i.useLocation)().pathname],r=o.default.useState(),c=(0,a.default)(r,2),f=c[0],p=c[1];return t&&n?f?o.default.createElement(s.default,{type:t.type,isScrollContainer:!0},o.default.createElement("div",null,"Error: chunk failed to load.")):o.default.createElement(u.default,{onError:function(){return p(!0)}},o.default.createElement(s.default,{type:t.type,isScrollContainer:!0},o.default.createElement(n,null))):o.default.createElement(l.default,{src:d.default,width:"100%",alt:"404"})};p.propTypes=f;var m=p;t.default=m},83011:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=n(39711),l=r(n(65838)),u=r(n(12098)),s={siteConfig:r(n(78747)).default.isRequired,ApplicationNavigation:o.default.func},c=function(e){var t=e.siteConfig,n=e.ApplicationNavigation;return(0,i.useRouteMatch)("/raw")?a.default.createElement(u.default,{siteConfig:t}):a.default.createElement(l.default,{siteConfig:t,ApplicationNavigation:n})};c.propTypes=s;var d=c;t.default=d},65838:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=n(39711),l=r(n(50826)),u=r(n(61654)),s=r(n(19771)),c=n(48514),d=r(n(81303)),f=r(n(19291)),p=r(n(73839)),m=r(n(72419)),h=r(n(26935)),b=r(n(73721)),v=r(n(78747)),g=r(n(82364)),y=r(n(86175)),_={siteConfig:v.default.isRequired,ApplicationNavigation:o.default.func},w=function(e){var t,n,r,o=e.siteConfig,v=e.ApplicationNavigation,_=(0,i.useLocation)(),w=(0,i.useHistory)(),k=(0,i.useRouteMatch)("/home"),O=a.default.useContext(c.DisclosureManagerContext),E=v||s.default,x="/".concat(_.pathname.toLocaleLowerCase().split("/")[1]),P=o.navigationConfig.find((function(e){return e.path===x}));return a.default.createElement(a.default.Fragment,null,a.default.createElement(E,{id:"terra-dev-site",titleConfig:o.titleConfig,navigationItems:o.navigationConfig.map((function(e){return{key:e.path,text:e.label}})),onSelectSettings:function(){O.disclose({preferredType:"modal",size:"small",content:{key:"terra-dev-site.settings",component:a.default.createElement(m.default,null)}})},onSelectExtensionItem:function(e,t){t.disclose()},onSelectUtilityItem:function(e,t){t.disclose()},onSelectNavigationItem:function(e){!function(e){w.push(o.routesMap[e])}(e)},activeNavigationItemKey:P?x:void 0,extensionItems:(r=(o.extensionItems||[]).map((function(e){return{icon:a.default.createElement(e.icon,null),key:e.key,text:e.text,metaData:{disclose:function(){O.disclose({preferredType:"modal",size:"large",content:{key:e.key,component:a.default.createElement(e.modal,null)}})}}}})),r.unshift({icon:a.default.createElement(l.default,null),key:"terra-dev-site.search",text:"Search",metaData:{disclose:function(){O.disclose({preferredType:"modal",size:"large",content:{key:"terra-dev-site.search",component:a.default.createElement(h.default,{pageConfig:o.pageConfig})}})}}}),r),utilityItems:(t=o.sites,n=[],t.length>0&&n.push({icon:a.default.createElement(u.default,null),key:"terra-dev-site.application-switcher",text:"Application Switcher",metaData:{disclose:function(){O.disclose({preferredType:"modal",size:"tiny",content:{key:"terra-dev-site.application-switcher",component:a.default.createElement(b.default,{sites:t})}})}}}),n)},P?P.pageConfig?k?a.default.createElement(y.default,{pageContentConfig:P.pageConfig,contentImports:o.contentImports}):a.default.createElement(f.default,null,a.default.createElement(d.default,{pageContentConfig:P.pageConfig,contentImports:o.contentImports})):a.default.createElement(g.default,{label:P.label,id:P.path.substring(1),config:P.children,contentImports:o.contentImports}):a.default.createElement(f.default,null,a.default.createElement(p.default,null))))};w.propTypes=_;var k=w;t.default=k},82364:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67294)),i=r(n(45697)),l=n(39711),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(50620)),s=r(n(19291)),c=r(n(54075)),d=r(n(55471)),f=r(n(81303)),p=r(n(73839)),m=n(78747);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}var b={id:i.default.string.isRequired,contentImports:m.contentImportsShape.isRequired,config:m.navigationConfigShape,label:i.default.string.isRequired},v=function e(t,n){return t.map((function(t){return t.children?o.default.createElement(d.default,{key:t.label,label:t.label},e(t.children,n)):o.default.createElement(u.default,{key:t.path,navigationKey:t.path,label:t.label,renderPage:function(){return o.default.createElement(f.default,{pageContentConfig:t,contentImports:n})}})}))},g=function(e){var t=e.id,n=e.label,r=e.config,a=e.contentImports,i=(0,l.useLocation)(),d=(0,l.useHistory)(),f=o.default.useContext(u.NavigationItemContext).isActive,m=o.default.useMemo((function(){return v(r,a)}),[r,a]);return f?o.default.createElement(c.default,{id:t,activeNavigationKey:i.pathname.toLocaleLowerCase(),label:n,onSelectNavigationItem:function(e){return d.push(e)},renderNavigationFallback:function(){return o.default.createElement(s.default,{isMain:!0},o.default.createElement(p.default,null))}},m):null};g.propTypes=b;var y=g;t.default=y},12098:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(27424)),o=r(n(67294)),i=n(39711),l=r(n(47166)),u=r(n(86442)),s=r(n(70713)),c=r(n(56599)),d=r(n(82906)),f=r(n(78747)),p=r(n(90009)),m=l.default.bind(p.default),h={siteConfig:f.default.isRequired},b=function(e){var t=e.siteConfig,n=(0,i.useLocation)().pathname.substring(4).toLocaleLowerCase(),r=t.pageConfig[n],l=t.contentImports[n],f=o.default.useState(),p=(0,a.default)(f,2),h=p[0],b=p[1];return r&&l?h?o.default.createElement(s.default,{type:r.type,isScrollContainer:!0},o.default.createElement("div",null,"Error: chunk failed to load.")):o.default.createElement("div",{role:"main",className:m("main")},o.default.createElement(c.default,{fallback:o.default.createElement("div",null,"loading"),onError:function(){return b(!0)}},o.default.createElement(s.default,{type:r.type,isScrollContainer:!0},o.default.createElement(l,null)))):o.default.createElement(u.default,{src:d.default,width:"100%",alt:"404"})};b.propTypes=h;var v=b;t.default=v},5632:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(47166)),l=r(n(85895)),u=r(n(44881)),s=r(n(20798)),c=i.default.bind(s.default),d={children:o.default.node},f=function(e){var t=e.children,n=a.default.useContext(l.default),r=a.default.useMemo((function(){return{startActions:n.startActions||[],containerActions:[]}}),[n.startActions]);return a.default.createElement("div",{className:c("page-container"),"data-testid":"page-container"},a.default.createElement(u.default.Provider,{value:r},t))};f.propTypes=d;var p=f;t.default=p},44881:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.contextShape=void 0;var a=r(n(67294)),o=r(n(45697)),i=a.default.createContext(),l=o.default.shape({key:o.default.string.isRequired,label:o.default.string.isRequired,icon:o.default.elementType,onSelect:o.default.func}),u={containerStartActions:o.default.arrayOf(l),containerEndActions:o.default.arrayOf(l)};t.contextShape=u;var s=i;t.default=s},19291:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(5632)).default;t.default=a},85895:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.contextShape=void 0;var a=n(67294),o=r(n(45697)),i=(0,a.createContext)({startActions:[],endActions:[]}),l=o.default.shape({key:o.default.string.isRequired,label:o.default.string.isRequired,icon:o.default.elementType,onSelect:o.default.func,isToggleActive:o.default.bool}),u={startActions:o.default.arrayOf(l),endActions:o.default.arrayOf(l)};t.contextShape=u;var s=i;t.default=s},55471:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i={label:o.default.string,children:o.default.node},l=function(e){e.label,e.children;return a.default.createElement("div",null)};l.propTypes=i;var u=l;t.default=u},54075:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(861)),o=r(n(27424)),i=r(n(67294)),l=r(n(45697)),u=r(n(47166)),s=n(51051),c=r(n(53285)),d=n(21538),f=n(29291),p=r(n(58189)),m=r(n(50620)),h=r(n(19291)),b=r(n(70779)),v=r(n(85895)),g=r(n(55471)),y=r(n(11980)),_=r(n(15708)),w=r(n(58486)),k=u.default.bind(w.default),O=["tiny","small","medium"],E={id:l.default.string.isRequired,label:l.default.string.isRequired,activeNavigationKey:l.default.string.isRequired,onSelectNavigationItem:l.default.func,renderPage:l.default.func,renderLayout:l.default.func,renderNavigationFallback:l.default.func,children:l.default.node};function x(e){return{text:e.label,name:e.label,path:e.key,childItems:e.childItems?e.childItems.map(x):void 0}}var P=function(e){var t=e.id,n=e.label,r=e.activeNavigationKey,l=e.children,u=e.onSelectNavigationItem,w=e.renderPage,E=e.renderLayout,P=e.renderNavigationFallback,S=i.default.useContext(f.ActiveBreakpointContext),C=i.default.useContext(v.default),D=i.default.useContext(d.ThemeContext),j=i.default.useRef(),T=i.default.useRef(),M=i.default.useRef(),A=i.default.useRef(),N=(0,p.default)(r,(function(){(0,b.default)((function(){document.body.focus()}))})),I=(0,o.default)(N,3),R=I[0],L=I[1],F=I[2],z=i.default.useState(!1),B=(0,o.default)(z,2),U=B[0],H=B[1];var W=function e(t){return i.default.Children.toArray(t).reduce((function(t,n){var r=(0,a.default)(t);if(n.type===m.default)r.push(n);else if(n.type===g.default){var o=e(n.props.children);o&&r.push.apply(r,(0,a.default)(o))}return r}),[])}(l),V=!!W.find((function(e){return e.props.navigationKey===r})),G=!!W.length,q=-1!==O.indexOf(S),K=G&&(U||-1===O.indexOf(S)),Y=i.default.useMemo((function(){var e=C.startActions;return G&&q&&(e=[].concat((0,a.default)(e),[{key:"secondary-navigation-layout-toggle-navigation-panel",label:"Toggle Navigation Panel ".concat(U?"Closed":"Open"),icon:c.default,onSelect:function(){H((function(e){return!e}))}}])),{startActions:e,endActions:C.endActions}}),[C.startActions,C.endActions,G,q,U]);i.default.useEffect((function(){var e=W.map((function(e){return e.props.navigationKey}));Object.keys(L.current).filter((function(t){return!e.includes(t)})).forEach((function(e){delete L.current[e]}))}),[W,L]);var $,X=i.default.useRef(U);return i.default.useEffect((function(){U&&!X.current?(0,b.default)((function(){M.current.focus()})):!U&&X.current&&(0,b.default)((function(){var e=document.querySelector("main");e&&e.focus()})),X.current=U}),[U]),i.default.useEffect((function(){if(U)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){e.keyCode===s.KEY_ESCAPE&&(e.target===j.current||j.current.contains(e.target))&&H(!1)}}),[U,H]),$=w?i.default.createElement(h.default,null,w()):E?E():W.length?i.default.createElement(i.default.Fragment,null,W.map((function(e){var t,n=null===(t=L.current[e.props.navigationKey])||void 0===t?void 0:t.element;return n||((n=document.createElement("div")).style.position="relative",n.style.height="100%",n.style.width="100%",n.id="side-nav-".concat(e.props.navigationKey),L.current[e.props.navigationKey]={element:n}),i.default.createElement(i.default.Fragment,{key:e.props.navigationKey},i.default.cloneElement(e,{isActive:e.props.navigationKey===F,portalElement:n}))})),!V&&P?P():void 0):l,i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:k("side-nav-container",D.className),ref:j},i.default.createElement("div",{ref:M,className:k("side-nav-sidebar",{visible:G&&K,overlay:q}),tabIndex:"-1"},G&&i.default.createElement("div",{className:k("sidebar-container")},i.default.createElement("div",{className:k("header-container")},i.default.createElement(_.default,{label:n,onRequestClose:U?function(){H(!1)}:void 0})),i.default.createElement("div",{className:k("content")},i.default.createElement(y.default,{id:"".concat(t,"-side-nav"),selectedPath:r,onSelect:function(e){var t;t=e,H(!1),t!==r&&u(t)},menuItems:[{childItems:function e(t){return i.default.Children.map(t,(function(t){return t.type===m.default?{key:t.props.navigationKey,label:t.props.label}:t.type===g.default?{key:t.props.label,label:t.props.label,childItems:e(t.props.children)}:null}))}(l).map(x)}]})))),i.default.createElement("div",{ref:T,className:k("side-nav-body")},i.default.createElement("div",{ref:R,className:k("page-body"),inert:U?"true":null},i.default.createElement(v.default.Provider,{value:Y},$)),U?i.default.createElement("div",{ref:A,className:k("side-nav-overlay"),onClick:function(){H(!1)}}):null)))};P.propTypes=E;var S=P;t.default=S},21371:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(861)),o=r(n(67294)),i=r(n(73935)),l=r(n(45697)),u=r(n(62791)),s=r(n(19291)),c={navigationKey:l.default.string.isRequired,label:l.default.string.isRequired,renderLayout:l.default.func,renderPage:l.default.func,children:l.default.node,isActive:l.default.bool,portalElement:l.default.instanceOf(HTMLElement)},d=function(e){var t,n=e.navigationKey,r=e.children,l=e.renderLayout,c=e.renderPage,d=e.isActive,f=e.portalElement,p=o.default.useContext(u.default),m=o.default.useMemo((function(){return{isActive:d&&p.isActive,navigationKeys:[].concat((0,a.default)(p.navigationKeys),[n])}}),[d,n,p.isActive,p.navigationKeys]);return t=l?l({isActive:d}):c?o.default.createElement(s.default,null,c({isActive:d})):r,i.default.createPortal(o.default.createElement(u.default.Provider,{value:m},t),f)};d.propTypes=c;var f=d;t.default=f},62791:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.contextShape=void 0;var a=n(67294),o=r(n(45697)),i=(0,a.createContext)({isActive:!0,navigationKeys:[]}),l={isActive:o.default.bool,navigationKeys:o.default.arrayOf(o.default.string)};t.contextShape=l;var u=i;t.default=u},50620:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigationItemContext",{enumerable:!0,get:function(){return i.default}}),t.default=void 0,Object.defineProperty(t,"navigationItemContextShape",{enumerable:!0,get:function(){return i.contextShape}});var o=r(n(21371)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(62791));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var u=o.default;t.default=u},11980:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(38416)),i=r(n(27424)),l=h(n(67294)),u=r(n(45697)),s=r(n(47166)),c=h(n(51051)),d=n(21538),f=r(n(4844)),p=r(n(50259));function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t0&&(r=o.concat([t.path]),!0)})),r},w=function(e,t){return _(e,t).reduce((function(e,t){return e[t]=!0,e}),{})},k=function(e){var t=e.id,n=e.selectedPath,r=void 0===n?void 0:n,a=e.menuItems,u=e.onSelect,s=l.default.useRef(),p=(0,l.useState)(w(a[0],r)),m=(0,i.default)(p,2),h=m[0],b=m[1],y=(0,l.useRef)(),_=(0,l.useRef)(0),k=(0,l.useRef)(),O=(0,l.useRef)(r),E=[],x=l.default.useContext(d.ThemeContext),P=function(e){var t=y.current&&s.current?s.current.querySelector("#".concat(y.current)):null;t&&t.setAttribute("tabIndex",e)},S=function(){var e=y.current&&s.current?s.current.querySelector("#".concat(y.current)):null;e&&e.focus()};(0,l.useEffect)((function(){var e,t,n=null===(e=k.current)||void 0===e?void 0:e.getAttribute("id");(t=n?E.findIndex((function(e){return e.id===n})):0)>=0&&(_.current=t,y.current=E[_.current].id,P("0")),k&&k.current&&k.current.scrollIntoView()}),[]),(0,l.useEffect)((function(){var e,t=null===(e=k.current)||void 0===e?void 0:e.getAttribute("id"),n=E.findIndex((function(e){return e.id===t}));n>=0&&(_.current=n,y.current=E[_.current].id)}),[r]),(0,l.useEffect)((function(){if(y.current&&(_.current=E.findIndex((function(e){return e.id===y.current}))),O.current!==r){var e=null!=k&&k.current?k.current.getBoundingClientRect():null,t=s.current.getBoundingClientRect();e&&t&&(e.bottom>t.bottom||e.top=1&&(P("-1"),_.current-=1,y.current=E[_.current].id,P("0"),S());break;case c.KEY_RIGHT:e.preventDefault(),y.current&&(n=s.current.querySelector("#".concat(y.current)).getAttribute("aria-expanded"))&&("true"===n?D():C(e,t));break;case c.KEY_LEFT:e.preventDefault(),y.current&&((n=s.current.querySelector("#".concat(y.current)).getAttribute("aria-expanded"))&&"true"===n?C(e,t):function(){if(y.current){var e=E.find((function(e){return e.id===y.current})).parent;e&&(P("-1"),_.current=E.findIndex((function(t){return t.id===e})),y.current=E[_.current].id,P("0"),S())}}());break;case c.KEY_HOME:e.preventDefault(),P("-1"),_.current=0,y.current=E[_.current].id,P("0"),S();break;case c.KEY_END:e.preventDefault(),P("-1"),_.current=E.length-1,y.current=E[_.current].id,P("0"),S();break;default:if(e.nativeEvent.keyCode>=c.KEY_A&&e.nativeEvent.keyCode<=c.KEY_Z)e.preventDefault(),function(e){var t=E.slice(_.current+1,E.length),n=(t=t.concat(E.slice(0,_.current))).find((function(t){return t.id[0].toUpperCase()===e}));n&&(P("-1"),_.current=E.findIndex((function(e){return e.id===n.id})),y.current=n.id,P("0"),S())}(String.fromCharCode(e.nativeEvent.keyCode))}};return l.default.createElement("div",{ref:s,className:g("collapsing-navigation-menu",x.className),id:"terra-dev-site-nav-menu",role:"tree"},a?function e(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;if(n)return n.map((function(n,u){var s;s=i?"".concat(i,"-").concat(u):"idxPath-".concat(u);var c="".concat(t,"-").concat(s),d=!!h[n.path],p=r===n.path;return E.push({id:c,parentId:a}),l.default.createElement(f.default,{id:c,key:c,item:n,itemIsOpen:d,isSelected:p,childItems:d?e(n.childItems,c,!1,s):null,firstLevel:o,handleKeyDown:j,handleOnClick:C,ref:p?k:null})}))}(a[0].childItems,"",!0):void 0)};k.propTypes=y;var O=k;t.default=O},4844:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(10434)),o=r(n(67294)),i=r(n(45697)),l=r(n(47166)),u=r(n(60196)),s=r(n(51162)),c=r(n(50259)),d=l.default.bind(c.default),f={item:i.default.shape({text:i.default.string,path:i.default.string,childItems:i.default.arrayOf(i.default.object),name:i.default.string}).isRequired,id:i.default.string.isRequired,itemIsOpen:i.default.bool,isSelected:i.default.bool,childItems:i.default.arrayOf(i.default.element),firstLevel:i.default.bool,handleKeyDown:i.default.func.isRequired,handleOnClick:i.default.func.isRequired},p=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},m=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},h=o.default.forwardRef((function(e,t){var n=e.item,r=e.id,i=e.itemIsOpen,c=e.isSelected,f=e.childItems,h=e.firstLevel,b=e.handleKeyDown,v=e.handleOnClick,g=void 0!==n.childItems,y=(0,l.default)(d(["item",{"is-selected":c}])),_=g?{"aria-expanded":i}:{};return o.default.createElement(o.default.Fragment,{key:n.path},o.default.createElement("div",{className:h?null:d("indent")},o.default.createElement("div",(0,a.default)({className:y,tabIndex:"-1",role:"treeitem","aria-selected":c,id:r,onKeyDown:function(e){return b(e,n)},onClick:function(e){return v(e,n)},onBlur:p,onMouseDown:m,"data-focus-styles-enabled":!0,ref:t},_),g?o.default.createElement("span",{className:d("disclosure")},i?o.default.createElement(s.default,{className:d("caret")}):o.default.createElement(u.default,{className:d("caret")})):null,n.name),f))}));h.propTypes=f;var b=h;t.default=b},15708:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67294)),i=r(n(45697)),l=r(n(47166)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(55281)),s=r(n(53386)),c=n(21538),d=n(7591),f=r(n(55923));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var m=l.default.bind(f.default),h={onRequestClose:i.default.func,label:i.default.string},b=function(e){var t=e.onRequestClose,n=e.label,r=o.default.useContext(c.ThemeContext),a=o.default.useContext(d.ApplicationIntlContext);return o.default.createElement("div",{className:m("page-header-container",r.className)},o.default.createElement("div",{className:m("page-layout-header")},t?o.default.createElement("div",{className:m("back-button-container")},o.default.createElement(u.default,{className:m(["header-button","back-button"]),icon:o.default.createElement(s.default,null),text:a.formatMessage({id:"terraDevSite.pageHeader.back"}),onClick:t,variant:u.ButtonVariants.UTILITY})):null,o.default.createElement("div",{className:m("label-container")},n)))};b.propTypes=h;var v=b;t.default=v},94794:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=r(n(67294)),l=r(n(45697)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(67838)),s=r(n(47166)),c=r(n(19301));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}var f=s.default.bind(c.default),p={children:l.default.node,className:l.default.string},m=function(e){var t=e.children,n=(e.className||"").replace(/language-/,"");return i.default.createElement(u.default,(0,o.default)({},u.defaultProps,{code:t,language:n,theme:void 0}),(function(e){var t=e.className,n=e.tokens,r=e.getLineProps,a=e.getTokenProps;return i.default.createElement("code",{className:f("code",t)},n.slice(0,-1).map((function(e,t){return i.default.createElement("div",r({line:e,key:t}),e.map((function(e,t){return i.default.createElement("span",a({token:e,key:t}))})))})))}))};m.propTypes=p;var h=m;t.default=h},43919:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(67294)),l=r(n(45697)),u=r(n(47166)),s=r(n(47341)),c=r(n(19301));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}var f=u.default.bind(c.default),p={Tag:l.default.string,props:l.default.shape({className:l.default.string.isRequired,children:l.default.node,id:l.default.string})},m=function(e){var t=e.Tag,n=e.props,r=(0,i.useRef)(null),a=i.default.useContext(s.default);return(0,i.useEffect)((function(){if(window.location&&!(window.location.length<2)){var e=window.location.hash.slice(1);n.id===e&&r.current.scrollIntoView()}}),[n.id]),i.default.createElement(t,(0,o.default)({},n,{className:[f(t),n.className].join(" ")}),i.default.createElement("a",{ref:r,"aria-hidden":"true",href:"#".concat(n.id),tabIndex:"-1",className:f("a","anchor")},i.default.createElement("span",{className:f("icon","icon-link",a.className)})),n.children)};m.propTypes=p;var h=m;t.default=h},73453:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(10434)),o=r(n(67294)),i=r(n(45697)),l=r(n(47166)),u=n(21538),s=r(n(19301)),c=l.default.bind(s.default),d={Tag:i.default.string,props:i.default.shape({className:i.default.string,children:i.default.node})},f=function(e){var t=e.Tag,n=e.props,r=o.default.useContext(u.ThemeContext),i=(0,l.default)(c(t,r.className),n.className);return o.default.createElement(t,(0,a.default)({},n,{className:i}),n.children)};f.propTypes=d;var p=f;t.default=p},44445:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=n(81254),i=r(n(45697)),l=r(n(73453)),u=r(n(43919)),s=r(n(94794)),c={children:i.default.node},d={a:function(e){return(0,l.default)({Tag:"a",props:e})},blockquote:function(e){return(0,l.default)({Tag:"blockquote",props:e})},code:function(e){return(0,s.default)(e)},dd:function(e){return(0,l.default)({Tag:"dd",props:e})},dl:function(e){return(0,l.default)({Tag:"dl",props:e})},dt:function(e){return(0,l.default)({Tag:"dt",props:e})},h1:function(e){return(0,u.default)({Tag:"h1",props:e})},h2:function(e){return(0,u.default)({Tag:"h2",props:e})},h3:function(e){return(0,u.default)({Tag:"h3",props:e})},h4:function(e){return(0,u.default)({Tag:"h4",props:e})},h5:function(e){return(0,u.default)({Tag:"h5",props:e})},h6:function(e){return(0,u.default)({Tag:"h6",props:e})},hr:function(e){return(0,l.default)({Tag:"hr",props:e})},img:function(e){return(0,l.default)({Tag:"img",props:e})},input:function(e){return(0,l.default)({Tag:"input",props:e})},kbd:function(e){return(0,l.default)({Tag:"kbd",props:e})},li:function(e){return(0,l.default)({Tag:"li",props:e})},ol:function(e){return(0,l.default)({Tag:"ol",props:e})},p:function(e){return(0,l.default)({Tag:"p",props:e})},pre:function(e){return(0,l.default)({Tag:"pre",props:e})},strong:function(e){return(0,l.default)({Tag:"strong",props:e})},table:function(e){return(0,l.default)({Tag:"table",props:e})},td:function(e){return(0,l.default)({Tag:"td",props:e})},th:function(e){return(0,l.default)({Tag:"th",props:e})},tr:function(e){return(0,l.default)({Tag:"tr",props:e})},ul:function(e){return(0,l.default)({Tag:"ul",props:e})}},f=function(e){var t=e.children;return a.default.createElement(o.MDXProvider,{components:d},t)};f.propTypes=c;var p=f;t.default=p},73721:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67294)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(93670)),l=r(n(34171)),u=n(48514),s=r(n(10027)),c=r(n(17092));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}var f={sites:n(78747).sitesShape.isRequired},p=function(e){var t=e.sites,n=o.default.useContext(u.DisclosureManagerContext);return o.default.createElement(s.default,{header:o.default.createElement(c.default,{title:"Application Switcher",onBack:n.goBack,onClose:n.closeDisclosure}),fill:!0},o.default.createElement(i.default,{dividerStyle:"bottom-only",paddingStyle:"standard"},t.map((function(e){return o.default.createElement(i.Item,{key:e.url},o.default.createElement(l.default,{"data-app-switcher-link":!0,href:e.url},e.title))}))))};p.propTypes=f;var m=p;t.default=m},26935:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27424)),i=_(n(67294)),l=n(39711),u=n(48514),s=r(n(10027)),c=r(n(17092)),d=r(n(47166)),f=_(n(93670)),p=r(n(85642)),m=n(21538),h=r(n(18392)),b=r(n(15858)),v=n(78747),g=r(n(68366));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}var w=d.default.bind(g.default),k={pageConfig:v.pageConfigShape.isRequired},O=function(e,t,n){var r=t.searchItems;r&&n({results:new h.default(r,{shouldSort:!0,tokenize:!0,includeMatches:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:2,keys:["title","tags"]}).search(e),searchString:e,searchItems:r})},E=function(e,t){var n=t.matches.filter((function(t){return t.key===e})).map((function(e){var t=0,n=e.indices.reduce((function(n,r){return n.push(e.value.slice(t,r[0])),n.push(i.default.createElement("span",{key:r[0]},e.value.slice(r[0],r[1]+1))),t=r[1]+1,n}),[]);return n.push(e.value.slice(t)),n}));return 1===n.length?n[0]:t.item[e]},x=function(e){var t=e.pageConfig,n=(0,i.useState)({results:[]}),r=(0,o.default)(n,2),a=r[0],d=r[1],h=(0,l.useHistory)();!function(e,t,n){if(!t.searchItems){var r=Object.entries(e).map((function(e){var t=(0,o.default)(e,2),n=t[0];return{title:t[1].label,path:n,tags:n.split("/")}})),a=t.results,i=t.searchString;n({results:a,searchString:i,searchItems:r}),O(i,t,n)}}(t,a,d);var v=a.searchItems,g=a.searchString,y=a.results,_=i.default.useContext(m.ThemeContext),k=i.default.useContext(u.DisclosureManagerContext),x=(0,i.useRef)(null);return(0,i.useEffect)((function(){x.focus()}),[]),i.default.createElement(s.default,{header:i.default.createElement(i.default.Fragment,null,i.default.createElement(c.default,{title:"Site Search",onBack:k.goBack,onClose:k.closeDisclosure}),i.default.createElement(p.default,{className:w("search-field",_.className),isBlock:!0,placeholder:"Search",onSearch:function(e){return O(e,a,d)},onInvalidSearch:function(){return function(e){return e({results:[]})}(d)},inputRefCallback:function(e){x=e}})),fill:!0},v&&g&&y.length<=0&&i.default.createElement(b.default,{variant:"no-matching-results"}),y.length>0&&i.default.createElement(f.default,{dividerStyle:"standard",role:"listbox","aria-label":"Search Results",className:w(_.className)},a.results.slice(0,25).map((function(e){return i.default.createElement(f.Item,{key:e.item.path,id:e.item.path.replace(/\//g,"-"),isSelectable:!0,metaData:e,onSelect:function(e,t){k.dismiss(),h.push(t.item.path)}},function(e){return i.default.createElement("div",{className:w("item")},i.default.createElement("div",{className:w("title")},E("title",e)),i.default.createElement("div",{className:w("path")},E("path",e)))}(e))}))))};x.propTypes=k;var P=x;t.default=P},72419:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27424)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(67294)),l=r(n(55281)),u=r(n(60377)),s=r(n(10027)),c=r(n(17092)),d=r(n(20251)),f=r(n(47717)),p=r(n(47166)),m=n(48514),h=r(n(40958)),b=r(n(15650));function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}var g=p.default.bind(b.default),y=function(){var e=i.default.useContext(h.default),t=(0,i.useState)({locale:e.currentLocale,theme:e.currentTheme,direction:e.currentDirection}),n=(0,o.default)(t,2),r=n[0],a=n[1],p=r.locale,b=r.theme,v=r.direction,y=e.locales,_=e.themes,w=e.directions,k=i.default.useContext(m.DisclosureManagerContext);return i.default.createElement(s.default,{fill:!0,header:i.default.createElement(c.default,{title:"Settings",onBack:k.goBack,onClose:k.closeDisclosure}),footer:i.default.createElement(u.default,{end:i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,{text:"Submit",id:"submit",variant:l.default.Opts.Variants.EMPHASIS,className:g("button"),onClick:function(){e.onUpdate({locale:p,theme:b,direction:v}),k.dismiss()}}),i.default.createElement(l.default,{text:"Cancel",id:"cancel",className:g("button"),onClick:function(){k.dismiss()}}))})},i.default.createElement("div",{className:g("container")},y.length>1?i.default.createElement(f.default,{label:"Locale",htmlFor:"terra-dev-site-locale-select"},i.default.createElement(d.default,{isFilterStyle:!0,ariaLabel:"Locale",id:"terra-dev-site-locale-select",value:p,onChange:function(e){a({locale:e.currentTarget.value,theme:b,direction:v})},options:y.map((function(e){return{value:e,display:e}}))})):void 0,_.length>1?i.default.createElement(f.default,{label:"Theme",htmlFor:"terra-dev-site-theme-select"},i.default.createElement(d.default,{isFilterStyle:!0,ariaLabel:"Theme",id:"terra-dev-site-theme-select",value:b,onChange:function(e){a({locale:p,theme:e.currentTarget.value,direction:v})},options:_.map((function(e){return{value:e,display:e}}))})):void 0,w.length>1?i.default.createElement(f.default,{label:"Direction",htmlFor:"terra-dev-site-direction-select"},i.default.createElement(d.default,{isFilterStyle:!0,ariaLabel:"Direction",id:"terra-dev-site-direction-select",value:v,onChange:function(e){a({locale:p,theme:b,direction:e.currentTarget.value})},options:w.map((function(e){return{value:e,display:e}}))})):void 0))};t.default=y},81303:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27424)),i=r(n(67294)),l=r(n(66735)),u=r(n(15048)),s=n(39711),c=r(n(55281)),d=n(48514),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(17358)),p=r(n(56599)),m=n(78747),h=r(n(70713)),b=r(n(73839)),v=n(50620),g=r(n(72419));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}var _={pageContentConfig:m.pageContentConfigShape.isRequired,contentImports:m.contentImportsShape.isRequired},w=function(e){var t=e.pageContentConfig,n=e.contentImports,r=(0,s.useLocation)(),a=(0,s.useHistory)(),m=i.default.useContext(v.NavigationItemContext).isActive,y=i.default.useContext(d.DisclosureManagerContext),_=i.default.useState(),w=(0,o.default)(_,2),k=w[0],O=w[1],E=i.default.useState(),x=(0,o.default)(E,2),P=x[0],S=x[1];if(!m)return null;if(!t)return b.default;var C=n[t.path];if(!C)return b.default;var D,j,T=i.default.createElement(f.default.Actions,null,i.default.createElement(f.default.Action,{actionKey:"raw",label:"Raw",icon:i.default.createElement(l.default,null),onSelect:function(){a.push("/raw".concat(t.path))}}),i.default.createElement(f.default.Action,{actionKey:"settings",label:"Settings",icon:i.default.createElement(u.default,null),onSelect:function(){y.disclose({preferredType:"modal",size:"small",content:{key:"terra-dev-site.settings",component:i.default.createElement(g.default,null)}})}}));return k&&(D=i.default.createElement(f.PageActivityOverlay,{variant:"loading"})),P&&(j=i.default.createElement(h.default,{type:t.type},i.default.createElement(f.StatusLayout,{message:"Chunk failed to load.",variant:"error"},i.default.createElement(c.default,{text:"Reload Site",onClick:function(){r.reload()}})))),i.default.createElement(f.default,{label:t.label,pageKey:t.path,actions:T,activityOverlay:D,statusOverlay:j},i.default.createElement(p.default,{onLoadStart:function(){O(!0)},onLoadEnd:function(){O(!1)},onError:function(){S(!0),O(!1)}},i.default.createElement(f.CardLayout,null,i.default.createElement(f.Card,{minHeightFill:!0},i.default.createElement(h.default,{type:t.type},i.default.createElement(C,{key:t.path}))))))};w.propTypes=_;var k=w;t.default=k},73839:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67294)),i=r(n(86442)),l=n(50620),u=r(n(82906)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(17358));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var d=function(){return o.default.useContext(l.NavigationItemContext).isActive?o.default.createElement(s.default,{pageKey:"Not Found Page",label:"Page not found"},o.default.createElement(s.CardLayout,null,o.default.createElement(s.Card,{minHeightFill:!0},o.default.createElement(i.default,{src:u.default,width:"100%",alt:"404",variant:"rounded"})))):null};t.default=d},25911:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(47166)),l=r(n(47341)),u=r(n(41733)),s=r(n(60945)),c=r(n(67403)),d=r(n(78169)),f=r(n(66328)),p=i.default.bind(f.default),m={label:o.default.string.isRequired,actions:o.default.element,onRequestClose:o.default.func,activityOverlay:o.default.element,statusOverlay:o.default.element,children:o.default.node},h=function(e){var t=e.label,n=e.actions,r=e.onRequestClose,o=e.children,i=e.statusOverlay,d=e.activityOverlay;if(n&&n.type!==c.default)throw new Error("[terra-application] Page.Actions must be used to define actions for ".concat(t,"."));var f=a.default.useContext(l.default),m=r?function(){r()}:void 0,h=p("page",f.className),b=a.default.useMemo((function(){var e=[];return i&&e.push({key:"status-overlay",component:i}),d&&e.push({key:"activity-overlay",component:d}),e}),[i,d]);return a.default.createElement("div",{className:h},a.default.createElement("div",{className:p("header")},a.default.createElement(s.default,{onSelectBack:m,label:t,actions:n})),a.default.createElement("div",{className:p("content")},a.default.createElement(u.default,{overlays:b},o)))};h.propTypes=m,h.Actions=c.default,h.Action=d.default;var b=h;t.default=b},78169:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i={icon:o.default.element,label:o.default.string.isRequired,onSelect:o.default.func,refCallback:o.default.func},l=function(){return a.default.createElement(a.default.Fragment,null)};l.propTypes=i;var u=l;t.default=u},67403:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o={children:r(n(45697)).default.node},i=function(){return a.default.createElement(a.default.Fragment,null)};i.propTypes=o;var l=i;t.default=l},60945:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(70215)),i=r(n(27424)),l=r(n(67294)),u=r(n(45697)),s=r(n(47166)),c=r(n(53386)),d=r(n(21813)),f=r(n(92306)),p=r(n(47341)),m=k(n(89292)),h=n(7591),b=k(n(80519)),v=r(n(44881)),g=r(n(69298)),y=r(n(47741)),_=["icon"];function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}var O=s.default.bind(y.default),E={actions:u.default.element,label:u.default.string,onSelectBack:u.default.func},x=function(e){var t=e.actions,n=e.label,r=e.onSelectBack,a=l.default.useContext(h.ApplicationIntlContext),u=l.default.useContext(v.default),s=l.default.useContext(p.default),y=l.default.useRef(),w=l.default.useRef(),k=l.default.useState(!1),E=(0,i.default)(k,2),x=E[0],P=E[1],S=(0,b.default)(y,b.breakpointFilter).activeBreakpoint,C=[];if(t&&(C=l.default.Children.toArray(t.props.children).filter((function(e){return e}))),C.length>3)throw new Error("[terra-application] ".concat(n," cannot render more than three actions."));var D="tiny"===S&&C.length>1,j=r?l.default.createElement(g.default,{icon:l.default.createElement(c.default,null),ariaLabel:a.formatMessage({id:"terraDevSite.pageHeader.back"}),onSelect:r}):void 0,T=D?l.default.createElement(g.default,{refCallback:function(e){w.current=e,C.forEach((function(t){t.props.refCallback&&t.props.refCallback(e)}))},className:O("header-button"),icon:l.default.createElement(d.default,null),ariaLabel:a.formatMessage({id:"terraDevSite.pageHeader.moreActions"}),onSelect:function(){P(!0)}}):C.map((function(e){return l.default.createElement(g.default,{key:e.key,refCallback:e.props.refCallback,icon:e.props.icon,ariaLabel:e.props.label,onSelect:e.props.onSelect})})),M=l.default.createElement(l.default.Fragment,null,T,null!=u&&u.containerActions.length?l.default.createElement(l.default.Fragment,null,C.length?l.default.createElement("div",{className:O("actions-divider")}):void 0,u.containerActions.map((function(e){return l.default.createElement(g.default,{key:e.key,ariaLabel:e.label,icon:e.icon,onSelect:e.onSelect,isDisabled:!e.onSelect})}))):void 0),A=l.default.createElement(l.default.Fragment,null,null!=u&&u.startActions.length?l.default.createElement(l.default.Fragment,null,u.startActions.map((function(e){var t=e.icon,n=(0,o.default)(e,_);return l.default.createElement(g.default,{key:n.key,ariaLabel:n.label,icon:l.default.createElement(t,null),onSelect:n.onSelect,isDisabled:!n.onSelect})})),l.default.createElement("div",{className:O("actions-divider")})):void 0),N=x?l.default.createElement(f.default,{isOpen:!0,targetRef:function(){return w.current},onRequestClose:function(){P(!1)},contentHeight:"auto",contentWidth:"auto",contentAttachment:"top right",isContentFocusDisabled:!0,isHeaderDisabled:!0,popupContentRole:"none"},l.default.createElement(m.default,{label:a.formatMessage({id:"terraDevSite.pageHeader.actionsMenu"},{label:n}),onRequestClose:function(){P(!1)}},C.map((function(e){return l.default.createElement(m.ActionMenuItem,{key:e.key,actionKey:e.key,label:e.props.label,isDisabled:!e.props.onSelect,icon:e.props.icon,onAction:function(){P(!1),e.props.onSelect()}})})))):void 0,I=O("page-header-container",s.className);return l.default.createElement("div",{ref:y,className:I},l.default.createElement("div",{className:O("page-header")},l.default.createElement("div",{className:O("start-actions-container")},A,j),l.default.createElement("div",{className:O("label-container"),role:"heading","aria-level":1},n),l.default.createElement("div",{className:O("end-actions-container")},M)),N)};x.propTypes=E;var P=x;t.default=P},69298:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(47166)),l=r(n(47341)),u=r(n(93141)),s=i.default.bind(u.default),c={ariaLabel:o.default.string.isRequired,icon:o.default.element.isRequired,onSelect:o.default.func,refCallback:o.default.func},d=function(e){var t=e.ariaLabel,n=e.icon,r=e.onSelect,o=e.refCallback,i=a.default.useContext(l.default),u=s("page-header-button",i.className);return a.default.createElement("button",{type:"button",className:u,onClick:r?function(e){e.preventDefault(),r()}:void 0,onBlur:function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},onMouseDown:function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},"aria-label":t,disabled:!r,"data-focus-styles-enabled":!0,ref:o},a.default.createElement("div",{"aria-hidden":!0,className:s("button-inner")},a.default.createElement("div",{className:s("button-image"),title:t},n)))};d.propTypes=c;var f=d;t.default=f},17358:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"CardLayout",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"PageActivityOverlay",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"StatusLayout",{enumerable:!0,get:function(){return i.default}}),t.default=void 0;var a=r(n(74146)),o=r(n(27459)),i=r(n(4119)),l=r(n(23916)),u=r(n(25911)).default;t.default=u},27459:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(47166)),l=r(n(47341)),u=r(n(57102)),s=i.default.bind(u.default),c={children:o.default.node},d=function(e){var t=e.children,n=a.default.useContext(l.default);return a.default.createElement("div",{className:s("card",n.className)},a.default.createElement("div",{className:s("card-body")},t))};d.propTypes=c;var f=d;t.default=f},74146:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(47166)),i=r(n(45697)),l=r(n(41295)),u=o.default.bind(l.default),s={children:i.default.node},c=function(e){var t,n=e.children;return t=1===a.default.Children.count(n)?n:a.default.Children.map(n,(function(e){return a.default.createElement("div",{className:u("card-container")},e)})),a.default.createElement("div",{className:u("card-layout"),"data-application-overflow-container":!0,tabIndex:"0"},t)};c.propTypes=s;var d=c;t.default=d},4119:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StatusViewVariants=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(55281)),l=r(n(47166)),u=r(n(19585)),s=r(n(74146)),c=r(n(27459)),d=r(n(1847)),f=l.default.bind(d.default);t.StatusViewVariants={NODATA:"no-data",NOMATCHINGRESULTS:"no-matching-results",NOTAUTHORIZED:"not-authorized",ERROR:"error"};var p={buttonAttrs:o.default.arrayOf(o.default.shape(i.default.propTypes)),customGlyph:o.default.node,isAlignedTop:o.default.bool,isGlyphHidden:o.default.bool,message:o.default.string,title:o.default.string,variant:o.default.oneOf(["no-data","no-matching-results","not-authorized","error"])},m={buttonAttrs:[],customGlyph:void 0,isAlignedTop:!1,isGlyphHidden:!1,message:void 0,title:void 0,variant:void 0},h=function(e){return a.default.createElement(s.default,null,a.default.createElement(c.default,null,a.default.createElement("div",{classnames:f("outer-view")},a.default.createElement("div",{classnames:f("inner-view")},a.default.createElement(u.default,e)))))};h.propTypes=p,h.defaultProps=m;var b=h;t.default=b},23916:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(47166)),l=n(25387),u=r(n(30082)),s=r(n(47341)),c=r(n(93496)),d=i.default.bind(c.default),f={variant:o.default.oneOf(["default","loading"])},p=function(e){var t=e.variant,n=a.default.useContext(s.default);return a.default.createElement("div",{className:d("activity-overlay",n.className),"aria-live":"polite"},a.default.createElement("div",{className:d("content")},a.default.createElement(u.default,{className:d("icon"),isSpin:!0,height:"36",width:"36"}),"loading"===t?a.default.createElement(l.FormattedMessage,{id:"terraDevSite.pageActivityOverlayContainer.loading"},(function(e){return a.default.createElement("div",{className:d("message")},e)})):void 0))};p.propTypes=f,p.defaultProps={variant:"default"};var m=p;t.default=m},54334:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(56690)),o=r(n(89728)),i=r(n(61655)),l=r(n(94993)),u=r(n(73808)),s=r(n(67294)),c=r(n(45697)),d=r(n(44844));function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var a=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var p={onCatchError:c.default.func,children:c.default.node},m=function(e){(0,i.default)(n,e);var t=f(n);function n(e){var r;return(0,a.default)(this,n),(r=t.call(this,e)).state={error:void 0},r}return(0,o.default)(n,[{key:"componentDidCatch",value:function(e){if(d.default.error(e),!this.props.onCatchError)throw e;this.props.onCatchError(e)}},{key:"render",value:function(){return this.state.error?null:this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}}]),n}(s.default.Component);m.propTypes=p;var h=m;t.default=h},56599:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(27424)),o=r(n(67294)),i=r(n(45697)),l=r(n(54334)),u=function(e){var t=e.children,n=e.onMount;return o.default.useLayoutEffect((function(){return n(!0),function(){return n(!1)}}),[n]),t||o.default.createElement("div",null)};u.propTypes={onMount:i.default.func,children:i.default.node};var s=function(e){var t=e.onLoadStart,n=e.onLoadEnd,r=e.onError,i=e.fallback,s=e.children,c=o.default.useState(!1),d=(0,a.default)(c,2),f=d[0],p=d[1],m=o.default.useRef(!1);return o.default.useEffect((function(){t&&f&&!m.current&&(m.current=!0,t())}),[t,f]),o.default.useEffect((function(){n&&!f&&m.current&&n()}),[n,f]),o.default.createElement(l.default,{onCatchError:function(e){r&&r(e)}},o.default.createElement(o.default.Suspense,{fallback:o.default.createElement(u,{onMount:p},i)},s))};s.propTypes={onLoadStart:i.default.func,onLoadEnd:i.default.func,onError:i.default.func,fallback:i.default.node,children:i.default.node};var c=s;t.default=c},80519:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.breakpointFilter=void 0;var a=r(n(27424)),o=r(n(67294)),i=r(n(32018)),l=n(29291),u=function(e){var t=e.width,n=e.height;return{activeBreakpoint:(0,l.activeBreakpointForSize)(t),width:t,height:n}};t.breakpointFilter=function(e,t){return e.activeBreakpoint!==t.activeBreakpoint};var s=function(e,t){var n=o.default.useRef(t),r=o.default.useRef(),l=o.default.useRef(),s=o.default.useState({}),c=(0,a.default)(s,2),d=c[0],f=c[1];return o.default.useLayoutEffect((function(){var t=e.current,a=new i.default((function(e){r.current=window.requestAnimationFrame((function(){if(r.current=null,document.contains(e[0].target)){var t=u(e[0].target.getBoundingClientRect());n.current&&!n.current(t,l.current)||(l.current=t,f(t))}}))}));a.observe(e.current);var o=u(e.current.getBoundingClientRect());return l.current=o,f(o),function(){window.cancelAnimationFrame(r.current),a.disconnect(t)}}),[e,n]),d};t.default=s},58189:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.getPortalElement=t.default=void 0;var a=r(n(27424)),o=r(n(67294)),i=n(29200);t.getPortalElement=function(){var e=document.createElement("div");return e.style.position="relative",e.style.height="100%",e.style.width="100%",e};var l=function(e,t,n){var r=o.default.useRef(),l=o.default.useRef({}),u=o.default.useRef(),s=o.default.useState(),c=(0,a.default)(s,2),d=c[0],f=c[1];return o.default.useLayoutEffect((function(){if(r.current){var a=l.current[e];if(!r.current.contains(null==a?void 0:a.element)){if(u.current){var o=l.current[u.current].element;l.current[u.current].scrollData=(0,i.getPersistentScrollMap)(o),r.current.removeChild(o),n&&n(u.current,o)}null!=a&&a.element?(r.current.appendChild(a.element),a.scrollData&&(0,i.applyScrollData)(a.scrollData,a.element),u.current=e,f(e),t&&t(e,a.element)):u.current=void 0}}}),[e,t,n]),[r,l,d]};t.default=l},28357:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=n(39711),i=r(n(45697)),l=r(n(28955)),u=r(n(83011)),s=r(n(37498)),c=r(n(78747)),d=r(n(44445)),f=r(n(79567)),p=r(n(23090)),m={siteConfig:c.default.isRequired,Providers:i.default.func,ApplicationBase:i.default.func,ApplicationNavigation:i.default.func},h=function(e){var t=e.siteConfig,n=e.Providers,r=e.ApplicationBase,i=e.ApplicationNavigation;return a.default.createElement(s.default,{settingsConfig:t.settingsConfig},a.default.createElement(o.BrowserRouter,{basename:t.basename},a.default.createElement(f.default,{sites:t.sites,routesMap:t.routesMap},a.default.createElement(p.default,{ApplicationBase:r},a.default.createElement(d.default,null,a.default.createElement(l.default,null,n?a.default.createElement(n,null,a.default.createElement(u.default,{siteConfig:t,ApplicationNavigation:i})):a.default.createElement(u.default,{siteConfig:t,ApplicationNavigation:i})))))))};h.propTypes=m;var b=h;t.default=b},40958:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)).default.createContext({});t.default=a},37498:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27424)),i=r(n(38416)),l=r(n(18698)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(67294)),s=r(n(45697)),c=r(n(40958)),d=n(78747);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;tr?1:0})),w=function(e){var t=e.settingsConfig,n=e.children,r=t.defaultLocale,a=void 0===r?"en":r,i=t.defaultTheme,l=void 0===i?g:i,s=t.defaultDirection,d=void 0===s?"ltr":s,f=(0,u.useState)(a),p=(0,o.default)(f,2),m=p[0],h=p[1],v=(0,u.useState)(d),w=(0,o.default)(v,2),k=w[0],O=w[1],E=(0,u.useState)(l),x=(0,o.default)(E,2),P=x[0],S=x[1];(0,u.useEffect)((function(){var e=document.getElementsByTagName("html")[0];e.getAttribute("lang")!==m&&e.setAttribute("lang",m),e.getAttribute("dir")!==k&&e.setAttribute("dir",k)}),[m,k]);var C=(0,u.useMemo)((function(){return{locales:b,currentLocale:m,currentTheme:P,currentDirection:k,directions:["ltr","rtl"],themes:_,currentThemeClassName:y[P],onUpdate:function(e){var t=e.locale,n=e.theme,r=e.direction;t&&h(t),n&&S(n),r&&O(r)}}}),[m,P,k]);return u.default.createElement(c.default.Provider,{value:C},n)};w.propTypes=h;var k=w;t.default=k},23090:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=n(39711),i=r(n(45697)),l=r(n(81616)),u=r(n(40958)),s={children:i.default.node,ApplicationBase:i.default.func},c=function(e){var t=e.children,n=e.ApplicationBase,r=(0,o.useRouteMatch)("/raw"),i=a.default.useContext(u.default),s=i.currentLocale,c=i.currentThemeClassName,d=n||l.default;return a.default.createElement(d,{locale:s,themeName:c,themeIsGlobal:!0,unloadPromptIsDisabled:!!r},t)};c.propTypes=s;var d=c;t.default=d},79567:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=n(39711),i=r(n(45697)),l=n(78747),u=r(n(16673)),s={sites:l.sitesShape.isRequired,routesMap:l.routesMapShape.isRequired,children:i.default.node.isRequired},c=function(e){var t=e.sites,n=e.routesMap,r=e.children,i=(0,o.useRouteMatch)("/"),l=(0,o.useLocation)();if(i&&l.hash.startsWith("#/"))return a.default.createElement(o.Redirect,{to:"/".concat(l.hash.slice(2))});var s=l.pathname.toLocaleLowerCase(),c=t.find((function(e){return s.startsWith("/".concat(e.path))}));if(c)return void 0!==(0,u.default)()&&(window.sessionStorage.redirect=window.location.href),window.location.pathname=c.url,null;var d=n[1!==s.length&&s.endsWith("/")?s.slice(0,-1):s];return d?a.default.createElement(o.Redirect,{to:d}):r};c.propTypes=s;var d=c;t.default=d},86627:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"ZP",{enumerable:!0,get:function(){return a.default}});var a=r(n(28357)),o=r(n(78747))},78747:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.titleConfigShape=t.sitesShape=t.settingsConfigShape=t.routesMapShape=t.pageContentConfigShape=t.pageConfigShape=t.navigationConfigShape=t.default=t.contentImportsShape=void 0;var a=r(n(45697)),o=a.default.shape({defaultTheme:a.default.string,defaultLocale:a.default.string,defaultDirection:a.default.string});t.settingsConfigShape=o;var i=a.default.arrayOf(a.default.shape({path:a.default.string,title:a.default.string,url:a.default.string}));t.sitesShape=i;var l=a.default.arrayOf(a.default.shape({key:a.default.string,text:a.default.string,icon:a.default.elementType,modal:a.default.elementType})),u=a.default.shape({path:a.default.string,label:a.default.string.isRequired,type:a.default.string.isRequired});t.pageContentConfigShape=u;var s=a.default.arrayOf(a.default.shape({label:a.default.string.isRequired,pageConfig:u,children:a.default.array}));t.navigationConfigShape=s;var c=a.default.object;t.contentImportsShape=c;var d=a.default.object;t.pageConfigShape=d;var f=a.default.object;t.routesMapShape=f;var p=a.default.shape({title:a.default.string.isRequired,subline:a.default.string,headline:a.default.string});t.titleConfigShape=p;var m=a.default.shape({basename:a.default.string.isRequired,contentImports:c.isRequired,extensionItems:l.isRequired,navigationConfig:s,pageConfig:d.isRequired,routesMap:f.isRequired,settingsConfig:o.isRequired,sites:i.isRequired,titleConfig:p.isRequired,additionalConfig:a.default.object});t.default=m},70779:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return setTimeout(e,0)};t.default=n},29200:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.applyScrollData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;Object.entries(e).forEach((function(e){var n=(0,a.default)(e,2),r=n[0],o=n[1],i=t.querySelector('[data-persistent-overflow-id="'.concat(r,'"]'));i&&(i.scrollTop=o.scrollTop,i.scrollLeft=o.scrollLeft)}))},t.getOverflowDataForElement=s,t.getPersistentScrollMap=function(e){var t=e.querySelectorAll("[data-application-overflow-container]");return Array.prototype.slice.call(t).reduce((function(e,t){return u(u({},e),s(t))}),{})};var a=r(n(27424)),o=r(n(38416)),i=n(55877);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t8640000000000001?NaN:function(e){var t=n(e);if(isNaN(t)||r(t,-0))return 0;if(isFinite(t))return t;var a=Math.floor(Math.abs(t));return t<0&&(a=-a),r(a,-0)?0:a}(e):NaN},t.ToObject=function(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)},t.SameValue=r,t.ArrayCreate=function(e){return new Array(e)},t.HasOwnProperty=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.Type=function(e){return null===e?"Null":"undefined"==typeof e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0};var a=864e5;function o(e,t){return e-Math.floor(e/t)*t}function i(e){return Math.floor(e/a)}function l(e){return Date.UTC(e,0)/a}function u(e){return new Date(e).getUTCFullYear()}function s(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function c(e){return i(e)-l(u(e))}function d(e){return 365===s(u(e))?0:1}function f(e){var t=c(e),n=d(e);if(t>=0&&t<31)return 0;if(t<59+n)return 1;if(t<90+n)return 2;if(t<120+n)return 3;if(t<151+n)return 4;if(t<181+n)return 5;if(t<212+n)return 6;if(t<243+n)return 7;if(t<273+n)return 8;if(t<304+n)return 9;if(t<334+n)return 10;if(t<365+n)return 11;throw new Error("Invalid time")}t.Day=i,t.WeekDay=function(e){return o(i(e)+4,7)},t.DayFromYear=l,t.TimeFromYear=function(e){return Date.UTC(e,0)},t.YearFromTime=u,t.DaysInYear=s,t.DayWithinYear=c,t.InLeapYear=d,t.MonthFromTime=f,t.DateFromTime=function(e){var t=c(e),n=f(e),r=d(e);if(0===n)return t+1;if(1===n)return t-30;if(2===n)return t-58-r;if(3===n)return t-89-r;if(4===n)return t-119-r;if(5===n)return t-150-r;if(6===n)return t-180-r;if(7===n)return t-211-r;if(8===n)return t-242-r;if(9===n)return t-272-r;if(10===n)return t-303-r;if(11===n)return t-333-r;throw new Error("Invalid time")};var p=1e3;t.HourFromTime=function(e){return o(Math.floor(e/36e5),24)},t.MinFromTime=function(e){return o(Math.floor(e/6e4),60)},t.SecFromTime=function(e){return o(Math.floor(e/p),60)},t.OrdinaryHasInstance=function(e,t,n){if("function"!=typeof e)return!1;if(null==n?void 0:n.boundTargetFunction)return t instanceof(null==n?void 0:n.boundTargetFunction);if("object"!=typeof t)return!1;var r=e.prototype;if("object"!=typeof r)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(r,t)},t.msFromTime=function(e){return o(e,p)}},62242:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestAvailableLocale=void 0,t.BestAvailableLocale=function(e,t){for(var n=t;;){if(e.has(n))return n;var r=n.lastIndexOf("-");if(!~r)return;r>=2&&"-"===n[r-2]&&(r-=2),n=n.slice(0,r)}}},41736:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestFitMatcher=void 0;var r=n(62242),a=n(68193);t.BestFitMatcher=function(e,t,n){var o,i={},l=new Set;e.forEach((function(e){var t=new Intl.Locale(e).minimize().toString();i[t]=e,l.add(t)}));for(var u=0,s=t;un&&(n=c,i=s)}return r.__assign({},i)}},16882:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestFitFormatMatcher=t.bestFitFormatMatcherScore=void 0;var r=n(97582),a=n(68193),o=n(92872),i=n(87410);function l(e){return"numeric"===e||"2-digit"===e}function u(e,t){var n=0;e.hour12&&!t.hour12?n-=o.removalPenalty:!e.hour12&&t.hour12&&(n-=o.additionPenalty);for(var r=0,a=o.DATE_TIME_PROPS;rn&&(n=f,o=d)}var p=r.__assign({},o),m={rawPattern:o.rawPattern};for(var h in i.processDateTimePattern(o.rawPattern,m),p){var b=p[h],v=m[h],g=e[h];"minute"!==h&&"second"!==h&&(g&&(l(v)&&!l(g)||b!==g&&(m[h]=g)))}return m.pattern=p.pattern,m.pattern12=p.pattern12,m.skeleton=p.skeleton,m.rangePatterns=p.rangePatterns,m.rangePatterns12=p.rangePatterns12,m}},64650:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateTimeStyleFormat=void 0;var r=n(68193);t.DateTimeStyleFormat=function(e,t,n){var a,o;if(void 0!==t&&(r.invariant("full"===t||"long"===t||"medium"===t||"short"===t,"invalid timeStyle"),o=n.timeFormat[t]),void 0!==e&&(r.invariant("full"===e||"long"===e||"medium"===e||"short"===e,"invalid dateStyle"),a=n.dateFormat[e]),void 0!==e&&void 0!==t){var i={};for(var l in a)"pattern"!==l&&(i[l]=a[l]);for(var l in o)"pattern"!==l&&"pattern12"!==l&&(i[l]=o[l]);var u=n.dateTimeFormat[e],s=u.replace("{0}",o.pattern).replace("{1}",a.pattern);if(i.pattern=s,"pattern12"in o){var c=u.replace("{0}",o.pattern12).replace("{1}",a.pattern);i.pattern12=c}return i}return void 0!==t?o:(r.invariant(void 0!==e,"dateStyle should not be undefined"),a)}},12225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatDateTime=void 0;var r=n(85313);t.FormatDateTime=function(e,t,n){for(var a="",o=0,i=r.PartitionDateTimePattern(e,t,n);o-1){var D="",j=f[S];C=k[S];"year"===S&&C<=0&&(C=1-C),"month"===S&&C++;var T=f.hourCycle;if("hour"!==S||"h11"!==T&&"h12"!==T||0===(C%=12)&&"h12"===T&&(C=12),"hour"===S&&"h24"===T&&0===C&&(C=24),"numeric"===j)D=b.format(C);else if("2-digit"===j)(D=y.format(C)).length>2&&(D=D.slice(D.length-2,D.length));else if("narrow"===j||"short"===j||"long"===j)if("era"===S)D=p[S][j][C];else if("timeZoneName"===S){var M=p.timeZoneName,A=p.gmtFormat,N=p.hourFormat,I=M[f.timeZone||c()];D=I&&I[j]?I[j][+k.inDST]:l(A,N,k.timeZoneOffset,j)}else D="month"===S?p.month[j][C-1]:p[S][j][C];O.push({type:S,value:D})}else if("ampm"===S){D=void 0;D=(C=k.hour)>11?p.pm:p.am,O.push({type:"dayPeriod",value:D})}else if("relatedYear"===S){C=k.relatedYear,D=b.format(C);O.push({type:"relatedYear",value:D})}else if("yearName"===S){C=k.yearName,D=b.format(C);O.push({type:"yearName",value:D})}}return O}},88682:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatDateTimeRange=void 0;var r=n(68154);t.FormatDateTimeRange=function(e,t,n,a){for(var o="",i=0,l=r.PartitionDateTimeRangePattern(e,t,n,a);i11&&x<11||E<11&&x>11)&&(g=!1),c=O}}else if("fractionalSecondDigits"===k){var P=p.fractionalSecondDigits;void 0===P&&(P=3),(E=Math.floor(m.millisecond*Math.pow(10,P-3)))!==(x=Math.floor(h.millisecond*Math.pow(10,P-3)))&&(g=!1)}else{O=v[k];if(void 0!==c&&void 0===O)y=!0;else{E=m[k],x=h[k];a.SameValue(E,x)||(g=!1),c=O}}}if(g){for(var S=i.FormatDateTimePattern(e,l.PartitionPattern(b),t,s),C=0,D=S;Ce){i=(r=a[o-1])[2],l=r[3];break}return[1e3*i,l]}(e,n,i),u=l[0],s=l[1],c=e+u,d=a.YearFromTime(c);return{weekday:a.WeekDay(c),era:d<0?"BC":"AD",year:d,relatedYear:void 0,yearName:void 0,month:a.MonthFromTime(c),day:a.DateFromTime(c),hour:a.HourFromTime(c),minute:a.MinFromTime(c),second:a.SecFromTime(c),millisecond:a.msFromTime(c),inDST:s,timeZoneOffset:u}}},87410:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitRangePattern=t.splitFallbackRangePattern=t.parseDateTimeSkeleton=t.processDateTimePattern=void 0;var r=n(97582),a=n(4329),o=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,i=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function l(e,t){var n=e.length;switch(e[0]){case"G":return t.era=4===n?"long":5===n?"narrow":"short","{era}";case"y":case"Y":case"u":case"U":case"r":return t.year=2===n?"2-digit":"numeric","{year}";case"q":case"Q":throw new RangeError("`w/Q` (quarter) patterns are not supported");case"M":case"L":return t.month=["numeric","2-digit","short","long","narrow"][n-1],"{month}";case"w":case"W":throw new RangeError("`w/W` (week of year) patterns are not supported");case"d":return t.day=["numeric","2-digit"][n-1],"{day}";case"D":case"F":case"g":return t.day="numeric","{day}";case"E":return t.weekday=4===n?"long":5===n?"narrow":"short","{weekday}";case"e":case"c":return t.weekday=[void 0,void 0,"short","long","narrow","short"][n-1],"{weekday}";case"a":case"b":case"B":return t.hour12=!0,"{ampm}";case"h":case"K":return t.hour=["numeric","2-digit"][n-1],t.hour12=!0,"{hour}";case"H":case"k":return t.hour=["numeric","2-digit"][n-1],"{hour}";case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":return t.minute=["numeric","2-digit"][n-1],"{minute}";case"s":return t.second=["numeric","2-digit"][n-1],"{second}";case"S":case"A":return t.second="numeric","{second}";case"z":case"Z":case"O":case"v":case"V":case"X":case"x":return t.timeZoneName=n<4?"short":"long","{timeZoneName}"}return""}function u(e){switch(e){case"G":return"era";case"y":case"Y":case"u":case"U":case"r":return"year";case"M":case"L":return"month";case"d":case"D":case"F":case"g":return"day";case"a":case"b":case"B":return"ampm";case"h":case"H":case"K":case"k":return"hour";case"m":return"minute";case"s":case"S":case"A":return"second";default:throw new RangeError("Invalid range pattern token")}}function s(e,t){var n=[],r=e.replace(/'{2}/g,"{apostrophe}").replace(/'(.*?)'/g,(function(e,t){return n.push(t),"$$"+(n.length-1)+"$$"})).replace(o,(function(e){return l(e,t||{})}));return n.length&&(r=r.replace(/\$\$(\d+)\$\$/g,(function(e,t){return n[+t]})).replace(/\{apostrophe\}/g,"'")),[r.replace(/([\s\uFEFF\xA0])\{ampm\}([\s\uFEFF\xA0])/,"$1").replace("{ampm}","").replace(i,""),r]}function c(e){return e.split(/(\{[0|1]\})/g).filter(Boolean).map((function(e){switch(e){case"{0}":return{source:a.RangePatternType.startRange,pattern:e};case"{1}":return{source:a.RangePatternType.endRange,pattern:e};default:return{source:a.RangePatternType.shared,pattern:e}}}))}function d(e){for(var t,n=/\{(.*?)\}/g,r={},o=0;t=n.exec(e);){if(t[0]in r){o=t.index;break}r[t[0]]=t.index}return o?[{source:a.RangePatternType.startRange,pattern:e.slice(0,o)},{source:a.RangePatternType.endRange,pattern:e.slice(o)}]:[{source:a.RangePatternType.startRange,pattern:e}]}t.processDateTimePattern=s,t.parseDateTimeSkeleton=function(e,t,n,a){void 0===t&&(t=e);var i={pattern:"",pattern12:"",skeleton:e,rawPattern:t,rangePatterns:{},rangePatterns12:{}};if(n)for(var f in n){var p=u(f),m={patternParts:[]},h=s(n[f],m),b=h[0],v=h[1];i.rangePatterns[p]=r.__assign(r.__assign({},m),{patternParts:d(b)}),i.rangePatterns12[p]=r.__assign(r.__assign({},m),{patternParts:d(v)})}else if(a){var g=c(a);i.rangePatterns.default={patternParts:g},i.rangePatterns12.default={patternParts:g}}e.replace(o,(function(e){return l(e,i)}));var y=s(t),_=y[0],w=y[1];return i.pattern=_,i.pattern12=w,i},t.splitFallbackRangePattern=c,t.splitRangePattern=d},92872:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shortMorePenalty=t.shortLessPenalty=t.longMorePenalty=t.longLessPenalty=t.differentNumericTypePenalty=t.additionPenalty=t.removalPenalty=t.DATE_TIME_PROPS=void 0,t.DATE_TIME_PROPS=["weekday","era","year","month","day","hour","minute","second","timeZoneName"],t.removalPenalty=120,t.additionPenalty=20,t.differentNumericTypePenalty=15,t.longLessPenalty=8,t.longMorePenalty=6,t.shortLessPenalty=6,t.shortMorePenalty=3},25224:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultNumberOption=void 0,t.DefaultNumberOption=function(e,t,n,r){if(void 0!==e){if(e=Number(e),isNaN(e)||en)throw new RangeError(e+" is outside of range ["+t+", "+n+"]");return Math.floor(e)}return r}},2691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanonicalCodeForDisplayNames=void 0;var r=n(99861),a=n(68193),o=n(86013),i=/^([a-z]{2}|[0-9]{3})$/i,l=/^[a-z]{4}$/i;t.CanonicalCodeForDisplayNames=function(e,t){if("language"===e)return r.CanonicalizeLocaleList([t])[0];if("region"===e){if(n=t,!i.test(n))throw RangeError("invalid region");return t.toUpperCase()}var n,u;if("script"===e){if(u=t,!l.test(u))throw RangeError("invalid script");return""+t[0].toUpperCase()+t.slice(1).toLowerCase()}if(a.invariant("currency"===e,"invalid type"),!o.IsWellFormedCurrencyCode(t))throw RangeError("invalid currency");return t.toUpperCase()}},99324:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetNumberOption=void 0;var r=n(25224);t.GetNumberOption=function(e,t,n,a,o){var i=e[t];return r.DefaultNumberOption(i,n,a,o)}},78890:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetOption=void 0;var r=n(91470);t.GetOption=function(e,t,n,a,o){if("object"!=typeof e)throw new TypeError("Options must be an object");var i=e[t];if(void 0!==i){if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(i=Boolean(i)),"string"===n&&(i=r.ToString(i)),void 0!==a&&!a.filter((function(e){return e==i})).length)throw new RangeError(i+" is not within "+a.join(", "));return i}return o}},47714:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetOptionsObject=void 0,t.GetOptionsObject=function(e){if("undefined"==typeof e)return Object.create(null);if("object"==typeof e)return e;throw new TypeError("Options must be an object")}},4729:function(e,t){"use strict";function n(e){return e.slice(e.indexOf("-")+1)}Object.defineProperty(t,"__esModule",{value:!0}),t.IsSanctionedSimpleUnitIdentifier=t.SIMPLE_UNITS=t.removeUnitNamespace=t.SANCTIONED_UNITS=void 0,t.SANCTIONED_UNITS=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"],t.removeUnitNamespace=n,t.SIMPLE_UNITS=t.SANCTIONED_UNITS.map(n),t.IsSanctionedSimpleUnitIdentifier=function(e){return t.SIMPLE_UNITS.indexOf(e)>-1}},39063:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsValidTimeZoneName=void 0,t.IsValidTimeZoneName=function(e,t){var n=t.tzData,r=t.uppercaseLinks,a=e.toUpperCase(),o=new Set;return Object.keys(n).map((function(e){return e.toUpperCase()})).forEach((function(e){return o.add(e)})),o.has(a)||a in r}},86013:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsWellFormedCurrencyCode=void 0;var n=/[^A-Z]/;t.IsWellFormedCurrencyCode=function(e){return 3===(e=e.replace(/([a-z])/g,(function(e,t){return t.toUpperCase()}))).length&&!n.test(e)}},58465:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsWellFormedUnitIdentifier=void 0;var r=n(4729);t.IsWellFormedUnitIdentifier=function(e){if(e=e.replace(/([A-Z])/g,(function(e,t){return t.toLowerCase()})),r.IsSanctionedSimpleUnitIdentifier(e))return!0;var t=e.split("-per-");if(2!==t.length)return!1;var n=t[0],a=t[1];return!(!r.IsSanctionedSimpleUnitIdentifier(n)||!r.IsSanctionedSimpleUnitIdentifier(a))}},90627:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LookupMatcher=void 0;var r=n(68193),a=n(62242);t.LookupMatcher=function(e,t,n){for(var o={locale:""},i=0,l=t;ip[p.length-1])return p[p.length-1].length-1;var m=p.indexOf(f);if(-1===m)return 0;var h=p[m];return"0"===c[h].other?0:h.length-c[h].other.match(/0+/)[0].length}}},65177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CurrencyDigits=void 0;var r=n(91470);t.CurrencyDigits=function(e,t){var n=t.currencyDigitsData;return r.HasOwnProperty(n,e)?n[e]:2}},96061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatNumericToParts=void 0;var r=n(96645),a=n(91470);t.FormatNumericToParts=function(e,t,n){for(var o=r.PartitionNumberPattern(e,t,n),i=a.ArrayCreate(0),l=0,u=o;l1&&(n=i.ToRawFixed(t,0,0))}t=n.roundedNumber;var u=n.formattedString,s=n.integerDigitsCount,c=e.minimumIntegerDigits;return s0||isNaN(t)?0:-1;break;case"always":s=o.SameValue(t,0)||t>0||isNaN(t)?1:-1;break;default:s=0===t||isNaN(t)?0:t>0?1:-1}return l.default({roundedNumber:t,formattedString:u,exponent:v,magnitude:b,sign:s},d.dataLocaleData,f,d)}},51061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNumberFormatDigitOptions=void 0;var r=n(99324),a=n(25224);t.SetNumberFormatDigitOptions=function(e,t,n,o,i){var l=r.GetNumberOption(t,"minimumIntegerDigits",1,21,1),u=t.minimumFractionDigits,s=t.maximumFractionDigits,c=t.minimumSignificantDigits,d=t.maximumSignificantDigits;if(e.minimumIntegerDigits=l,void 0!==c||void 0!==d)e.roundingType="significantDigits",c=a.DefaultNumberOption(c,1,21,1),d=a.DefaultNumberOption(d,c,21,21),e.minimumSignificantDigits=c,e.maximumSignificantDigits=d;else if(void 0!==u||void 0!==s){e.roundingType="fractionDigits",u=a.DefaultNumberOption(u,0,20,n);var f=Math.max(u,o);s=a.DefaultNumberOption(s,u,20,f),e.minimumFractionDigits=u,e.maximumFractionDigits=s}else"compact"===i?e.roundingType="compactRounding":(e.roundingType="fractionDigits",e.minimumFractionDigits=n,e.maximumFractionDigits=o)}},1620:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNumberFormatUnitOptions=void 0;var r=n(78890),a=n(86013),o=n(58465);t.SetNumberFormatUnitOptions=function(e,t,n){void 0===t&&(t=Object.create(null));var i=(0,n.getInternalSlots)(e),l=r.GetOption(t,"style","string",["decimal","percent","currency","unit"],"decimal");i.style=l;var u=r.GetOption(t,"currency","string",void 0,void 0);if(void 0!==u&&!a.IsWellFormedCurrencyCode(u))throw RangeError("Malformed currency code");if("currency"===l&&void 0===u)throw TypeError("currency cannot be undefined");var s=r.GetOption(t,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),c=r.GetOption(t,"currencySign","string",["standard","accounting"],"standard"),d=r.GetOption(t,"unit","string",void 0,void 0);if(void 0!==d&&!o.IsWellFormedUnitIdentifier(d))throw RangeError("Invalid unit argument for Intl.NumberFormat()");if("unit"===l&&void 0===d)throw TypeError("unit cannot be undefined");var f=r.GetOption(t,"unitDisplay","string",["short","narrow","long"],"short");"currency"===l&&(i.currency=u.toUpperCase(),i.currencyDisplay=s,i.currencySign=c),"unit"===l&&(i.unit=d,i.unitDisplay=f)}},29253:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToRawFixed=void 0;var r=n(68193);t.ToRawFixed=function(e,t,n){var a,o,i=n,l=Math.round(e*Math.pow(10,i)),u=l/Math.pow(10,i);if(l<1e21)a=l.toString();else{var s=(a=l.toString()).split("e"),c=s[0],d=s[1];a=c.replace(".",""),a+=r.repeat("0",Math.max(+d-a.length+1,0))}if(0!==i){var f=a.length;if(f<=i)a=r.repeat("0",i+1-f)+a,f=i+1;var p=a.slice(0,f-i),m=a.slice(f-i);a=p+"."+m,o=p.length}else o=a.length;for(var h=n-t;h>0&&"0"===a[a.length-1];)a=a.slice(0,-1),h--;return"."===a[a.length-1]&&(a=a.slice(0,-1)),{formattedString:a,roundedNumber:u,integerDigitsCount:o}}},21070:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToRawPrecision=void 0;var r=n(68193);t.ToRawPrecision=function(e,t,n){var a,o,i,l,u=n;if(0===e)a=r.repeat("0",u),o=0,i=0;else{var s=e.toString(),c=s.indexOf("e"),d=s.split("e"),f=d[0],p=d[1],m=f.replace(".","");if(c>=0&&m.length<=u)o=+p,a=m+r.repeat("0",u-m.length),i=e;else{var h=(o=r.getMagnitude(e))-u+1,b=Math.round(g(e,h));g(b,u-1)>=10&&(o+=1,b=Math.floor(b/10)),a=b.toString(),i=g(b,u-1-o)}}if(o>=u-1?(a+=r.repeat("0",o-u+1),l=o+1):o>=0?(a=a.slice(0,o+1)+"."+a.slice(o+1),l=o+1):(a="0."+r.repeat("0",-o-1)+a,l=1),a.indexOf(".")>=0&&n>t){for(var v=n-t;v>0&&"0"===a[a.length-1];)a=a.slice(0,-1),v--;"."===a[a.length-1]&&(a=a.slice(0,-1))}return{formattedString:a,roundedNumber:i,integerDigitsCount:l};function g(e,t){return t<0?e*Math.pow(10,-t):e/Math.pow(10,t)}}},78510:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),a=n(29253),o=r.__importStar(n(80186)),i=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B98-\u2BFF\u2CE5-\u2CEA\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9B\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD10-\uDD6C\uDD70-\uDDAC\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED5\uDEE0-\uDEEC\uDEF0-\uDEFA\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDD00-\uDD0B\uDD0D-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95]/,l=new RegExp("^"+i.source),u=new RegExp(i.source+"$"),s=/[#0](?:[\.,][#0]+)*/g;function c(e,t,n,r,i,l,u){var s=[],c=t.formattedString,d=t.roundedNumber;if(isNaN(d))return[{type:"nan",value:c}];if(!isFinite(d))return[{type:"infinity",value:c}];var f=o[i];f&&(c=c.replace(/\d/g,(function(e){return f[+e]||e})));var p,m,h=c.indexOf(".");if(h>0?(p=c.slice(0,h),m=c.slice(h+1)):p=c,l&&("compact"!==n||d>=1e4)){var b=e.group,v=[],g=u.split(".")[0].split(","),y=3,_=3;g.length>1&&(y=g[g.length-1].length),g.length>2&&(_=g[g.length-2].length);var w=p.length-y;if(w>0){for(v.push(p.slice(w,w+y)),w-=_;w>0;w-=_)v.push(p.slice(w,w+_));v.push(p.slice(0,w+_))}else v.push(p);for(;v.length>0;){var k=v.pop();s.push({type:"integer",value:k}),v.length>0&&s.push({type:"group",value:b})}}else s.push({type:"integer",value:p});if(void 0!==m&&s.push({type:"decimal",value:e.decimal},{type:"fraction",value:m}),("scientific"===n||"engineering"===n)&&isFinite(d)){s.push({type:"exponentSeparator",value:e.exponential}),r<0&&(s.push({type:"exponentMinusSign",value:e.minusSign}),r=-r);var O=a.ToRawFixed(r,0,0);s.push({type:"exponentInteger",value:O.formattedString})}return s}function d(e,t){e.indexOf(";")<0&&(e=e+";-"+e);var n=e.split(";"),r=n[0],a=n[1];switch(t){case 0:return r;case-1:return a;default:return a.indexOf("-")>=0?a.replace(/-/g,"+"):"+"+r}}function f(e,t,n){return n[e.select(t)]||n.other}t.default=function(e,t,n,r){var a,o,i=e.sign,p=e.exponent,m=e.magnitude,h=r.notation,b=r.style,v=r.numberingSystem,g=t.numbers.nu[0],y=null;if("compact"===h&&m&&(y=function(e,t,n,r,a,o,i){var l,u,s=e.roundedNumber,c=e.sign,p=e.magnitude,m=String(Math.pow(10,p)),h=n.numbers.nu[0];if("currency"===r&&"name"!==o){var b=null===(l=((v=n.numbers.currency)[i]||v[h]).short)||void 0===l?void 0:l[m];if(!b)return null;u=f(t,s,b)}else{var v,g=((v=n.numbers.decimal)[i]||v[h])[a][m];if(!g)return null;u=f(t,s,g)}if("0"===u)return null;return u=d(u,c).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0"),u}(e,n,t,b,r.compactDisplay,r.currencyDisplay,v)),"currency"===b&&"name"!==r.currencyDisplay){var _=t.currencies[r.currency];if(_)switch(r.currencyDisplay){case"code":a=r.currency;break;case"symbol":a=_.symbol;break;default:a=_.narrow}else a=r.currency}if(y)o=y;else if("decimal"===b||"unit"===b||"currency"===b&&"name"===r.currencyDisplay)o=d((t.numbers.decimal[v]||t.numbers.decimal[g]).standard,i);else if("currency"===b){o=d((k=t.numbers.currency[v]||t.numbers.currency[g])[r.currencySign],i)}else{o=d(t.numbers.percent[v]||t.numbers.percent[g],i)}var w=s.exec(o)[0];if(o=o.replace(s,"{0}").replace(/'(.)'/g,"$1"),"currency"===b&&"name"!==r.currencyDisplay){var k,O=(k=t.numbers.currency[v]||t.numbers.currency[g]).currencySpacing.afterInsertBetween;O&&!u.test(a)&&(o=o.replace("¤{0}","¤"+O+"{0}"));var E=k.currencySpacing.beforeInsertBetween;E&&!l.test(a)&&(o=o.replace("{0}¤","{0}"+E+"¤"))}for(var x=o.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),P=[],S=t.numbers.symbols[v]||t.numbers.symbols[g],C=0,D=x;C-1;)a=e.indexOf("}",n),r.invariant(a>n,"Invalid pattern "+e),n>o&&t.push({type:"literal",value:e.substring(o,n)}),t.push({type:e.substring(n+1,a),value:void 0}),o=a+1,n=e.indexOf("{",o);return o2){var O=d.indexOf("-x-");if(-1===O)d+=p;else{var E=d.slice(0,O),x=d.slice(O,d.length);d=E+p+x}d=Intl.getCanonicalLocales(d)[0]}return f.locale=d,f}},23840:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportedLocales=void 0;var r=n(91470),a=n(78890),o=n(28534);t.SupportedLocales=function(e,t,n){return void 0!==n&&(n=r.ToObject(n),a.GetOption(n,"localeMatcher","string",["lookup","best fit"],"best fit")),o.LookupSupportedLocales(e,t)}},1922:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeExtensionValue=void 0;var r=n(68193);t.UnicodeExtensionValue=function(e,t){r.invariant(2===t.length,"key must have 2 elements");var n=e.length,a="-"+t+"-",o=e.indexOf(a);if(-1!==o){for(var i=o+4,l=i,u=i,s=!1;!s;){var c=e.indexOf("-",u);2===(-1===c?n-u:c-u)?s=!0:-1===c?(l=n,s=!0):(l=c,u=c+1)}return e.slice(i,l)}if(a="-"+t,-1!==(o=e.indexOf(a))&&o+3===n)return""}},34543:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMissingLocaleDataError=void 0;var r=n(97582);!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}r.__extends(t,e)}(Error);t.isMissingLocaleDataError=function(e){return"MISSING_LOCALE_DATA"===e.type}},83402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.invariant=t.isMissingLocaleDataError=t.defineProperty=t.getMagnitude=t.setMultiInternalSlots=t.setInternalSlot=t.isLiteralPart=t.getMultiInternalSlots=t.getInternalSlot=t.parseDateTimeSkeleton=t.DATE_TIME_PROPS=t._formatToParts=t.BestFitFormatMatcher=void 0;var r=n(97582),a=n(16882);Object.defineProperty(t,"BestFitFormatMatcher",{enumerable:!0,get:function(){return a.BestFitFormatMatcher}}),r.__exportStar(n(99861),t),r.__exportStar(n(6762),t),r.__exportStar(n(32885),t),r.__exportStar(n(67678),t),r.__exportStar(n(64650),t),r.__exportStar(n(12225),t),r.__exportStar(n(88682),t),r.__exportStar(n(18948),t),r.__exportStar(n(28678),t),r.__exportStar(n(28338),t),r.__exportStar(n(85313),t),r.__exportStar(n(28892),t),r.__exportStar(n(2691),t),r.__exportStar(n(99324),t),r.__exportStar(n(78890),t),r.__exportStar(n(47714),t),r.__exportStar(n(4729),t),r.__exportStar(n(39063),t),r.__exportStar(n(86013),t),r.__exportStar(n(58465),t),r.__exportStar(n(18826),t),r.__exportStar(n(83299),t),r.__exportStar(n(65177),t),r.__exportStar(n(96061),t),r.__exportStar(n(53721),t),r.__exportStar(n(42345),t),r.__exportStar(n(96645),t),r.__exportStar(n(51061),t),r.__exportStar(n(1620),t),r.__exportStar(n(29253),t),r.__exportStar(n(21070),t),r.__exportStar(n(62051),t),r.__exportStar(n(4403),t),r.__exportStar(n(63483),t),r.__exportStar(n(20646),t),r.__exportStar(n(99365),t),r.__exportStar(n(72173),t),r.__exportStar(n(26096),t),r.__exportStar(n(26911),t),r.__exportStar(n(80055),t),r.__exportStar(n(40532),t),r.__exportStar(n(97800),t),r.__exportStar(n(23840),t);var o=n(78510);Object.defineProperty(t,"_formatToParts",{enumerable:!0,get:function(){return r.__importDefault(o).default}});var i=n(92872);Object.defineProperty(t,"DATE_TIME_PROPS",{enumerable:!0,get:function(){return i.DATE_TIME_PROPS}});var l=n(87410);Object.defineProperty(t,"parseDateTimeSkeleton",{enumerable:!0,get:function(){return l.parseDateTimeSkeleton}});var u=n(68193);Object.defineProperty(t,"getInternalSlot",{enumerable:!0,get:function(){return u.getInternalSlot}}),Object.defineProperty(t,"getMultiInternalSlots",{enumerable:!0,get:function(){return u.getMultiInternalSlots}}),Object.defineProperty(t,"isLiteralPart",{enumerable:!0,get:function(){return u.isLiteralPart}}),Object.defineProperty(t,"setInternalSlot",{enumerable:!0,get:function(){return u.setInternalSlot}}),Object.defineProperty(t,"setMultiInternalSlots",{enumerable:!0,get:function(){return u.setMultiInternalSlots}}),Object.defineProperty(t,"getMagnitude",{enumerable:!0,get:function(){return u.getMagnitude}}),Object.defineProperty(t,"defineProperty",{enumerable:!0,get:function(){return u.defineProperty}});var s=n(34543);Object.defineProperty(t,"isMissingLocaleDataError",{enumerable:!0,get:function(){return s.isMissingLocaleDataError}}),r.__exportStar(n(65879),t),r.__exportStar(n(4329),t),r.__exportStar(n(7260),t),r.__exportStar(n(98180),t),r.__exportStar(n(74437),t),r.__exportStar(n(55052),t);var c=n(68193);Object.defineProperty(t,"invariant",{enumerable:!0,get:function(){return c.invariant}}),r.__exportStar(n(91470),t)},4329:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RangePatternType=void 0,function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(t.RangePatternType||(t.RangePatternType={}))},55052:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7260:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},74437:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},98180:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65879:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},68193:function(e,t){"use strict";function n(e,t,n,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[n]=r}function r(e,t){for(var n=[],r=2;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=a.default.createContext({}),d=function(e){var t=a.default.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):u(u({},t),e)),n},f={inlineCode:"code",wrapper:function(e){var t=e.children;return a.default.createElement(a.default.Fragment,{},t)}},p=a.default.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),c=d(n),p=r,m=c["".concat(i,".").concat(p)]||c[p]||f[p]||o;return n?a.default.createElement(m,u(u({ref:t},l),{},{components:n})):a.default.createElement(m,u({ref:t},l))}));p.displayName="MDXCreateElement",t.MDXContext=c,t.MDXProvider=function(e){var t=d(e.components);return a.default.createElement(c.Provider,{value:t},e.children)},t.mdx=function(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=p;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l.mdxType="string"==typeof e?e:r,i[1]=l;for(var s=2;s=0&&(D=x);var j=l.default.useContext(f.default),T=(0,c.default)(y("abstract-modal",{"is-fullscreen":O},"layer-".concat(D),j.className),d),M=(0,c.default)(y("abstract-modal-container"));delete C.closePortal,delete C.fallbackFocus;var A=!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform);return l.default.createElement(l.default.Fragment,null,l.default.createElement(m.default,{onClick:g?w:null,className:b,zIndex:D}),l.default.createElement("div",(0,o.default)({},C,{tabIndex:A||S?"-1":"0","aria-label":n,"aria-labelledby":r,"aria-describedby":a,className:T,role:k,ref:t}),l.default.createElement("div",{className:M,ref:P,"data-terra-abstract-modal-begin":!0,tabIndex:"-1"},!S&&l.default.createElement(s.FormattedMessage,{id:"Terra.AbstractModal.BeginModalDialog"},(function(e){var t=e;return Array.isArray(e)&&(t=e.join("")),l.default.createElement(p.default,{text:t})})),u,!S&&l.default.createElement(s.FormattedMessage,{id:"Terra.AbstractModal.EndModalDialog"},(function(e){var t=e;return Array.isArray(e)&&(t=e.join("")),l.default.createElement(p.default,{text:t})})))))}));k.propTypes=w,k.defaultProps={classNameModal:null,classNameOverlay:null,closeOnOutsideClick:!0,isFullscreen:!1,isScrollable:!1,role:"dialog",rootSelector:"#root",zIndex:"6000",isCalledFromNotificationDialog:!1};t.default=k},51468:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=r(n(70215)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294)),u=r(n(94184)),s=r(n(47166)),c=r(n(47341)),d=r(n(45697)),f=r(n(42838)),p=["zIndex"];function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}var h=s.default.bind(f.default),b={zIndex:d.default.oneOf(["6000","7000","8000","9000"])},v=function(e){(0,l.useEffect)((function(){var e=document.documentElement.style.overflow;return document.documentElement.style.overflow="hidden",function(){document.documentElement.style.overflow=e}}),[]);var t=e.zIndex,n=(0,i.default)(e,p),r=l.default.useContext(c.default),a=(0,u.default)(h("overlay","layer-".concat(t),r.className),n.className);return l.default.createElement("div",(0,o.default)({},n,{className:a}))};v.propTypes=b;t.default=v},70101:function(){"use strict";Node.prototype.contains||(Node.prototype.contains=function(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1})},69447:function(){"use strict";Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector)},48554:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hideModalDomUpdates=function(e,t){var n=document.querySelector(t);if(n){var r=+n.getAttribute("data-abstract-modal-overlay-count");1===r?(n.removeAttribute("data-abstract-modal-overlay-count"),n.removeAttribute("inert")):r>1&&n.setAttribute("data-abstract-modal-overlay-count","".concat(r-1))}setTimeout((function(){e&&e.focus?e.focus():document.querySelector("body").focus()}),0)},t.showModalDomUpdates=function(e,t){var n=document.querySelector(t);if(n){var r=+n.getAttribute("data-abstract-modal-overlay-count");r<1&&n.setAttribute("inert","true"),n.setAttribute("data-abstract-modal-overlay-count","".concat(r+1)),e.querySelector("[data-terra-abstract-modal-begin]")?e.querySelector("[data-terra-abstract-modal-begin]").focus():e.focus()}}},56019:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DisclosureManagerContext",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"DisclosureManagerDelegate",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"DisclosureManagerHeaderAdapter",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"DisclosureManagerHeaderAdapterContext",{enumerable:!0,get:function(){return b.default}}),t.disclosureManagerShape=t.default=t.availableDisclosureWidths=t.availableDisclosureSizes=t.availableDisclosureHeights=void 0,Object.defineProperty(t,"withDisclosureManager",{enumerable:!0,get:function(){return g.default}});var a=r(n(10434)),o=r(n(56690)),i=r(n(89728)),l=r(n(66115)),u=r(n(61655)),s=r(n(94993)),c=r(n(73808)),d=r(n(38416)),f=r(n(67294)),p=r(n(45697)),m=r(n(79694)),h=r(n(45218)),b=r(n(56995)),v=r(n(7493)),g=r(n(87859));function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t0?c:void 0,f.requestFocus=i?function(){return Promise.resolve().then(n.releaseDisclosureFocus)}:void 0,f.releaseFocus=i?void 0:function(){return Promise.resolve().then(n.requestDisclosureFocus)},f.maximize=s||o?void 0:function(){return Promise.resolve().then(n.maximizeDisclosure)},f.minimize=!s&&o?function(){return Promise.resolve().then(n.minimizeDisclosure)}:void 0,f.registerDismissCheck=function(e){return n.dismissChecks[u.key]=e,Promise.resolve()},m.default.create(f)}},{key:"disclosureTypeIsSupported",value:function(e){var t=this.props,n=t.disclosureManager;return t.supportedDisclosureTypes.indexOf(e)>=0||!n}},{key:"openDisclosure",value:function(e){var t=e.dimensions;t&&!function(e){return E[e.height]&&x[e.width]}(t)&&(t=P);var n=e.size;(!n||n&&!function(e){return!!k[e.toUpperCase().replace(/-/g,"_")]}(n))&&(t||(t=P),n=S);var r={disclosureIsOpen:!0,disclosureIsFocused:!0,disclosureSize:n,disclosureDimensions:t,disclosureComponentKeys:[e.content.key],disclosureTypeConfig:e.typeConfig,disclosureComponentData:(0,d.default)({},e.content.key,w(w({key:e.content.key,name:e.content.name,props:e.content.props,component:e.content.component},void 0!==e.content.title&&{headerAdapterData:{title:e.content.title}}),{},{headerAdapterContextValue:this.generateHeaderContextValue(e.content.key,e.content.title)}))};r.disclosureComponentDelegates=[this.generateDisclosureComponentDelegate(e.content.key,r)],this.setState(r)}},{key:"pushDisclosure",value:function(e){var t=n.cloneDisclosureState(this.state);t.disclosureComponentKeys.push(e.content.key),t.disclosureComponentData[e.content.key]=w(w({key:e.content.key,name:e.content.name,props:e.content.props,component:e.content.component},void 0!==e.content.title&&{headerAdapterData:{title:e.content.title}}),{},{headerAdapterContextValue:this.generateHeaderContextValue(e.content.key,e.content.title)}),t.disclosureComponentDelegates=t.disclosureComponentDelegates.concat(this.generateDisclosureComponentDelegate(e.content.key,t)),this.setState(t)}},{key:"popDisclosure",value:function(e){if(1===this.state.disclosureComponentKeys.length)this.closeDisclosure(e);else{var t=n.cloneDisclosureState(this.state);t.disclosureComponentData[t.disclosureComponentKeys.pop()]=void 0,t.disclosureComponentDelegates.pop(),this.setState(t,e)}}},{key:"closeDisclosure",value:function(e){this.setState({disclosureIsOpen:!1,disclosureIsFocused:!1,disclosureIsMaximized:!1,disclosureSize:void 0,disclosureDimensions:void 0,disclosureComponentKeys:[],disclosureComponentData:{},disclosureComponentDelegates:[],disclosureTypeConfig:{}},e)}},{key:"requestDisclosureFocus",value:function(){var e=this,t=n.cloneDisclosureState(this.state);t.disclosureIsFocused=!0,t.disclosureComponentDelegates=t.disclosureComponentKeys.map((function(n){return e.generateDisclosureComponentDelegate(n,t)})),this.setState(t)}},{key:"releaseDisclosureFocus",value:function(){var e=this,t=n.cloneDisclosureState(this.state);t.disclosureIsFocused=!1,t.disclosureComponentDelegates=t.disclosureComponentKeys.map((function(n){return e.generateDisclosureComponentDelegate(n,t)})),this.setState(t)}},{key:"maximizeDisclosure",value:function(){var e=this,t=n.cloneDisclosureState(this.state);t.disclosureIsMaximized=!0,t.disclosureComponentDelegates=t.disclosureComponentKeys.map((function(n){return e.generateDisclosureComponentDelegate(n,t)})),this.setState(t)}},{key:"minimizeDisclosure",value:function(){var e=this,t=n.cloneDisclosureState(this.state);t.disclosureIsMaximized=!1,t.disclosureComponentDelegates=t.disclosureComponentKeys.map((function(n){return e.generateDisclosureComponentDelegate(n,t)})),this.setState(t)}},{key:"resolveDismissPromise",value:function(e){var t=this.onDismissResolvers[e];t&&t(),this.onDismissResolvers[e]=void 0}},{key:"resolveDismissChecksInSequence",value:function(e){var t=this;return new Promise((function(n,r){if(e.length){var a=e.pop();t.generatePopFunction(a)().then((function(){t.resolveDismissChecksInSequence(e).then(n).catch(r)})).catch((function(){r()}))}else n()}))}},{key:"safelyCloseDisclosure",value:function(){var e=this,t=(0,a.default)([],this.state.disclosureComponentKeys);return this.resolveDismissChecksInSequence(t).then((function(){e.dismissChecks={},e.closeDisclosure()}))}},{key:"generatePopFunction",value:function(e){var t=this;return function(){var n=t.state.disclosureComponentKeys;if(n[n.length-1]!==e)return Promise.reject();var r=Promise.resolve(),a=t.dismissChecks[e];a&&(r=a());var o=function(){t.dismissChecks[e]=void 0,t.resolveDismissPromise(e)};return r.then((function(){t.popDisclosure(o)}))}}},{key:"generateDisclosureComponentMappingForRender",value:function(e){var t=this.state,n=t.disclosureComponentKeys,r=t.disclosureComponentData,a=t.disclosureComponentDelegates;return n.reduce((function(t,n,o){var i=r[n],l=e?e(i.component):i.component;return t[n]={component:f.default.createElement(b.default.Provider,{value:i.headerAdapterContextValue,key:n},f.default.createElement(h.default.Provider,{value:a[o]},l)),headerAdapterData:i.headerAdapterData},t}),{})}},{key:"render",value:function(){var e=this,t=this.props,n=t.withDisclosureContainer,r=t.render,a=t.children,o=this.state,i=o.childComponentDelegate,l=o.disclosureIsOpen,u=o.disclosureIsFocused,s=o.disclosureIsMaximized,c=o.disclosureSize,d=o.disclosureDimensions,p=o.disclosureComponentKeys,m=o.disclosureTypeConfig;if(!r)return null;var b=this.generateDisclosureComponentMappingForRender(n);return r({dismissPresentedComponent:this.generatePopFunction(p?p[p.length-1]:void 0),closeDisclosure:this.safelyCloseDisclosure,maximizeDisclosure:c===k.FULLSCREEN||s?void 0:function(){return Promise.resolve().then(e.maximizeDisclosure)},minimizeDisclosure:c!==k.FULLSCREEN&&s?function(){return Promise.resolve().then(e.minimizeDisclosure)}:void 0,children:{components:f.default.createElement(h.default.Provider,{value:i},a)},disclosure:{isOpen:l,isFocused:u,isMaximized:s,size:c,dimensions:d,components:p.map((function(e){return b[e].component})),typeConfig:m},disclosureComponentKeys:p,disclosureComponentData:b})}}],[{key:"cloneDisclosureState",value:function(e){var t=w({},e);return t.disclosureComponentKeys=(0,a.default)([],t.disclosureComponentKeys),t.disclosureComponentData=w({},t.disclosureComponentData),t.disclosureComponentDelegates=(0,a.default)([],t.disclosureComponentDelegates),t}}]),n}(f.default.Component);D.propTypes=C,D.defaultProps={supportedDisclosureTypes:[]};t.disclosureManagerShape=m.default.propType,t.default=(0,g.default)(D)},45218:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)).default.createContext();t.default=a},79694:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(89728)),o=r(n(56690)),i=r(n(45697)),l=["disclose","dismiss","closeDisclosure","goBack","maximize","minimize","requestFocus","releaseFocus","registerDismissCheck"],u=(0,a.default)((function e(t){var n=this;(0,o.default)(this,e),l.forEach((function(e){t[e]&&(n[e]=t[e])}))})),s=function(e){return Object.freeze(new u(e))},c={propType:i.default.objectOf((function(e,t,n,r,a){return!(l.indexOf(t)<0)||new Error("Invalid key '".concat(t,"' supplied to ").concat(n,"'s '").concat(a,"' prop. Validation failed."))})),create:s,clone:function(e,t){var n=e||{},r={};return l.forEach((function(e){r[e]=t[e]||n[e]})),s(r)},isEqual:function(e,t){return!(!e||!t)&&(e===t||!l.some((function(n){return e[n]!==t[n]})))}};t.default=c},7493:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(67294),o=r(n(45697)),i=r(n(56995)),l={title:o.default.string,collapsibleMenuView:o.default.element},u=function(e){var t=e.title,n=e.collapsibleMenuView,r=(0,a.useContext)(i.default);return(0,a.useLayoutEffect)((function(){r.register({title:t,collapsibleMenuView:n})}),[t,n,r]),null};u.propTypes=l;t.default=u},56995:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)).default.createContext({register:function(){0}});t.default=a},87859:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(10434)),o=r(n(67294)),i=r(n(45218));t.default=function(e){var t,n=function(t){return o.default.createElement(i.default.Consumer,null,(function(n){return o.default.createElement(e,(0,a.default)({},t,{disclosureManager:n}))}))};return n.displayName="withDisclosureManager(".concat((t=e).displayName||t.name||"Component",")"),n.WrappedComponent=e,n}},29121:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(56690)),o=r(n(89728)),i=r(n(66115)),l=r(n(61655)),u=r(n(94993)),s=r(n(73808)),c=r(n(67294)),d=r(n(45697)),f=n(32923),p=r(n(16942)),m=r(n(90946));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var b=["top","middle","bottom"],v=["start","center","end"],g=["auto","flip","push","none"],y={attachmentBehavior:d.default.oneOf(g),attachmentMargin:d.default.number,boundingRef:d.default.func,children:d.default.element.isRequired,contentAttachment:d.default.shape({horizontal:d.default.oneOf(v),vertical:d.default.oneOf(b)}).isRequired,contentOffset:d.default.shape({horizontal:d.default.number,vertical:d.default.number}),isEnabled:d.default.bool,isOpen:d.default.bool,onPosition:d.default.func,targetCoordinates:d.default.shape({x:d.default.number.isRequired,y:d.default.number.isRequired}),targetRef:d.default.func,targetAttachment:d.default.shape({horizontal:d.default.oneOf(v),vertical:d.default.oneOf(b)}),targetOffset:d.default.shape({horizontal:d.default.number,vertical:d.default.number})},_=function(e){(0,l.default)(n,e);var t=h(n);function n(e){var r;return(0,a.default)(this,n),(r=t.call(this,e)).setContentNode=r.setContentNode.bind((0,i.default)(r)),r.getNodeRects=r.getNodeRects.bind((0,i.default)(r)),r.update=r.update.bind((0,i.default)(r)),r.tick=r.tick.bind((0,i.default)(r)),r.getBoundingRef=r.getBoundingRef.bind((0,i.default)(r)),r.getTargetRef=r.getTargetRef.bind((0,i.default)(r)),r.getValidBoundingRect=r.getValidBoundingRect.bind((0,i.default)(r)),r.getValidTargetRect=r.getValidTargetRect.bind((0,i.default)(r)),r.listenersAdded=!1,r.lastCall=null,r.lastDuration=null,r.pendingTimeout=null,r}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this.props.isEnabled&&this.props.isOpen&&(this.listenersAdded||this.enableListeners(),this.update())}},{key:"componentDidUpdate",value:function(){this.props.isEnabled&&this.props.isOpen?(this.listenersAdded||this.enableListeners(),this.update()):this.disableListeners()}},{key:"componentWillUnmount",value:function(){this.disableListeners()}},{key:"setContentNode",value:function(e){this.contentNode=e}},{key:"getBoundingRef",value:function(){return this.props.boundingRef?this.props.boundingRef():void 0}},{key:"getTargetRef",value:function(){return this.props.targetRef?this.props.targetRef():void 0}},{key:"getValidBoundingRect",value:function(){if("none"!==this.props.attachmentBehavior)return m.default.getBoundingRect(this.getBoundingRef()||"window")}},{key:"getValidTargetRect",value:function(){return this.props.targetCoordinates?m.default.getRectFromCoords(this.props.targetCoordinates):m.default.getBounds(this.getTargetRef())}},{key:"getNodeRects",value:function(e){return{contentRect:e?m.default.getBounds(this.contentNode):this.cachedRects.contentRect,targetRect:this.getValidTargetRect(),boundingRect:this.getValidBoundingRect()}}},{key:"tick",value:function(e){if(this.lastDuration&&this.lastDuration>16)return this.lastDuration=Math.min(this.lastDuration-16,100),void(this.pendingTimeout=setTimeout(this.tick,100));this.lastCall&&performance.now()-this.lastCall<10||(null!=this.pendingTimeout&&(clearTimeout(this.pendingTimeout),this.pendingTimeout=null),this.lastCall=performance.now(),this.update(e),this.lastDuration=performance.now()-this.lastCall)}},{key:"enableListeners",value:function(){var e=this,t=this.getTargetRef()||this.getBoundingRef();t&&(["resize","scroll","touchmove"].forEach((function(t){return window.addEventListener(t,e.tick)})),this.parentListeners=[],m.default.getScrollParents(t).forEach((function(n){n!==t.ownerDocument&&(n.addEventListener("scroll",e.tick),e.parentListeners.push(n))})),this.listenersAdded=!0)}},{key:"disableListeners",value:function(){var e=this;["resize","scroll","touchmove"].forEach((function(t){return window.removeEventListener(t,e.tick)})),this.parentListeners&&(this.parentListeners.forEach((function(t){t.removeEventListener("scroll",e.tick)})),this.parentListeners=null),this.listenersAdded=!1}},{key:"position",value:function(e,t){this.cachedRects=this.getNodeRects(t),this.content.rect=this.cachedRects.contentRect,this.target.rect=this.cachedRects.targetRect;var n=m.default.positionStyleFromBounds(this.cachedRects.boundingRect,this.content,this.target,this.props.attachmentMargin,this.props.attachmentBehavior),r=!1,a="translate3d(".concat(n.style.left,", ").concat(n.style.top,", 0px)");this.contentNode.style.transform!==a&&(this.contentNode.style.transform=a,r=!0),"1"!==this.contentNode.style.opacity&&(this.contentNode.style.opacity="1",r=!0),r&&(this.cachedRects.contentRect=m.default.getBounds(this.contentNode),n.positions.content.rect=this.cachedRects.contentRect),this.props.onPosition&&this.props.onPosition(e,n.positions)}},{key:"update",value:function(e){(this.getTargetRef()||this.props.targetCoordinates)&&this.contentNode&&this.updateHookshot(e)}},{key:"updateHookshot",value:function(e){var t=!e||"scroll"!==e.type&&"touchmove"!==e.type;this.position(e,t)}},{key:"cloneContent",value:function(e){return c.default.cloneElement(e,{refCallback:this.wrappedRefCallback(e),disableOnClickOutside:!e.props.onOutsideClick})}},{key:"wrappedRefCallback",value:function(e){var t=this,n=e.props.refCallback;return function(e){t.setContentNode(e),n&&n(e)}}},{key:"render",value:function(){var e=this.props,t=(e.attachmentBehavior,e.attachmentMargin,e.boundingRef,e.children),n=e.contentAttachment,r=e.contentOffset,a=(e.isEnabled,e.isOpen),o=e.targetCoordinates,i=(e.targetRef,e.targetAttachment),l=e.targetOffset;e.onPosition;if(!a)return null;var u="rtl"===document.getElementsByTagName("html")[0].getAttribute("dir");return this.content={offset:m.default.getDirectionalOffset(r,u),attachment:m.default.getDirectionalAttachment(n,u)},this.target={offset:m.default.getDirectionalOffset(l,u)},this.target.attachment=o?m.default.coordinateAttachment:i?m.default.getDirectionalAttachment(i,u):m.default.mirrorAttachment(this.content.attachment),c.default.createElement(f.Portal,{isOpened:a},this.cloneContent(t))}}]),n}(c.default.Component);_.propTypes=y,_.defaultProps={attachmentMargin:0,attachmentBehavior:"auto",contentOffset:{horizontal:0,vertical:0},isEnabled:!1,isOpen:!1,targetOffset:{horizontal:0,vertical:0}},_.horizontalAttachments=v,_.verticalAttachments=b,_.attachmentBehaviors=g,_.Utils=m.default,_.Content=p.default;t.default=_},16942:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=r(n(70215)),l=r(n(56690)),u=r(n(89728)),s=r(n(66115)),c=r(n(61655)),d=r(n(94993)),f=r(n(73808)),p=r(n(67294)),m=r(n(45697)),h=r(n(47166)),b=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(51051)),v=r(n(26972)),g=r(n(32018)),y=r(n(38989));n(33241);var _=["children","onContentResize","onEsc","onOutsideClick","onResize","refCallback"];function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var a=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}var O=h.default.bind(y.default),E={children:m.default.node.isRequired,onContentResize:m.default.func,onEsc:m.default.func,onOutsideClick:m.default.func,onResize:m.default.func,refCallback:m.default.func},x=function(e){(0,c.default)(n,e);var t=k(n);function n(e){var r;return(0,l.default)(this,n),(r=t.call(this,e)).handleClickOutside=r.handleClickOutside.bind((0,s.default)(r)),r.handleKeydown=r.handleKeydown.bind((0,s.default)(r)),r.handleResize=r.debounce(r.handleResize.bind((0,s.default)(r)),100),r.enableEscListener=r.enableEscListener.bind((0,s.default)(r)),r.disableEscListener=r.disableEscListener.bind((0,s.default)(r)),r.enableResizeListener=r.enableResizeListener.bind((0,s.default)(r)),r.disableResizeListener=r.disableResizeListener.bind((0,s.default)(r)),r.enableContentResizeListener=r.enableContentResizeListener.bind((0,s.default)(r)),r.disableContentResizeListener=r.disableContentResizeListener.bind((0,s.default)(r)),r.updateListeners=r.updateListeners.bind((0,s.default)(r)),r.animationFrameID=null,r}return(0,u.default)(n,[{key:"componentDidMount",value:function(){this.updateListeners()}},{key:"componentDidUpdate",value:function(){this.updateListeners()}},{key:"componentWillUnmount",value:function(){this.disableEscListener(),this.disableResizeListener(),this.disableContentResizeListener()}},{key:"handleResize",value:function(e){this.props.onResize&&this.props.onResize(e)}},{key:"handleClickOutside",value:function(e){this.props.onOutsideClick&&this.props.onOutsideClick(e)}},{key:"handleKeydown",value:function(e){e.keyCode===b.KEY_ESCAPE&&(e.preventDefault(),this.props.onEsc(e))}},{key:"updateListeners",value:function(){this.props.onEsc?this.enableEscListener():this.disableEscListener(),this.props.onResize?this.enableResizeListener():this.disableResizeListener(),this.props.onContentResize?this.enableContentResizeListener():this.disableContentResizeListener()}},{key:"enableEscListener",value:function(){this.escListenerAdded||(document.addEventListener("keydown",this.handleKeydown),this.escListenerAdded=!0)}},{key:"disableEscListener",value:function(){this.escListenerAdded&&(document.removeEventListener("keydown",this.handleKeydown),this.escListenerAdded=!1)}},{key:"enableResizeListener",value:function(){this.resizeListenerAdded||(window.addEventListener("resize",this.handleResize),this.resizeListenerAdded=!0)}},{key:"disableResizeListener",value:function(){this.resizeListenerAdded&&(window.removeEventListener("resize",this.handleResize),this.resizeListenerAdded=!1)}},{key:"enableContentResizeListener",value:function(){var e=this;this.contentResizeListenerAdded||(this.resizeObserver=new g.default((function(t){e.animationFrameID=window.requestAnimationFrame((function(){e.props.onContentResize(t[0].contentRect)}))})),this.resizeObserver.observe(this.contentNode),this.contentResizeListenerAdded=!0)}},{key:"disableContentResizeListener",value:function(){this.contentResizeListenerAdded&&(window.cancelAnimationFrame(this.animationFrameID),this.resizeObserver.disconnect(this.contentNode),this.contentNode=null,this.contentResizeListenerAdded=!1)}},{key:"debounce",value:function(e,t){var n=this,r=null;return function(){for(var a=arguments.length,o=new Array(a),i=0;i=t.left:"left"!==r.horizontal||n.x+a.width<=t.right:"top"===r.vertical?n.y+a.height<=t.bottom:n.y>=t.top},c=function(e){var t={},n=e.rect.top,r=e.rect.height,a=e.rect.left,o=e.rect.width;return"middle"===e.attachment.vertical?t.y=n+r/2:"bottom"===e.attachment.vertical?t.y=n+r:t.y=n,"center"===e.attachment.horizontal?t.x=a+o/2:"right"===e.attachment.horizontal?t.x=a+o:t.x=a,{x:t.x+e.offset.horizontal,y:t.y+e.offset.vertical,attachment:e.attachment,offset:e.offset,rect:e.rect}},d=function(e,t,n){var r={},a=e.rect.height,o=e.rect.width;return"middle"===e.attachment.vertical?("center"===e.attachment.horizontal?r.x=t.x-o/2:"right"===e.attachment.horizontal?r.x=t.x-o-n:r.x=t.x+n,r.y=t.y-a/2):("center"===e.attachment.horizontal?r.x=t.x-o/2:"right"===e.attachment.horizontal?r.x=t.x-o:r.x=t.x,"bottom"===e.attachment.vertical?r.y=t.y-a-n:r.y=t.y+n),{content:{x:r.x+e.offset.horizontal,y:r.y+e.offset.vertical,attachment:e.attachment,offset:e.offset,rect:e.rect},target:t}},f=function(e,t){var n,r,a,o={offset:u(e.content.offset,e.content.attachment),attachment:l(e.content.attachment),rect:e.content.rect};return d(o,(n=e.target,r=e.content.attachment,a={rect:n.rect,attachment:n.attachment,offset:u(n.offset,n.attachment)},(r.vertical===n.attachment.vertical||"middle"!==r.vertical&&"middle"!==n.attachment.vertical)&&(a.attachment=l(n.attachment)),c(a)),t)},p=function(e,t,n){var r,a,o,i={offset:{vertical:0,horizontal:0},attachment:(r=e.content.attachment,a=n,o={},"middle"===r.vertical?("90"===a?o.vertical="left"===r.horizontal?"bottom":"top":"-90"===a&&(o.vertical="left"===r.horizontal?"top":"bottom"),o.horizontal="center"):("90"===a?o.horizontal="top"===r.vertical?"left":"right":"-90"===a&&(o.horizontal="top"===r.vertical?"right":"left"),o.vertical="middle"),o),rect:e.content.rect},u={offset:{vertical:0,horizontal:0},attachment:l(i.attachment),rect:e.target.rect};return d(i,c(u),t)},m=t.getBoundedPositions=function(e,t){var n={},r=e.content.rect,a=e.content.x,o=e.content.y;return t.left>=a?n.x=t.left:t.right<=a+r.width?n.x=t.right-r.width:n.x=a,t.top>=o?n.y=t.top:t.bottom<=o+r.height?n.y=t.bottom-r.height:n.y=o,{content:{x:n.x,y:n.y,attachment:e.content.attachment,offset:e.content.offset,rect:r},target:e.target}};t.default={getScrollParents:function(e){var t=(getComputedStyle(e)||{}).position,n=[];if("fixed"===t)return[e];for(var r=e.parentNode;r&&1===r.nodeType;){var a=void 0;try{a=getComputedStyle(r)}catch(e){a=null}if("undefined"==typeof a||null===a)return n.push(r),n;var o=a,i=o.overflow,l=o.overflowX,u=o.overflowY;/(auto|scroll|overlay)/.test(i+u+l)&&("absolute"!==t||["relative","absolute","fixed","static"].indexOf(a.position)>=0)&&n.push(r),r=r.parentNode}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n},getRectFromCoords:function(e){return{top:e.y-1,right:e.x+1,bottom:e.y+1,left:e.x-1,width:2,height:2}},getBounds:i,getBoundingRect:function(e){if("window"===e)return{top:0,bottom:innerHeight,left:0,right:innerWidth};var t=i(e),r=getComputedStyle(e),a={top:t.top,bottom:t.top+t.height,left:t.left,right:t.left+t.width};if(e.ownerDocument!==document){var o=e.ownerDocument.defaultView;a.left+=o.pageXOffset,a.top+=o.pageYOffset,a.right+=o.pageXOffset,a.bottom+=o.pageYOffset}return n.forEach((function(e){var t=e[0].toUpperCase()+e.substr(1);"Top"===t||"Left"===t?a[e]+=parseFloat(r["border".concat(t,"Width")]):a[e]-=parseFloat(r["border".concat(t,"Width")])})),a.top=Math.round(a.top),a.right=Math.round(a.right),a.bottom=Math.round(a.bottom),a.left=Math.round(a.left),a},mirrorAttachment:l,coordinateAttachment:{vertical:"middle",horizontal:"center"},getDirectionalAttachment:function(e,t){return"start"===e.horizontal?{vertical:e.vertical,horizontal:t?"right":"left"}:"end"===e.horizontal?{vertical:e.vertical,horizontal:t?"left":"right"}:e},getDirectionalOffset:function(e,t){return t?{vertical:e.vertical,horizontal:-e.horizontal}:e},positionStyleFromBounds:function(e,t,n,r,a){var o=c(n),i=d(t,o,r);return e&&(s(i,e)||(i=function(e,t,n,r){if("auto"===r||"flip"===r){var a=f(e,n);if(s(a,t))return a;if("auto"===r){if(a=p(e,n,"90"),s(a,t))return a;if(a=p(e,n,"-90"),s(a,t))return a}}return e}(i,e,r,a)),i=m(i,e)),{style:{left:"".concat(Math.round(i.content.x+pageXOffset),"px"),top:"".concat(Math.round(i.content.y+pageYOffset),"px")},positions:i}}}},22266:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.disclosureType=t.default=void 0;var o=r(n(10434)),i=r(n(70215)),l=r(n(56690)),u=r(n(89728)),s=r(n(66115)),c=r(n(61655)),d=r(n(94993)),f=r(n(73808)),p=r(n(67294)),m=r(n(45697)),h=r(n(94184)),b=r(n(47166)),v=r(n(47341)),g=r(n(31501)),y=r(n(17092)),_=r(n(46829)),w=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(56019)),k=r(n(10027)),O=r(n(26610)),E=["children","disclosureAccessory","withDisclosureContainer"];function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var a=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}var S=t.disclosureType="modal",C=b.default.bind(O.default),D={children:m.default.node,disclosureAccessory:m.default.element,withDisclosureContainer:m.default.func},j={tiny:240,small:420,medium:600,large:870,huge:960,"fusion-small":280,"fusion-medium":380,"fusion-large":460},T={tiny:320,small:640,medium:960,large:1280,huge:1600,"fusion-small":400,"fusion-medium":600,"fusion-large":700},M=function(e){(0,c.default)(n,e);var t=P(n);function n(e){var r;return(0,l.default)(this,n),(r=t.call(this,e)).renderModal=r.renderModal.bind((0,s.default)(r)),r.setModalFocusElementRef=r.setModalFocusElementRef.bind((0,s.default)(r)),r}return(0,u.default)(n,[{key:"setModalFocusElementRef",value:function(e){this.modalElementRef=e}},{key:"renderModal",value:function(e){var t=this.props,n=(t.children,t.disclosureAccessory),r=(t.withDisclosureContainer,(0,i.default)(t,E)),a=this.context,l=(0,h.default)(C("container",a.className),r.className),u=["modal-manager",a.className],s=e.disclosure.isMaximized||e.disclosure.size===w.availableDisclosureSizes.FULLSCREEN;s||(e.disclosure.dimensions?u.push("height-".concat(e.disclosure.dimensions.height),"width-".concat(e.disclosure.dimensions.width)):e.disclosure.size&&u.push("height-".concat(j[e.disclosure.size]),"width-".concat(T[e.disclosure.size])));var c=e.disclosureComponentKeys[e.disclosureComponentKeys.length-1],d=(e.disclosureComponentData[c]||{}).headerAdapterData;return p.default.createElement("div",(0,o.default)({},r,{className:l}),e.children.components,p.default.createElement(g.default,{isOpen:e.disclosure.isOpen,isFullscreen:s,classNameModal:C(u),onRequestClose:function(){e.closeDisclosure()},closeOnEsc:!0,closeOnOutsideClick:!1,ariaLabel:(null==d?void 0:d.title)||"Modal",setModalFocusElementRef:this.setModalFocusElementRef},p.default.createElement(k.default,{fill:!0,header:p.default.createElement(p.default.Fragment,null,d?p.default.createElement(y.default,{title:d.title,onClose:e.closeDisclosure,onBack:e.disclosureComponentKeys.length>1?e.dismissPresentedComponent:void 0},d.collapsibleMenuView):void 0,n)},p.default.createElement(_.default,{items:e.disclosure.components,isAnimated:!s,focusRef:this.modalElementRef}))))}},{key:"render",value:function(){var e=this.props,t=e.withDisclosureContainer,n=e.children;return p.default.createElement(w.default,{withDisclosureContainer:t,supportedDisclosureTypes:[S],render:this.renderModal,trapNestedDisclosureRequests:!0},n)}}]),n}(p.default.Component);M.propTypes=D,M.contextType=v.default;t.default=M},52374:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(56690)),o=r(n(89728)),i=r(n(61655)),l=r(n(94993)),u=r(n(73808)),s=r(n(67294)),c=r(n(45697)),d=n(55877),f=r(n(33911)),p=n(42385);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var a=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var h={description:c.default.string,metaData:c.default.object,promptRegistration:p.promptRegistrationContextValueShape.isRequired},b=function(e){(0,i.default)(n,e);var t=m(n);function n(e){var r;return(0,a.default)(this,n),(r=t.call(this,e)).uuid=(0,d.v4)(),r}return(0,o.default)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.description,n=e.metaData,r=e.promptRegistration;r.isDefaultContextValue,r.registerPrompt(this.uuid,t,n)}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=t.description,r=t.metaData;return n!==e.description||r!==e.metaData}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.description,n=e.metaData;e.promptRegistration.registerPrompt(this.uuid,t,n)}},{key:"componentWillUnmount",value:function(){this.props.promptRegistration.unregisterPrompt(this.uuid)}},{key:"render",value:function(){return null}}]),n}(s.default.Component);b.propTypes=h;t.default=(0,f.default)(b)},56453:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(56690)),i=r(n(89728)),l=r(n(66115)),u=r(n(61655)),s=r(n(94993)),c=r(n(73808)),d=r(n(67294)),f=r(n(45697)),p=r(n(850)),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(42385)),h=r(n(33911));function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var g={children:f.default.node,onPromptChange:f.default.func,promptRegistration:m.promptRegistrationContextValueShape.isRequired},y=function(e){(0,u.default)(n,e);var t=v(n);function n(e){var r;return(0,o.default)(this,n),(r=t.call(this,e)).registerPrompt=r.registerPrompt.bind((0,l.default)(r)),r.unregisterPrompt=r.unregisterPrompt.bind((0,l.default)(r)),r.resolvePrompts=r.resolvePrompts.bind((0,l.default)(r)),r.renderNotificationDialog=r.renderNotificationDialog.bind((0,l.default)(r)),r.registeredPrompts={},r.promptProviderValue={registerPrompt:r.registerPrompt,unregisterPrompt:r.unregisterPrompt},r.state={notificationDialogProps:void 0},r}return(0,i.default)(n,[{key:"componentWillUnmount",value:function(){var e=this.props.onPromptChange;e&&e([])}},{key:"registerPrompt",value:function(e,t,r){var a=this.props,o=a.onPromptChange,i=a.promptRegistration;this.registeredPrompts[e]={description:t,metaData:r},o&&o(n.getPromptArray(this.registeredPrompts)),i.registerPrompt(e,t,r)}},{key:"unregisterPrompt",value:function(e){var t=this.props,r=t.onPromptChange,a=t.promptRegistration;this.registeredPrompts[e]&&(delete this.registeredPrompts[e],r&&r(n.getPromptArray(this.registeredPrompts)),a.unregisterPrompt(e))}},{key:"resolvePrompts",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Object.keys(this.registeredPrompts).length)return Promise.resolve();var r=t;return"function"==typeof r&&(r=r(n.getPromptArray(this.registeredPrompts))),new Promise((function(t,n){e.setState({notificationDialogProps:{dialogTitle:r.dialogTitle,title:r.title,message:r.message,startMessage:r.startMessage,content:r.content,endMessage:r.endMessage,acceptButtonText:r.acceptButtonText,rejectButtonText:r.rejectButtonText,emphasizedAction:r.emphasizedAction,buttonOrder:r.buttonOrder,onAccept:t,onReject:n}})}))}},{key:"renderNotificationDialog",value:function(){var e=this,t=this.state.notificationDialogProps,n=t.dialogTitle,r=t.title,a=t.message,o=t.startMessage,i=t.endMessage,l=t.content,u=t.acceptButtonText,s=t.rejectButtonText,c=t.emphasizedAction,f=t.buttonOrder,m=t.onAccept,h=t.onReject,b={text:u,onClick:function(){e.setState({notificationDialogProps:void 0},m)}},v={text:s,onClick:function(){e.setState({notificationDialogProps:void 0},h)}};return d.default.createElement(p.default,{dialogTitle:n||r,startMessage:o||a,endMessage:i,content:l,acceptAction:b,rejectAction:v,buttonOrder:f,emphasizedAction:c,variant:"hazard-medium"})}},{key:"render",value:function(){var e=this.props.children,t=this.state.notificationDialogProps;return d.default.createElement(m.default.Provider,{value:this.promptProviderValue},e,t?this.renderNotificationDialog():void 0)}}],[{key:"getPromptArray",value:function(e){return Object.keys(e).map((function(t){return e[t]}))}}]),n}(d.default.Component);y.propTypes=g;t.default=(0,h.default)(y)},42385:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.promptRegistrationContextValueShape=t.default=void 0;var a=r(n(67294)),o=r(n(45697));t.default=a.default.createContext({isDefaultContextValue:!0,registerPrompt:function(){},unregisterPrompt:function(){}}),t.promptRegistrationContextValueShape=o.default.shape({isDefaultContextValue:o.default.bool,registerPrompt:o.default.func.isRequired,unregisterPrompt:o.default.func.isRequired})},33911:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(10434)),o=r(n(67294)),i=r(n(42385));t.default=function(e){var t,n=o.default.forwardRef((function(t,n){return o.default.createElement(i.default.Consumer,null,(function(r){return o.default.createElement(e,(0,a.default)({},t,{ref:n,promptRegistration:r}))}))}));return n.displayName="withPromptRegistration(".concat((t=e).displayName||t.name||"Component",")"),n.WrappedComponent=e,n}},75923:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigationPromptCheckpoint",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PromptRegistrationContext",{enumerable:!0,get:function(){return i.default}}),t.default=void 0;var a=r(n(52374)),o=r(n(56453)),i=r(n(42385));t.default=a.default},850:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ContentLayoutAsList",{enumerable:!0,get:function(){return b.default}}),t.default=void 0;var o=r(n(70215)),i=r(n(10434)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294)),u=r(n(45697)),s=r(n(31501)),c=r(n(55281)),d=r(n(94184)),f=r(n(47166)),p=n(25387),m=r(n(47341)),h=r(n(23256)),b=r(n(79368)),v=r(n(83907)),g=["dialogTitle","startMessage","endMessage","content","acceptAction","rejectAction","variant","buttonOrder","emphasizedAction","custom","intl"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}var _=f.default.bind(v.default),w={variant:u.default.oneOf(["hazard-high","hazard-medium","hazard-low","error","custom"]).isRequired,dialogTitle:u.default.string,startMessage:u.default.string,endMessage:u.default.string,content:u.default.node,acceptAction:u.default.shape({text:u.default.string,onClick:u.default.func}),rejectAction:u.default.shape({text:u.default.string,onClick:u.default.func}),buttonOrder:u.default.oneOf(["acceptFirst","rejectFirst"]),emphasizedAction:u.default.oneOf(["none","accept","reject"]),custom:u.default.shape({signalWord:u.default.string,iconClassName:u.default.string}),intl:u.default.shape({formatMessage:u.default.func})},k=function(e){var t=l.default.useContext(m.default),n=(0,l.useRef)();(0,l.useEffect)((function(){n.current.focus()}),[]);var r=e.dialogTitle,a=e.startMessage,u=e.endMessage,f=e.content,p=e.acceptAction,b=e.rejectAction,v=e.variant,y=e.buttonOrder,w=e.emphasizedAction,k=e.custom,O=e.intl,E=(0,o.default)(e,g);if(void 0===p&&void 0===b)throw new Error("Either the `acceptAction` or `rejectAction` props must be provided for Notification dialog");if(void 0===v)throw new Error("The variant must be provided to the Notification dialog");var x="custom"===v?k.signalWord:O.formatMessage({id:"Terra.notification.dialog.".concat(v)});return l.default.createElement(s.default,{ariaLabelledBy:"header-container",ariaDescribedBy:"dialogBody",role:"custom"===v?"dialog":"alertdialog",classNameModal:(0,d.default)(_("notification-dialog",t.className),E.className),isOpen:!0,closeOnOutsideClick:!1,zIndex:"9000",isCalledFromNotificationDialog:!0},l.default.createElement("div",{className:_("notification-dialog-inner-wrapper")},l.default.createElement("div",{className:_("notification-dialog-container"),tabIndex:"-1","data-terra-notification-dialog":!0},l.default.createElement("div",{className:_(["floating-header-background",v])}),l.default.createElement("div",{className:_(["header"])},l.default.createElement("div",{className:_(["header-content"])},l.default.createElement(h.default,{variant:v,iconClassName:k.iconClassName}),l.default.createElement("div",{id:"header-container",className:_("header-container")},l.default.createElement("div",{id:"notification-dialog-signal-word",className:_("signal-word")},x),l.default.createElement("div",{id:"notification-dialog-title",className:_("title")},r)))),l.default.createElement("div",{id:"dialogBody",className:_("body")},a&&l.default.createElement("div",{className:_("message")},a),f&&l.default.createElement("div",{className:_("message")},f),u&&l.default.createElement("div",{className:_("message")},u)),l.default.createElement("div",{className:_("footer")},function(e,t,n,r,a){if(!e&&!t)return null;var o=[];if(e){var u="accept"===r?{variant:"emphasis"}:{};"acceptFirst"!==n&&t?o.push(l.default.createElement(c.default,(0,i.default)({},u,{"data-terra-notification-dialog-button":"accept",key:"accept",text:e.text,onClick:e.onClick}))):o.push(l.default.createElement(c.default,(0,i.default)({},u,{refCallback:a,tabIndex:"0","data-terra-notification-dialog-button":"accept",key:"accept",text:e.text,onClick:e.onClick})))}if(t){var s="reject"===r?{variant:"emphasis"}:{};e&&"acceptFirst"===n?o.push(l.default.createElement(c.default,(0,i.default)({},s,{"data-terra-notification-dialog-button":"reject",key:"reject",text:t.text,onClick:t.onClick}))):o.push(l.default.createElement(c.default,(0,i.default)({refCallback:a,tabIndex:"0"},s,{"data-terra-notification-dialog-button":"reject",key:"reject",text:t.text,onClick:t.onClick})))}return l.default.createElement("div",{className:_("actions")},"acceptFirst"===n?o:o.reverse())}(p,b,y,w,(function(e){n.current=e}))))))};k.propTypes=w,k.defaultProps={buttonOrder:"acceptFirst",emphasizedAction:"none",custom:{}};t.default=(0,p.injectIntl)(k)},79368:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=r(n(47166)),l=r(n(47341)),u=r(n(20024)),s=i.default.bind(u.default),c={items:o.default.arrayOf(o.default.string).isRequired},d=function(e){var t=e.items,n=a.default.useContext(l.default);return a.default.createElement("ul",{className:s("list",n.className)},t.map((function(e,t){return a.default.createElement("li",{className:s("list-item"),key:"".concat(e,"-").concat(t)},e)})))};d.propTypes=c;t.default=d},23256:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(38416)),o=r(n(67294)),i=r(n(45697)),l=r(n(94184)),u=r(n(47166)),s=r(n(47341)),c=r(n(97340)),d=u.default.bind(c.default),f={variant:i.default.oneOf(["hazard-high","hazard-medium","hazard-low","error","custom"]).isRequired,iconClassName:i.default.string},p=function(e){var t=e.variant,n=e.iconClassName,r=o.default.useContext(s.default);return o.default.createElement("div",{className:d("icon-container",r.className)},o.default.createElement("span",{className:(0,l.default)(d(["icon","".concat(t,"-icon")],(0,a.default)({},"".concat(n),"custom"===t)))}))};p.propTypes=f;t.default=p},92306:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),i=r(n(56690)),l=r(n(89728)),u=r(n(66115)),s=r(n(61655)),c=r(n(94993)),d=r(n(73808)),f=r(n(67294)),p=r(n(45697)),m=r(n(29121)),h=n(32923),b=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(10059)),v=r(n(5622)),g=r(n(38680)),y=r(n(94448)),_=r(n(58948)),w=r(n(65270));function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var E=["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],x={attachmentBehavior:p.default.oneOf(["auto","flip","push"]),children:p.default.node.isRequired,onRequestClose:p.default.func.isRequired,targetRef:p.default.func.isRequired,boundingRef:p.default.func,classNameArrow:p.default.string,classNameContent:p.default.string,classNameOverlay:p.default.string,contentAttachment:p.default.oneOf(E),contentHeight:p.default.oneOf(["40","80","120","160","240","320","400","480","560","640","720","800","880","auto"]),contentWidth:p.default.oneOf(["160","240","320","400","640","960","1280","1760","auto"]),isArrowDisplayed:p.default.bool,isContentFocusDisabled:p.default.bool,isHeaderDisabled:p.default.bool,isOpen:p.default.bool,targetAttachment:p.default.oneOf(E),popupContentRole:p.default.string,ariaLabel:p.default.string,onClick:p.default.func},P=function(e){(0,s.default)(n,e);var t=O(n);function n(e){var r;return(0,i.default)(this,n),(r=t.call(this,e)).handleOnPosition=r.handleOnPosition.bind((0,u.default)(r)),r.setArrowNode=r.setArrowNode.bind((0,u.default)(r)),r.validateContentNode=r.validateContentNode.bind((0,u.default)(r)),r.handleOnResize=r.handleOnResize.bind((0,u.default)(r)),r.handleOnContentResize=r.handleOnContentResize.bind((0,u.default)(r)),r.isContentSized="auto"!==e.contentHeight&&"auto"!==e.contentWidth,r.contentHeight=_.default[e.contentHeight],r.contentWidth=w.default[e.contentWidth],r.handleRequestClose=r.handleRequestClose.bind((0,u.default)(r)),r}return(0,l.default)(n,[{key:"componentDidMount",value:function(){var e=this.props.targetRef;e()&&e().setAttribute("aria-haspopup","true")}},{key:"shouldComponentUpdate",value:function(e){return this.isContentSized="auto"!==e.contentHeight&&"auto"!==e.contentWidth,this.contentHeight=_.default[e.contentHeight],this.contentWidth=w.default[e.contentWidth],!0}},{key:"handleRequestClose",value:function(){(0,this.props.targetRef)().focus(),this.props.onRequestClose()}},{key:"handleOnPosition",value:function(e,t){this.arrowNode&&this.setArrowPosition(t.content,t.target)}},{key:"handleOnContentResize",value:function(){this.isContentSized="auto"!==this.props.contentHeight&&"auto"!==this.props.contentWidth,this.contentHeight=_.default[this.props.contentHeight],this.contentWidth=w.default[this.props.contentWidth],this.forceUpdate()}},{key:"handleOnResize",value:function(e,t){window.innerWidth!==t?(this.windowWidth=window.innerWidth,this.props.onRequestClose()):(this.isContentSized="auto"!==this.props.contentHeight&&"auto"!==this.props.contentWidth,this.contentHeight=_.default[this.props.contentHeight],this.contentWidth=w.default[this.props.contentWidth],this.forceUpdate())}},{key:"setArrowPosition",value:function(e,t){var n=y.default.getArrowPosition(e,t,v.default.Opts.arrowSize,b.cornerSize);n?(this.arrowNode.setAttribute(v.default.Opts.positionAttr,n),"top"===n||"bottom"===n?(this.arrowNode.style.left=y.default.leftOffset(e,t,v.default.Opts.arrowSize,b.cornerSize),this.arrowNode.style.top=""):(this.arrowNode.style.left="",this.arrowNode.style.top=y.default.topOffset(e,t,v.default.Opts.arrowSize,b.cornerSize))):this.arrowNode.removeAttribute(v.default.Opts.positionAttr)}},{key:"setArrowNode",value:function(e){this.arrowNode=e}},{key:"validateContentNode",value:function(e){if(e){var t=m.default.Utils.getBounds(e);this.contentHeight===t.height&&this.contentWidth===t.width||(this.contentHeight=t.height,this.contentWidth=t.width,this.forceUpdate()),this.isContentSized=!0}}},{key:"createPopupContent",value:function(e,t){var n,r={contentHeight:_.default[this.props.contentHeight]||_.default[80],contentWidth:w.default[this.props.contentWidth]||w.default[240]};return r.contentHeight<=0&&this.contentHeight&&(r.contentHeight=this.contentHeight),r.contentWidth<=0&&this.contentWidth&&(r.contentWidth=this.contentWidth),e?(r.contentHeightMax=e.clientHeight,r.contentWidthMax=e.clientWidth):(r.contentHeightMax=window.innerHeight,r.contentWidthMax=window.innerWidth),t&&(n=f.default.createElement(v.default,{className:this.props.classNameArrow,refCallback:this.setArrowNode})),f.default.createElement(b.default,(0,o.default)({},r,{arrow:n,"aria-label":this.props.ariaLabel,classNameInner:this.props.classNameContent,isHeaderDisabled:this.props.isHeaderDisabled,onRequestClose:this.handleRequestClose,onContentResize:this.handleOnContentResize,onResize:this.handleOnResize,popupContentRole:this.props.popupContentRole,refCallback:this.validateContentNode,isHeightAutomatic:"auto"===this.props.contentHeight,isWidthAutomatic:"auto"===this.props.contentWidth,isFocusedDisabled:this.props.isContentFocusDisabled,onClick:this.props.onClick}),this.props.children)}},{key:"render",value:function(){var e,t=this.props,n=t.attachmentBehavior,r=t.boundingRef,a=(t.children,t.classNameArrow,t.classNameContent,t.classNameOverlay,t.contentAttachment),o=(t.contentHeight,t.contentWidth,t.isArrowDisplayed),i=(t.isContentFocusDisabled,t.isHeaderDisabled,t.isOpen),l=(t.onRequestClose,t.targetRef),u=t.targetAttachment;if(!i)return null;var s,c=y.default.parseAttachment(a);e=u?y.default.parseAttachment(u):y.default.mirrorAttachment(c);var d=o&&"middle center"!==a;d&&(s=y.default.getContentOffset(c,e,this.props.targetRef(),v.default.Opts.arrowSize,b.cornerSize));var p=this.createPopupContent(r?r():void 0,d);return f.default.createElement(f.default.Fragment,null,f.default.createElement(h.Portal,{isOpened:i},f.default.createElement(g.default,{className:this.props.classNameOverlay,onRequestClose:this.props.onRequestClose})),f.default.createElement(m.default,{attachmentBehavior:n,attachmentMargin:d?v.default.Opts.arrowSize:0,boundingRef:r,contentAttachment:c,contentOffset:s,isEnabled:this.isContentSized,isOpen:i,onPosition:this.handleOnPosition,targetRef:l,targetAttachment:e},p))}}]),n}(f.default.Component);P.propTypes=x,P.defaultProps={attachmentBehavior:"auto",boundingRef:null,classNameArrow:null,classNameContent:null,classNameOverlay:null,contentAttachment:"top center",contentHeight:"80",contentWidth:"240",isArrowDisplayed:!1,isContentFocusDisabled:!1,isHeaderDisabled:!1,isOpen:!1,popupContentRole:"dialog"},P.Opts={attachmentPositions:E,heights:_.default,widths:w.default};t.default=P},58948:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={auto:-1,40:40,80:80,120:120,160:160,240:240,320:320,400:400,480:480,560:560,640:640,720:720,800:800,880:880}},65270:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={auto:-1,160:160,240:240,320:320,400:400,640:640,960:960,1280:1280,1760:1760}},5622:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(10434)),o=r(n(70215)),i=r(n(67294)),l=r(n(45697)),u=r(n(94184)),s=r(n(47166)),c=r(n(47341)),d=r(n(20437)),f=["refCallback"],p=s.default.bind(d.default),m={refCallback:l.default.func},h=function(e){var t=e.refCallback,n=(0,o.default)(e,f),r=i.default.useContext(c.default),l=(0,u.default)(p("popup-arrow",r.className),n.className);return i.default.createElement("div",(0,a.default)({},n,{className:l,ref:t}))};h.propTypes=m,h.Opts={arrowSize:11,positionAttr:"data-align-arrow"};t.default=h},10059:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.cornerSize=void 0;var a=r(n(10434)),o=r(n(70215)),i=r(n(56690)),l=r(n(89728)),u=r(n(66115)),s=r(n(61655)),c=r(n(94993)),d=r(n(73808)),f=r(n(67294)),p=n(25387),m=r(n(45697)),h=r(n(94184)),b=r(n(47166)),v=r(n(47341)),g=r(n(55281)),y=r(n(10027)),_=r(n(54483)),w=r(n(29121)),k=r(n(57342)),O=["arrow","children","classNameInner","contentHeight","contentHeightMax","contentWidth","contentWidthMax","isFocusedDisabled","isHeaderDisabled","isHeightAutomatic","isWidthAutomatic","onRequestClose","onResize","onContentResize","popupContentRole","refCallback"];function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var x=b.default.bind(k.default),P=(t.cornerSize=3,{children:m.default.node.isRequired,contentHeight:m.default.number.isRequired,contentWidth:m.default.number.isRequired,onRequestClose:m.default.func.isRequired,onResize:m.default.func.isRequired,arrow:m.default.element,classNameInner:m.default.string,contentHeightMax:m.default.number,contentWidthMax:m.default.number,isFocusedDisabled:m.default.bool,isHeaderDisabled:m.default.bool,isHeightAutomatic:m.default.bool,isWidthAutomatic:m.default.bool,onContentResize:m.default.func,popupContentRole:m.default.string,refCallback:m.default.func}),S=function(e){(0,s.default)(n,e);var t=E(n);function n(e){var r;return(0,i.default)(this,n),(r=t.call(this,e)).handleOnResize=r.handleOnResize.bind((0,u.default)(r)),r}return(0,l.default)(n,[{key:"componentDidMount",value:function(){this.windowWidth=window.innerWidth}},{key:"handleOnResize",value:function(e){this.props.onResize&&this.props.onResize(e,this.windowWidth)}},{key:"render",value:function(){var e=this.props,t=e.arrow,r=e.children,i=e.classNameInner,l=e.contentHeight,u=e.contentHeightMax,s=e.contentWidth,c=e.contentWidthMax,d=e.isFocusedDisabled,p=e.isHeaderDisabled,m=e.isHeightAutomatic,b=e.isWidthAutomatic,v=e.onRequestClose,g=(e.onResize,e.onContentResize),y=e.popupContentRole,k=e.refCallback,E=(0,o.default)(e,O),P=n.getContentStyle(l,u,s,c,m,b),S=n.isBounded(l,u),C=n.isBounded(s,c),D=S&&C,j=n.cloneChildren(r,m,b,S,C,p);D&&!p&&(j=n.addPopupHeader(j,v));var T=this.context,M=(0,h.default)(x("content",T.className),E.className),A=t&&!D,N=A?t:void 0,I=x(["inner",{"is-full-screen":D},{"rounded-corners":A},i]),R=m?{"data-terra-popup-automatic-height":!0}:{},L=b?{"data-terra-popup-automatic-width":!0}:{};return f.default.createElement(_.default,{focusTrapOptions:{returnFocusOnDeactivate:!0,clickOutsideDeactivates:!0}},f.default.createElement("div",null,f.default.createElement(w.default.Content,(0,a.default)({},E,{className:M,tabIndex:d?null:"0","data-terra-popup-content":!0,onContentResize:m||b?g:void 0,onEsc:v,onResize:this.handleOnResize,refCallback:k,role:y||null}),N,f.default.createElement("div",(0,a.default)({},R,L,{className:I,style:P}),j))))}}],[{key:"addPopupHeader",value:function(e,t){var n=f.default.createElement("span",{className:x("close-icon")}),r=f.default.createElement("div",{className:x("header")},f.default.createElement(p.FormattedMessage,{id:"Terra.popup.header.close"},(function(e){var r=e;return Array.isArray(e)&&(r=e.join("")),f.default.createElement(g.default,{variant:"utility",isIconOnly:!0,icon:n,onClick:t,text:r})})));return f.default.createElement(y.default,{header:r,fill:!0},e)}},{key:"isBounded",value:function(e,t){return e>0&&t>0&&e>=t}},{key:"cloneChildren",value:function(e,t,n,r,a,o){var i={};return t&&(i.isHeightBounded=r),n&&(i.isWidthBounded=a),r&&a&&o&&(i.closeButtonRequired="true"),f.default.Children.map(e,(function(e){return f.default.cloneElement(e,i)}))}},{key:"getContentStyle",value:function(e,t,r,a,o,i){var l=n.getDimensionStyle(e,t,o),u=n.getDimensionStyle(r,a,i),s={};return l&&(s.height=l),u&&(s.width=u),s}},{key:"getDimensionStyle",value:function(e,t,n){if(e>0){if(t>0&&e>=t)return"".concat(t.toString(),"px");if(!n)return"".concat(e.toString(),"px")}return null}}]),n}(f.default.Component);S.propTypes=P,S.defaultProps={classNameInner:null,contentHeightMax:-1,contentWidthMax:-1,isFocusedDisabled:!1,isHeaderDisabled:!1,isHeightAutomatic:!1,isWidthAutomatic:!1,popupContentRole:"dialog"},S.contextType=v.default;t.default=S},38680:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(10434)),o=r(n(70215)),i=r(n(56690)),l=r(n(89728)),u=r(n(66115)),s=r(n(61655)),c=r(n(94993)),d=r(n(73808)),f=r(n(67294)),p=r(n(45697)),m=r(n(94184)),h=r(n(47166)),b=r(n(47341)),v=r(n(35470)),g=["children"];function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var _=h.default.bind(v.default),w={onRequestClose:p.default.func,children:p.default.node},k=function(e){(0,s.default)(n,e);var t=y(n);function n(){var e;return(0,i.default)(this,n),(e=t.call(this)).handleOnClick=e.handleOnClick.bind((0,u.default)(e)),e}return(0,l.default)(n,[{key:"componentDidMount",value:function(){this.overlayStyle=document.documentElement.style.overflow,document.documentElement.style.overflow="hidden"}},{key:"componentWillUnmount",value:function(){document.documentElement.style.overflow=this.overlayStyle}},{key:"handleOnClick",value:function(e){e.stopPropagation(),this.props.onRequestClose&&this.props.onRequestClose(e)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(0,o.default)(e,g);delete n.closePortal,delete n.onRequestClose;var r=this.context;return f.default.createElement(f.default.Fragment,null,f.default.createElement("div",(0,a.default)({onClick:this.handleOnClick},n,{className:(0,m.default)(_("popup-overlay",r.className),n.className)}),f.default.createElement("div",{className:_("inner")}),t))}}]),n}(f.default.Component);k.propTypes=w,k.defaultProps={children:[]},k.contextType=b.default;t.default=k},94448:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(27424)),o={center:"center",left:"start",right:"end"},i={center:"center",start:"end",end:"start"},l={middle:"middle",top:"bottom",bottom:"top"},u=function(e){return"middle"!==e.vertical},s=function(e){return e.top+e.height},c=function(e){return e.left+e.width},d=function(e,t,n,r){var a=c(e)-n-r>=t.left,o=e.left+n+r<=c(t);return a&&o},f=function(e,t,n,r){var a=s(e)-n-r>=t.top,o=e.top+n+r<=s(t);return a&&o},p={isVerticalAttachment:u,getContentOffset:function(e,t,n,r,a){var o={vertical:0,horizontal:0};if(n){var i=r+a;u(e)&&(e.horizontal!==t.horizontal||n.clientWidth=s(o)){if(d(a,o,n,r))return"top"}else if(a.left>=c(o)&&f(a,o,n,r))return"left";return function(e,t,n,r){var a=e.rect,o=t.rect,i=e.attachment,l={};l.right=c(a)>=o.left&&c(a)<=c(o)-n,l.bottom=s(a)>=o.top&&s(a)<=s(o)-n,l.left=a.left>=o.left+n&&a.left<=c(o),l.top=a.top>=o.top+n&&a.top<=s(o);var u=[];if((l.right||l.left)&&f(a,o,n,r)&&(l.left&&u.push("left"),l.right&&u.push("right")),(l.bottom||l.top)&&d(a,o,n,r)&&(l.top&&u.push("top"),l.bottom&&u.push("bottom")),u.length>1){if("middle"===i.vertical&&u.indexOf(i.horizontal)>=0)return i.horizontal;if(u.indexOf(i.vertical)>=0)return i.vertical}return u[0]}(e,t,n,r)},leftOffset:function(e,t,n,r){var a=e.rect,o=t.rect,i=t.attachment,l=o.left-a.left+n+t.offset.horizontal;return"center"===i.horizontal?l+=o.width/2:"right"===i.horizontal&&(l+=o.width),l<2*n+r?l=2*n+r:l>a.width-r&&(l=a.width-r),"".concat(l,"px")},mirrorAttachment:function(e){return"middle"!==e.vertical?{vertical:l[e.vertical],horizontal:e.horizontal}:{vertical:e.vertical,horizontal:i[e.horizontal]}},parseAttachment:function(e){if(!e)return{vertical:"",horizontal:""};var t=e.split(" "),n=(0,a.default)(t,2),r=n[0],i=n[1];return{vertical:r,horizontal:o[i]}},topOffset:function(e,t,n,r){var a=e.rect,o=t.rect,i=t.attachment,l=o.top-a.top+n+t.offset.vertical;return"middle"===i.vertical?l+=o.height/2:"bottom"===i.vertical&&(l+=o.height),l<2*n+r?l=2*n+r:l>a.height-r&&(l=a.height-r),"".concat(l,"px")}};t.default=p},8703:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27424)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294)),l=r(n(45697)),u=r(n(47166)),s=r(n(47341)),c=r(n(29270)),d=r(n(30114));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var p=u.default.bind(d.default),m={isHidden:l.default.bool,children:l.default.node,focusRef:l.default.instanceOf(Element),slideAriaLabel:l.default.string,isNested:l.default.bool},h=function(e){var t=e.children,n=e.focusRef,r=e.isHidden,a=e.slideAriaLabel,l=e.isNested,u=(0,i.useState)(null),d=(0,o.default)(u,2),f=d[0],m=d[1],h=(0,i.useState)(!1),b=(0,o.default)(h,2),v=b[0],g=b[1];(0,i.useEffect)((function(){!r&&f?(g(!0),f.focus()):!r&&n&&n.focus&&n.focus()}),[r]);var y=function(e){g(!1),m(e.target)},_=i.default.useContext(s.default);return i.default.createElement("div",{className:p("slide",_.className),"aria-hidden":r||null,"aria-label":v?a:void 0,onClick:y,onKeyUp:y,role:v?"region":void 0},i.default.createElement(c.default,{"aria-hidden":!l,"aria-live":"polite",text:a}),i.default.createElement("div",{className:p("slide-shadow")}),t)};h.propTypes=m,h.defaultProps={isHidden:!1};t.default=h},46829:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(10434)),o=r(n(70215)),i=r(n(56690)),l=r(n(89728)),u=r(n(66115)),s=r(n(61655)),c=r(n(94993)),d=r(n(73808)),f=r(n(67294)),p=r(n(45697)),m=r(n(94184)),h=r(n(47166)),b=r(n(47341)),v=r(n(26030)),g=r(n(2446)),y=r(n(8703)),_=r(n(30114)),w=["items","isAnimated","focusRef","slideAriaLabel"];function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var O=h.default.bind(_.default),E={items:p.default.array,isAnimated:p.default.bool,focusRef:p.default.instanceOf(Element),slideAriaLabel:p.default.string},x=function(e){(0,s.default)(n,e);var t=k(n);function n(e){var r;return(0,i.default)(this,n),(r=t.call(this,e)).setContainer=r.setContainer.bind((0,u.default)(r)),r}return(0,l.default)(n,[{key:"setContainer",value:function(e){e&&(this.slideGroup=e)}},{key:"render",value:function(){var e=this.props,t=e.items,r=e.isAnimated,i=e.focusRef,l=e.slideAriaLabel,u=(0,o.default)(e,w);if(!t||!t.length)return null;var s=t[0].key,c=t.length-1,d={enter:_.default.enter,enterActive:_.default["enter-active"],exit:_.default.exit,exitActive:_.default["exit-active"]},p=this.context,h=(0,m.default)(O("slide-group",p.className),u.className);return f.default.createElement(v.default,(0,a.default)({},u,{ref:this.setContainer,className:h,key:s}),t.map((function(e,t){return f.default.createElement(g.default,{classNames:d,enter:r,onEntered:n.hidePreviousSlide,exit:r,onExit:n.showPreviousSlide,timeout:300,key:e.key,id:"shmmoop"},f.default.createElement(y.default,{isHidden:t!==c,focusRef:i,slideAriaLabel:l,isNested:t>0},e))})))}}],[{key:"hidePreviousSlide",value:function(e){e.previousSibling&&e.previousSibling.setAttribute("aria-hidden",!0)}},{key:"showPreviousSlide",value:function(e){e.previousSibling&&e.previousSibling.removeAttribute("aria-hidden")}}]),n}(f.default.Component);x.propTypes=E,x.defaultProps={isAnimated:!1},x.contextType=b.default;t.default=x},47341:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.themeContextShape=t.default=void 0;var a=r(n(67294)),o=r(n(45697)),i=a.default.createContext({});t.themeContextShape=o.default.shape({className:o.default.string}),t.default=i},58502:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294)),i=r(n(45697)),l=r(n(47341));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var s={children:i.default.element.isRequired,theme:i.default.shape({name:i.default.string,className:i.default.string})},c=function(e){var t=e.theme,n=e.children,r=(0,o.useMemo)((function(){return{name:t.name,className:t.className}}),[t.name,t.className]);return o.default.createElement(l.default.Provider,{value:r},n)};c.propTypes=s,c.defaultProps={theme:{}};t.default=c},43666:function(e,t,n){"use strict";var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294)),i=r(n(45697));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var u={children:i.default.node.isRequired,themeName:i.default.string},s=function(e){var t=e.children,n=e.themeName;return(0,o.useEffect)((function(){return n&&document.documentElement.classList.add(n),function(){n&&document.documentElement.classList.remove(n)}}),[n]),o.default.createElement(o.default.Fragment,null,t)};s.propTypes=u;t.default=s},52945:function(e,t,n){e.exports={default:n(88077),__esModule:!0}},32242:function(e,t,n){e.exports={default:n(44003),__esModule:!0}},17505:function(e,t,n){e.exports={default:n(84471),__esModule:!0}},46593:function(e,t,n){e.exports={default:n(63800),__esModule:!0}},99663:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},22600:function(e,t,n){"use strict";t.__esModule=!0;var r,a=n(32242),o=(r=a)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;nc;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},93965:function(e,t,n){var r=n(84499),a=n(25346)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:o?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}},84499:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},94731:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},11821:function(e,t,n){var r=n(71449);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},11605:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},95810:function(e,t,n){e.exports=!n(93777)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},72571:function(e,t,n){var r=n(89151),a=n(99362).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},35568:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},49901:function(e,t,n){var r=n(99362),a=n(94731),o=n(11821),i=n(96519),l=n(3571),u="prototype",s=function(e,t,n){var c,d,f,p=e&s.F,m=e&s.G,h=e&s.S,b=e&s.P,v=e&s.B,g=e&s.W,y=m?a:a[t]||(a[t]={}),_=y[u],w=m?r:h?r[t]:(r[t]||{})[u];for(c in m&&(n=t),n)(d=!p&&w&&void 0!==w[c])&&l(y,c)||(f=d?w[c]:n[c],y[c]=m&&"function"!=typeof w[c]?n[c]:v&&d?o(f,r):g&&w[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(f):b&&"function"==typeof f?o(Function.call,f):f,b&&((y.virtual||(y.virtual={}))[c]=f,e&s.R&&_&&!_[c]&&i(_,c,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},93777:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},12859:function(e,t,n){var r=n(11821),a=n(13749),o=n(4034),i=n(26504),l=n(68317),u=n(93898),s={},c={},d=e.exports=function(e,t,n,d,f){var p,m,h,b,v=f?function(){return e}:u(e),g=r(n,d,t?2:1),y=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(p=l(e.length);p>y;y++)if((b=t?g(i(m=e[y])[0],m[1]):g(e[y]))===s||b===c)return b}else for(h=v.call(e);!(m=h.next()).done;)if((b=a(h,g,m.value,t))===s||b===c)return b};d.BREAK=s,d.RETURN=c},99362:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},3571:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},96519:function(e,t,n){var r=n(21738),a=n(38051);e.exports=n(95810)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},10203:function(e,t,n){var r=n(99362).document;e.exports=r&&r.documentElement},93254:function(e,t,n){e.exports=!n(95810)&&!n(93777)((function(){return 7!=Object.defineProperty(n(72571)("div"),"a",{get:function(){return 7}}).a}))},29029:function(e){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},72312:function(e,t,n){var r=n(84499);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},4034:function(e,t,n){var r=n(33135),a=n(25346)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[a]===e)}},89151:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},13749:function(e,t,n){var r=n(26504);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},69163:function(e,t,n){"use strict";var r=n(34055),a=n(38051),o=n(10420),i={};n(96519)(i,n(25346)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(i,{next:a(1,n)}),o(e,t+" Iterator")}},54346:function(e,t,n){"use strict";var r=n(57346),a=n(49901),o=n(11865),i=n(96519),l=n(33135),u=n(69163),s=n(10420),c=n(91146),d=n(25346)("iterator"),f=!([].keys&&"next"in[].keys()),p="keys",m="values",h=function(){return this};e.exports=function(e,t,n,b,v,g,y){u(n,t,b);var _,w,k,O=function(e){if(!f&&e in S)return S[e];switch(e){case p:case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",x=v==m,P=!1,S=e.prototype,C=S[d]||S["@@iterator"]||v&&S[v],D=C||O(v),j=v?x?O("entries"):D:void 0,T="Array"==t&&S.entries||C;if(T&&(k=c(T.call(new e)))!==Object.prototype&&k.next&&(s(k,E,!0),r||"function"==typeof k[d]||i(k,d,h)),x&&C&&C.name!==m&&(P=!0,D=function(){return C.call(this)}),r&&!y||!f&&!P&&S[d]||i(S,d,D),l[t]=D,l[E]=h,v)if(_={values:x?D:O(m),keys:g?D:O(p),entries:j},y)for(w in _)w in S||o(S,w,_[w]);else a(a.P+a.F*(f||P),t,_);return _}},18606:function(e,t,n){var r=n(25346)("iterator"),a=!1;try{var o=[7][r]();o.return=function(){a=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o=[7],i=o[r]();i.next=function(){return{done:n=!0}},o[r]=function(){return i},e(o)}catch(e){}return n}},54098:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},33135:function(e){e.exports={}},57346:function(e){e.exports=!0},55965:function(e,t,n){var r=n(3535)("meta"),a=n(89151),o=n(3571),i=n(21738).f,l=0,u=Object.isExtensible||function(){return!0},s=!n(93777)((function(){return u(Object.preventExtensions({}))})),c=function(e){i(e,r,{value:{i:"O"+ ++l,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return s&&d.NEED&&u(e)&&!o(e,r)&&c(e),e}}},22729:function(e,t,n){var r=n(99362),a=n(50746).set,o=r.MutationObserver||r.WebKitMutationObserver,i=r.process,l=r.Promise,u="process"==n(84499)(i);e.exports=function(){var e,t,n,s=function(){var r,a;for(u&&(r=i.domain)&&r.exit();e;){a=e.fn,e=e.next;try{a()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){i.nextTick(s)};else if(!o||r.navigator&&r.navigator.standalone)if(l&&l.resolve){var c=l.resolve(void 0);n=function(){c.then(s)}}else n=function(){a.call(r,s)};else{var d=!0,f=document.createTextNode("");new o(s).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var a={fn:r,next:void 0};t&&(t.next=a),e||(e=a,n()),t=a}}},81351:function(e,t,n){"use strict";var r=n(71449);function a(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new a(e)}},50266:function(e,t,n){"use strict";var r=n(95810),a=n(99656),o=n(32614),i=n(43416),l=n(19411),u=n(72312),s=Object.assign;e.exports=!s||n(93777)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r}))?function(e,t){for(var n=l(e),s=arguments.length,c=1,d=o.f,f=i.f;s>c;)for(var p,m=u(arguments[c++]),h=d?a(m).concat(d(m)):a(m),b=h.length,v=0;b>v;)p=h[v++],r&&!f.call(m,p)||(n[p]=m[p]);return n}:s},34055:function(e,t,n){var r=n(26504),a=n(20121),o=n(35568),i=n(46210)("IE_PROTO"),l=function(){},u="prototype",s=function(){var e,t=n(72571)("iframe"),r=o.length;for(t.style.display="none",n(10203).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("Terra Framework