From d47112cd07aec67252d3550a5df99d3082c94343 Mon Sep 17 00:00:00 2001 From: sdadn Date: Fri, 24 May 2024 16:31:04 +0000 Subject: [PATCH] deploy: 736366671d227eb6ddf8e40b37fc4e0d2986d347 --- ...972541c1cef6b2861a1.css => 51241-acfac443cbe1c67af4a9.css} | 0 ...-e972541c1cef6b2861a1.js => 51241-acfac443cbe1c67af4a9.js} | 2 +- pull/2175/94052-3c43a1bbdb4b371ff018.js | 1 - ...c43a1bbdb4b371ff018.css => 94052-baa2815b48ac38349309.css} | 0 pull/2175/94052-baa2815b48ac38349309.js | 1 + ...3302f9d7e9be1160a28.css => index-c7f2ce7a1fd0e359a166.css} | 0 ...-13302f9d7e9be1160a28.js => index-c7f2ce7a1fd0e359a166.js} | 4 ++-- ....LICENSE.txt => index-c7f2ce7a1fd0e359a166.js.LICENSE.txt} | 0 pull/2175/index.html | 2 +- 9 files changed, 5 insertions(+), 5 deletions(-) rename pull/2175/{51241-e972541c1cef6b2861a1.css => 51241-acfac443cbe1c67af4a9.css} (100%) rename pull/2175/{51241-e972541c1cef6b2861a1.js => 51241-acfac443cbe1c67af4a9.js} (99%) delete mode 100644 pull/2175/94052-3c43a1bbdb4b371ff018.js rename pull/2175/{94052-3c43a1bbdb4b371ff018.css => 94052-baa2815b48ac38349309.css} (100%) create mode 100644 pull/2175/94052-baa2815b48ac38349309.js rename pull/2175/{index-13302f9d7e9be1160a28.css => index-c7f2ce7a1fd0e359a166.css} (100%) rename pull/2175/{index-13302f9d7e9be1160a28.js => index-c7f2ce7a1fd0e359a166.js} (99%) rename pull/2175/{index-13302f9d7e9be1160a28.js.LICENSE.txt => index-c7f2ce7a1fd0e359a166.js.LICENSE.txt} (100%) diff --git a/pull/2175/51241-e972541c1cef6b2861a1.css b/pull/2175/51241-acfac443cbe1c67af4a9.css similarity index 100% rename from pull/2175/51241-e972541c1cef6b2861a1.css rename to pull/2175/51241-acfac443cbe1c67af4a9.css diff --git a/pull/2175/51241-e972541c1cef6b2861a1.js b/pull/2175/51241-acfac443cbe1c67af4a9.js similarity index 99% rename from pull/2175/51241-e972541c1cef6b2861a1.js rename to pull/2175/51241-acfac443cbe1c67af4a9.js index ec7d0f6dca0..850eb5a5cea 100644 --- a/pull/2175/51241-e972541c1cef6b2861a1.js +++ b/pull/2175/51241-acfac443cbe1c67af4a9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[51241,54672,32291],{201:function(e,t,n){var a=n(24994),o=n(73738);t.A=void 0;var l=a(n(85715)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var d=l?Object.getOwnPropertyDescriptor(e,r):null;d&&(d.get||d.set)?Object.defineProperty(a,r,d):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a}(n(96540)),d=a(n(5556)),s=a(n(67967)),h=n(92912),m=a(n(49558)),i=a(n(53665)),c=n(25966),u=a(n(89986));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 x=s.default.bind(u.default),g={example:d.default.element,exampleSrc:d.default.element,exampleCssSrc:d.default.element,title:d.default.string,description:d.default.node,isExpanded:d.default.bool},f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},v=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},C=function(e){var t=e.example,n=e.exampleSrc,a=e.exampleCssSrc,o=e.title,d=e.description,s=e.isExpanded,u=(0,r.useState)(s),p=(0,l.default)(u,2),g=p[0],C=p[1],k=(0,r.useState)(!1),b=(0,l.default)(k,2),A=b[0],y=b[1],T=r.default.useContext(h.ThemeContext),N=void 0!==a,E=function(){y(!A),g&&C(!g)},_=function(){C(!g),A&&y(!A)},R=function(e,t){e.nativeEvent.keyCode!==c.KEY_SPACE&&e.nativeEvent.keyCode!==c.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:x("template",T.className)},r.default.createElement("div",{className:x("header")},o&&r.default.createElement("h2",{className:x("title")},o)),r.default.createElement("div",{className:x("content")},d&&r.default.createElement("div",{className:x("description")},d),t),r.default.createElement("div",{className:x("footer")},n?r.default.createElement("div",{className:x("button-container")},N&&r.default.createElement("button",{type:"button",className:x("css-toggle","item",{"is-selected":A}),onClick:E,onKeyDown:function(e){return R(e,E)},onBlur:f,onMouseDown:v,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(m.default,{className:x("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(i.default,{className:x("chevron")})),r.default.createElement("button",{type:"button",className:x("code-toggle","item",{"is-selected":g}),onClick:_,onKeyDown:function(e){return R(e,_)},onBlur:f,onMouseDown:v,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(m.default,{className:x("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(i.default,{className:x("chevron")}))):null,r.default.createElement("div",null,A&&r.default.createElement("div",{className:x("css")},a),g&&r.default.createElement("div",{className:x("code")},n))))};C.propTypes=g,C.defaultProps={isExpanded:!1};t.A=C},61360:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var a=n(58168),o=n(53986),l=n(96540),r=n(36665),d=n(9527),s=n(12883),h=["components"],m={},i="wrapper";function c(e){var t=e.components,n=(0,o.A)(e,h);return(0,r.mdx)(i,(0,a.A)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(s.Ay,{mdxType:"PropsTable"},(0,r.mdx)(s.fI,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"attachmentBehavior"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'auto'\n 'flip'\n 'push'\n 'none'\n],\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"'auto'\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"How the content should be positioned when the primary attachment is not available.\nValid values:\n'auto': returns 180 degrees, returns rotate 90 degree, returns rotate -90 degrees, returns primary attachment\n'flip': returns 180 degrees, returns primary attachment\n'push': pushes content to remain within the bounding rect, returns primary attachment\n'none': returns primary attachment"))),(0,r.mdx)(s.fI,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"attachmentMargin"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"number\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"0\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Value in px of the margin to place between the target and the content."))),(0,r.mdx)(s.fI,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"boundingRef"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Reference to the bounding container. Defaults to window unless attachment behavior is set to none."))),(0,r.mdx)(s.fI,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"children"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"element\n"))),(0,r.mdx)(s.YZ,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The HookshotContent to be attached."))),(0,r.mdx)(s.fI,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"contentAttachment"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n enum: [\n 'start'\n 'center'\n 'end'\n ],\n },\n vertical: {\n enum: [\n 'top'\n 'middle'\n 'bottom'\n ],\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal attachment values for the content.\nValid values: { horizontal: ","['start', 'center', 'end']",", vertical: ","['top', 'middle', 'bottom']"," }."))),(0,r.mdx)(s.fI,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"contentOffset"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n type: 'number',\n },\n vertical: {\n type: 'number',\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"{ horizontal: 0, vertical: 0 }\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal offset values in px for the content."))),(0,r.mdx)(s.fI,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"isEnabled"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Determines whether the content should be actively positioned via hookshot."))),(0,r.mdx)(s.fI,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"isOpen"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Should the content be presented."))),(0,r.mdx)(s.fI,{key:"ROW9",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onPosition"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Callback function when the content has been positioned."))),(0,r.mdx)(s.fI,{key:"ROW10",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetCoordinates"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n x: {\n type: 'number',\n required: true,\n },\n y: {\n type: 'number',\n required: true,\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Client coordinates to serve as the anchor point for the hookshot'd content."))),(0,r.mdx)(s.fI,{key:"ROW11",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetRef"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Element to serve as the anchor point for the hookshot'd content. (If targetCoordinates are provided, this is ignored.)"))),(0,r.mdx)(s.fI,{key:"ROW12",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetAttachment"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n enum: [\n 'start'\n 'center'\n 'end'\n ],\n },\n vertical: {\n enum: [\n 'top'\n 'middle'\n 'bottom'\n ],\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal attachment values for the target.\nValid values: { horizontal: ","['start', 'center', 'end']",", vertical: ","['top', 'middle', 'bottom']"," }.\nIf targetCoordinates are provided { horizontal: 'center', vertical: 'middle' } will be applied."))),(0,r.mdx)(s.fI,{key:"ROW13",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetOffset"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n type: 'number',\n },\n vertical: {\n type: 'number',\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"{ horizontal: 0, vertical: 0 }\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal offset values in px for the target.")))))}c.isMDXComponent=!0;var u=["components"],p={},x="wrapper";function g(e){var t=e.components,n=(0,o.A)(e,u);return(0,r.mdx)(x,(0,a.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(s.Ay,{mdxType:"PropsTable"},(0,r.mdx)(s.fI,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"children"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"node\n"))),(0,r.mdx)(s.YZ,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The children to be displayed as content within the content."))),(0,r.mdx)(s.fI,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onContentResize"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when a child content resize event occurs."))),(0,r.mdx)(s.fI,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onEsc"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when am escape keydown event occurs."))),(0,r.mdx)(s.fI,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onOutsideClick"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when a click outside event occurs."))),(0,r.mdx)(s.fI,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onResize"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when a resize event occurs."))),(0,r.mdx)(s.fI,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"refCallback"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function returning the frame html reference.")))))}g.isMDXComponent=!0;var f=n(8408),v=["components"],C={};function k(e){var t=e.components,n=(0,o.A)(e,v);return(0,r.mdx)("wrapper",(0,a.A)({},C,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport Button from 'terra-button';\nimport InputField from 'terra-form-input/lib/InputField';\nimport Hookshot from 'terra-hookshot';\nimport styles from './HookshotDocCommon.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst ATTACHMENT_POSITIONS = [\n 'top start',\n 'top center',\n 'top end',\n 'middle start',\n 'middle center',\n 'middle end',\n 'bottom start',\n 'bottom center',\n 'bottom end',\n];\n\nconst generateOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nconst attachmentValues = (attachment) => {\n if (attachment === 'middle start') {\n return { vertical: 'middle', horizontal: 'start' };\n } if (attachment === 'middle end') {\n return { vertical: 'middle', horizontal: 'end' };\n } if (attachment === 'middle center') {\n return { vertical: 'middle', horizontal: 'center' };\n } if (attachment === 'top start') {\n return { vertical: 'top', horizontal: 'start' };\n } if (attachment === 'top end') {\n return { vertical: 'top', horizontal: 'end' };\n } if (attachment === 'top center') {\n return { vertical: 'top', horizontal: 'center' };\n } if (attachment === 'bottom start') {\n return { vertical: 'bottom', horizontal: 'start' };\n } if (attachment === 'bottom end') {\n return { vertical: 'bottom', horizontal: 'end' };\n }\n return { vertical: 'bottom', horizontal: 'center' };\n};\n\nconst getId = name => `${name}Example`;\n\nclass HookshotStandard extends React.Component {\n constructor(props) {\n super(props);\n this.handleButtonClick = this.handleButtonClick.bind(this);\n this.handleRequestClose = this.handleRequestClose.bind(this);\n this.handleAttachmentBehaviorChange = this.handleAttachmentBehaviorChange.bind(this);\n this.handleContentAttachmentChange = this.handleContentAttachmentChange.bind(this);\n this.handleTargetAttachmentChange = this.handleTargetAttachmentChange.bind(this);\n this.handleInputChange = this.handleInputChange.bind(this);\n this.state = {\n isOpen: false,\n hookshotContentAttachment: ATTACHMENT_POSITIONS[1],\n hookshotTargetAttachment: ATTACHMENT_POSITIONS[7],\n hookshotAttachmentBehavior: Hookshot.attachmentBehaviors[0],\n hookshotAttachmentMargin: 0,\n };\n }\n\n handleButtonClick() {\n this.setState(prevState => ({ isOpen: !prevState.isOpen }));\n }\n\n handleRequestClose() {\n this.setState({ isOpen: false });\n }\n\n handleAttachmentBehaviorChange(event) {\n this.setState({ hookshotAttachmentBehavior: event.target.value });\n }\n\n handleContentAttachmentChange(event) {\n this.setState({ hookshotContentAttachment: event.target.value });\n }\n\n handleTargetAttachmentChange(event) {\n this.setState({ hookshotTargetAttachment: event.target.value });\n }\n\n handleInputChange(event) {\n if (event.target.value !== '') {\n this.setState({ [event.target.name]: Number.parseFloat(event.target.value) });\n }\n }\n\n render() {\n const hookshotContent = (\n \n
Hookshot
\n \n );\n\n return (\n
\n
\n \n
\n \n {generateOptions(Hookshot.attachmentBehaviors)}\n \n
\n
\n \n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n document.getElementById('hookshot-standard-button')}\n >\n {hookshotContent}\n \n
\n );\n }\n}\n\nexport default HookshotStandard;\n\n")))}k.isMDXComponent=!0;var b=n(201),A=["components"],y={};function T(e){var t=e.components,n=(0,o.A)(e,A);return(0,r.mdx)("wrapper",(0,a.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n background-color: #f00;\n height: 40px;\n width: 200px;\n }\n\n .bounded-parent-node-wrapper {\n background-color: #f0f8ff;\n height: 200px;\n overflow: auto;\n position: relative;\n width: 400px;\n }\n\n .coords-parent-node-wrapper {\n background-color: #f0f8ff;\n border: 1px dashed #000;\n height: 300px;\n width: 100%;\n }\n\n .select-wrapper {\n height: 30px;\n width: 200px;\n }\n\n .heading-wrapper {\n height: 25px;\n }\n\n .label {\n font-weight: bold;\n }\n\n .input-wrapper {\n width: 200px;\n }\n\n .button-wrapper {\n height: 600px;\n position: relative;\n width: 1200px;\n }\n\n .custom-button {\n left: 600px;\n position: absolute;\n top: 300px;\n }\n}\n\n")))}T.isMDXComponent=!0;var N=function(e){var t=e.title,n=e.description,a=e.isExpanded;return l.createElement(b.A,{title:t||"Hookshot Example",description:n,example:l.createElement(f.A,null),exampleCssSrc:l.createElement(T,null),exampleSrc:l.createElement(k,null),isExpanded:a})},E=n(5451),_=["components"],R={};function w(e){var t=e.components,n=(0,o.A)(e,_);return(0,r.mdx)("wrapper",(0,a.A)({},R,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport Button from 'terra-button';\nimport InputField from 'terra-form-input/lib/InputField';\nimport Hookshot from 'terra-hookshot';\nimport styles from './HookshotDocCommon.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst ATTACHMENT_POSITIONS = [\n 'top start',\n 'top center',\n 'top end',\n 'middle start',\n 'middle center',\n 'middle end',\n 'bottom start',\n 'bottom center',\n 'bottom end',\n];\n\nconst generateOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nconst attachmentValues = (attachment) => {\n if (attachment === 'middle start') {\n return { vertical: 'middle', horizontal: 'start' };\n } if (attachment === 'middle end') {\n return { vertical: 'middle', horizontal: 'end' };\n } if (attachment === 'middle center') {\n return { vertical: 'middle', horizontal: 'center' };\n } if (attachment === 'top start') {\n return { vertical: 'top', horizontal: 'start' };\n } if (attachment === 'top end') {\n return { vertical: 'top', horizontal: 'end' };\n } if (attachment === 'top center') {\n return { vertical: 'top', horizontal: 'center' };\n } if (attachment === 'bottom start') {\n return { vertical: 'bottom', horizontal: 'start' };\n } if (attachment === 'bottom end') {\n return { vertical: 'bottom', horizontal: 'end' };\n }\n return { vertical: 'bottom', horizontal: 'center' };\n};\n\nconst getId = name => `${name}BoundedExample`;\n\nclass HookshotStandard extends React.Component {\n constructor(props) {\n super(props);\n this.handleButtonClick = this.handleButtonClick.bind(this);\n this.handleRequestClose = this.handleRequestClose.bind(this);\n this.handleAttachmentBehaviorChange = this.handleAttachmentBehaviorChange.bind(this);\n this.handleContentAttachmentChange = this.handleContentAttachmentChange.bind(this);\n this.handleTargetAttachmentChange = this.handleTargetAttachmentChange.bind(this);\n this.handleInputChange = this.handleInputChange.bind(this);\n this.setParentNode = this.setParentNode.bind(this);\n this.getParentNode = this.getParentNode.bind(this);\n this.state = {\n isOpen: false,\n hookshotContentAttachment: ATTACHMENT_POSITIONS[1],\n hookshotTargetAttachment: ATTACHMENT_POSITIONS[7],\n hookshotAttachmentBehavior: Hookshot.attachmentBehaviors[0],\n hookshotAttachmentMargin: 0,\n };\n }\n\n componentDidMount() {\n this.parentNode.scrollTop = 225;\n this.parentNode.scrollLeft = 475;\n }\n\n handleButtonClick() {\n this.setState(prevState => ({ isOpen: !prevState.isOpen }));\n }\n\n handleRequestClose() {\n this.setState({ isOpen: false });\n }\n\n handleAttachmentBehaviorChange(event) {\n this.setState({ hookshotAttachmentBehavior: event.target.value });\n }\n\n handleContentAttachmentChange(event) {\n this.setState({ hookshotContentAttachment: event.target.value });\n }\n\n handleTargetAttachmentChange(event) {\n this.setState({ hookshotTargetAttachment: event.target.value });\n }\n\n handleInputChange(event) {\n if (event.target.value !== '') {\n this.setState({ [event.target.name]: Number.parseFloat(event.target.value) });\n }\n }\n\n setParentNode(node) {\n this.parentNode = node;\n }\n\n getParentNode() {\n return this.parentNode;\n }\n\n render() {\n const hookshotContent = (\n \n
Hookshot
\n \n );\n\n return (\n
\n
\n \n
\n \n {generateOptions(Hookshot.attachmentBehaviors)}\n \n
\n
\n \n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n document.getElementById('hookshot-bounded-button')}\n >\n {hookshotContent}\n \n \n
\n
\n
\n \n );\n }\n}\n\nexport default HookshotStandard;\n\n")))}w.isMDXComponent=!0;var B=function(e){var t=e.title,n=e.description,a=e.isExpanded;return l.createElement(b.A,{title:t||"Bounded Hookshot Example",description:n,example:l.createElement(E.A,null),exampleCssSrc:l.createElement(T,null),exampleSrc:l.createElement(w,null),isExpanded:a})},I=n(76922),O=["components"],H={};function S(e){var t=e.components,n=(0,o.A)(e,O);return(0,r.mdx)("wrapper",(0,a.A)({},H,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport InputField from 'terra-form-input/lib/InputField';\nimport Hookshot from 'terra-hookshot';\nimport styles from './HookshotDocCommon.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst ATTACHMENT_POSITIONS = [\n 'top start',\n 'top center',\n 'top end',\n 'middle start',\n 'middle center',\n 'middle end',\n 'bottom start',\n 'bottom center',\n 'bottom end',\n];\n\nconst generateOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nconst attachmentValues = (attachment) => {\n if (attachment === 'middle start') {\n return { vertical: 'middle', horizontal: 'start' };\n } if (attachment === 'middle end') {\n return { vertical: 'middle', horizontal: 'end' };\n } if (attachment === 'middle center') {\n return { vertical: 'middle', horizontal: 'center' };\n } if (attachment === 'top start') {\n return { vertical: 'top', horizontal: 'start' };\n } if (attachment === 'top end') {\n return { vertical: 'top', horizontal: 'end' };\n } if (attachment === 'top center') {\n return { vertical: 'top', horizontal: 'center' };\n } if (attachment === 'bottom start') {\n return { vertical: 'bottom', horizontal: 'start' };\n } if (attachment === 'bottom end') {\n return { vertical: 'bottom', horizontal: 'end' };\n }\n return { vertical: 'bottom', horizontal: 'center' };\n};\n\nconst getId = name => `${name}CoordsExample`;\n\nclass HookshotStandard extends React.Component {\n constructor(props) {\n super(props);\n this.handleRegionClick = this.handleRegionClick.bind(this);\n this.handleRequestClose = this.handleRequestClose.bind(this);\n this.setParentNode = this.setParentNode.bind(this);\n this.getParentNode = this.getParentNode.bind(this);\n this.handleAttachmentBehaviorChange = this.handleAttachmentBehaviorChange.bind(this);\n this.handleContentAttachmentChange = this.handleContentAttachmentChange.bind(this);\n this.handleInputChange = this.handleInputChange.bind(this);\n this.state = {\n isOpen: false,\n coordinates: undefined,\n hookshotContentAttachment: ATTACHMENT_POSITIONS[1],\n hookshotAttachmentBehavior: Hookshot.attachmentBehaviors[0],\n hookshotAttachmentMargin: 0,\n };\n }\n\n handleRegionClick(event) {\n const coordinates = { x: event.clientX, y: event.clientY };\n this.setState(prevState => ({ isOpen: !prevState.isOpen, coordinates }));\n }\n\n handleRequestClose() {\n this.setState({ isOpen: false });\n }\n\n handleAttachmentBehaviorChange(event) {\n this.setState({ hookshotAttachmentBehavior: event.target.value });\n }\n\n handleContentAttachmentChange(event) {\n this.setState({ hookshotContentAttachment: event.target.value });\n }\n\n handleInputChange(event) {\n if (event.target.value !== '') {\n this.setState({ [event.target.name]: Number.parseFloat(event.target.value) });\n }\n }\n\n setParentNode(node) {\n this.parentNode = node;\n }\n\n getParentNode() {\n return this.parentNode;\n }\n\n render() {\n const hookshotContent = (\n \n
Hookshot
\n \n );\n\n return (\n /* eslint-disable jsx-a11y/no-static-element-interactions */\n
\n
\n \n
\n \n {generateOptions(Hookshot.attachmentBehaviors)}\n \n
\n
\n \n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\n \n Click Inside\n \n {hookshotContent}\n \n
\n \n /* eslint-enable jsx-a11y/no-static-element-interactions */\n );\n }\n}\n\nexport default HookshotStandard;\n\n")))}S.isMDXComponent=!0;var P=function(e){var t=e.title,n=e.description,a=e.isExpanded;return l.createElement(b.A,{title:t||"Coords Hookshot Example",description:n,example:l.createElement(I.A,null),exampleCssSrc:l.createElement(T,null),exampleSrc:l.createElement(S,null),isExpanded:a})},M=["components"],z={},D="wrapper";function q(e){var t=e.components,n=(0,o.A)(e,M);return(0,r.mdx)(D,(0,a.A)({},z,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(d.E,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-hookshot"},"Terra Hookshot"),(0,r.mdx)("p",null,"The Terra Hookshot component positions content according to a targeted attachment, ensuring they stay connected."),(0,r.mdx)("p",null,"Hookshot is currently utilized in the following component(s):",(0,r.mdx)("br",null)),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-framework/components/terra-popup/popup/popup"},"Popup"))),(0,r.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Install with ",(0,r.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,r.mdx)("ul",{parentName:"li"},(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"npm install terra-hookshot"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import Hookshot from 'terra-hookshot';\n")),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(N,{title:"Window Bound Hookshot",mdxType:"HookshotExample"}),(0,r.mdx)(B,{title:"Container Bound Hookshot",mdxType:"BoundedHookshotExample"}),(0,r.mdx)(P,{title:"Coordinate Targeted Hookshot",mdxType:"CoordsHookshotExample"}),(0,r.mdx)("h2",{id:"hookshot-props-table"},"Hookshot Props Table"),(0,r.mdx)(c,{mdxType:"HookshotSrc"}),(0,r.mdx)("h2",{id:"hookshot-content-props-table"},"Hookshot Content Props Table"),(0,r.mdx)(g,{mdxType:"HookshotContentSrc"}))}q.isMDXComponent=!0},9527:function(e,t,n){n.d(t,{E:function(){return l}});var a=n(96540),o=n(55713),l=function(e){var t=e.url;return a.createElement(o.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-hookshot",name:"terra-hookshot",version:"5.44.1",url:t})}},5451:function(e,t,n){var a=n(24994);t.A=void 0;var o=a(n(43693)),l=a(n(17383)),r=a(n(34579)),d=a(n(28452)),s=a(n(63072)),h=a(n(29511)),m=a(n(96540)),i=a(n(67967)),c=a(n(23986)),u=a(n(19127)),p=a(n(70444)),x=a(n(91674));function g(e,t,n){return t=(0,s.default)(t),(0,d.default)(e,f()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var v=i.default.bind(x.default),C=["top start","top center","top end","middle start","middle center","middle end","bottom start","bottom center","bottom end"],k=function(e){return e.map((function(e,t){var n=t;return m.default.createElement("option",{key:n,value:e},e)}))},b=function(e){return"middle start"===e?{vertical:"middle",horizontal:"start"}:"middle end"===e?{vertical:"middle",horizontal:"end"}:"middle center"===e?{vertical:"middle",horizontal:"center"}:"top start"===e?{vertical:"top",horizontal:"start"}:"top end"===e?{vertical:"top",horizontal:"end"}:"top center"===e?{vertical:"top",horizontal:"center"}:"bottom start"===e?{vertical:"bottom",horizontal:"start"}:"bottom end"===e?{vertical:"bottom",horizontal:"end"}:{vertical:"bottom",horizontal:"center"}},A=function(e){return"".concat(e,"BoundedExample")},y=function(e){function t(e){var n;return(0,l.default)(this,t),(n=g(this,t,[e])).handleButtonClick=n.handleButtonClick.bind(n),n.handleRequestClose=n.handleRequestClose.bind(n),n.handleAttachmentBehaviorChange=n.handleAttachmentBehaviorChange.bind(n),n.handleContentAttachmentChange=n.handleContentAttachmentChange.bind(n),n.handleTargetAttachmentChange=n.handleTargetAttachmentChange.bind(n),n.handleInputChange=n.handleInputChange.bind(n),n.setParentNode=n.setParentNode.bind(n),n.getParentNode=n.getParentNode.bind(n),n.state={isOpen:!1,hookshotContentAttachment:C[1],hookshotTargetAttachment:C[7],hookshotAttachmentBehavior:p.default.attachmentBehaviors[0],hookshotAttachmentMargin:0},n}return(0,h.default)(t,e),(0,r.default)(t,[{key:"componentDidMount",value:function(){this.parentNode.scrollTop=225,this.parentNode.scrollLeft=475}},{key:"handleButtonClick",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"handleRequestClose",value:function(){this.setState({isOpen:!1})}},{key:"handleAttachmentBehaviorChange",value:function(e){this.setState({hookshotAttachmentBehavior:e.target.value})}},{key:"handleContentAttachmentChange",value:function(e){this.setState({hookshotContentAttachment:e.target.value})}},{key:"handleTargetAttachmentChange",value:function(e){this.setState({hookshotTargetAttachment:e.target.value})}},{key:"handleInputChange",value:function(e){""!==e.target.value&&this.setState((0,o.default)({},e.target.name,Number.parseFloat(e.target.value)))}},{key:"setParentNode",value:function(e){this.parentNode=e}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){var e=m.default.createElement(p.default.Content,{onEsc:this.handleRequestClose,onOutsideClick:this.handleRequestClose,onResize:this.handleRequestClose},m.default.createElement("div",{className:v("content-wrapper")},"Hookshot"));return m.default.createElement("div",null,m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotAttachmentBehavior"),className:v("label")},"Attachment Behavior")),m.default.createElement("select",{id:A("hookshotAttachmentBehavior"),name:"hookshotAttachmentBehavior",value:this.state.hookshotAttachmentBehavior,onChange:this.handleAttachmentBehaviorChange,className:v("select-wrapper")},k(p.default.attachmentBehaviors)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(u.default,{label:"Attachment Margin in Px",inputId:A("hookshotAttachmentMargin"),inputAttrs:{name:"hookshotAttachmentMargin",type:"number"},defaultValue:this.state.hookshotAttachmentMargin,className:v("input-wrapper"),onChange:this.handleInputChange}),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotContentAttachment"),className:v("label")},"Content Attachment")),m.default.createElement("select",{id:A("hookshotContentAttachment"),name:"hookshotContentAttachment",value:this.state.hookshotContentAttachment,onChange:this.handleContentAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotTargetAttachment"),className:v("label")},"Target Attachment")),m.default.createElement("select",{id:A("hookshotTargetAttachment"),name:"hookshotTargetAttachment",value:this.state.hookshotTargetAttachment,onChange:this.handleTargetAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(p.default,{attachmentBehavior:this.state.hookshotAttachmentBehavior,attachmentMargin:this.state.hookshotAttachmentMargin,boundingRef:this.getParentNode,contentAttachment:b(this.state.hookshotContentAttachment),isEnabled:!0,isOpen:this.state.isOpen,targetAttachment:b(this.state.hookshotTargetAttachment),targetRef:function(){return document.getElementById("hookshot-bounded-button")}},e),m.default.createElement("div",{className:v("bounded-parent-node-wrapper"),ref:this.setParentNode},m.default.createElement("div",{className:v("button-wrapper")},m.default.createElement(c.default,{id:"hookshot-bounded-button",text:"Hookshot Example",onClick:this.handleButtonClick,className:v("custom-button")}))))}}])}(m.default.Component);t.A=y},76922:function(e,t,n){var a=n(24994);t.A=void 0;var o=a(n(43693)),l=a(n(17383)),r=a(n(34579)),d=a(n(28452)),s=a(n(63072)),h=a(n(29511)),m=a(n(96540)),i=a(n(67967)),c=a(n(19127)),u=a(n(70444)),p=a(n(91674));function x(e,t,n){return t=(0,s.default)(t),(0,d.default)(e,g()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}var f=i.default.bind(p.default),v=["top start","top center","top end","middle start","middle center","middle end","bottom start","bottom center","bottom end"],C=function(e){return e.map((function(e,t){var n=t;return m.default.createElement("option",{key:n,value:e},e)}))},k=function(e){return"".concat(e,"CoordsExample")},b=function(e){function t(e){var n;return(0,l.default)(this,t),(n=x(this,t,[e])).handleRegionClick=n.handleRegionClick.bind(n),n.handleRequestClose=n.handleRequestClose.bind(n),n.setParentNode=n.setParentNode.bind(n),n.getParentNode=n.getParentNode.bind(n),n.handleAttachmentBehaviorChange=n.handleAttachmentBehaviorChange.bind(n),n.handleContentAttachmentChange=n.handleContentAttachmentChange.bind(n),n.handleInputChange=n.handleInputChange.bind(n),n.state={isOpen:!1,coordinates:void 0,hookshotContentAttachment:v[1],hookshotAttachmentBehavior:u.default.attachmentBehaviors[0],hookshotAttachmentMargin:0},n}return(0,h.default)(t,e),(0,r.default)(t,[{key:"handleRegionClick",value:function(e){var t={x:e.clientX,y:e.clientY};this.setState((function(e){return{isOpen:!e.isOpen,coordinates:t}}))}},{key:"handleRequestClose",value:function(){this.setState({isOpen:!1})}},{key:"handleAttachmentBehaviorChange",value:function(e){this.setState({hookshotAttachmentBehavior:e.target.value})}},{key:"handleContentAttachmentChange",value:function(e){this.setState({hookshotContentAttachment:e.target.value})}},{key:"handleInputChange",value:function(e){""!==e.target.value&&this.setState((0,o.default)({},e.target.name,Number.parseFloat(e.target.value)))}},{key:"setParentNode",value:function(e){this.parentNode=e}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){var e,t=m.default.createElement(u.default.Content,{onEsc:this.handleRequestClose,onOutsideClick:this.handleRequestClose,onResize:this.handleRequestClose},m.default.createElement("div",{className:f("content-wrapper")},"Hookshot"));return m.default.createElement("div",null,m.default.createElement("div",{className:f("heading-wrapper")},m.default.createElement("label",{htmlFor:k("hookshotAttachmentBehavior"),className:f("label")},"Attachment Behavior")),m.default.createElement("select",{id:k("hookshotAttachmentBehavior"),name:"hookshotAttachmentBehavior",value:this.state.hookshotAttachmentBehavior,onChange:this.handleAttachmentBehaviorChange,className:f("select-wrapper")},C(u.default.attachmentBehaviors)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(c.default,{label:"Attachment Margin in Px",inputId:k("hookshotAttachmentMargin"),inputAttrs:{name:"hookshotAttachmentMargin",type:"number"},defaultValue:this.state.hookshotAttachmentMargin,className:f("input-wrapper"),onChange:this.handleInputChange}),m.default.createElement("div",{className:f("heading-wrapper")},m.default.createElement("label",{htmlFor:k("hookshotContentAttachment"),className:f("label")},"Content Attachment")),m.default.createElement("select",{id:k("hookshotContentAttachment"),name:"hookshotContentAttachment",value:this.state.hookshotContentAttachment,onChange:this.handleContentAttachmentChange,className:f("select-wrapper")},C(v)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("div",{onClick:this.handleRegionClick,className:f("coords-parent-node-wrapper"),ref:this.setParentNode},"Click Inside",m.default.createElement(u.default,{attachmentBehavior:this.state.hookshotAttachmentBehavior,attachmentMargin:this.state.hookshotAttachmentMargin,boundingRef:this.getParentNode,contentAttachment:(e=this.state.hookshotContentAttachment,"middle start"===e?{vertical:"middle",horizontal:"start"}:"middle end"===e?{vertical:"middle",horizontal:"end"}:"middle center"===e?{vertical:"middle",horizontal:"center"}:"top start"===e?{vertical:"top",horizontal:"start"}:"top end"===e?{vertical:"top",horizontal:"end"}:"top center"===e?{vertical:"top",horizontal:"center"}:"bottom start"===e?{vertical:"bottom",horizontal:"start"}:"bottom end"===e?{vertical:"bottom",horizontal:"end"}:{vertical:"bottom",horizontal:"center"}),isEnabled:!0,isOpen:this.state.isOpen,targetCoordinates:this.state.coordinates},t)))}}])}(m.default.Component);t.A=b},8408:function(e,t,n){var a=n(24994);t.A=void 0;var o=a(n(43693)),l=a(n(17383)),r=a(n(34579)),d=a(n(28452)),s=a(n(63072)),h=a(n(29511)),m=a(n(96540)),i=a(n(67967)),c=a(n(23986)),u=a(n(19127)),p=a(n(70444)),x=a(n(91674));function g(e,t,n){return t=(0,s.default)(t),(0,d.default)(e,f()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var v=i.default.bind(x.default),C=["top start","top center","top end","middle start","middle center","middle end","bottom start","bottom center","bottom end"],k=function(e){return e.map((function(e,t){var n=t;return m.default.createElement("option",{key:n,value:e},e)}))},b=function(e){return"middle start"===e?{vertical:"middle",horizontal:"start"}:"middle end"===e?{vertical:"middle",horizontal:"end"}:"middle center"===e?{vertical:"middle",horizontal:"center"}:"top start"===e?{vertical:"top",horizontal:"start"}:"top end"===e?{vertical:"top",horizontal:"end"}:"top center"===e?{vertical:"top",horizontal:"center"}:"bottom start"===e?{vertical:"bottom",horizontal:"start"}:"bottom end"===e?{vertical:"bottom",horizontal:"end"}:{vertical:"bottom",horizontal:"center"}},A=function(e){return"".concat(e,"Example")},y=function(e){function t(e){var n;return(0,l.default)(this,t),(n=g(this,t,[e])).handleButtonClick=n.handleButtonClick.bind(n),n.handleRequestClose=n.handleRequestClose.bind(n),n.handleAttachmentBehaviorChange=n.handleAttachmentBehaviorChange.bind(n),n.handleContentAttachmentChange=n.handleContentAttachmentChange.bind(n),n.handleTargetAttachmentChange=n.handleTargetAttachmentChange.bind(n),n.handleInputChange=n.handleInputChange.bind(n),n.state={isOpen:!1,hookshotContentAttachment:C[1],hookshotTargetAttachment:C[7],hookshotAttachmentBehavior:p.default.attachmentBehaviors[0],hookshotAttachmentMargin:0},n}return(0,h.default)(t,e),(0,r.default)(t,[{key:"handleButtonClick",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"handleRequestClose",value:function(){this.setState({isOpen:!1})}},{key:"handleAttachmentBehaviorChange",value:function(e){this.setState({hookshotAttachmentBehavior:e.target.value})}},{key:"handleContentAttachmentChange",value:function(e){this.setState({hookshotContentAttachment:e.target.value})}},{key:"handleTargetAttachmentChange",value:function(e){this.setState({hookshotTargetAttachment:e.target.value})}},{key:"handleInputChange",value:function(e){""!==e.target.value&&this.setState((0,o.default)({},e.target.name,Number.parseFloat(e.target.value)))}},{key:"render",value:function(){var e=m.default.createElement(p.default.Content,{onEsc:this.handleRequestClose,onOutsideClick:this.handleRequestClose,onResize:this.handleRequestClose},m.default.createElement("div",{className:v("content-wrapper")},"Hookshot"));return m.default.createElement("div",null,m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotAttachmentBehavior"),className:v("label")},"Attachment Behavior")),m.default.createElement("select",{id:A("hookshotAttachmentBehavior"),name:"hookshotAttachmentBehavior",value:this.state.hookshotAttachmentBehavior,onChange:this.handleAttachmentBehaviorChange,className:v("select-wrapper")},k(p.default.attachmentBehaviors)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(u.default,{label:"Attachment Margin in Px",inputId:A("hookshotAttachmentMargin"),inputAttrs:{name:"hookshotAttachmentMargin",type:"number"},defaultValue:this.state.hookshotAttachmentMargin,className:v("input-wrapper"),onChange:this.handleInputChange}),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotContentAttachment"),className:v("label")},"Content Attachment")),m.default.createElement("select",{id:A("hookshotContentAttachment"),name:"hookshotContentAttachment",value:this.state.hookshotContentAttachment,onChange:this.handleContentAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotTargetAttachment"),className:v("label")},"Target Attachment")),m.default.createElement("select",{id:A("hookshotTargetAttachment"),name:"hookshotTargetAttachment",value:this.state.hookshotTargetAttachment,onChange:this.handleTargetAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(p.default,{attachmentBehavior:this.state.hookshotAttachmentBehavior,attachmentMargin:this.state.hookshotAttachmentMargin,contentAttachment:b(this.state.hookshotContentAttachment),isEnabled:!0,isOpen:this.state.isOpen,targetAttachment:b(this.state.hookshotTargetAttachment),targetRef:function(){return document.getElementById("hookshot-standard-button")}},e),m.default.createElement(c.default,{id:"hookshot-standard-button",text:"Hookshot Example",onClick:this.handleButtonClick}))}}])}(m.default.Component);t.A=y},89986:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},91674:function(e,t,n){n.r(t),t.default={"content-wrapper":"HookshotDocCommon-module__content-wrapper___5SRya","bounded-parent-node-wrapper":"HookshotDocCommon-module__bounded-parent-node-wrapper___Z4gTj","coords-parent-node-wrapper":"HookshotDocCommon-module__coords-parent-node-wrapper___uKVBt","select-wrapper":"HookshotDocCommon-module__select-wrapper___92j6w","heading-wrapper":"HookshotDocCommon-module__heading-wrapper___mMLav",label:"HookshotDocCommon-module__label___d0V8x","input-wrapper":"HookshotDocCommon-module__input-wrapper___fIT0c","button-wrapper":"HookshotDocCommon-module__button-wrapper___SY3ht","custom-button":"HookshotDocCommon-module__custom-button___2z9AK"}},49558:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n(96540)),o=l(n(25365));function l(e){return e&&e.__esModule?e:{default:e}}var r=function(e){var t=Object.assign({},e);return a.default.createElement(o.default,t,a.default.createElement("path",{d:"M10.3 24 33.8 0l3.9 3.8L18 24l19.7 20.2-3.9 3.8z"}))};r.displayName="IconChevronLeft",r.defaultProps={viewBox:"0 0 48 48","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg"};t.default=r}}]); \ No newline at end of file +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[51241,54672,32291],{201:function(e,t,n){var a=n(24994),o=n(73738);t.A=void 0;var l=a(n(85715)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var d=l?Object.getOwnPropertyDescriptor(e,r):null;d&&(d.get||d.set)?Object.defineProperty(a,r,d):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a}(n(96540)),d=a(n(5556)),s=a(n(67967)),h=n(92912),m=a(n(49558)),i=a(n(53665)),c=n(25966),u=a(n(89986));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 x=s.default.bind(u.default),g={example:d.default.element,exampleSrc:d.default.element,exampleCssSrc:d.default.element,title:d.default.string,description:d.default.node,isExpanded:d.default.bool},f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},v=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},C=function(e){var t=e.example,n=e.exampleSrc,a=e.exampleCssSrc,o=e.title,d=e.description,s=e.isExpanded,u=(0,r.useState)(s),p=(0,l.default)(u,2),g=p[0],C=p[1],k=(0,r.useState)(!1),b=(0,l.default)(k,2),A=b[0],y=b[1],T=r.default.useContext(h.ThemeContext),N=void 0!==a,E=function(){y(!A),g&&C(!g)},_=function(){C(!g),A&&y(!A)},R=function(e,t){e.nativeEvent.keyCode!==c.KEY_SPACE&&e.nativeEvent.keyCode!==c.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:x("template",T.className)},r.default.createElement("div",{className:x("header")},o&&r.default.createElement("h2",{className:x("title")},o)),r.default.createElement("div",{className:x("content")},d&&r.default.createElement("div",{className:x("description")},d),t),r.default.createElement("div",{className:x("footer")},n?r.default.createElement("div",{className:x("button-container")},N&&r.default.createElement("button",{type:"button",className:x("css-toggle","item",{"is-selected":A}),onClick:E,onKeyDown:function(e){return R(e,E)},onBlur:f,onMouseDown:v,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(m.default,{className:x("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(i.default,{className:x("chevron")})),r.default.createElement("button",{type:"button",className:x("code-toggle","item",{"is-selected":g}),onClick:_,onKeyDown:function(e){return R(e,_)},onBlur:f,onMouseDown:v,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(m.default,{className:x("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(i.default,{className:x("chevron")}))):null,r.default.createElement("div",null,A&&r.default.createElement("div",{className:x("css")},a),g&&r.default.createElement("div",{className:x("code")},n))))};C.propTypes=g,C.defaultProps={isExpanded:!1};t.A=C},61360:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var a=n(58168),o=n(53986),l=n(96540),r=n(36665),d=n(9527),s=n(12883),h=["components"],m={},i="wrapper";function c(e){var t=e.components,n=(0,o.A)(e,h);return(0,r.mdx)(i,(0,a.A)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(s.Ay,{mdxType:"PropsTable"},(0,r.mdx)(s.fI,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"attachmentBehavior"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'auto'\n 'flip'\n 'push'\n 'none'\n],\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"'auto'\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"How the content should be positioned when the primary attachment is not available.\nValid values:\n'auto': returns 180 degrees, returns rotate 90 degree, returns rotate -90 degrees, returns primary attachment\n'flip': returns 180 degrees, returns primary attachment\n'push': pushes content to remain within the bounding rect, returns primary attachment\n'none': returns primary attachment"))),(0,r.mdx)(s.fI,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"attachmentMargin"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"number\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"0\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Value in px of the margin to place between the target and the content."))),(0,r.mdx)(s.fI,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"boundingRef"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Reference to the bounding container. Defaults to window unless attachment behavior is set to none."))),(0,r.mdx)(s.fI,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"children"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"element\n"))),(0,r.mdx)(s.YZ,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The HookshotContent to be attached."))),(0,r.mdx)(s.fI,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"contentAttachment"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n enum: [\n 'start'\n 'center'\n 'end'\n ],\n },\n vertical: {\n enum: [\n 'top'\n 'middle'\n 'bottom'\n ],\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal attachment values for the content.\nValid values: { horizontal: ","['start', 'center', 'end']",", vertical: ","['top', 'middle', 'bottom']"," }."))),(0,r.mdx)(s.fI,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"contentOffset"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n type: 'number',\n },\n vertical: {\n type: 'number',\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"{ horizontal: 0, vertical: 0 }\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal offset values in px for the content."))),(0,r.mdx)(s.fI,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"isEnabled"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Determines whether the content should be actively positioned via hookshot."))),(0,r.mdx)(s.fI,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"isOpen"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Should the content be presented."))),(0,r.mdx)(s.fI,{key:"ROW9",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onPosition"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Callback function when the content has been positioned."))),(0,r.mdx)(s.fI,{key:"ROW10",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetCoordinates"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n x: {\n type: 'number',\n required: true,\n },\n y: {\n type: 'number',\n required: true,\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Client coordinates to serve as the anchor point for the hookshot'd content."))),(0,r.mdx)(s.fI,{key:"ROW11",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetRef"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Element to serve as the anchor point for the hookshot'd content. (If targetCoordinates are provided, this is ignored.)"))),(0,r.mdx)(s.fI,{key:"ROW12",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetAttachment"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n enum: [\n 'start'\n 'center'\n 'end'\n ],\n },\n vertical: {\n enum: [\n 'top'\n 'middle'\n 'bottom'\n ],\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal attachment values for the target.\nValid values: { horizontal: ","['start', 'center', 'end']",", vertical: ","['top', 'middle', 'bottom']"," }.\nIf targetCoordinates are provided { horizontal: 'center', vertical: 'middle' } will be applied."))),(0,r.mdx)(s.fI,{key:"ROW13",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"targetOffset"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"shape: {\n horizontal: {\n type: 'number',\n },\n vertical: {\n type: 'number',\n },\n},\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"{ horizontal: 0, vertical: 0 }\n"))),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Object containing the vertical and horizontal offset values in px for the target.")))))}c.isMDXComponent=!0;var u=["components"],p={},x="wrapper";function g(e){var t=e.components,n=(0,o.A)(e,u);return(0,r.mdx)(x,(0,a.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(s.Ay,{mdxType:"PropsTable"},(0,r.mdx)(s.fI,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"children"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"node\n"))),(0,r.mdx)(s.YZ,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The children to be displayed as content within the content."))),(0,r.mdx)(s.fI,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onContentResize"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when a child content resize event occurs."))),(0,r.mdx)(s.fI,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onEsc"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when am escape keydown event occurs."))),(0,r.mdx)(s.fI,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onOutsideClick"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when a click outside event occurs."))),(0,r.mdx)(s.fI,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"onResize"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function callback when a resize event occurs."))),(0,r.mdx)(s.fI,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(s.dt,{mdxType:"PropNameCell"},"refCallback"),(0,r.mdx)(s.$d,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(s.YZ,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(s.NZ,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(s.Hd,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The function returning the frame html reference.")))))}g.isMDXComponent=!0;var f=n(8408),v=["components"],C={};function k(e){var t=e.components,n=(0,o.A)(e,v);return(0,r.mdx)("wrapper",(0,a.A)({},C,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport Button from 'terra-button';\nimport InputField from 'terra-form-input/lib/InputField';\nimport Hookshot from 'terra-hookshot';\nimport styles from './HookshotDocCommon.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst ATTACHMENT_POSITIONS = [\n 'top start',\n 'top center',\n 'top end',\n 'middle start',\n 'middle center',\n 'middle end',\n 'bottom start',\n 'bottom center',\n 'bottom end',\n];\n\nconst generateOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nconst attachmentValues = (attachment) => {\n if (attachment === 'middle start') {\n return { vertical: 'middle', horizontal: 'start' };\n } if (attachment === 'middle end') {\n return { vertical: 'middle', horizontal: 'end' };\n } if (attachment === 'middle center') {\n return { vertical: 'middle', horizontal: 'center' };\n } if (attachment === 'top start') {\n return { vertical: 'top', horizontal: 'start' };\n } if (attachment === 'top end') {\n return { vertical: 'top', horizontal: 'end' };\n } if (attachment === 'top center') {\n return { vertical: 'top', horizontal: 'center' };\n } if (attachment === 'bottom start') {\n return { vertical: 'bottom', horizontal: 'start' };\n } if (attachment === 'bottom end') {\n return { vertical: 'bottom', horizontal: 'end' };\n }\n return { vertical: 'bottom', horizontal: 'center' };\n};\n\nconst getId = name => `${name}Example`;\n\nclass HookshotStandard extends React.Component {\n constructor(props) {\n super(props);\n this.handleButtonClick = this.handleButtonClick.bind(this);\n this.handleRequestClose = this.handleRequestClose.bind(this);\n this.handleAttachmentBehaviorChange = this.handleAttachmentBehaviorChange.bind(this);\n this.handleContentAttachmentChange = this.handleContentAttachmentChange.bind(this);\n this.handleTargetAttachmentChange = this.handleTargetAttachmentChange.bind(this);\n this.handleInputChange = this.handleInputChange.bind(this);\n this.state = {\n isOpen: false,\n hookshotContentAttachment: ATTACHMENT_POSITIONS[1],\n hookshotTargetAttachment: ATTACHMENT_POSITIONS[7],\n hookshotAttachmentBehavior: Hookshot.attachmentBehaviors[0],\n hookshotAttachmentMargin: 0,\n };\n }\n\n handleButtonClick() {\n this.setState(prevState => ({ isOpen: !prevState.isOpen }));\n }\n\n handleRequestClose() {\n this.setState({ isOpen: false });\n }\n\n handleAttachmentBehaviorChange(event) {\n this.setState({ hookshotAttachmentBehavior: event.target.value });\n }\n\n handleContentAttachmentChange(event) {\n this.setState({ hookshotContentAttachment: event.target.value });\n }\n\n handleTargetAttachmentChange(event) {\n this.setState({ hookshotTargetAttachment: event.target.value });\n }\n\n handleInputChange(event) {\n if (event.target.value !== '') {\n this.setState({ [event.target.name]: Number.parseFloat(event.target.value) });\n }\n }\n\n render() {\n const hookshotContent = (\n \n
Hookshot
\n \n );\n\n return (\n
\n
\n \n
\n \n {generateOptions(Hookshot.attachmentBehaviors)}\n \n
\n
\n \n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n document.getElementById('hookshot-standard-button')}\n >\n {hookshotContent}\n \n
\n );\n }\n}\n\nexport default HookshotStandard;\n\n")))}k.isMDXComponent=!0;var b=n(201),A=["components"],y={};function T(e){var t=e.components,n=(0,o.A)(e,A);return(0,r.mdx)("wrapper",(0,a.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n background-color: #f00;\n height: 40px;\n width: 200px;\n }\n\n .bounded-parent-node-wrapper {\n background-color: #f0f8ff;\n height: 200px;\n overflow: auto;\n position: relative;\n width: 400px;\n }\n\n .coords-parent-node-wrapper {\n background-color: #f0f8ff;\n border: 1px dashed #000;\n height: 300px;\n width: 100%;\n }\n\n .select-wrapper {\n height: 30px;\n width: 200px;\n }\n\n .heading-wrapper {\n height: 25px;\n }\n\n .label {\n font-weight: bold;\n }\n\n .input-wrapper {\n width: 200px;\n }\n\n .button-wrapper {\n height: 600px;\n position: relative;\n width: 1200px;\n }\n\n .custom-button {\n left: 600px;\n position: absolute;\n top: 300px;\n }\n}\n\n")))}T.isMDXComponent=!0;var N=function(e){var t=e.title,n=e.description,a=e.isExpanded;return l.createElement(b.A,{title:t||"Hookshot Example",description:n,example:l.createElement(f.A,null),exampleCssSrc:l.createElement(T,null),exampleSrc:l.createElement(k,null),isExpanded:a})},E=n(5451),_=["components"],R={};function w(e){var t=e.components,n=(0,o.A)(e,_);return(0,r.mdx)("wrapper",(0,a.A)({},R,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport Button from 'terra-button';\nimport InputField from 'terra-form-input/lib/InputField';\nimport Hookshot from 'terra-hookshot';\nimport styles from './HookshotDocCommon.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst ATTACHMENT_POSITIONS = [\n 'top start',\n 'top center',\n 'top end',\n 'middle start',\n 'middle center',\n 'middle end',\n 'bottom start',\n 'bottom center',\n 'bottom end',\n];\n\nconst generateOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nconst attachmentValues = (attachment) => {\n if (attachment === 'middle start') {\n return { vertical: 'middle', horizontal: 'start' };\n } if (attachment === 'middle end') {\n return { vertical: 'middle', horizontal: 'end' };\n } if (attachment === 'middle center') {\n return { vertical: 'middle', horizontal: 'center' };\n } if (attachment === 'top start') {\n return { vertical: 'top', horizontal: 'start' };\n } if (attachment === 'top end') {\n return { vertical: 'top', horizontal: 'end' };\n } if (attachment === 'top center') {\n return { vertical: 'top', horizontal: 'center' };\n } if (attachment === 'bottom start') {\n return { vertical: 'bottom', horizontal: 'start' };\n } if (attachment === 'bottom end') {\n return { vertical: 'bottom', horizontal: 'end' };\n }\n return { vertical: 'bottom', horizontal: 'center' };\n};\n\nconst getId = name => `${name}BoundedExample`;\n\nclass HookshotStandard extends React.Component {\n constructor(props) {\n super(props);\n this.handleButtonClick = this.handleButtonClick.bind(this);\n this.handleRequestClose = this.handleRequestClose.bind(this);\n this.handleAttachmentBehaviorChange = this.handleAttachmentBehaviorChange.bind(this);\n this.handleContentAttachmentChange = this.handleContentAttachmentChange.bind(this);\n this.handleTargetAttachmentChange = this.handleTargetAttachmentChange.bind(this);\n this.handleInputChange = this.handleInputChange.bind(this);\n this.setParentNode = this.setParentNode.bind(this);\n this.getParentNode = this.getParentNode.bind(this);\n this.state = {\n isOpen: false,\n hookshotContentAttachment: ATTACHMENT_POSITIONS[1],\n hookshotTargetAttachment: ATTACHMENT_POSITIONS[7],\n hookshotAttachmentBehavior: Hookshot.attachmentBehaviors[0],\n hookshotAttachmentMargin: 0,\n };\n }\n\n componentDidMount() {\n this.parentNode.scrollTop = 225;\n this.parentNode.scrollLeft = 475;\n }\n\n handleButtonClick() {\n this.setState(prevState => ({ isOpen: !prevState.isOpen }));\n }\n\n handleRequestClose() {\n this.setState({ isOpen: false });\n }\n\n handleAttachmentBehaviorChange(event) {\n this.setState({ hookshotAttachmentBehavior: event.target.value });\n }\n\n handleContentAttachmentChange(event) {\n this.setState({ hookshotContentAttachment: event.target.value });\n }\n\n handleTargetAttachmentChange(event) {\n this.setState({ hookshotTargetAttachment: event.target.value });\n }\n\n handleInputChange(event) {\n if (event.target.value !== '') {\n this.setState({ [event.target.name]: Number.parseFloat(event.target.value) });\n }\n }\n\n setParentNode(node) {\n this.parentNode = node;\n }\n\n getParentNode() {\n return this.parentNode;\n }\n\n render() {\n const hookshotContent = (\n \n
Hookshot
\n \n );\n\n return (\n
\n
\n \n
\n \n {generateOptions(Hookshot.attachmentBehaviors)}\n \n
\n
\n \n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n document.getElementById('hookshot-bounded-button')}\n >\n {hookshotContent}\n \n \n
\n
\n
\n \n );\n }\n}\n\nexport default HookshotStandard;\n\n")))}w.isMDXComponent=!0;var B=function(e){var t=e.title,n=e.description,a=e.isExpanded;return l.createElement(b.A,{title:t||"Bounded Hookshot Example",description:n,example:l.createElement(E.A,null),exampleCssSrc:l.createElement(T,null),exampleSrc:l.createElement(w,null),isExpanded:a})},I=n(76922),O=["components"],H={};function S(e){var t=e.components,n=(0,o.A)(e,O);return(0,r.mdx)("wrapper",(0,a.A)({},H,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport InputField from 'terra-form-input/lib/InputField';\nimport Hookshot from 'terra-hookshot';\nimport styles from './HookshotDocCommon.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst ATTACHMENT_POSITIONS = [\n 'top start',\n 'top center',\n 'top end',\n 'middle start',\n 'middle center',\n 'middle end',\n 'bottom start',\n 'bottom center',\n 'bottom end',\n];\n\nconst generateOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nconst attachmentValues = (attachment) => {\n if (attachment === 'middle start') {\n return { vertical: 'middle', horizontal: 'start' };\n } if (attachment === 'middle end') {\n return { vertical: 'middle', horizontal: 'end' };\n } if (attachment === 'middle center') {\n return { vertical: 'middle', horizontal: 'center' };\n } if (attachment === 'top start') {\n return { vertical: 'top', horizontal: 'start' };\n } if (attachment === 'top end') {\n return { vertical: 'top', horizontal: 'end' };\n } if (attachment === 'top center') {\n return { vertical: 'top', horizontal: 'center' };\n } if (attachment === 'bottom start') {\n return { vertical: 'bottom', horizontal: 'start' };\n } if (attachment === 'bottom end') {\n return { vertical: 'bottom', horizontal: 'end' };\n }\n return { vertical: 'bottom', horizontal: 'center' };\n};\n\nconst getId = name => `${name}CoordsExample`;\n\nclass HookshotStandard extends React.Component {\n constructor(props) {\n super(props);\n this.handleRegionClick = this.handleRegionClick.bind(this);\n this.handleRequestClose = this.handleRequestClose.bind(this);\n this.setParentNode = this.setParentNode.bind(this);\n this.getParentNode = this.getParentNode.bind(this);\n this.handleAttachmentBehaviorChange = this.handleAttachmentBehaviorChange.bind(this);\n this.handleContentAttachmentChange = this.handleContentAttachmentChange.bind(this);\n this.handleInputChange = this.handleInputChange.bind(this);\n this.state = {\n isOpen: false,\n coordinates: undefined,\n hookshotContentAttachment: ATTACHMENT_POSITIONS[1],\n hookshotAttachmentBehavior: Hookshot.attachmentBehaviors[0],\n hookshotAttachmentMargin: 0,\n };\n }\n\n handleRegionClick(event) {\n const coordinates = { x: event.clientX, y: event.clientY };\n this.setState(prevState => ({ isOpen: !prevState.isOpen, coordinates }));\n }\n\n handleRequestClose() {\n this.setState({ isOpen: false });\n }\n\n handleAttachmentBehaviorChange(event) {\n this.setState({ hookshotAttachmentBehavior: event.target.value });\n }\n\n handleContentAttachmentChange(event) {\n this.setState({ hookshotContentAttachment: event.target.value });\n }\n\n handleInputChange(event) {\n if (event.target.value !== '') {\n this.setState({ [event.target.name]: Number.parseFloat(event.target.value) });\n }\n }\n\n setParentNode(node) {\n this.parentNode = node;\n }\n\n getParentNode() {\n return this.parentNode;\n }\n\n render() {\n const hookshotContent = (\n \n
Hookshot
\n \n );\n\n return (\n /* eslint-disable jsx-a11y/no-static-element-interactions */\n
\n
\n \n
\n \n {generateOptions(Hookshot.attachmentBehaviors)}\n \n
\n
\n \n
\n \n
\n \n {generateOptions(ATTACHMENT_POSITIONS)}\n \n
\n
\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\n \n Click Inside\n \n {hookshotContent}\n \n
\n \n /* eslint-enable jsx-a11y/no-static-element-interactions */\n );\n }\n}\n\nexport default HookshotStandard;\n\n")))}S.isMDXComponent=!0;var P=function(e){var t=e.title,n=e.description,a=e.isExpanded;return l.createElement(b.A,{title:t||"Coords Hookshot Example",description:n,example:l.createElement(I.A,null),exampleCssSrc:l.createElement(T,null),exampleSrc:l.createElement(S,null),isExpanded:a})},M=["components"],z={},D="wrapper";function q(e){var t=e.components,n=(0,o.A)(e,M);return(0,r.mdx)(D,(0,a.A)({},z,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(d.E,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-hookshot"},"Terra Hookshot"),(0,r.mdx)("p",null,"The Terra Hookshot component positions content according to a targeted attachment, ensuring they stay connected."),(0,r.mdx)("p",null,"Hookshot is currently utilized in the following component(s):",(0,r.mdx)("br",null)),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-framework/components/terra-popup/popup/popup"},"Popup"))),(0,r.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Install with ",(0,r.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,r.mdx)("ul",{parentName:"li"},(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"npm install terra-hookshot"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import Hookshot from 'terra-hookshot';\n")),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(N,{title:"Window Bound Hookshot",mdxType:"HookshotExample"}),(0,r.mdx)(B,{title:"Container Bound Hookshot",mdxType:"BoundedHookshotExample"}),(0,r.mdx)(P,{title:"Coordinate Targeted Hookshot",mdxType:"CoordsHookshotExample"}),(0,r.mdx)("h2",{id:"hookshot-props-table"},"Hookshot Props Table"),(0,r.mdx)(c,{mdxType:"HookshotSrc"}),(0,r.mdx)("h2",{id:"hookshot-content-props-table"},"Hookshot Content Props Table"),(0,r.mdx)(g,{mdxType:"HookshotContentSrc"}))}q.isMDXComponent=!0},9527:function(e,t,n){n.d(t,{E:function(){return l}});var a=n(96540),o=n(55713),l=function(e){var t=e.url;return a.createElement(o.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-hookshot",name:"terra-hookshot",version:"5.44.0",url:t})}},5451:function(e,t,n){var a=n(24994);t.A=void 0;var o=a(n(43693)),l=a(n(17383)),r=a(n(34579)),d=a(n(28452)),s=a(n(63072)),h=a(n(29511)),m=a(n(96540)),i=a(n(67967)),c=a(n(23986)),u=a(n(19127)),p=a(n(70444)),x=a(n(91674));function g(e,t,n){return t=(0,s.default)(t),(0,d.default)(e,f()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var v=i.default.bind(x.default),C=["top start","top center","top end","middle start","middle center","middle end","bottom start","bottom center","bottom end"],k=function(e){return e.map((function(e,t){var n=t;return m.default.createElement("option",{key:n,value:e},e)}))},b=function(e){return"middle start"===e?{vertical:"middle",horizontal:"start"}:"middle end"===e?{vertical:"middle",horizontal:"end"}:"middle center"===e?{vertical:"middle",horizontal:"center"}:"top start"===e?{vertical:"top",horizontal:"start"}:"top end"===e?{vertical:"top",horizontal:"end"}:"top center"===e?{vertical:"top",horizontal:"center"}:"bottom start"===e?{vertical:"bottom",horizontal:"start"}:"bottom end"===e?{vertical:"bottom",horizontal:"end"}:{vertical:"bottom",horizontal:"center"}},A=function(e){return"".concat(e,"BoundedExample")},y=function(e){function t(e){var n;return(0,l.default)(this,t),(n=g(this,t,[e])).handleButtonClick=n.handleButtonClick.bind(n),n.handleRequestClose=n.handleRequestClose.bind(n),n.handleAttachmentBehaviorChange=n.handleAttachmentBehaviorChange.bind(n),n.handleContentAttachmentChange=n.handleContentAttachmentChange.bind(n),n.handleTargetAttachmentChange=n.handleTargetAttachmentChange.bind(n),n.handleInputChange=n.handleInputChange.bind(n),n.setParentNode=n.setParentNode.bind(n),n.getParentNode=n.getParentNode.bind(n),n.state={isOpen:!1,hookshotContentAttachment:C[1],hookshotTargetAttachment:C[7],hookshotAttachmentBehavior:p.default.attachmentBehaviors[0],hookshotAttachmentMargin:0},n}return(0,h.default)(t,e),(0,r.default)(t,[{key:"componentDidMount",value:function(){this.parentNode.scrollTop=225,this.parentNode.scrollLeft=475}},{key:"handleButtonClick",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"handleRequestClose",value:function(){this.setState({isOpen:!1})}},{key:"handleAttachmentBehaviorChange",value:function(e){this.setState({hookshotAttachmentBehavior:e.target.value})}},{key:"handleContentAttachmentChange",value:function(e){this.setState({hookshotContentAttachment:e.target.value})}},{key:"handleTargetAttachmentChange",value:function(e){this.setState({hookshotTargetAttachment:e.target.value})}},{key:"handleInputChange",value:function(e){""!==e.target.value&&this.setState((0,o.default)({},e.target.name,Number.parseFloat(e.target.value)))}},{key:"setParentNode",value:function(e){this.parentNode=e}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){var e=m.default.createElement(p.default.Content,{onEsc:this.handleRequestClose,onOutsideClick:this.handleRequestClose,onResize:this.handleRequestClose},m.default.createElement("div",{className:v("content-wrapper")},"Hookshot"));return m.default.createElement("div",null,m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotAttachmentBehavior"),className:v("label")},"Attachment Behavior")),m.default.createElement("select",{id:A("hookshotAttachmentBehavior"),name:"hookshotAttachmentBehavior",value:this.state.hookshotAttachmentBehavior,onChange:this.handleAttachmentBehaviorChange,className:v("select-wrapper")},k(p.default.attachmentBehaviors)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(u.default,{label:"Attachment Margin in Px",inputId:A("hookshotAttachmentMargin"),inputAttrs:{name:"hookshotAttachmentMargin",type:"number"},defaultValue:this.state.hookshotAttachmentMargin,className:v("input-wrapper"),onChange:this.handleInputChange}),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotContentAttachment"),className:v("label")},"Content Attachment")),m.default.createElement("select",{id:A("hookshotContentAttachment"),name:"hookshotContentAttachment",value:this.state.hookshotContentAttachment,onChange:this.handleContentAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotTargetAttachment"),className:v("label")},"Target Attachment")),m.default.createElement("select",{id:A("hookshotTargetAttachment"),name:"hookshotTargetAttachment",value:this.state.hookshotTargetAttachment,onChange:this.handleTargetAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(p.default,{attachmentBehavior:this.state.hookshotAttachmentBehavior,attachmentMargin:this.state.hookshotAttachmentMargin,boundingRef:this.getParentNode,contentAttachment:b(this.state.hookshotContentAttachment),isEnabled:!0,isOpen:this.state.isOpen,targetAttachment:b(this.state.hookshotTargetAttachment),targetRef:function(){return document.getElementById("hookshot-bounded-button")}},e),m.default.createElement("div",{className:v("bounded-parent-node-wrapper"),ref:this.setParentNode},m.default.createElement("div",{className:v("button-wrapper")},m.default.createElement(c.default,{id:"hookshot-bounded-button",text:"Hookshot Example",onClick:this.handleButtonClick,className:v("custom-button")}))))}}])}(m.default.Component);t.A=y},76922:function(e,t,n){var a=n(24994);t.A=void 0;var o=a(n(43693)),l=a(n(17383)),r=a(n(34579)),d=a(n(28452)),s=a(n(63072)),h=a(n(29511)),m=a(n(96540)),i=a(n(67967)),c=a(n(19127)),u=a(n(70444)),p=a(n(91674));function x(e,t,n){return t=(0,s.default)(t),(0,d.default)(e,g()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}var f=i.default.bind(p.default),v=["top start","top center","top end","middle start","middle center","middle end","bottom start","bottom center","bottom end"],C=function(e){return e.map((function(e,t){var n=t;return m.default.createElement("option",{key:n,value:e},e)}))},k=function(e){return"".concat(e,"CoordsExample")},b=function(e){function t(e){var n;return(0,l.default)(this,t),(n=x(this,t,[e])).handleRegionClick=n.handleRegionClick.bind(n),n.handleRequestClose=n.handleRequestClose.bind(n),n.setParentNode=n.setParentNode.bind(n),n.getParentNode=n.getParentNode.bind(n),n.handleAttachmentBehaviorChange=n.handleAttachmentBehaviorChange.bind(n),n.handleContentAttachmentChange=n.handleContentAttachmentChange.bind(n),n.handleInputChange=n.handleInputChange.bind(n),n.state={isOpen:!1,coordinates:void 0,hookshotContentAttachment:v[1],hookshotAttachmentBehavior:u.default.attachmentBehaviors[0],hookshotAttachmentMargin:0},n}return(0,h.default)(t,e),(0,r.default)(t,[{key:"handleRegionClick",value:function(e){var t={x:e.clientX,y:e.clientY};this.setState((function(e){return{isOpen:!e.isOpen,coordinates:t}}))}},{key:"handleRequestClose",value:function(){this.setState({isOpen:!1})}},{key:"handleAttachmentBehaviorChange",value:function(e){this.setState({hookshotAttachmentBehavior:e.target.value})}},{key:"handleContentAttachmentChange",value:function(e){this.setState({hookshotContentAttachment:e.target.value})}},{key:"handleInputChange",value:function(e){""!==e.target.value&&this.setState((0,o.default)({},e.target.name,Number.parseFloat(e.target.value)))}},{key:"setParentNode",value:function(e){this.parentNode=e}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){var e,t=m.default.createElement(u.default.Content,{onEsc:this.handleRequestClose,onOutsideClick:this.handleRequestClose,onResize:this.handleRequestClose},m.default.createElement("div",{className:f("content-wrapper")},"Hookshot"));return m.default.createElement("div",null,m.default.createElement("div",{className:f("heading-wrapper")},m.default.createElement("label",{htmlFor:k("hookshotAttachmentBehavior"),className:f("label")},"Attachment Behavior")),m.default.createElement("select",{id:k("hookshotAttachmentBehavior"),name:"hookshotAttachmentBehavior",value:this.state.hookshotAttachmentBehavior,onChange:this.handleAttachmentBehaviorChange,className:f("select-wrapper")},C(u.default.attachmentBehaviors)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(c.default,{label:"Attachment Margin in Px",inputId:k("hookshotAttachmentMargin"),inputAttrs:{name:"hookshotAttachmentMargin",type:"number"},defaultValue:this.state.hookshotAttachmentMargin,className:f("input-wrapper"),onChange:this.handleInputChange}),m.default.createElement("div",{className:f("heading-wrapper")},m.default.createElement("label",{htmlFor:k("hookshotContentAttachment"),className:f("label")},"Content Attachment")),m.default.createElement("select",{id:k("hookshotContentAttachment"),name:"hookshotContentAttachment",value:this.state.hookshotContentAttachment,onChange:this.handleContentAttachmentChange,className:f("select-wrapper")},C(v)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("div",{onClick:this.handleRegionClick,className:f("coords-parent-node-wrapper"),ref:this.setParentNode},"Click Inside",m.default.createElement(u.default,{attachmentBehavior:this.state.hookshotAttachmentBehavior,attachmentMargin:this.state.hookshotAttachmentMargin,boundingRef:this.getParentNode,contentAttachment:(e=this.state.hookshotContentAttachment,"middle start"===e?{vertical:"middle",horizontal:"start"}:"middle end"===e?{vertical:"middle",horizontal:"end"}:"middle center"===e?{vertical:"middle",horizontal:"center"}:"top start"===e?{vertical:"top",horizontal:"start"}:"top end"===e?{vertical:"top",horizontal:"end"}:"top center"===e?{vertical:"top",horizontal:"center"}:"bottom start"===e?{vertical:"bottom",horizontal:"start"}:"bottom end"===e?{vertical:"bottom",horizontal:"end"}:{vertical:"bottom",horizontal:"center"}),isEnabled:!0,isOpen:this.state.isOpen,targetCoordinates:this.state.coordinates},t)))}}])}(m.default.Component);t.A=b},8408:function(e,t,n){var a=n(24994);t.A=void 0;var o=a(n(43693)),l=a(n(17383)),r=a(n(34579)),d=a(n(28452)),s=a(n(63072)),h=a(n(29511)),m=a(n(96540)),i=a(n(67967)),c=a(n(23986)),u=a(n(19127)),p=a(n(70444)),x=a(n(91674));function g(e,t,n){return t=(0,s.default)(t),(0,d.default)(e,f()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var v=i.default.bind(x.default),C=["top start","top center","top end","middle start","middle center","middle end","bottom start","bottom center","bottom end"],k=function(e){return e.map((function(e,t){var n=t;return m.default.createElement("option",{key:n,value:e},e)}))},b=function(e){return"middle start"===e?{vertical:"middle",horizontal:"start"}:"middle end"===e?{vertical:"middle",horizontal:"end"}:"middle center"===e?{vertical:"middle",horizontal:"center"}:"top start"===e?{vertical:"top",horizontal:"start"}:"top end"===e?{vertical:"top",horizontal:"end"}:"top center"===e?{vertical:"top",horizontal:"center"}:"bottom start"===e?{vertical:"bottom",horizontal:"start"}:"bottom end"===e?{vertical:"bottom",horizontal:"end"}:{vertical:"bottom",horizontal:"center"}},A=function(e){return"".concat(e,"Example")},y=function(e){function t(e){var n;return(0,l.default)(this,t),(n=g(this,t,[e])).handleButtonClick=n.handleButtonClick.bind(n),n.handleRequestClose=n.handleRequestClose.bind(n),n.handleAttachmentBehaviorChange=n.handleAttachmentBehaviorChange.bind(n),n.handleContentAttachmentChange=n.handleContentAttachmentChange.bind(n),n.handleTargetAttachmentChange=n.handleTargetAttachmentChange.bind(n),n.handleInputChange=n.handleInputChange.bind(n),n.state={isOpen:!1,hookshotContentAttachment:C[1],hookshotTargetAttachment:C[7],hookshotAttachmentBehavior:p.default.attachmentBehaviors[0],hookshotAttachmentMargin:0},n}return(0,h.default)(t,e),(0,r.default)(t,[{key:"handleButtonClick",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"handleRequestClose",value:function(){this.setState({isOpen:!1})}},{key:"handleAttachmentBehaviorChange",value:function(e){this.setState({hookshotAttachmentBehavior:e.target.value})}},{key:"handleContentAttachmentChange",value:function(e){this.setState({hookshotContentAttachment:e.target.value})}},{key:"handleTargetAttachmentChange",value:function(e){this.setState({hookshotTargetAttachment:e.target.value})}},{key:"handleInputChange",value:function(e){""!==e.target.value&&this.setState((0,o.default)({},e.target.name,Number.parseFloat(e.target.value)))}},{key:"render",value:function(){var e=m.default.createElement(p.default.Content,{onEsc:this.handleRequestClose,onOutsideClick:this.handleRequestClose,onResize:this.handleRequestClose},m.default.createElement("div",{className:v("content-wrapper")},"Hookshot"));return m.default.createElement("div",null,m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotAttachmentBehavior"),className:v("label")},"Attachment Behavior")),m.default.createElement("select",{id:A("hookshotAttachmentBehavior"),name:"hookshotAttachmentBehavior",value:this.state.hookshotAttachmentBehavior,onChange:this.handleAttachmentBehaviorChange,className:v("select-wrapper")},k(p.default.attachmentBehaviors)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(u.default,{label:"Attachment Margin in Px",inputId:A("hookshotAttachmentMargin"),inputAttrs:{name:"hookshotAttachmentMargin",type:"number"},defaultValue:this.state.hookshotAttachmentMargin,className:v("input-wrapper"),onChange:this.handleInputChange}),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotContentAttachment"),className:v("label")},"Content Attachment")),m.default.createElement("select",{id:A("hookshotContentAttachment"),name:"hookshotContentAttachment",value:this.state.hookshotContentAttachment,onChange:this.handleContentAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("div",{className:v("heading-wrapper")},m.default.createElement("label",{htmlFor:A("hookshotTargetAttachment"),className:v("label")},"Target Attachment")),m.default.createElement("select",{id:A("hookshotTargetAttachment"),name:"hookshotTargetAttachment",value:this.state.hookshotTargetAttachment,onChange:this.handleTargetAttachmentChange,className:v("select-wrapper")},k(C)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement(p.default,{attachmentBehavior:this.state.hookshotAttachmentBehavior,attachmentMargin:this.state.hookshotAttachmentMargin,contentAttachment:b(this.state.hookshotContentAttachment),isEnabled:!0,isOpen:this.state.isOpen,targetAttachment:b(this.state.hookshotTargetAttachment),targetRef:function(){return document.getElementById("hookshot-standard-button")}},e),m.default.createElement(c.default,{id:"hookshot-standard-button",text:"Hookshot Example",onClick:this.handleButtonClick}))}}])}(m.default.Component);t.A=y},89986:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},91674:function(e,t,n){n.r(t),t.default={"content-wrapper":"HookshotDocCommon-module__content-wrapper___5SRya","bounded-parent-node-wrapper":"HookshotDocCommon-module__bounded-parent-node-wrapper___Z4gTj","coords-parent-node-wrapper":"HookshotDocCommon-module__coords-parent-node-wrapper___uKVBt","select-wrapper":"HookshotDocCommon-module__select-wrapper___92j6w","heading-wrapper":"HookshotDocCommon-module__heading-wrapper___mMLav",label:"HookshotDocCommon-module__label___d0V8x","input-wrapper":"HookshotDocCommon-module__input-wrapper___fIT0c","button-wrapper":"HookshotDocCommon-module__button-wrapper___SY3ht","custom-button":"HookshotDocCommon-module__custom-button___2z9AK"}},49558:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n(96540)),o=l(n(25365));function l(e){return e&&e.__esModule?e:{default:e}}var r=function(e){var t=Object.assign({},e);return a.default.createElement(o.default,t,a.default.createElement("path",{d:"M10.3 24 33.8 0l3.9 3.8L18 24l19.7 20.2-3.9 3.8z"}))};r.displayName="IconChevronLeft",r.defaultProps={viewBox:"0 0 48 48","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg"};t.default=r}}]); \ No newline at end of file diff --git a/pull/2175/94052-3c43a1bbdb4b371ff018.js b/pull/2175/94052-3c43a1bbdb4b371ff018.js deleted file mode 100644 index 5a41bbf0044..00000000000 --- a/pull/2175/94052-3c43a1bbdb4b371ff018.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[94052],{55713:function(e,a,l){var m=l(24994);a.A=void 0;var d=m(l(96540)),n=m(l(5556)),r=m(l(67967)),t=m(l(25642)),i=r.default.bind(t.default),u={name:n.default.string.isRequired,src:n.default.string,url:n.default.string,version:n.default.string.isRequired},p=function(e){var a=e.src,l=e.name,m=e.url,n=e.version,r=d.default.createElement("a",{className:i("badge"),href:m||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},d.default.createElement("span",{className:i("badge-name")},m?"package":"npm"),d.default.createElement("span",{className:i("badge-version")},"v".concat(n))),t=a?d.default.createElement("a",{className:i("badge"),href:a},d.default.createElement("span",{className:i("badge-name")},"github"),d.default.createElement("span",{className:i("badge-version")},"source")):void 0;return d.default.createElement("div",{className:i("badge-container")},r,t)};p.propTypes=u;a.A=p},71671:function(e,a,l){l.r(a),l.d(a,{default:function(){return s}});var m=l(58168),d=l(53986),n=(l(96540),l(36665)),r=l(9527),t=["components"],i={},u="wrapper";function p(e){var a=e.components,l=(0,d.A)(e,t);return(0,n.mdx)(u,(0,m.A)({},i,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)("h1",{id:"changelog"},"Changelog"),(0,n.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,n.mdx)("h2",{id:"5441---may-24-2024"},"5.44.1 - (May 24, 2024)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump.")))),(0,n.mdx)("h2",{id:"5440---may-22-2024"},"5.44.0 - (May 22, 2024)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump.")))),(0,n.mdx)("h2",{id:"5430---may-20-2024"},"5.43.0 - (May 20, 2024)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump.")))),(0,n.mdx)("h2",{id:"5420---march-25-2024"},"5.42.0 - (March 25, 2024)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Allow hookshot position to be fixed")))),(0,n.mdx)("h2",{id:"5410---july-31-2023"},"5.41.0 - (July 31, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"5400---february-14-2023"},"5.40.0 - (February 14, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra and\nterra-functional-testing upgrade.")))),(0,n.mdx)("h2",{id:"5390---march-15-2022"},"5.39.0 - (March 15, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Migrate docs to terra-framework-docs")))),(0,n.mdx)("h2",{id:"5380---september-20-2021"},"5.38.0 - (September 20, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra sass upgrade.")))),(0,n.mdx)("h2",{id:"5370---july-21-2021"},"5.37.0 - (July 21, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3.7.0")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v4.4.0"),".")))),(0,n.mdx)("h2",{id:"5360---june-8-2021"},"5.36.0 - (June 8, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"keycode-js")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v2.0.1")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3.1.0"),".")))),(0,n.mdx)("h2",{id:"5350---april-6-2021"},"5.35.0 - (April 6, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,n.mdx)("h2",{id:"5340---march-9-2021"},"5.34.0 - (March 9, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use terra-functional-testing")))),(0,n.mdx)("h2",{id:"5330---january-26-2021"},"5.33.0 - (January 26, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed error thrown on resizing the popup due to incorrect variables name.")))),(0,n.mdx)("h2",{id:"5320---december-8-2020"},"5.32.0 - (December 8, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,n.mdx)("h2",{id:"5310---november-10-2020"},"5.31.0 - (November 10, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed build failures due to the react/sort-comp rule")))),(0,n.mdx)("h2",{id:"5300---august-11-2020"},"5.30.0 - (August 11, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ^v2.3.0 to ^v3.7.0")))),(0,n.mdx)("h2",{id:"5290---august-4-2020"},"5.29.0 - (August 4, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Changelog format")))),(0,n.mdx)("h2",{id:"5280---july-14-2020"},"5.28.0 - (July 14, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor file changes to comply with eslint rules"),(0,n.mdx)("li",{parentName:"ul"},"Replace some empty text with aria-label to comply with eslint")))),(0,n.mdx)("h2",{id:"5270---april-28-2020"},"5.27.0 - (April 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ",(0,n.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,n.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,n.mdx)("h2",{id:"5260---march-31-2020"},"5.26.0 - (March 31, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio screenshots")))),(0,n.mdx)("h2",{id:"5250---february-25-2020"},"5.25.0 - (February 25, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax.")))),(0,n.mdx)("h2",{id:"5240---february-18-2020"},"5.24.0 - (February 18, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added generated-themes to .npmignore")))),(0,n.mdx)("h2",{id:"5230---january-28-2020"},"5.23.0 - (January 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,n.mdx)("h2",{id:"5220---december-10-2019"},"5.22.0 - (December 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Added reference wdio screenshots for "orion-fusion-theme".')))),(0,n.mdx)("h2",{id:"5210---november-7-2019"},"5.21.0 - (November 7, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Resolved lint warnings for multiple empty lines")))),(0,n.mdx)("h2",{id:"5200---october-16-2019"},"5.20.0 - (October 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5190---october-3-2019"},"5.19.0 - (October 3, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5180---september-26-2019"},"5.18.0 - (September 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5170---september-19-2019"},"5.17.0 - (September 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed ",(0,n.mdx)("inlineCode",{parentName:"li"},"details")," tag from doc-site."),(0,n.mdx)("li",{parentName:"ul"},"Doc site example module import syntax modified to use package.json name resolution")))),(0,n.mdx)("h2",{id:"5160---september-6-2019"},"5.16.0 - (September 6, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files"),(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"keycode-js")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v1.0.4")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v2.0.1"))))),(0,n.mdx)("h2",{id:"5150---august-21-2019"},"5.15.0 - (August 21, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up lint in test files")))),(0,n.mdx)("h2",{id:"5140---august-14-2019"},"5.14.0 - (August 14, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated package.json test scripts"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed themeable variable for z-index")))),(0,n.mdx)("h2",{id:"5130---july-30-2019"},"5.13.0 - (July 30, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed DEPENDENCIES.md file")))),(0,n.mdx)("h2",{id:"5120---july-16-2019"},"5.12.0 - (July 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added documentation on required peerDependencies")))),(0,n.mdx)("h2",{id:"5110---july-10-2019"},"5.11.0 - (July 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"5100---july-2-2019"},"5.10.0 - (July 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed all inline styles from Dev-site components and implemented the same styles using external css."),(0,n.mdx)("li",{parentName:"ul"},"Renamed test and example SCSS files to end with ",(0,n.mdx)("inlineCode",{parentName:"li"},".module.scss")," extension")))),(0,n.mdx)("h2",{id:"590---june-19-2019"},"5.9.0 - (June 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"580---june-12-2019"},"5.8.0 - (June 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Replaced classList shim with full polyfill to support d3"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,n.mdx)("li",{parentName:"ul"},"Update wdio specs to use Terra.describeViewports")))),(0,n.mdx)("h2",{id:"570---april-24-2019"},"5.7.0 - (April 24, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved packages we use solely in doc examples and tests to devDependencies")))),(0,n.mdx)("h2",{id:"560---april-16-2019"},"5.6.0 - (April 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated the terra-dev-site documentation examples to use native select and Removed Dependency on terra-form-select.")))),(0,n.mdx)("h2",{id:"550---march-26-2019"},"5.5.0 - (March 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,n.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,n.mdx)("h2",{id:"540---march-12-2019"},"5.4.0 - (March 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Replaced local keyCode values with keycode-js npm package")))),(0,n.mdx)("h2",{id:"530---march-5-2019"},"5.3.0 - (March 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Disable outClickOutside if no callback function is passed.")))),(0,n.mdx)("h2",{id:"520---february-26-2019"},"5.2.0 - (February 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated test spec to scroll to bottom of test page before interacting with elements.")))),(0,n.mdx)("h2",{id:"510---february-5-2019"},"5.1.0 - (February 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Vestigial fixed styling removed and default to absolute.")))),(0,n.mdx)("h2",{id:"500---january-25-2019"},"5.0.0 - (January 25, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Breaking Change"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated terra-core dependencies"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed usage of componentWillReceiveProps")))),(0,n.mdx)("h2",{id:"4170---january-5-2019"},"4.17.0 - (January 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"4160---january-2-2019"},"4.16.0 - (January 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated dev site examples to not have duplicate ids."),(0,n.mdx)("li",{parentName:"ul"},"Updated dev site examples to use terra-form-input and terra-form-select to improve accessability.")))),(0,n.mdx)("h2",{id:"4150---december-5-2018"},"4.15.0 - (December 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"4140---december-3-2018"},"4.14.0 - (December 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Lint error")))),(0,n.mdx)("h2",{id:"4131---november-15-2018"},"4.13.1 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added existence check for SVGElement, fixes issue with older version of jsdom")))),(0,n.mdx)("h2",{id:"4130---november-15-2018"},"4.13.0 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react-onclickoutside to ^6.7.1")))),(0,n.mdx)("h2",{id:"4120---september-25-2018"},"4.12.0 - (September 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Broken coordiantes example for setState.")))),(0,n.mdx)("h2",{id:"4110---september-5-2018"},"4.11.0 - (September 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,n.mdx)("h2",{id:"4100---august-30-2018"},"4.10.0 - (August 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,n.mdx)("h2",{id:"490---august-13-2018"},"4.9.0 - (August 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"480---july-25-2018"},"4.8.0 - (July 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add .module extension to SCSS file(s)")))),(0,n.mdx)("h2",{id:"470---july-10-2018"},"4.7.0 - (July 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Clean up dependencies")))),(0,n.mdx)("h2",{id:"460---july-3-2018"},"4.6.0 - (July 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"450---june-29-2018"},"4.5.0 - (June 29, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Introduce targetCoordinates to hookshot functionality."))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Change logs to documentation on terra-dev-site"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Corrected the 'resize observer loop limit reached' error with animation frames.")))),(0,n.mdx)("h2",{id:"440---june-12-2018"},"4.4.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"430---may-30-2018"},"4.3.0 - (May 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,n.mdx)("h2",{id:"420---may-22-2018"},"4.2.0 - (May 22, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"410---april-30-2018"},"4.1.0 - (April 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates"),(0,n.mdx)("li",{parentName:"ul"},"Do not release snapshots to npm")))),(0,n.mdx)("h2",{id:"400---april-20-2018"},"4.0.0 - (April 20, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed the call to preventDefault in onOutsideClick")))),(0,n.mdx)("h2",{id:"310---april-13-2018"},"3.1.0 - (April 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"300---april-10-2018"},"3.0.0 - (April 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Attachment behavior ",(0,n.mdx)("inlineCode",{parentName:"li"},"none")," will no longer reposition content relative to a bounding rect. Content will remain statically positioned to the specified attachment target. Update the attachment behavior of ",(0,n.mdx)("inlineCode",{parentName:"li"},"none")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"push")," to regain previous bounded repositioning.")))),(0,n.mdx)("h2",{id:"230---april-3-2018"},"2.3.0 - (April 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved terra-hookshot to terra-framework repo.")))),(0,n.mdx)("h2",{id:"220---march-6-2018"},"2.2.0 - (March 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed props-table script from package.json")))),(0,n.mdx)("h2",{id:"210---february-26-2018"},"2.1.0 - (February 26, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"201---february-13-2018"},"2.0.1 - (February 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated peerDependencies")))),(0,n.mdx)("h2",{id:"200---february-12-2018"},"2.0.0 - (February 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use React 16")))),(0,n.mdx)("h2",{id:"180---february-1-2018"},"1.8.0 - (February 1, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"170---january-18-2018"},"1.7.0 - (January 18, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"160---january-5-2018"},"1.6.0 - (January 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"150---december-5-2017"},"1.5.0 - (December 5, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add preventDefault() to onOutsideClick")))),(0,n.mdx)("h2",{id:"140---november-28-2017"},"1.4.0 - (November 28, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"130---november-16-2017"},"1.3.0 - (November 16, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"120---october-31-2017"},"1.2.0 - (October 31, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Height and Width rounding"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Content Resize callback")))),(0,n.mdx)("h2",{id:"110---october-24-2017"},"1.1.0 - (October 24, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Mobile zoom on safari"),(0,n.mdx)("li",{parentName:"ul"},"Half px value causing blurriness"),(0,n.mdx)("li",{parentName:"ul"},"Disable Listener dependency on target")))),(0,n.mdx)("h2",{id:"100---october-12-2017"},"1.0.0 - (October 12, 2017)"),(0,n.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"],o={},N="wrapper";function s(e){var a=e.components,l=(0,d.A)(e,x);return(0,n.mdx)(N,(0,m.A)({},o,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(r.E,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}s.isMDXComponent=!0},9527:function(e,a,l){l.d(a,{E:function(){return n}});var m=l(96540),d=l(55713),n=function(e){var a=e.url;return m.createElement(d.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-hookshot",name:"terra-hookshot",version:"5.44.1",url:a})}},25642:function(e,a,l){l.r(a),a.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},58168:function(e,a,l){function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0)continue;l[m]=e[m]}return l}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(m=0;m=0||{}.propertyIsEnumerable.call(e,l)&&(d[l]=e[l])}return d}l.d(a,{A:function(){return m}})}}]); \ No newline at end of file diff --git a/pull/2175/94052-3c43a1bbdb4b371ff018.css b/pull/2175/94052-baa2815b48ac38349309.css similarity index 100% rename from pull/2175/94052-3c43a1bbdb4b371ff018.css rename to pull/2175/94052-baa2815b48ac38349309.css diff --git a/pull/2175/94052-baa2815b48ac38349309.js b/pull/2175/94052-baa2815b48ac38349309.js new file mode 100644 index 00000000000..e48b9fe28e2 --- /dev/null +++ b/pull/2175/94052-baa2815b48ac38349309.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[94052],{55713:function(e,a,l){var m=l(24994);a.A=void 0;var d=m(l(96540)),n=m(l(5556)),r=m(l(67967)),t=m(l(25642)),i=r.default.bind(t.default),u={name:n.default.string.isRequired,src:n.default.string,url:n.default.string,version:n.default.string.isRequired},p=function(e){var a=e.src,l=e.name,m=e.url,n=e.version,r=d.default.createElement("a",{className:i("badge"),href:m||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},d.default.createElement("span",{className:i("badge-name")},m?"package":"npm"),d.default.createElement("span",{className:i("badge-version")},"v".concat(n))),t=a?d.default.createElement("a",{className:i("badge"),href:a},d.default.createElement("span",{className:i("badge-name")},"github"),d.default.createElement("span",{className:i("badge-version")},"source")):void 0;return d.default.createElement("div",{className:i("badge-container")},r,t)};p.propTypes=u;a.A=p},71671:function(e,a,l){l.r(a),l.d(a,{default:function(){return s}});var m=l(58168),d=l(53986),n=(l(96540),l(36665)),r=l(9527),t=["components"],i={},u="wrapper";function p(e){var a=e.components,l=(0,d.A)(e,t);return(0,n.mdx)(u,(0,m.A)({},i,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)("h1",{id:"changelog"},"Changelog"),(0,n.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,n.mdx)("h2",{id:"5440---may-22-2024"},"5.44.0 - (May 22, 2024)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump.")))),(0,n.mdx)("h2",{id:"5430---may-20-2024"},"5.43.0 - (May 20, 2024)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump.")))),(0,n.mdx)("h2",{id:"5420---march-25-2024"},"5.42.0 - (March 25, 2024)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Allow hookshot position to be fixed")))),(0,n.mdx)("h2",{id:"5410---july-31-2023"},"5.41.0 - (July 31, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"5400---february-14-2023"},"5.40.0 - (February 14, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra and\nterra-functional-testing upgrade.")))),(0,n.mdx)("h2",{id:"5390---march-15-2022"},"5.39.0 - (March 15, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Migrate docs to terra-framework-docs")))),(0,n.mdx)("h2",{id:"5380---september-20-2021"},"5.38.0 - (September 20, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra sass upgrade.")))),(0,n.mdx)("h2",{id:"5370---july-21-2021"},"5.37.0 - (July 21, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3.7.0")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v4.4.0"),".")))),(0,n.mdx)("h2",{id:"5360---june-8-2021"},"5.36.0 - (June 8, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"keycode-js")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v2.0.1")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3.1.0"),".")))),(0,n.mdx)("h2",{id:"5350---april-6-2021"},"5.35.0 - (April 6, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,n.mdx)("h2",{id:"5340---march-9-2021"},"5.34.0 - (March 9, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use terra-functional-testing")))),(0,n.mdx)("h2",{id:"5330---january-26-2021"},"5.33.0 - (January 26, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed error thrown on resizing the popup due to incorrect variables name.")))),(0,n.mdx)("h2",{id:"5320---december-8-2020"},"5.32.0 - (December 8, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,n.mdx)("h2",{id:"5310---november-10-2020"},"5.31.0 - (November 10, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed build failures due to the react/sort-comp rule")))),(0,n.mdx)("h2",{id:"5300---august-11-2020"},"5.30.0 - (August 11, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ^v2.3.0 to ^v3.7.0")))),(0,n.mdx)("h2",{id:"5290---august-4-2020"},"5.29.0 - (August 4, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Changelog format")))),(0,n.mdx)("h2",{id:"5280---july-14-2020"},"5.28.0 - (July 14, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor file changes to comply with eslint rules"),(0,n.mdx)("li",{parentName:"ul"},"Replace some empty text with aria-label to comply with eslint")))),(0,n.mdx)("h2",{id:"5270---april-28-2020"},"5.27.0 - (April 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ",(0,n.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,n.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,n.mdx)("h2",{id:"5260---march-31-2020"},"5.26.0 - (March 31, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio screenshots")))),(0,n.mdx)("h2",{id:"5250---february-25-2020"},"5.25.0 - (February 25, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax.")))),(0,n.mdx)("h2",{id:"5240---february-18-2020"},"5.24.0 - (February 18, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added generated-themes to .npmignore")))),(0,n.mdx)("h2",{id:"5230---january-28-2020"},"5.23.0 - (January 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,n.mdx)("h2",{id:"5220---december-10-2019"},"5.22.0 - (December 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Added reference wdio screenshots for "orion-fusion-theme".')))),(0,n.mdx)("h2",{id:"5210---november-7-2019"},"5.21.0 - (November 7, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Resolved lint warnings for multiple empty lines")))),(0,n.mdx)("h2",{id:"5200---october-16-2019"},"5.20.0 - (October 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5190---october-3-2019"},"5.19.0 - (October 3, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5180---september-26-2019"},"5.18.0 - (September 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5170---september-19-2019"},"5.17.0 - (September 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed ",(0,n.mdx)("inlineCode",{parentName:"li"},"details")," tag from doc-site."),(0,n.mdx)("li",{parentName:"ul"},"Doc site example module import syntax modified to use package.json name resolution")))),(0,n.mdx)("h2",{id:"5160---september-6-2019"},"5.16.0 - (September 6, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files"),(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"keycode-js")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v1.0.4")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v2.0.1"))))),(0,n.mdx)("h2",{id:"5150---august-21-2019"},"5.15.0 - (August 21, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up lint in test files")))),(0,n.mdx)("h2",{id:"5140---august-14-2019"},"5.14.0 - (August 14, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated package.json test scripts"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed themeable variable for z-index")))),(0,n.mdx)("h2",{id:"5130---july-30-2019"},"5.13.0 - (July 30, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed DEPENDENCIES.md file")))),(0,n.mdx)("h2",{id:"5120---july-16-2019"},"5.12.0 - (July 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added documentation on required peerDependencies")))),(0,n.mdx)("h2",{id:"5110---july-10-2019"},"5.11.0 - (July 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"5100---july-2-2019"},"5.10.0 - (July 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed all inline styles from Dev-site components and implemented the same styles using external css."),(0,n.mdx)("li",{parentName:"ul"},"Renamed test and example SCSS files to end with ",(0,n.mdx)("inlineCode",{parentName:"li"},".module.scss")," extension")))),(0,n.mdx)("h2",{id:"590---june-19-2019"},"5.9.0 - (June 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"580---june-12-2019"},"5.8.0 - (June 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Replaced classList shim with full polyfill to support d3"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,n.mdx)("li",{parentName:"ul"},"Update wdio specs to use Terra.describeViewports")))),(0,n.mdx)("h2",{id:"570---april-24-2019"},"5.7.0 - (April 24, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved packages we use solely in doc examples and tests to devDependencies")))),(0,n.mdx)("h2",{id:"560---april-16-2019"},"5.6.0 - (April 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated the terra-dev-site documentation examples to use native select and Removed Dependency on terra-form-select.")))),(0,n.mdx)("h2",{id:"550---march-26-2019"},"5.5.0 - (March 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,n.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,n.mdx)("h2",{id:"540---march-12-2019"},"5.4.0 - (March 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Replaced local keyCode values with keycode-js npm package")))),(0,n.mdx)("h2",{id:"530---march-5-2019"},"5.3.0 - (March 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Disable outClickOutside if no callback function is passed.")))),(0,n.mdx)("h2",{id:"520---february-26-2019"},"5.2.0 - (February 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated test spec to scroll to bottom of test page before interacting with elements.")))),(0,n.mdx)("h2",{id:"510---february-5-2019"},"5.1.0 - (February 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Vestigial fixed styling removed and default to absolute.")))),(0,n.mdx)("h2",{id:"500---january-25-2019"},"5.0.0 - (January 25, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Breaking Change"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated terra-core dependencies"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed usage of componentWillReceiveProps")))),(0,n.mdx)("h2",{id:"4170---january-5-2019"},"4.17.0 - (January 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"4160---january-2-2019"},"4.16.0 - (January 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated dev site examples to not have duplicate ids."),(0,n.mdx)("li",{parentName:"ul"},"Updated dev site examples to use terra-form-input and terra-form-select to improve accessability.")))),(0,n.mdx)("h2",{id:"4150---december-5-2018"},"4.15.0 - (December 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"4140---december-3-2018"},"4.14.0 - (December 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Lint error")))),(0,n.mdx)("h2",{id:"4131---november-15-2018"},"4.13.1 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added existence check for SVGElement, fixes issue with older version of jsdom")))),(0,n.mdx)("h2",{id:"4130---november-15-2018"},"4.13.0 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react-onclickoutside to ^6.7.1")))),(0,n.mdx)("h2",{id:"4120---september-25-2018"},"4.12.0 - (September 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Broken coordiantes example for setState.")))),(0,n.mdx)("h2",{id:"4110---september-5-2018"},"4.11.0 - (September 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,n.mdx)("h2",{id:"4100---august-30-2018"},"4.10.0 - (August 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,n.mdx)("h2",{id:"490---august-13-2018"},"4.9.0 - (August 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"480---july-25-2018"},"4.8.0 - (July 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add .module extension to SCSS file(s)")))),(0,n.mdx)("h2",{id:"470---july-10-2018"},"4.7.0 - (July 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Clean up dependencies")))),(0,n.mdx)("h2",{id:"460---july-3-2018"},"4.6.0 - (July 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"450---june-29-2018"},"4.5.0 - (June 29, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Introduce targetCoordinates to hookshot functionality."))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Change logs to documentation on terra-dev-site"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Corrected the 'resize observer loop limit reached' error with animation frames.")))),(0,n.mdx)("h2",{id:"440---june-12-2018"},"4.4.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"430---may-30-2018"},"4.3.0 - (May 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,n.mdx)("h2",{id:"420---may-22-2018"},"4.2.0 - (May 22, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"410---april-30-2018"},"4.1.0 - (April 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates"),(0,n.mdx)("li",{parentName:"ul"},"Do not release snapshots to npm")))),(0,n.mdx)("h2",{id:"400---april-20-2018"},"4.0.0 - (April 20, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed the call to preventDefault in onOutsideClick")))),(0,n.mdx)("h2",{id:"310---april-13-2018"},"3.1.0 - (April 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"300---april-10-2018"},"3.0.0 - (April 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Attachment behavior ",(0,n.mdx)("inlineCode",{parentName:"li"},"none")," will no longer reposition content relative to a bounding rect. Content will remain statically positioned to the specified attachment target. Update the attachment behavior of ",(0,n.mdx)("inlineCode",{parentName:"li"},"none")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"push")," to regain previous bounded repositioning.")))),(0,n.mdx)("h2",{id:"230---april-3-2018"},"2.3.0 - (April 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved terra-hookshot to terra-framework repo.")))),(0,n.mdx)("h2",{id:"220---march-6-2018"},"2.2.0 - (March 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed props-table script from package.json")))),(0,n.mdx)("h2",{id:"210---february-26-2018"},"2.1.0 - (February 26, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"201---february-13-2018"},"2.0.1 - (February 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated peerDependencies")))),(0,n.mdx)("h2",{id:"200---february-12-2018"},"2.0.0 - (February 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use React 16")))),(0,n.mdx)("h2",{id:"180---february-1-2018"},"1.8.0 - (February 1, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"170---january-18-2018"},"1.7.0 - (January 18, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"160---january-5-2018"},"1.6.0 - (January 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"150---december-5-2017"},"1.5.0 - (December 5, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add preventDefault() to onOutsideClick")))),(0,n.mdx)("h2",{id:"140---november-28-2017"},"1.4.0 - (November 28, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"130---november-16-2017"},"1.3.0 - (November 16, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"120---october-31-2017"},"1.2.0 - (October 31, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Height and Width rounding"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Content Resize callback")))),(0,n.mdx)("h2",{id:"110---october-24-2017"},"1.1.0 - (October 24, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Mobile zoom on safari"),(0,n.mdx)("li",{parentName:"ul"},"Half px value causing blurriness"),(0,n.mdx)("li",{parentName:"ul"},"Disable Listener dependency on target")))),(0,n.mdx)("h2",{id:"100---october-12-2017"},"1.0.0 - (October 12, 2017)"),(0,n.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"],o={},N="wrapper";function s(e){var a=e.components,l=(0,d.A)(e,x);return(0,n.mdx)(N,(0,m.A)({},o,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(r.E,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}s.isMDXComponent=!0},9527:function(e,a,l){l.d(a,{E:function(){return n}});var m=l(96540),d=l(55713),n=function(e){var a=e.url;return m.createElement(d.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-hookshot",name:"terra-hookshot",version:"5.44.0",url:a})}},25642:function(e,a,l){l.r(a),a.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},58168:function(e,a,l){function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0)continue;l[m]=e[m]}return l}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(m=0;m=0||{}.propertyIsEnumerable.call(e,l)&&(d[l]=e[l])}return d}l.d(a,{A:function(){return m}})}}]); \ No newline at end of file diff --git a/pull/2175/index-13302f9d7e9be1160a28.css b/pull/2175/index-c7f2ce7a1fd0e359a166.css similarity index 100% rename from pull/2175/index-13302f9d7e9be1160a28.css rename to pull/2175/index-c7f2ce7a1fd0e359a166.css diff --git a/pull/2175/index-13302f9d7e9be1160a28.js b/pull/2175/index-c7f2ce7a1fd0e359a166.js similarity index 99% rename from pull/2175/index-13302f9d7e9be1160a28.js rename to pull/2175/index-c7f2ce7a1fd0e359a166.js index f99a2bb7676..b976b9640e3 100644 --- a/pull/2175/index-13302f9d7e9be1160a28.js +++ b/pull/2175/index-c7f2ce7a1fd0e359a166.js @@ -1,2 +1,2 @@ -/*! For license information please see index-13302f9d7e9be1160a28.js.LICENSE.txt */ -!function(){var e,t,n,r,a={19883:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){try{return window.sessionStorage}catch(e){return void 0}}},17604:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(67967)),l=n(92912),u=r(n(16379)),s=i.default.bind(u.default),c={type:o.default.string,children:o.default.element.isRequired,isScrollContainer:o.default.bool},d=function(e){var t=e.children,n=e.type,r=e.isScrollContainer,o=a.default.useContext(l.ThemeContext);return a.default.createElement("div",{id:"site","data-terra-dev-site-content":!0,"data-terra-test-content":!0,className:s(o.className,"dev-site-content",{markdown:["md","mdx"].includes(n),scroll:r})},t)};d.propTypes=c;t.default=d},50565:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(85715)),o=r(n(96540)),i=n(28651),l=r(n(94480)),u=r(n(73171)),s=r(n(17604)),c=n(87038),d=r(n(75980)),f={pageContentConfig:c.pageContentConfigShape.isRequired,contentImports:c.contentImportsShape.isRequired},p=function(e){var t=e.pageContentConfig,n=e.contentImports[(0,i.useLocation)().pathname],r=o.default.useState(),c=(0,a.default)(r,2),f=c[0],p=c[1];return t&&n?f?o.default.createElement(s.default,{type:t.type,isScrollContainer:!0},o.default.createElement("div",null,"Error: chunk failed to load.")):o.default.createElement(u.default,{onError:function(){return p(!0)}},o.default.createElement(s.default,{type:t.type,isScrollContainer:!0},o.default.createElement(n,null))):o.default.createElement(l.default,{src:d.default,width:"100%",alt:"404"})};p.propTypes=f;t.default=p},52976:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=n(28651),l=r(n(84806)),u=r(n(83858)),s={siteConfig:r(n(87038)).default.isRequired,ApplicationNavigation:o.default.func},c=function(e){var t=e.siteConfig,n=e.ApplicationNavigation;return(0,i.useRouteMatch)("/raw")?a.default.createElement(u.default,{siteConfig:t}):a.default.createElement(l.default,{siteConfig:t,ApplicationNavigation:n})};c.propTypes=s;t.default=c},84806:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=n(28651),l=r(n(98814)),u=r(n(17534)),s=r(n(80428)),c=n(53480),d=r(n(19752)),f=r(n(63635)),p=r(n(41379)),m=r(n(4595)),h=r(n(51500)),b=r(n(64055)),v=r(n(87038)),g=r(n(42266)),y=r(n(50565)),_={siteConfig:v.default.isRequired,ApplicationNavigation:o.default.func},w=function(e){var t,n,r,o=e.siteConfig,v=e.ApplicationNavigation,_=(0,i.useLocation)(),w=(0,i.useHistory)(),k=(0,i.useRouteMatch)("/home"),O=a.default.useContext(c.DisclosureManagerContext),E=v||s.default,x="/".concat(_.pathname.toLocaleLowerCase().split("/")[1]),P=o.navigationConfig.find((function(e){return e.path===x}));return a.default.createElement(a.default.Fragment,null,a.default.createElement(E,{id:"terra-dev-site",titleConfig:o.titleConfig,navigationItems:o.navigationConfig.map((function(e){return{key:e.path,text:e.label}})),onSelectSettings:function(){O.disclose({preferredType:"modal",size:"small",content:{key:"terra-dev-site.settings",component:a.default.createElement(m.default,null)}})},onSelectExtensionItem:function(e,t){t.disclose()},onSelectUtilityItem:function(e,t){t.disclose()},onSelectNavigationItem:function(e){!function(e){w.push(o.routesMap[e])}(e)},activeNavigationItemKey:P?x:void 0,extensionItems:(r=(o.extensionItems||[]).map((function(e){return{icon:a.default.createElement(e.icon,null),key:e.key,text:e.text,metaData:{disclose:function(){O.disclose({preferredType:"modal",size:"large",content:{key:e.key,component:a.default.createElement(e.modal,null)}})}}}})),r.unshift({icon:a.default.createElement(l.default,null),key:"terra-dev-site.search",text:"Search",metaData:{disclose:function(){O.disclose({preferredType:"modal",size:"large",content:{key:"terra-dev-site.search",component:a.default.createElement(h.default,{pageConfig:o.pageConfig})}})}}}),r),utilityItems:(t=o.sites,n=[],t.length>0&&n.push({icon:a.default.createElement(u.default,null),key:"terra-dev-site.application-switcher",text:"Application Switcher",metaData:{disclose:function(){O.disclose({preferredType:"modal",size:"tiny",content:{key:"terra-dev-site.application-switcher",component:a.default.createElement(b.default,{sites:t})}})}}}),n)},P?P.pageConfig?k?a.default.createElement(y.default,{pageContentConfig:P.pageConfig,contentImports:o.contentImports}):a.default.createElement(f.default,null,a.default.createElement(d.default,{pageContentConfig:P.pageConfig,contentImports:o.contentImports})):a.default.createElement(g.default,{label:P.label,id:P.path.substring(1),config:P.children,contentImports:o.contentImports}):a.default.createElement(f.default,null,a.default.createElement(p.default,null))))};w.propTypes=_;t.default=w},42266:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(96540)),i=r(n(5556)),l=n(28651),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(85055)),s=r(n(63635)),c=r(n(58028)),d=r(n(41859)),f=r(n(19752)),p=r(n(41379)),m=n(87038);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;t.default=g},83858:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(85715)),o=r(n(96540)),i=n(28651),l=r(n(67967)),u=r(n(94480)),s=r(n(17604)),c=r(n(73171)),d=r(n(75980)),f=r(n(87038)),p=r(n(92292)),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;t.default=b},2801:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(67967)),l=r(n(34068)),u=r(n(45722)),s=r(n(17371)),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;t.default=f},45722:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.contextShape=void 0;var a=r(n(96540)),o=r(n(5556)),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});t.contextShape={containerStartActions:o.default.arrayOf(l),containerEndActions:o.default.arrayOf(l)},t.default=i},63635:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(2801));t.default=a.default},34068:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.contextShape=void 0;var a=n(96540),o=r(n(5556)),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});t.contextShape={startActions:o.default.arrayOf(l),endActions:o.default.arrayOf(l)},t.default=i},41859:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),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;t.default=l},58028:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(41132)),o=r(n(85715)),i=r(n(96540)),l=r(n(5556)),u=r(n(67967)),s=n(25966),c=r(n(8237)),d=n(92912),f=n(53757),p=r(n(58175)),m=r(n(85055)),h=r(n(63635)),b=r(n(97448)),v=r(n(34068)),g=r(n(41859)),y=r(n(12371)),_=r(n(70669)),w=r(n(41042)),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(),M=i.default.useRef(),T=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],F=I[1],L=I[2],z=i.default.useState(!1),B=(0,o.default)(z,2),U=B[0],W=B[1];var H=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),G=!!H.find((function(e){return e.props.navigationKey===r})),V=!!H.length,q=-1!==O.indexOf(S),K=V&&(U||-1===O.indexOf(S)),Y=i.default.useMemo((function(){var e=C.startActions;return V&&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(){W((function(e){return!e}))}}])),{startActions:e,endActions:C.endActions}}),[C.startActions,C.endActions,V,q,U]);i.default.useEffect((function(){var e=H.map((function(e){return e.props.navigationKey}));Object.keys(F.current).filter((function(t){return!e.includes(t)})).forEach((function(e){delete F.current[e]}))}),[H,F]);var $,X=i.default.useRef(U);return i.default.useEffect((function(){U&&!X.current?(0,b.default)((function(){T.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))&&W(!1)}}),[U,W]),$=w?i.default.createElement(h.default,null,w()):E?E():H.length?i.default.createElement(i.default.Fragment,null,H.map((function(e){var t,n=null===(t=F.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),F.current[e.props.navigationKey]={element:n}),i.default.createElement(i.default.Fragment,{key:e.props.navigationKey},i.default.cloneElement(e,{isActive:e.props.navigationKey===L,portalElement:n}))})),!G&&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:T,className:k("side-nav-sidebar",{visible:V&&K,overlay:q}),tabIndex:"-1"},V&&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(){W(!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,W(!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:M,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(){W(!1)}}):null)))};P.propTypes=E;t.default=P},69198:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(41132)),o=r(n(96540)),i=r(n(40961)),l=r(n(5556)),u=r(n(94027)),s=r(n(63635)),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;t.default=d},94027:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.contextShape=void 0;var a=n(96540),o=r(n(5556)),i=(0,a.createContext)({isActive:!0,navigationKeys:[]});t.contextShape={isActive:o.default.bool,navigationKeys:o.default.arrayOf(o.default.string)},t.default=i},85055:function(e,t,n){"use strict";var r=n(24994),a=n(73738);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(69198)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(94027));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)}t.default=o.default},12371:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(43693)),i=r(n(85715)),l=h(n(96540)),u=r(n(5556)),s=r(n(67967)),c=h(n(25966)),d=n(92912),f=r(n(95088)),p=r(n(85599));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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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;t.default=k},95088:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(94634)),o=r(n(96540)),i=r(n(5556)),l=r(n(67967)),u=r(n(16345)),s=r(n(47479)),c=r(n(85599)),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;t.default=h},70669:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(96540)),i=r(n(5556)),l=r(n(67967)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(23986)),s=r(n(89115)),c=n(92912),d=n(70817),f=r(n(85419));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;t.default=b},28801:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(94634)),i=r(n(96540)),l=r(n(5556)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(24541)),s=r(n(67967)),c=r(n(65343));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;t.default=m},95240:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(94634)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(96540)),l=r(n(5556)),u=r(n(67967)),s=r(n(23695)),c=r(n(65343));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;t.default=m},29598:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(94634)),o=r(n(96540)),i=r(n(5556)),l=r(n(67967)),u=n(92912),s=r(n(65343)),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;t.default=f},61488:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=n(36665),i=r(n(5556)),l=r(n(29598)),u=r(n(95240)),s=r(n(28801)),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;t.default=f},64055:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(96540)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(80708)),l=r(n(19992)),u=n(53480),s=r(n(54495)),c=r(n(82941));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(87038).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;t.default=p},51500:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(85715)),i=_(n(96540)),l=n(28651),u=n(53480),s=r(n(54495)),c=r(n(82941)),d=r(n(67967)),f=_(n(80708)),p=r(n(39381)),m=n(92912),h=r(n(38354)),b=r(n(95881)),v=n(87038),g=r(n(30547));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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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;t.default=x},4595:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(85715)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(96540)),l=r(n(23986)),u=r(n(9113)),s=r(n(54495)),c=r(n(82941)),d=r(n(80765)),f=r(n(32527)),p=r(n(67967)),m=n(53480),h=r(n(62673)),b=r(n(46354));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);t.default=function(){var e=i.default.useContext(h.default),t=(0,i.useState)({locale:e.currentLocale,theme:e.currentTheme,density:e.currentDensity,direction:e.currentDirection}),n=(0,o.default)(t,2),r=n[0],a=n[1],p=r.locale,b=r.theme,v=r.density,y=r.direction,_=e.locales,w=e.themes,k=e.directions,O=i.default.useContext(m.DisclosureManagerContext);return i.default.createElement(s.default,{fill:!0,header:i.default.createElement(c.default,{title:"Settings",onBack:O.goBack,onClose:O.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,density:v,direction:y}),O.dismiss()}}),i.default.createElement(l.default,{text:"Cancel",id:"cancel",className:g("button"),onClick:function(){O.dismiss()}}))})},i.default.createElement("div",{className:g("container")},_.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,density:v,direction:y})},options:_.map((function(e){return{value:e,display:e}}))})):void 0,w.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,density:v,direction:y})},options:w.map((function(e){return{value:e,display:e}}))})):void 0,i.default.createElement(f.default,{label:"Density",htmlFor:"terra-dev-site-density-select"},i.default.createElement(d.default,{isFilterStyle:!0,ariaLabel:"Density",id:"terra-dev-site-density-select",value:v,onChange:function(e){a({locale:p,theme:b,density:e.currentTarget.value,direction:y})},options:[{value:"compact",display:"compact"},{value:"comfortable",display:"comfortable"},{value:"spacious",display:"spacious"}],defaultValue:"comfortable"})),k.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:y,onChange:function(e){a({locale:p,theme:b,direction:e.currentTarget.value})},options:k.map((function(e){return{value:e,display:e}}))})):void 0))}},19752:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(85715)),i=r(n(96540)),l=r(n(21369)),u=r(n(70675)),s=n(28651),c=r(n(23986)),d=n(53480),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(30248)),p=r(n(73171)),m=n(87038),h=r(n(17604)),b=r(n(41379)),v=n(85055),g=r(n(4595));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,M=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:M,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=_;t.default=w},41379:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(96540)),i=r(n(94480)),l=n(85055),u=r(n(75980)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(30248));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)}t.default=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}},80121:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(67967)),l=r(n(23695)),u=r(n(27366)),s=r(n(42580)),c=r(n(4454)),d=r(n(23427)),f=r(n(73509)),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;t.default=h},23427:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),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;t.default=l},4454:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o={children:r(n(5556)).default.node},i=function(){return a.default.createElement(a.default.Fragment,null)};i.propTypes=o;t.default=i},42580:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(91847)),i=r(n(85715)),l=r(n(96540)),u=r(n(5556)),s=r(n(67967)),c=r(n(89115)),d=r(n(36260)),f=r(n(31056)),p=r(n(23695)),m=k(n(41323)),h=n(70817),b=k(n(89099)),v=r(n(45722)),g=r(n(58012)),y=r(n(97842)),_=["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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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,M=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})})),T=l.default.createElement(l.default.Fragment,null,M,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")},T)),N)};x.propTypes=E;t.default=x},58012:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(67967)),l=r(n(23695)),u=r(n(69906)),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;t.default=d},30248:function(e,t,n){"use strict";var r=n(24994);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(67770)),o=r(n(56640)),i=r(n(71306)),l=r(n(91842)),u=r(n(80121));t.default=u.default},56640:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(67967)),l=r(n(23695)),u=r(n(82038)),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;t.default=d},67770:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(67967)),i=r(n(5556)),l=r(n(54928)),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;t.default=c},71306:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StatusViewVariants=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(23986)),l=r(n(67967)),u=r(n(60822)),s=r(n(67770)),c=r(n(56640)),d=r(n(56364)),f=l.default.bind(d.default),p=(t.StatusViewVariants={NODATA:"no-data",NOMATCHINGRESULTS:"no-matching-results",NOTAUTHORIZED:"not-authorized",ERROR:"error"},{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;t.default=h},91842:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(67967)),l=n(8604),u=r(n(31309)),s=r(n(23695)),c=r(n(24944)),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"};t.default=p},59203:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(17383)),o=r(n(34579)),i=r(n(28452)),l=r(n(63072)),u=r(n(29511)),s=r(n(96540)),c=r(n(5556)),d=r(n(33341));function f(e,t,n){return t=(0,l.default)(t),(0,i.default)(e,p()?Reflect.construct(t,n||[],(0,l.default)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var m={onCatchError:c.default.func,children:c.default.node},h=function(e){function t(e){var n;return(0,a.default)(this,t),(n=f(this,t,[e])).state={error:void 0},n}return(0,u.default)(t,e),(0,o.default)(t,[{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}}}])}(s.default.Component);h.propTypes=m;t.default=h},73171:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(85715)),o=r(n(96540)),i=r(n(5556)),l=r(n(59203)),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};t.default=s},89099:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.breakpointFilter=void 0;var a=r(n(85715)),o=r(n(96540)),i=r(n(7829)),l=n(53757),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},t.default=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}},58175:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.getPortalElement=t.default=void 0;var a=r(n(85715)),o=r(n(96540)),i=n(20812);t.getPortalElement=function(){var e=document.createElement("div");return e.style.position="relative",e.style.height="100%",e.style.width="100%",e},t.default=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]}},89746:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=n(28651),i=r(n(5556)),l=r(n(35066)),u=r(n(52976)),s=r(n(94745)),c=r(n(87038)),d=r(n(61488)),f=r(n(58739)),p=r(n(31407)),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;t.default=h},62673:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)).default.createContext({});t.default=a},94745:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(85715)),i=r(n(43693)),l=r(n(73738)),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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(96540)),s=r(n(5556)),c=r(n(62673)),d=n(87038);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.defaultDensity,d=void 0===s?v.density:s,f=t.defaultDirection,p=void 0===f?"ltr":f,m=(0,u.useState)(a),h=(0,o.default)(m,2),w=h[0],k=h[1],O=(0,u.useState)(p),E=(0,o.default)(O,2),x=E[0],P=E[1],S=(0,u.useState)(l),C=(0,o.default)(S,2),D=C[0],j=C[1],M=(0,u.useState)(d),T=(0,o.default)(M,2),A=T[0],N=T[1];(0,u.useEffect)((function(){var e=document.getElementsByTagName("html")[0];e.getAttribute("lang")!==w&&e.setAttribute("lang",w),e.getAttribute("dir")!==x&&e.setAttribute("dir",x)}),[w,x]);var I=(0,u.useMemo)((function(){return{locales:b,currentLocale:w,currentTheme:D,currentDensity:A,currentDirection:x,directions:["ltr","rtl"],themes:_,currentThemeClassName:y[D],onUpdate:function(e){var t=e.locale,n=e.theme,r=e.density,a=e.direction;t&&k(t),n&&j(n),r&&N(r),a&&P(a)}}}),[w,D,A,x]);return u.default.createElement(c.default.Provider,{value:I},n)};w.propTypes=h;t.default=w},31407:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=n(28651),i=r(n(5556)),l=r(n(90308)),u=r(n(62673)),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=i.currentDensity,f=n||l.default;return a.default.createElement(f,{locale:s,themeName:c,themeDensity:d,themeIsGlobal:!0,unloadPromptIsDisabled:!!r},t)};c.propTypes=s;t.default=c},58739:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=n(28651),i=r(n(5556)),l=n(87038),u=r(n(19883)),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;t.default=c},40553:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return a.default}});var a=r(n(89746)),o=r(n(87038))},87038:function(e,t,n){"use strict";var r=n(24994);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(5556)),o=t.settingsConfigShape=a.default.shape({defaultTheme:a.default.string,defaultLocale:a.default.string,defaultDirection:a.default.string}),i=t.sitesShape=a.default.arrayOf(a.default.shape({path:a.default.string,title:a.default.string,url:a.default.string})),l=a.default.arrayOf(a.default.shape({key:a.default.string,text:a.default.string,icon:a.default.elementType,modal:a.default.elementType})),u=t.pageContentConfigShape=a.default.shape({path:a.default.string,label:a.default.string.isRequired,type:a.default.string.isRequired}),s=t.navigationConfigShape=a.default.arrayOf(a.default.shape({label:a.default.string.isRequired,pageConfig:u,children:a.default.array})),c=t.contentImportsShape=a.default.object,d=t.pageConfigShape=a.default.object,f=t.routesMapShape=a.default.object,p=t.titleConfigShape=a.default.shape({title:a.default.string.isRequired,subline:a.default.string,headline:a.default.string}),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},97448:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return setTimeout(e,0)}},20812:function(e,t,n){"use strict";var r=n(24994);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(85715)),o=r(n(43693)),i=n(68414);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;t=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;D(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},49948:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=new WeakMap;t.default=function(e){var t=n.get(e);return t||(t=Object.create(null),n.set(e,t)),t}},15912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31635),a=n(67916),o=r.__importDefault(n(49948)),i=function(){function e(t,n){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");return a.InitializeRelativeTimeFormat(this,t,n,{getInternalSlots:o.default,availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale})}return e.prototype.format=function(e,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!o.default(this).initializedRelativeTimeFormat)throw new TypeError("format was called on a invalid context");return a.PartitionRelativeTimePattern(this,Number(e),a.ToString(t),{getInternalSlots:o.default}).map((function(e){return e.value})).join("")},e.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!o.default(this).initializedRelativeTimeFormat)throw new TypeError("formatToParts was called on a invalid context");return a.PartitionRelativeTimePattern(this,Number(e),a.ToString(t),{getInternalSlots:o.default})},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");var e=o.default(this);if(!e.initializedRelativeTimeFormat)throw new TypeError("resolvedOptions was called on a invalid context");return{locale:e.locale,style:e.style,numeric:e.numeric,numberingSystem:e.numberingSystem}},e.supportedLocalesOf=function(t,n){return a.SupportedLocales(e.availableLocales,a.CanonicalizeLocaleList(t),n)},e.__addLocaleData=function(){for(var t=[],n=0;n8640000000000001?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)}},49059: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)}}},4111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestFitMatcher=void 0;var r=n(49059),a=n(29861);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)}},49743:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestFitFormatMatcher=t.bestFitFormatMatcherScore=void 0;var r=n(31635),a=n(29861),o=n(97110),i=n(3340);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}},95102:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateTimeStyleFormat=void 0;var r=n(29861);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)}},8969:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatDateTime=void 0;var r=n(82056);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 M=f.hourCycle;if("hour"!==S||"h11"!==M&&"h12"!==M||0===(C%=12)&&"h12"===M&&(C=12),"hour"===S&&"h24"===M&&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 T=p.timeZoneName,A=p.gmtFormat,N=p.hourFormat,I=T[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}},93360:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatDateTimeRange=void 0;var r=n(80477);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}}},3340: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(31635),a=n(41204),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},97110: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},76509: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}},7451:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanonicalCodeForDisplayNames=void 0;var r=n(14304),a=n(29861),o=n(47347),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()}},60572:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetNumberOption=void 0;var r=n(76509);t.GetNumberOption=function(e,t,n,a,o){var i=e[t];return r.DefaultNumberOption(i,n,a,o)}},19249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetOption=void 0;var r=n(14486);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}},19923: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")}},68309: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}},87002: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}},47347: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)}},61600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsWellFormedUnitIdentifier=void 0;var r=n(68309);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))}},8348:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LookupMatcher=void 0;var r=n(29861),a=n(49059);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}}},41614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CurrencyDigits=void 0;var r=n(14486);t.CurrencyDigits=function(e,t){var n=t.currencyDigitsData;return r.HasOwnProperty(n,e)?n[e]:2}},4708:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatNumericToParts=void 0;var r=n(74792),a=n(14486);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)}},70324:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNumberFormatDigitOptions=void 0;var r=n(60572),a=n(76509);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)}},36193:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNumberFormatUnitOptions=void 0;var r=n(19249),a=n(47347),o=n(61600);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)}},84106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToRawFixed=void 0;var r=n(29861);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}}},73580:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToRawPrecision=void 0;var r=n(29861);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)}}},6595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31635),a=n(84106),o=r.__importStar(n(65650)),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}},75827:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportedLocales=void 0;var r=n(14486),a=n(19249),o=n(88933);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)}},27585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeExtensionValue=void 0;var r=n(29861);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""}},65810:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMissingLocaleDataError=void 0;var r=n(31635);!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}},67916: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(31635),a=n(49743);Object.defineProperty(t,"BestFitFormatMatcher",{enumerable:!0,get:function(){return a.BestFitFormatMatcher}}),r.__exportStar(n(14304),t),r.__exportStar(n(37990),t),r.__exportStar(n(7307),t),r.__exportStar(n(13082),t),r.__exportStar(n(95102),t),r.__exportStar(n(8969),t),r.__exportStar(n(93360),t),r.__exportStar(n(58395),t),r.__exportStar(n(85652),t),r.__exportStar(n(7099),t),r.__exportStar(n(82056),t),r.__exportStar(n(81645),t),r.__exportStar(n(7451),t),r.__exportStar(n(60572),t),r.__exportStar(n(19249),t),r.__exportStar(n(19923),t),r.__exportStar(n(68309),t),r.__exportStar(n(87002),t),r.__exportStar(n(47347),t),r.__exportStar(n(61600),t),r.__exportStar(n(87045),t),r.__exportStar(n(66),t),r.__exportStar(n(41614),t),r.__exportStar(n(4708),t),r.__exportStar(n(50345),t),r.__exportStar(n(30139),t),r.__exportStar(n(74792),t),r.__exportStar(n(70324),t),r.__exportStar(n(36193),t),r.__exportStar(n(84106),t),r.__exportStar(n(73580),t),r.__exportStar(n(95746),t),r.__exportStar(n(13888),t),r.__exportStar(n(4873),t),r.__exportStar(n(14680),t),r.__exportStar(n(34257),t),r.__exportStar(n(38012),t),r.__exportStar(n(20507),t),r.__exportStar(n(64715),t),r.__exportStar(n(53504),t),r.__exportStar(n(62713),t),r.__exportStar(n(43362),t),r.__exportStar(n(75827),t);var o=n(6595);Object.defineProperty(t,"_formatToParts",{enumerable:!0,get:function(){return r.__importDefault(o).default}});var i=n(97110);Object.defineProperty(t,"DATE_TIME_PROPS",{enumerable:!0,get:function(){return i.DATE_TIME_PROPS}});var l=n(3340);Object.defineProperty(t,"parseDateTimeSkeleton",{enumerable:!0,get:function(){return l.parseDateTimeSkeleton}});var u=n(29861);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(65810);Object.defineProperty(t,"isMissingLocaleDataError",{enumerable:!0,get:function(){return s.isMissingLocaleDataError}}),r.__exportStar(n(55768),t),r.__exportStar(n(41204),t),r.__exportStar(n(23040),t),r.__exportStar(n(86944),t),r.__exportStar(n(59781),t),r.__exportStar(n(26642),t);var c=n(29861);Object.defineProperty(t,"invariant",{enumerable:!0,get:function(){return c.invariant}}),r.__exportStar(n(14486),t)},41204: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={}))},26642:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},23040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},59781:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},86944:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},55768:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},29861: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&&(M=P);var T=l.default.useContext(f.default),A=(0,c.default)(_("abstract-modal",{"is-fullscreen":E},"layer-".concat(M),T.className),d),N=(0,c.default)(_("abstract-modal-container"));delete j.closePortal,delete j.fallbackFocus;var I="Modal"===n?"Terra.AbstractModal.BeginModalDialog":"Terra.AbstractModal.BeginModalDialogTitle",R="Modal"===n?"Terra.AbstractModal.EndModalDialog":"Terra.AbstractModal.EndModalDialogTitle",F=l.default.createElement("div",(0,o.default)({},j,{"aria-label":n,"aria-labelledby":r,"aria-describedby":a,className:A,role:O,ref:t}),l.default.createElement("div",{className:N,ref:S,"data-terra-abstract-modal-begin":!0,tabIndex:"-1"},!C&&l.default.createElement(s.FormattedMessage,{id:I,values:{title:n}},(function(e){var t=e;return Array.isArray(e)&&(t=e.join("")),l.default.createElement(p.default,{text:t})})),u,!C&&l.default.createElement(s.FormattedMessage,{id:R,values:{title:n}},(function(e){var t=e;return Array.isArray(e)&&(t=e.join("")),l.default.createElement(p.default,{text:t})}))));return l.default.createElement(l.default.Fragment,null,l.default.createElement(h.default,{onClick:y?k:null,className:v,zIndex:M}),D?l.default.createElement(m.FocusOn,{onClickOutside:y?k:null},F):l.default.createElement(l.default.Fragment,null,F))}));O.propTypes=k,O.defaultProps={classNameModal:null,classNameOverlay:null,closeOnOutsideClick:!0,isFullscreen:!1,isScrollable:!1,role:"dialog",rootSelector:"#root",zIndex:"6000",isCalledFromNotificationDialog:!1};t.default=O},28448:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(94634)),i=r(n(91847)),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&&{}.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(96540)),u=r(n(46942)),s=r(n(67967)),c=r(n(23695)),d=r(n(5556)),f=r(n(74768)),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},87176: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})},42063:function(){"use strict";Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector)},56449: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()}}},12643:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DisclosureManagerContext",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"DisclosureManagerDelegate",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"DisclosureManagerHeaderAdapter",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"DisclosureManagerHeaderAdapterContext",{enumerable:!0,get:function(){return h.default}}),t.disclosureManagerShape=t.default=t.availableDisclosureWidths=t.availableDisclosureSizes=t.availableDisclosureHeights=void 0,Object.defineProperty(t,"withDisclosureManager",{enumerable:!0,get:function(){return v.default}});var a=r(n(94634)),o=r(n(17383)),i=r(n(34579)),l=r(n(28452)),u=r(n(63072)),s=r(n(29511)),c=r(n(43693)),d=r(n(96540)),f=r(n(5556)),p=r(n(31512)),m=r(n(97532)),h=r(n(22424)),b=r(n(63583)),v=r(n(33275));function g(e,t,n){return t=(0,u.default)(t),(0,l.default)(e,y()?Reflect.construct(t,n||[],(0,u.default)(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}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()},p.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,c.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 n=t.cloneDisclosureState(this.state);n.disclosureComponentKeys.push(e.content.key),n.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)}),n.disclosureComponentDelegates=n.disclosureComponentDelegates.concat(this.generateDisclosureComponentDelegate(e.content.key,n)),this.setState(n)}},{key:"popDisclosure",value:function(e){if(1===this.state.disclosureComponentKeys.length)this.closeDisclosure(e);else{var n=t.cloneDisclosureState(this.state);n.disclosureComponentData[n.disclosureComponentKeys.pop()]=void 0,n.disclosureComponentDelegates.pop(),this.setState(n,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,n=t.cloneDisclosureState(this.state);n.disclosureIsFocused=!0,n.disclosureComponentDelegates=n.disclosureComponentKeys.map((function(t){return e.generateDisclosureComponentDelegate(t,n)})),this.setState(n)}},{key:"releaseDisclosureFocus",value:function(){var e=this,n=t.cloneDisclosureState(this.state);n.disclosureIsFocused=!1,n.disclosureComponentDelegates=n.disclosureComponentKeys.map((function(t){return e.generateDisclosureComponentDelegate(t,n)})),this.setState(n)}},{key:"maximizeDisclosure",value:function(){var e=this,n=t.cloneDisclosureState(this.state);n.disclosureIsMaximized=!0,n.disclosureComponentDelegates=n.disclosureComponentKeys.map((function(t){return e.generateDisclosureComponentDelegate(t,n)})),this.setState(n)}},{key:"minimizeDisclosure",value:function(){var e=this,n=t.cloneDisclosureState(this.state);n.disclosureIsMaximized=!1,n.disclosureComponentDelegates=n.disclosureComponentKeys.map((function(t){return e.generateDisclosureComponentDelegate(t,n)})),this.setState(n)}},{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:d.default.createElement(h.default.Provider,{value:i.headerAdapterContextValue,key:n},d.default.createElement(m.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,f=o.disclosureDimensions,p=o.disclosureComponentKeys,h=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:d.default.createElement(m.default.Provider,{value:i},a)},disclosure:{isOpen:l,isFocused:u,isMaximized:s,size:c,dimensions:f,components:p.map((function(e){return b[e].component})),typeConfig:h},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}}])}(d.default.Component);D.propTypes=C,D.defaultProps={supportedDisclosureTypes:[]};t.disclosureManagerShape=p.default.propType,t.default=(0,v.default)(D)},97532:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)).default.createContext();t.default=a},31512:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(34579)),o=r(n(17383)),i=r(n(5556)),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},63583:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(96540),o=r(n(5556)),i=r(n(22424)),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},22424:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)).default.createContext({register:function(){0}});t.default=a},33275:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(94634)),o=r(n(96540)),i=r(n(97532));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}},70444:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(17383)),o=r(n(34579)),i=r(n(28452)),l=r(n(63072)),u=r(n(29511)),s=r(n(96540)),c=r(n(5556)),d=n(569),f=r(n(1407)),p=r(n(5316));function m(e,t,n){return t=(0,l.default)(t),(0,i.default)(e,h()?Reflect.construct(t,n||[],(0,l.default)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var b=["top","middle","bottom"],v=["start","center","end"],g=["auto","flip","push","none"],y={attachmentBehavior:c.default.oneOf(g),attachmentMargin:c.default.number,boundingRef:c.default.func,children:c.default.element.isRequired,contentAttachment:c.default.shape({horizontal:c.default.oneOf(v),vertical:c.default.oneOf(b)}).isRequired,contentOffset:c.default.shape({horizontal:c.default.number,vertical:c.default.number}),isEnabled:c.default.bool,isOpen:c.default.bool,onPosition:c.default.func,targetCoordinates:c.default.shape({x:c.default.number.isRequired,y:c.default.number.isRequired}),targetRef:c.default.func,targetAttachment:c.default.shape({horizontal:c.default.oneOf(v),vertical:c.default.oneOf(b)}),targetOffset:c.default.shape({horizontal:c.default.number,vertical:c.default.number})},_=function(e){function t(e){var n;return(0,a.default)(this,t),(n=m(this,t,[e])).setContentNode=n.setContentNode.bind(n),n.getNodeRects=n.getNodeRects.bind(n),n.update=n.update.bind(n),n.tick=n.tick.bind(n),n.getBoundingRef=n.getBoundingRef.bind(n),n.getTargetRef=n.getTargetRef.bind(n),n.getValidBoundingRect=n.getValidBoundingRect.bind(n),n.getValidTargetRect=n.getValidTargetRect.bind(n),n.listenersAdded=!1,n.lastCall=null,n.lastDuration=null,n.pendingTimeout=null,n}return(0,u.default)(t,e),(0,o.default)(t,[{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 p.default.getBoundingRect(this.getBoundingRef()||"window")}},{key:"getValidTargetRect",value:function(){return this.props.targetCoordinates?p.default.getRectFromCoords(this.props.targetCoordinates):p.default.getBounds(this.getTargetRef())}},{key:"getNodeRects",value:function(e){return{contentRect:e?p.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=[],p.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=p.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=p.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 s.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:p.default.getDirectionalOffset(r,u),attachment:p.default.getDirectionalAttachment(n,u)},this.target={offset:p.default.getDirectionalOffset(l,u)},this.target.attachment=o?p.default.coordinateAttachment:i?p.default.getDirectionalAttachment(i,u):p.default.mirrorAttachment(this.content.attachment),s.default.createElement(d.Portal,{isOpened:a},this.cloneContent(t))}}])}(s.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=p.default,_.Content=f.default;t.default=_},1407:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(94634)),i=r(n(91847)),l=r(n(17383)),u=r(n(34579)),s=r(n(28452)),c=r(n(63072)),d=r(n(29511)),f=r(n(96540)),p=r(n(5556)),m=r(n(67967)),h=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=_(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&&{}.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(25966)),b=r(n(52032)),v=r(n(7829)),g=r(n(60484));n(46952);var y=["children","onContentResize","onEsc","onOutsideClick","onResize","refCallback"];function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function w(e,t,n){return t=(0,c.default)(t),(0,s.default)(e,k()?Reflect.construct(t,n||[],(0,c.default)(e).constructor):t.apply(e,n))}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(k=function(){return!!e})()}var O=m.default.bind(g.default),E={children:p.default.node.isRequired,onContentResize:p.default.func,onEsc:p.default.func,onOutsideClick:p.default.func,onResize:p.default.func,refCallback:p.default.func},x=function(e){function t(e){var n;return(0,l.default)(this,t),(n=w(this,t,[e])).handleClickOutside=n.handleClickOutside.bind(n),n.handleKeydown=n.handleKeydown.bind(n),n.handleResize=n.debounce(n.handleResize.bind(n),100),n.enableEscListener=n.enableEscListener.bind(n),n.disableEscListener=n.disableEscListener.bind(n),n.enableResizeListener=n.enableResizeListener.bind(n),n.disableResizeListener=n.disableResizeListener.bind(n),n.enableContentResizeListener=n.enableContentResizeListener.bind(n),n.disableContentResizeListener=n.disableContentResizeListener.bind(n),n.updateListeners=n.updateListeners.bind(n),n.animationFrameID=null,n}return(0,d.default)(t,e),(0,u.default)(t,[{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===h.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 v.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}}}},42723:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.zIndexes=t.disclosureType=t.default=void 0;var o=r(n(94634)),i=r(n(91847)),l=r(n(17383)),u=r(n(34579)),s=r(n(28452)),c=r(n(63072)),d=r(n(29511)),f=r(n(96540)),p=r(n(5556)),m=r(n(46942)),h=r(n(67967)),b=r(n(23695)),v=r(n(20605)),g=r(n(82941)),y=r(n(11191)),_=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=E(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&&{}.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(12643)),w=r(n(54495)),k=r(n(8544)),O=["children","disclosureAccessory","withDisclosureContainer","shouldTrapFocus","closeOnOutsideClick","zIndex"];function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function x(e,t,n){return t=(0,c.default)(t),(0,s.default)(e,P()?Reflect.construct(t,n||[],(0,c.default)(e).constructor):t.apply(e,n))}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(P=function(){return!!e})()}var S=t.disclosureType="modal",C=h.default.bind(k.default),D=t.zIndexes={6e3:"6000",7e3:"7000",8e3:"8000",9e3:"9000"},j={children:p.default.node,disclosureAccessory:p.default.element,withDisclosureContainer:p.default.func,shouldTrapFocus:p.default.bool,closeOnOutsideClick:p.default.bool,zIndex:p.default.oneOf(Object.values(D))},M={shouldTrapFocus:!1,closeOnOutsideClick:!1,zIndex:D[6e3]},T={tiny:240,small:420,medium:600,large:870,huge:960,"fusion-small":280,"fusion-medium":380,"fusion-large":460},A={tiny:320,small:640,medium:960,large:1280,huge:1600,"fusion-small":400,"fusion-medium":600,"fusion-large":700},N=function(e){function t(e){var n;return(0,l.default)(this,t),(n=x(this,t,[e])).renderModal=n.renderModal.bind(n),n.setModalFocusElementRef=n.setModalFocusElementRef.bind(n),n}return(0,d.default)(t,e),(0,u.default)(t,[{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,t.shouldTrapFocus),a=t.closeOnOutsideClick,l=t.zIndex,u=(0,i.default)(t,O),s=this.context,c=(0,m.default)(C("container",s.className),u.className),d=["modal-manager",s.className],p=e.disclosure.isMaximized||e.disclosure.size===_.availableDisclosureSizes.FULLSCREEN;p||(e.disclosure.dimensions?d.push("height-".concat(e.disclosure.dimensions.height),"width-".concat(e.disclosure.dimensions.width)):e.disclosure.size&&d.push("height-".concat(T[e.disclosure.size]),"width-".concat(A[e.disclosure.size])));var h=e.disclosureComponentKeys[e.disclosureComponentKeys.length-1],b=(e.disclosureComponentData[h]||{}).headerAdapterData;return f.default.createElement("div",(0,o.default)({},u,{className:c}),e.children.components,f.default.createElement(v.default,{isOpen:e.disclosure.isOpen,isFullscreen:p,classNameModal:C(d),onRequestClose:function(){e.closeDisclosure()},closeOnEsc:!0,closeOnOutsideClick:a,ariaLabel:b?b.title:u["aria-label"]||"Modal",setModalFocusElementRef:this.setModalFocusElementRef,shouldTrapFocus:r,zIndex:l},f.default.createElement(w.default,{fill:!0,header:f.default.createElement(f.default.Fragment,null,b?f.default.createElement(g.default,{title:b.title,onClose:e.closeDisclosure,onBack:e.disclosureComponentKeys.length>1?e.dismissPresentedComponent:void 0},b.collapsibleMenuView):void 0,n)},f.default.createElement(y.default,{items:e.disclosure.components,isAnimated:!p,focusRef:this.modalElementRef}))))}},{key:"render",value:function(){var e=this.props,t=e.withDisclosureContainer,n=e.children;return f.default.createElement(_.default,{withDisclosureContainer:t,supportedDisclosureTypes:[S],render:this.renderModal,trapNestedDisclosureRequests:!0},n)}}])}(f.default.Component);N.propTypes=j,N.defaultProps=M,N.contextType=b.default;t.default=N},49219:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(17383)),o=r(n(34579)),i=r(n(28452)),l=r(n(63072)),u=r(n(29511)),s=r(n(96540)),c=r(n(5556)),d=n(68414),f=r(n(49073)),p=n(49509);function m(e,t,n){return t=(0,l.default)(t),(0,i.default)(e,h()?Reflect.construct(t,n||[],(0,l.default)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var b={description:c.default.string,metaData:c.default.object,promptRegistration:p.promptRegistrationContextValueShape.isRequired},v=function(e){function t(e){var n;return(0,a.default)(this,t),(n=m(this,t,[e])).uuid=(0,d.v4)(),n}return(0,u.default)(t,e),(0,o.default)(t,[{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}}])}(s.default.Component);v.propTypes=b;t.default=(0,f.default)(v)},19997:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17383)),i=r(n(34579)),l=r(n(28452)),u=r(n(63072)),s=r(n(29511)),c=r(n(96540)),d=r(n(5556)),f=r(n(92471)),p=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={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.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(49509)),m=r(n(49073));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)}function b(e,t,n){return t=(0,u.default)(t),(0,l.default)(e,v()?Reflect.construct(t,n||[],(0,u.default)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}var g={children:d.default.node,onPromptChange:d.default.func,promptRegistration:p.promptRegistrationContextValueShape.isRequired},y=function(e){function t(e){var n;return(0,o.default)(this,t),(n=b(this,t,[e])).registerPrompt=n.registerPrompt.bind(n),n.unregisterPrompt=n.unregisterPrompt.bind(n),n.resolvePrompts=n.resolvePrompts.bind(n),n.renderNotificationDialog=n.renderNotificationDialog.bind(n),n.registeredPrompts={},n.promptProviderValue={registerPrompt:n.registerPrompt,unregisterPrompt:n.unregisterPrompt},n.state={notificationDialogProps:void 0},n}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentWillUnmount",value:function(){var e=this.props.onPromptChange;e&&e([])}},{key:"registerPrompt",value:function(e,n,r){var a=this.props,o=a.onPromptChange,i=a.promptRegistration;this.registeredPrompts[e]={description:n,metaData:r},o&&o(t.getPromptArray(this.registeredPrompts)),i.registerPrompt(e,n,r)}},{key:"unregisterPrompt",value:function(e){var n=this.props,r=n.onPromptChange,a=n.promptRegistration;this.registeredPrompts[e]&&(delete this.registeredPrompts[e],r&&r(t.getPromptArray(this.registeredPrompts)),a.unregisterPrompt(e))}},{key:"resolvePrompts",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Object.keys(this.registeredPrompts).length)return Promise.resolve();var r=n;return"function"==typeof r&&(r=r(t.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,d=t.emphasizedAction,p=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 c.default.createElement(f.default,{dialogTitle:n||r,startMessage:o||a,endMessage:i,content:l,acceptAction:b,rejectAction:v,buttonOrder:p,emphasizedAction:d,variant:"hazard-medium"})}},{key:"render",value:function(){var e=this.props.children,t=this.state.notificationDialogProps;return c.default.createElement(p.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]}))}}])}(c.default.Component);y.propTypes=g;t.default=(0,m.default)(y)},49509:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.promptRegistrationContextValueShape=t.default=void 0;var a=r(n(96540)),o=r(n(5556));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})},49073:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(94634)),o=r(n(96540)),i=r(n(49509));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}},95447:function(e,t,n){"use strict";var r=n(24994);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(49219)),o=r(n(19997)),i=r(n(49509));t.default=a.default},92471:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ContentLayoutAsList",{enumerable:!0,get:function(){return v.default}}),t.default=void 0;var o=r(n(73738)),i=r(n(91847)),l=r(n(94634)),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=_(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&&{}.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(96540)),s=r(n(5556)),c=r(n(20605)),d=r(n(23986)),f=r(n(46942)),p=r(n(67967)),m=n(8604),h=r(n(23695)),b=r(n(74129)),v=r(n(19600)),g=r(n(31572)),y=["dialogTitle","startMessage","endMessage","content","acceptAction","rejectAction","variant","buttonOrder","emphasizedAction","custom","intl"];function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}var w=p.default.bind(g.default),k={variant:s.default.oneOf(["hazard-high","hazard-medium","hazard-low","error","custom"]).isRequired,dialogTitle:s.default.string,startMessage:s.default.string,endMessage:s.default.string,content:s.default.node,acceptAction:s.default.shape({text:s.default.string,onClick:s.default.func}),rejectAction:s.default.shape({text:s.default.string,onClick:s.default.func}),buttonOrder:s.default.oneOf(["acceptFirst","rejectFirst"]),emphasizedAction:s.default.oneOf(["none","accept","reject"]),custom:s.default.shape({signalWord:s.default.string,iconClassName:s.default.string}),intl:s.default.shape({formatMessage:s.default.func})},O=function(e){var t=u.default.useContext(h.default),n=(0,u.useRef)();(0,u.useEffect)((function(){n.current.focus()}),[]);var r=e.dialogTitle,a=e.startMessage,s=e.endMessage,p=e.content,m=e.acceptAction,v=e.rejectAction,g=e.variant,_=e.buttonOrder,k=e.emphasizedAction,O=e.custom,E=e.intl,x=(0,i.default)(e,y);if("object"!==(0,o.default)(m)&&"object"!==(0,o.default)(v)||void 0===m&&void 0===v)throw new Error("Either the `acceptAction` or `rejectAction` props must be provided for Notification dialog");if(void 0===g)throw new Error("The variant must be provided to the Notification dialog");var P="custom"===g?O.signalWord:E.formatMessage({id:"Terra.notification.dialog.".concat(g)});return u.default.createElement(c.default,{ariaLabelledBy:"header-container",ariaDescribedBy:"dialogBody",role:"custom"===g?"dialog":"alertdialog",classNameModal:(0,f.default)(w("notification-dialog",t.className),x.className),isOpen:!0,closeOnOutsideClick:!1,zIndex:"9000",isCalledFromNotificationDialog:!0},u.default.createElement("div",{className:w("notification-dialog-inner-wrapper")},u.default.createElement("div",{className:w("notification-dialog-container"),tabIndex:"-1","data-terra-notification-dialog":!0},u.default.createElement("div",{className:w(["floating-header-background",g])}),u.default.createElement("div",{className:w(["header"])},u.default.createElement("div",{className:w(["header-content"])},u.default.createElement(b.default,{variant:g,iconClassName:O.iconClassName}),u.default.createElement("div",{id:"header-container",className:w("header-container")},u.default.createElement("h2",{id:"notification-dialog-signal-word",className:w("signal-word")},P),u.default.createElement("div",{id:"notification-dialog-title",className:w("title")},r)))),u.default.createElement("div",{id:"dialogBody",className:w("body")},a&&u.default.createElement("div",{className:w("message")},a),p&&u.default.createElement("div",{className:w("message")},p),s&&u.default.createElement("div",{className:w("message")},s)),u.default.createElement("div",{className:w("footer")},function(e,t,n,r,a){if(!e&&!t)return null;var o=[];if(e){var i="accept"===r?{variant:"emphasis"}:{};"acceptFirst"!==n&&t?o.push(u.default.createElement(d.default,(0,l.default)({},i,{"data-terra-notification-dialog-button":"accept",key:"accept",text:e.text,onClick:e.onClick}))):o.push(u.default.createElement(d.default,(0,l.default)({},i,{refCallback:a,tabIndex:"0","data-terra-notification-dialog-button":"accept",key:"accept",text:e.text,onClick:e.onClick})))}if(t){var s="reject"===r?{variant:"emphasis"}:{};e&&"acceptFirst"===n?o.push(u.default.createElement(d.default,(0,l.default)({},s,{"data-terra-notification-dialog-button":"reject",key:"reject",text:t.text,onClick:t.onClick}))):o.push(u.default.createElement(d.default,(0,l.default)({refCallback:a,tabIndex:"0"},s,{"data-terra-notification-dialog-button":"reject",key:"reject",text:t.text,onClick:t.onClick})))}return u.default.createElement("div",{className:w("actions")},"acceptFirst"===n?o:o.reverse())}(m,v,_,k,(function(e){n.current=e}))))))};O.propTypes=k,O.defaultProps={buttonOrder:"acceptFirst",emphasizedAction:"none",custom:{}};t.default=(0,m.injectIntl)(O)},19600:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=r(n(67967)),l=r(n(23695)),u=r(n(85178)),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},74129:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(43693)),o=r(n(96540)),i=r(n(5556)),l=r(n(46942)),u=r(n(67967)),s=r(n(23695)),c=r(n(84055)),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},31056:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(91847)),i=r(n(94634)),l=r(n(17383)),u=r(n(34579)),s=r(n(28452)),c=r(n(63072)),d=r(n(29511)),f=r(n(96540)),p=r(n(5556)),m=r(n(70444)),h=n(569),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=O(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&&{}.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(41796)),v=r(n(36448)),g=r(n(86713)),y=r(n(38576)),_=r(n(1814)),w=r(n(10437)),k=["attachmentBehavior","boundingRef","children","classNameArrow","classNameContent","classNameOverlay","contentAttachment","contentHeight","contentWidth","isArrowDisplayed","isContentFocusDisabled","isHeaderDisabled","isOpen","onRequestClose","targetRef","targetAttachment","isMenu"];function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}function E(e,t,n){return t=(0,c.default)(t),(0,s.default)(e,x()?Reflect.construct(t,n||[],(0,c.default)(e).constructor):t.apply(e,n))}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function(){return!!e})()}var P=["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],S={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(P),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(P),popupContentRole:p.default.string,ariaLabel:p.default.string,onClick:p.default.func,isMenu:p.default.bool},C=function(e){function t(e){var n;return(0,l.default)(this,t),(n=E(this,t,[e])).handleOnPosition=n.handleOnPosition.bind(n),n.setArrowNode=n.setArrowNode.bind(n),n.validateContentNode=n.validateContentNode.bind(n),n.handleOnResize=n.handleOnResize.bind(n),n.handleOnContentResize=n.handleOnContentResize.bind(n),n.isContentSized="auto"!==e.contentHeight&&"auto"!==e.contentWidth,n.contentHeight=_.default[e.contentHeight],n.contentWidth=w.default[e.contentWidth],n.handleRequestClose=n.handleRequestClose.bind(n),n}return(0,d.default)(t,e),(0,u.default)(t,[{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,n,r){var a,o={contentHeight:_.default[this.props.contentHeight]||_.default[80],contentWidth:w.default[this.props.contentWidth]||w.default[240]};return o.contentHeight<=0&&this.contentHeight&&(o.contentHeight=this.contentHeight),o.contentWidth<=0&&this.contentWidth&&(o.contentWidth=this.contentWidth),e?(o.contentHeightMax=e.clientHeight,o.contentWidthMax=e.clientWidth):(o.contentHeightMax=window.innerHeight,o.contentWidthMax=window.innerWidth),t&&(a=f.default.createElement(v.default,{className:this.props.classNameArrow,refCallback:this.setArrowNode})),f.default.createElement(b.default,(0,i.default)({},o,{arrow:a,"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,hookshotPostionFixed:n,isMenu:r}),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),i=(t.contentHeight,t.contentWidth,t.isArrowDisplayed),l=(t.isContentFocusDisabled,t.isHeaderDisabled,t.isOpen),u=(t.onRequestClose,t.targetRef),s=t.targetAttachment,c=t.isMenu,d=(0,o.default)(t,k);if(!l)return null;var p,_=y.default.parseAttachment(a);e=s?y.default.parseAttachment(s):y.default.mirrorAttachment(_);var w=i&&"middle center"!==a;w&&(p=y.default.getContentOffset(_,e,this.props.targetRef(),v.default.Opts.arrowSize,b.cornerSize));var O=this.createPopupContent(r?r():void 0,w,d.hookshotPostionFixed,c);return f.default.createElement(f.default.Fragment,null,f.default.createElement(h.Portal,{isOpened:l},f.default.createElement(g.default,{className:this.props.classNameOverlay,onRequestClose:this.props.onRequestClose})),f.default.createElement(m.default,{attachmentBehavior:n,attachmentMargin:w?v.default.Opts.arrowSize:0,boundingRef:r,contentAttachment:_,contentOffset:p,isEnabled:this.isContentSized,isOpen:l,onPosition:this.handleOnPosition,targetRef:u,targetAttachment:e},O))}}])}(f.default.Component);C.propTypes=S,C.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",isMenu:!1},C.Opts={attachmentPositions:P,heights:_.default,widths:w.default};t.default=C},1814: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}},10437: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}},36448:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(94634)),o=r(n(91847)),i=r(n(96540)),l=r(n(5556)),u=r(n(46942)),s=r(n(67967)),c=r(n(23695)),d=r(n(89500)),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},41796:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.cornerSize=void 0;var a=r(n(94634)),o=r(n(91847)),i=r(n(17383)),l=r(n(34579)),u=r(n(28452)),s=r(n(63072)),c=r(n(29511)),d=r(n(43693)),f=r(n(96540)),p=n(8604),m=r(n(5556)),h=r(n(46942)),b=r(n(67967)),v=r(n(23695)),g=r(n(23986)),y=r(n(54495)),_=r(n(94708)),w=r(n(70444)),k=r(n(81312)),O=["arrow","children","classNameInner","contentHeight","contentHeightMax","contentWidth","contentWidthMax","isFocusedDisabled","isHeaderDisabled","isHeightAutomatic","isWidthAutomatic","onRequestClose","onResize","onContentResize","popupContentRole","refCallback","isMenu"];function E(e,t,n){return t=(0,s.default)(t),(0,u.default)(e,x()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function(){return!!e})()}var P=b.default.bind(k.default),S=(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,isMenu:m.default.bool}),C=function(e){function t(e){var n;return(0,i.default)(this,t),n=E(this,t,[e]),(0,d.default)(n,"handlePropagation",(function(e){e.stopPropagation()})),n.handleOnResize=n.handleOnResize.bind(n),n.handlePropagation=n.handlePropagation.bind(n),n}return(0,c.default)(t,e),(0,l.default)(t,[{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,n=e.arrow,r=e.children,i=e.classNameInner,l=e.contentHeight,u=e.contentHeightMax,s=e.contentWidth,c=e.contentWidthMax,d=(e.isFocusedDisabled,e.isHeaderDisabled),p=e.isHeightAutomatic,m=e.isWidthAutomatic,b=e.onRequestClose,v=(e.onResize,e.onContentResize),g=e.popupContentRole,y=e.refCallback,k=e.isMenu,E=(0,o.default)(e,O),x=t.getContentStyle(l,u,s,c,p,m),S=t.isBounded(l,u),C=t.isBounded(s,c),D=S&&C,j=t.cloneChildren(r,p,m,S,C,d);d&&!D||k||(j=t.addPopupHeader(j,b));var M=this.context,T=(0,h.default)(P("content",M.className),E.className),A=n&&!D,N=A?n:void 0,I=P(["inner",{"is-full-screen":D},{"rounded-corners":A},i]),R=p?{"data-terra-popup-automatic-height":!0}:{},F=m?{"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:T,"data-terra-popup-content":!0,onContentResize:p||m?v:void 0,onEsc:b,onResize:this.handleOnResize,refCallback:y,role:g||null,onKeyDown:this.handlePropagation,onFocus:this.handlePropagation}),N,f.default.createElement("div",(0,a.default)({},R,F,{className:I,style:x}),j))))}}],[{key:"addPopupHeader",value:function(e,t){var n=f.default.createElement("span",{className:P("close-icon")}),r=f.default.createElement("div",{className:P("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,"data-terra-popup-header-button":!0})})));return f.default.createElement(y.default,{header:r},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,n,r,a,o,i){var l=t.getDimensionStyle(e,n,o),u=t.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}}])}(f.default.Component);C.propTypes=S,C.defaultProps={classNameInner:null,contentHeightMax:-1,contentWidthMax:-1,isFocusedDisabled:!1,isHeaderDisabled:!1,isHeightAutomatic:!1,isWidthAutomatic:!1,popupContentRole:"dialog",isMenu:!1},C.contextType=v.default;t.default=C},86713:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(94634)),o=r(n(91847)),i=r(n(17383)),l=r(n(34579)),u=r(n(28452)),s=r(n(63072)),c=r(n(29511)),d=r(n(96540)),f=r(n(5556)),p=r(n(46942)),m=r(n(67967)),h=r(n(23695)),b=r(n(41527)),v=["children"];function g(e,t,n){return t=(0,s.default)(t),(0,u.default)(e,y()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}var _=m.default.bind(b.default),w={onRequestClose:f.default.func,children:f.default.node},k=function(e){function t(){var e;return(0,i.default)(this,t),(e=g(this,t)).handleOnClick=e.handleOnClick.bind(e),e}return(0,c.default)(t,e),(0,l.default)(t,[{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,v);delete n.closePortal,delete n.onRequestClose;var r=this.context;return d.default.createElement(d.default.Fragment,null,d.default.createElement("div",(0,a.default)({onClick:this.handleOnClick},n,{className:(0,p.default)(_("popup-overlay",r.className),n.className)}),d.default.createElement("div",{className:_("inner")}),t))}}])}(d.default.Component);k.propTypes=w,k.defaultProps={children:[]},k.contextType=h.default;t.default=k},38576:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(85715)),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},45610:function(e,t,n){"use strict";var r=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(85715)),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&&{}.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(96540)),l=r(n(5556)),u=r(n(67967)),s=r(n(23695)),c=r(n(16524)),d=r(n(50271));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},11191:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(94634)),o=r(n(91847)),i=r(n(17383)),l=r(n(34579)),u=r(n(28452)),s=r(n(63072)),c=r(n(29511)),d=r(n(96540)),f=r(n(5556)),p=r(n(46942)),m=r(n(67967)),h=r(n(23695)),b=r(n(78913)),v=r(n(70011)),g=r(n(45610)),y=r(n(50271)),_=["items","isAnimated","focusRef","slideAriaLabel"];function w(e,t,n){return t=(0,s.default)(t),(0,u.default)(e,k()?Reflect.construct(t,n||[],(0,s.default)(e).constructor):t.apply(e,n))}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(k=function(){return!!e})()}var O=m.default.bind(y.default),E={items:f.default.array,isAnimated:f.default.bool,focusRef:f.default.instanceOf(Element),slideAriaLabel:f.default.string},x=function(e){function t(e){var n;return(0,i.default)(this,t),(n=w(this,t,[e])).setContainer=n.setContainer.bind(n),n}return(0,c.default)(t,e),(0,l.default)(t,[{key:"setContainer",value:function(e){e&&(this.slideGroup=e)}},{key:"render",value:function(){var e=this.props,n=e.items,r=e.isAnimated,i=e.focusRef,l=e.slideAriaLabel,u=(0,o.default)(e,_);if(!n||!n.length)return null;var s=n[0].key,c=n.length-1,f={enter:y.default.enter,enterActive:y.default["enter-active"],exit:y.default.exit,exitActive:y.default["exit-active"]},m=this.context,h=(0,p.default)(O("slide-group",m.className),u.className);return d.default.createElement(b.default,(0,a.default)({},u,{ref:this.setContainer,className:h,key:s}),n.map((function(e,n){return d.default.createElement(v.default,{classNames:f,enter:r,onEntered:t.hidePreviousSlide,exit:r,onExit:t.showPreviousSlide,timeout:300,key:e.key,id:"shmmoop"},d.default.createElement(g.default,{isHidden:n!==c,focusRef:i,slideAriaLabel:l,isNested:n>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")}}])}(d.default.Component);x.propTypes=E,x.defaultProps={isAnimated:!1},x.contextType=h.default;t.default=x},23695:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.themeContextShape=t.default=void 0;var a=r(n(96540)),o=r(n(5556)),i=a.default.createContext({});t.themeContextShape=o.default.shape({className:o.default.string,density:o.default.string}),t.default=i},50126:function(e,t,n){"use strict";var r=n(24994),a=n(73738);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&&{}.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(96540)),i=r(n(5556)),l=r(n(23695));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,density: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,density:t.density}}),[t.name,t.className,t.density]);return o.default.createElement(l.default.Provider,{value:r},n)};c.propTypes=s,c.defaultProps={theme:{}};t.default=c},95069:function(e,t,n){"use strict";n(34462)},61641:function(e,t,n){"use strict";var r=n(24994),a=n(73738);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&&{}.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(96540)),i=r(n(5556));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)}n(95069);var u={children:i.default.node,themeName:i.default.string,density:i.default.string},s=function(e){var t=e.children,n=e.themeName,r=e.density;return(0,o.useEffect)((function(){var e,t=[];(n&&t.push(n),r&&t.push(r),t.length>0)&&(e=document.documentElement.classList).add.apply(e,t);return function(){var e;t.length>0&&(e=document.documentElement.classList).remove.apply(e,t)}}),[r,n]),o.default.createElement(o.default.Fragment,null,t)};s.propTypes=u;t.default=s},63193:function(e,t,n){e.exports={default:n(58489),__esModule:!0}},89829:function(e,t,n){e.exports={default:n(2981),__esModule:!0}},10679:function(e,t,n){e.exports={default:n(88983),__esModule:!0}},5045:function(e,t,n){e.exports={default:n(52117),__esModule:!0}},9506: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")}},97588:function(e,t,n){"use strict";t.__esModule=!0;var r,a=n(89829),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}}},13383:function(e,t,n){var r=n(64194),a=n(15413)("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}},64194:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},6791:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},33971:function(e,t,n){var r=n(73934);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)}}},54947:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},75872:function(e,t,n){e.exports=!n(82451)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},50559:function(e,t,n){var r=n(90326),a=n(56903).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},22499:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},19786:function(e,t,n){var r=n(56903),a=n(6791),o=n(33971),i=n(14632),l=n(43066),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},82451:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},659:function(e,t,n){var r=n(33971),a=n(275),o=n(6471),i=n(90531),l=n(9250),u=n(18573),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},56903: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)},43066:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},14632:function(e,t,n){var r=n(21672),a=n(15495);e.exports=n(75872)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},7745:function(e,t,n){var r=n(56903).document;e.exports=r&&r.documentElement},14913:function(e,t,n){e.exports=!n(75872)&&!n(82451)((function(){return 7!=Object.defineProperty(n(50559)("div"),"a",{get:function(){return 7}}).a}))},94728: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)}},63278:function(e,t,n){var r=n(64194);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},6471:function(e,t,n){var r=n(52833),a=n(15413)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[a]===e)}},90326:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},275:function(e,t,n){var r=n(90531);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}}},81199:function(e,t,n){"use strict";var r=n(67780),a=n(15495),o=n(1123),i={};n(14632)(i,n(15413)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(i,{next:a(1,n)}),o(e,t+" Iterator")}},52500:function(e,t,n){"use strict";var r=n(98849),a=n(19786),o=n(83070),i=n(14632),l=n(52833),u=n(81199),s=n(1123),c=n(66870),d=n(15413)("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,M="Array"==t&&S.entries||C;if(M&&(k=c(M.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 _}},26928:function(e,t,n){var r=n(15413)("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}},35945:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},52833:function(e){e.exports={}},98849:function(e){e.exports=!0},83281:function(e,t,n){var r=n(93108)("meta"),a=n(90326),o=n(43066),i=n(21672).f,l=0,u=Object.isExtensible||function(){return!0},s=!n(82451)((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}}},72783:function(e,t,n){var r=n(56903),a=n(87453).set,o=r.MutationObserver||r.WebKitMutationObserver,i=r.process,l=r.Promise,u="process"==n(64194)(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}}},91495:function(e,t,n){"use strict";var r=n(73934);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)}},99369:function(e,t,n){"use strict";var r=n(75872),a=n(64796),o=n(14259),i=n(98936),l=n(64873),u=n(63278),s=Object.assign;e.exports=!s||n(82451)((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},67780:function(e,t,n){var r=n(90531),a=n(6935),o=n(22499),i=n(36211)("IE_PROTO"),l=function(){},u="prototype",s=function(){var e,t=n(50559)("iframe"),r=o.length;for(t.style.display="none",n(7745).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