From 728f938fd8a69f3c8cb45c44c1f0939c65faab39 Mon Sep 17 00:00:00 2001 From: cm9361 Date: Mon, 20 Nov 2023 17:58:08 +0000 Subject: [PATCH] deploy: 271ce2186d9dfa9779026e13b743bc3eb4e31567 --- pull/1901/56460-02c17be820da8d0d394d.js | 1 - ...2c17be820da8d0d394d.css => 56460-b8f402807ca7b98cbf6c.css} | 0 pull/1901/56460-b8f402807ca7b98cbf6c.js | 1 + ...9b4f7080c22ac41d46a.css => index-1009c3acbf560473c941.css} | 0 ...-69b4f7080c22ac41d46a.js => index-1009c3acbf560473c941.js} | 4 ++-- ....LICENSE.txt => index-1009c3acbf560473c941.js.LICENSE.txt} | 0 pull/1901/index.html | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 pull/1901/56460-02c17be820da8d0d394d.js rename pull/1901/{56460-02c17be820da8d0d394d.css => 56460-b8f402807ca7b98cbf6c.css} (100%) create mode 100644 pull/1901/56460-b8f402807ca7b98cbf6c.js rename pull/1901/{index-69b4f7080c22ac41d46a.css => index-1009c3acbf560473c941.css} (100%) rename pull/1901/{index-69b4f7080c22ac41d46a.js => index-1009c3acbf560473c941.js} (99%) rename pull/1901/{index-69b4f7080c22ac41d46a.js.LICENSE.txt => index-1009c3acbf560473c941.js.LICENSE.txt} (100%) diff --git a/pull/1901/56460-02c17be820da8d0d394d.js b/pull/1901/56460-02c17be820da8d0d394d.js deleted file mode 100644 index 5d98b612e80..00000000000 --- a/pull/1901/56460-02c17be820da8d0d394d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[56460],{77875:function(e,t,n){var r=n(64836),o=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(861)),a=r(n(27424)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(67294)),c=r(n(12810));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=[{id:"Column-0",displayName:"Patient"},{id:"Column-1",displayName:"Location"},{id:"Column-2",displayName:"Illness Severity"}],f=[{id:"1",isSelectable:!0,cells:[{content:"Fleck, Arthur"},{content:"1007-MTN"},{content:"Unstable"}]},{id:"2",isSelectable:!0,cells:[{content:"Wayne, Bruce"},{content:"1107-MTN-DR"},{content:"Stable"}]},{id:"3",isSelectable:!0,cells:[{content:"Carr, Alicia"},{content:"1007-MTN"},{content:"Unstable"}]},{id:"4",isSelectable:!0,cells:[{content:"McMurphy, Donald"},{content:"1024-MTN",isMasked:!0},{content:"Stable"}]},{id:"5",isSelectable:!0,cells:[{content:"Peters, Timothy"},{content:"1207-MTN"},{content:"Unstable",isMasked:!0}]}];t.default=function(){var e=s,t=f,n=(0,l.useState)(t),r=(0,a.default)(n,2),o=r[0],u=r[1],p=(0,l.useCallback)((function(e){var t=(0,i.default)(o),n=t.find((function(t){return t.id===e}));n&&(n.isSelected=!n.isSelected),u(t)}),[o]),d=(0,l.useCallback)((function(){alert("Row Selection Header Clicked")}),[]);return l.default.createElement(c.default,{id:"table-with-single-row-selection",overflowColumns:e,rows:o,rowHeaderIndex:0,columnWidth:"180px",ariaLabel:"Table with Single Row Selection",rowSelectionMode:"single",onRowSelect:p,onRowSelectionHeaderSelect:d})}},9197:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"SectionHeader-module__clinical-lowlight-theme___M-5zo","orion-fusion-theme":"SectionHeader-module__orion-fusion-theme___MGUT7","section-header":"SectionHeader-module__section-header___wbdJQ","is-interactable":"SectionHeader-module__is-interactable___4Hj3Z","is-active":"SectionHeader-module__is-active___Qfdbq","is-transparent":"SectionHeader-module__is-transparent___3L6Q5","title-arrange":"SectionHeader-module__title-arrange___t4JW1",title:"SectionHeader-module__title___EPyaG","accordion-icon-wrapper":"SectionHeader-module__accordion-icon-wrapper___BOHqG","accordion-icon":"SectionHeader-module__accordion-icon___VQmOf","is-open":"SectionHeader-module__is-open___naqpt","arrange-wrapper":"SectionHeader-module__arrange-wrapper___jwEJm"}},16772:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=y(n(67294)),i=y(n(45697)),a=y(n(94184)),l=y(n(47166)),c=y(n(47341)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(51051)),s=y(n(78490)),f=y(n(9197)),p=["text","title","onClick","isOpen","isTransparent","level"];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)}function y(e){return e&&e.__esModule?e:{default:e}}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function O(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function O(e,t){for(var n=0;n0&&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&&(P=O);var S=l.default.useContext(f.default),C=(0,c.default)(y("abstract-modal",{"is-fullscreen":w},"layer-".concat(P),S.className),a),D=(0,c.default)(y("abstract-modal-container"));delete x.closePortal,delete x.fallbackFocus;var j=!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform);return l.default.createElement(l.default.Fragment,null,l.default.createElement(m.default,{onClick:d?b:null,className:u,zIndex:P}),l.default.createElement("div",(0,o.default)({},x,{tabIndex:j?"-1":"0","aria-label":n,className:C,role:g,ref:t}),l.default.createElement("div",{className:D,ref:E,"data-terra-abstract-modal-begin":!0,tabIndex:"-1"},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})})),r,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"};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);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ContentLayoutAsList",{enumerable:!0,get:function(){return b.default}}),t.default=void 0;var a=r(n(70215)),o=r(n(10434)),i=r(n(67294)),l=r(n(45697)),u=r(n(31501)),s=r(n(54483)),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"],y=f.default.bind(v.default),_={variant:l.default.oneOf(["hazard-high","hazard-medium","hazard-low","error","custom"]).isRequired,dialogTitle:l.default.string,startMessage:l.default.string,endMessage:l.default.string,content:l.default.node,acceptAction:l.default.shape({text:l.default.string,onClick:l.default.func}),rejectAction:l.default.shape({text:l.default.string,onClick:l.default.func}),buttonOrder:l.default.oneOf(["acceptFirst","rejectFirst"]),emphasizedAction:l.default.oneOf(["none","accept","reject"]),custom:l.default.shape({signalWord:l.default.string,iconClassName:l.default.string}),intl:l.default.shape({formatMessage:l.default.func})},w=function(e){var t=i.default.useContext(m.default),n=e.dialogTitle,r=e.startMessage,l=e.endMessage,f=e.content,p=e.acceptAction,b=e.rejectAction,v=e.variant,_=e.buttonOrder,w=e.emphasizedAction,k=e.custom,O=e.intl,E=(0,a.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 i.default.createElement(u.default,{ariaLabel:x,"aria-labelledby":"notification-dialog-signal-word","aria-describedby":n?"notification-dialog-title":"notification-dialog-signal-word",role:"alertdialog",classNameModal:(0,d.default)(y("notification-dialog",t.className),E.className),isOpen:!0,onRequestClose:function(){},closeOnEsc:!1,closeOnOutsideClick:!1,zIndex:"9000"},i.default.createElement(s.default,{focusTrapOptions:{returnFocusOnDeactivate:!0,clickOutsideDeactivates:!1,escapeDeactivates:!1}},i.default.createElement("div",{className:y("notification-dialog-inner-wrapper")},i.default.createElement("div",{className:y("notification-dialog-container"),tabIndex:"0","data-terra-notification-dialog":!0},i.default.createElement("div",{className:y(["floating-header-background",v])}),i.default.createElement("div",{className:y(["header"])},i.default.createElement("div",{className:y(["header-content"])},i.default.createElement(h.default,{variant:v,iconClassName:k.iconClassName}),i.default.createElement("div",{className:y("header-container")},i.default.createElement("div",{id:"notification-dialog-signal-word",className:y("signal-word")},x),i.default.createElement("div",{id:"notification-dialog-title",className:y("title")},n)))),i.default.createElement("div",{className:y("body")},r&&i.default.createElement("div",{className:y("message")},r),f&&i.default.createElement("div",{className:y("message")},f),l&&i.default.createElement("div",{className:y("message")},l)),i.default.createElement("div",{className:y("footer")},function(e,t,n,r){if(!e&&!t)return null;var a=[];if(e){var l="accept"===r?{variant:"emphasis"}:{};a.push(i.default.createElement(c.default,(0,o.default)({},l,{"data-terra-notification-dialog-button":"accept",key:"accept",text:e.text,onClick:e.onClick})))}if(t){var u="reject"===r?{variant:"emphasis"}:{};a.push(i.default.createElement(c.default,(0,o.default)({},u,{"data-terra-notification-dialog-button":"reject",key:"reject",text:t.text,onClick:t.onClick})))}return i.default.createElement("div",{className:y("actions")},"acceptFirst"===n?a:a.reverse())}(p,b,_,w))))))};w.propTypes=_,w.defaultProps={buttonOrder:"acceptFirst",emphasizedAction:"none",custom:{}};t.default=(0,p.injectIntl)(w)},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
\ No newline at end of file + ;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"c494ac44c8",applicationID:"144458769",sa:1}Terra Framework
\ No newline at end of file